Digital Ads Assistant

Digital Ads Assistant · GPT アクション

FastAPI

  • POST /usersCreate User
  • POST /increase_bidrate_keywordsIncrease Bidrate Keywords
  • POST /keywords_and_metricsKeywords And Metrics For Experiment
  • POST /identify_negative_keywordsIdentify Negative Keywords
  • POST /optimize_campaigns_on_roas_for_last_3_weeksOptimize Campaigns On Roas
  • POST /get_campaigns_based_on_roasGet Campaigns Based On Roas
  • POST /campaign_evaluation_based_on_budgetCampaign Evaluation Based On Budget
  • POST /campaign_budget_reallocation_based_on_performanceCampaign Budget Reallocation Based On Performance
  • POST /adcopy_performance_for_searchAdcopy Performance
  • POST /budget_vs_spend_analysis_1_weekBudget Vs Spend Analysis 1 Week
  • POST /budget_vs_spend_analysis_6_monthsBudget Vs Spend Analysis 6 Months
  • POST /segment_slot_and_device_combinationGet Segment Slot And Device Combination
  • POST /analyse_hour_of_day_for_campaignAnalysis Hourly Campaign
  • POST /get_campaign_conversion_stats_for_4_and_6_weeksGet Campaign Conversion Stats
  • POST /performance_ads_networkPerformance Ads Network
  • POST /current_campaign_performanceCurrent Campaign Performance
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "FastAPI",
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "https://quantacus-demo-dot-ga4-bq-connector.el.r.appspot.com/"
    }
  ],
  "paths": {
    "/users": {
      "post": {
        "summary": "Create User",
        "operationId": "create_user_users_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/User"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/increase_bidrate_keywords": {
      "post": {
        "summary": "Increase Bidrate Keywords",
        "operationId": "increase_bidrate_keywords_increase_bidrate_keywords_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/keywords_and_metrics": {
      "post": {
        "summary": "Keywords And Metrics For Experiment",
        "operationId": "keywords_and_metrics_for_experiment_keywords_and_metrics_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/identify_negative_keywords": {
      "post": {
        "summary": "Identify Negative Keywords",
        "operationId": "identify_negative_keywords_identify_negative_keywords_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/optimize_campaigns_on_roas_for_last_3_weeks": {
      "post": {
        "summary": "Optimize Campaigns On Roas",
        "operationId": "optimize_campaigns_on_roas_optimize_campaigns_on_roas_for_last_3_weeks_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/get_campaigns_based_on_roas": {
      "post": {
        "summary": "Get Campaigns Based On Roas",
        "operationId": "get_campaigns_based_on_roas_get_campaigns_based_on_roas_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/campaign_evaluation_based_on_budget": {
      "post": {
        "summary": "Campaign Evaluation Based On Budget",
        "operationId": "campaign_evaluation_based_on_budget_campaign_evaluation_based_on_budget_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/campaign_budget_reallocation_based_on_performance": {
      "post": {
        "summary": "Campaign Budget Reallocation Based On Performance",
        "operationId": "campaign_budget_reallocation_based_on_performance_campaign_budget_reallocation_based_on_performance_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/adcopy_performance_for_search": {
      "post": {
        "summary": "Adcopy Performance",
        "operationId": "adcopy_performance_adcopy_performance_for_search_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/budget_vs_spend_analysis_1_week": {
      "post": {
        "summary": "Budget Vs Spend Analysis 1 Week",
        "operationId": "budget_vs_spend_analysis_1_week_budget_vs_spend_analysis_1_week_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/budget_vs_spend_analysis_6_months": {
      "post": {
        "summary": "Budget Vs Spend Analysis 6 Months",
        "operationId": "budget_vs_spend_analysis_6_months_budget_vs_spend_analysis_6_months_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/segment_slot_and_device_combination": {
      "post": {
        "summary": "Get Segment Slot And Device Combination",
        "operationId": "get_segment_slot_and_device_combination_segment_slot_and_device_combination_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/analyse_hour_of_day_for_campaign": {
      "post": {
        "summary": "Analysis Hourly Campaign",
        "operationId": "analysis_Hourly_campaign_analyse_hour_of_day_for_campaign_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/get_campaign_conversion_stats_for_4_and_6_weeks": {
      "post": {
        "summary": "Get Campaign Conversion Stats",
        "operationId": "get_campaign_conversion_stats_get_campaign_conversion_stats_for_4_and_6_weeks_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/performance_ads_network": {
      "post": {
        "summary": "Performance Ads Network",
        "operationId": "performance_ads_network_performance_ads_network_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/current_campaign_performance": {
      "post": {
        "summary": "Current Campaign Performance",
        "operationId": "current_campaign_performance_current_campaign_performance_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "User": {
        "properties": {
          "user_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": null
              }
            ],
            "title": "User Name"
          },
          "user_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": null
              }
            ],
            "title": "User Email"
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": null
              }
            ],
            "title": "Created At"
          }
        },
        "type": "object",
        "title": "User"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}