{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-accounts-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_accounts_get","summary":"Gets one account by ID.","description":"GET /accounts/{id}","tags":["analytics"],"parameters":[{"name":"id","in":"query","required":true,"description":"The account id","schema":{"type":"integer","description":"The account id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-accounts-update":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_accounts_update","summary":"Updates an existing account.","description":"PUT /accounts/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"confirmUnsafeAccountChange":{"type":"boolean","description":"Confirmation for erasing bidder and cookie matching urls."},"id":{"type":"integer","description":"The account id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-accounts-patch":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_accounts_patch","summary":"Updates an existing account. This method supports patch semantics.","description":"PATCH /accounts/{id}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"confirmUnsafeAccountChange":{"type":"boolean","description":"Confirmation for erasing bidder and cookie matching urls."},"id":{"type":"integer","description":"The account id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-accounts-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_accounts_list","summary":"Retrieves the authenticated user's list of accounts.","description":"GET /accounts","tags":["analytics"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-billing-info-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_billing_info_get","summary":"Returns the billing information for one account specified by account ID.","description":"GET /billinginfo/{accountId}","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The account id.","schema":{"type":"integer","description":"The account id."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-billing-info-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_billing_info_list","summary":"Retrieves a list of billing information for all accounts of the authenticated user.","description":"GET /billinginfo","tags":["analytics"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-budget-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_budget_get","summary":"Returns the budget information for the adgroup specified by the accountId and billingId.","description":"GET /billinginfo/{accountId}/{billingId}","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The account id to get the budget information for.","schema":{"type":"string","description":"The account id to get the budget information for."}},{"name":"billingId","in":"query","required":true,"description":"The billing id to get the budget information for.","schema":{"type":"string","description":"The billing id to get the budget information for."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-budget-update":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_budget_update","summary":"Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the…","description":"PUT /billinginfo/{accountId}/{billingId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","billingId","body"],"properties":{"accountId":{"type":"string","description":"The account id associated with the budget being updated."},"billingId":{"type":"string","description":"The billing id associated with the budget being updated."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-budget-patch":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_budget_patch","summary":"Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the…","description":"PATCH /billinginfo/{accountId}/{billingId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","billingId","body"],"properties":{"accountId":{"type":"string","description":"The account id associated with the budget being updated."},"billingId":{"type":"string","description":"The billing id associated with the budget being updated."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-creatives-add-deal":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_creatives_add_deal","summary":"Add a deal id association for the creative.","description":"POST /creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","buyerCreativeId","dealId"],"properties":{"accountId":{"type":"integer","description":"The id for the account that will serve this creative."},"buyerCreativeId":{"type":"string","description":"The buyer-specific id for this creative."},"dealId":{"type":"string","description":"The id of the deal id to associate with this creative."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-creatives-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_creatives_get","summary":"Gets the status for a single creative. A creative will be available 30-40 minutes after submission.","description":"GET /creatives/{accountId}/{buyerCreativeId}","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The id for the account that will serve this creative.","schema":{"type":"integer","description":"The id for the account that will serve this creative."}},{"name":"buyerCreativeId","in":"query","required":true,"description":"The buyer-specific id for this creative.","schema":{"type":"string","description":"The buyer-specific id for this creative."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-creatives-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_creatives_list","summary":"Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes…","description":"GET /creatives","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":false,"description":"When specified, only creatives for the given account ids are returned.","schema":{"type":"integer","description":"When specified, only creatives for the given account ids are returned."}},{"name":"buyerCreativeId","in":"query","required":false,"description":"When specified, only creatives for the given buyer creative ids are returned.","schema":{"type":"string","description":"When specified, only creatives for the given buyer creative ids are returned."}},{"name":"dealsStatusFilter","in":"query","required":false,"description":"When specified, only creatives having the given deals status are returned.","schema":{"type":"string","enum":["approved","conditionally_approved","disapproved","not_checked"],"description":"When specified, only creatives having the given deals status are returned."}},{"name":"maxResults","in":"query","required":false,"description":"Maximum number of entries returned on one result page. If not set, the default is 100. Optional.","schema":{"type":"integer","description":"Maximum number of entries returned on one result page. If not set, the default is 100. Optional."}},{"name":"openAuctionStatusFilter","in":"query","required":false,"description":"When specified, only creatives having the given open auction status are returned.","schema":{"type":"string","enum":["approved","conditionally_approved","disapproved","not_checked"],"description":"When specified, only creatives having the given open auction status are returned."}},{"name":"pageToken","in":"query","required":false,"description":"A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from…","schema":{"type":"string","description":"A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-creatives-insert":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_creatives_insert","summary":"Submit a new creative.","description":"POST /creatives","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-creatives-list-deals":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_creatives_list_deals","summary":"Lists the external deal ids associated with the creative.","description":"GET /creatives/{accountId}/{buyerCreativeId}/listDeals","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The id for the account that will serve this creative.","schema":{"type":"integer","description":"The id for the account that will serve this creative."}},{"name":"buyerCreativeId","in":"query","required":true,"description":"The buyer-specific id for this creative.","schema":{"type":"string","description":"The buyer-specific id for this creative."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-creatives-remove-deal":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_creatives_remove_deal","summary":"Remove a deal id associated with the creative.","description":"POST /creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","buyerCreativeId","dealId"],"properties":{"accountId":{"type":"integer","description":"The id for the account that will serve this creative."},"buyerCreativeId":{"type":"string","description":"The buyer-specific id for this creative."},"dealId":{"type":"string","description":"The id of the deal id to disassociate with this creative."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplacedeals-delete":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplacedeals_delete","summary":"Delete the specified deals from the proposal","description":"POST /proposals/{proposalId}/deals/delete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId","body"],"properties":{"proposalId":{"type":"string","description":"The proposalId to delete deals from."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplacedeals-insert":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplacedeals_insert","summary":"Add new deals for the specified proposal","description":"POST /proposals/{proposalId}/deals/insert","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId","body"],"properties":{"proposalId":{"type":"string","description":"proposalId for which deals need to be added."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplacedeals-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplacedeals_list","summary":"List all the deals for a given proposal","description":"GET /proposals/{proposalId}/deals","tags":["analytics"],"parameters":[{"name":"pqlQuery","in":"query","required":false,"description":"Query string to retrieve specific deals.","schema":{"type":"string","description":"Query string to retrieve specific deals."}},{"name":"proposalId","in":"query","required":true,"description":"The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.","schema":{"type":"string","description":"The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplacedeals-update":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplacedeals_update","summary":"Replaces all the deals in the proposal with the passed in deals","description":"POST /proposals/{proposalId}/deals/update","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId","body"],"properties":{"proposalId":{"type":"string","description":"The proposalId to edit deals on."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplacenotes-insert":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplacenotes_insert","summary":"Add notes to the proposal","description":"POST /proposals/{proposalId}/notes/insert","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId","body"],"properties":{"proposalId":{"type":"string","description":"The proposalId to add notes for."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplacenotes-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplacenotes_list","summary":"Get all the notes associated with a proposal","description":"GET /proposals/{proposalId}/notes","tags":["analytics"],"parameters":[{"name":"pqlQuery","in":"query","required":false,"description":"Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE…","schema":{"type":"string","description":"Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE…"}},{"name":"proposalId","in":"query","required":true,"description":"The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.","schema":{"type":"string","description":"The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-marketplaceprivateauction-updateproposal":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_marketplaceprivateauction_updateproposal","summary":"Update a given private auction proposal","description":"POST /privateauction/{privateAuctionId}/updateproposal","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["privateAuctionId","body"],"properties":{"privateAuctionId":{"type":"string","description":"The private auction id to be updated."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-performance-report-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_performance_report_list","summary":"Retrieves the authenticated user's list of performance metrics.","description":"GET /performancereport","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The account id to get the reports.","schema":{"type":"string","description":"The account id to get the reports."}},{"name":"endDateTime","in":"query","required":true,"description":"The end time of the report in ISO 8601 timestamp format using UTC.","schema":{"type":"string","description":"The end time of the report in ISO 8601 timestamp format using UTC."}},{"name":"maxResults","in":"query","required":false,"description":"Maximum number of entries returned on one result page. If not set, the default is 100. Optional.","schema":{"type":"integer","description":"Maximum number of entries returned on one result page. If not set, the default is 100. Optional."}},{"name":"pageToken","in":"query","required":false,"description":"A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of…","schema":{"type":"string","description":"A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of…"}},{"name":"startDateTime","in":"query","required":true,"description":"The start time of the report in ISO 8601 timestamp format using UTC.","schema":{"type":"string","description":"The start time of the report in ISO 8601 timestamp format using UTC."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pretargeting-config-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pretargeting_config_get","summary":"Gets a specific pretargeting configuration","description":"GET /pretargetingconfigs/{accountId}/{configId}","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The account id to get the pretargeting config for.","schema":{"type":"string","description":"The account id to get the pretargeting config for."}},{"name":"configId","in":"query","required":true,"description":"The specific id of the configuration to retrieve.","schema":{"type":"string","description":"The specific id of the configuration to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pretargeting-config-update":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pretargeting_config_update","summary":"Updates an existing pretargeting config.","description":"PUT /pretargetingconfigs/{accountId}/{configId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","configId","body"],"properties":{"accountId":{"type":"string","description":"The account id to update the pretargeting config for."},"configId":{"type":"string","description":"The specific id of the configuration to update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pretargeting-config-patch":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pretargeting_config_patch","summary":"Updates an existing pretargeting config. This method supports patch semantics.","description":"PATCH /pretargetingconfigs/{accountId}/{configId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","configId","body"],"properties":{"accountId":{"type":"string","description":"The account id to update the pretargeting config for."},"configId":{"type":"string","description":"The specific id of the configuration to update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pretargeting-config-delete":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pretargeting_config_delete","summary":"Deletes an existing pretargeting config.","description":"DELETE /pretargetingconfigs/{accountId}/{configId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","configId"],"properties":{"accountId":{"type":"string","description":"The account id to delete the pretargeting config for."},"configId":{"type":"string","description":"The specific id of the configuration to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pretargeting-config-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pretargeting_config_list","summary":"Retrieves a list of the authenticated user's pretargeting configurations.","description":"GET /pretargetingconfigs/{accountId}","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The account id to get the pretargeting configs for.","schema":{"type":"string","description":"The account id to get the pretargeting configs for."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pretargeting-config-insert":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pretargeting_config_insert","summary":"Inserts a new pretargeting configuration.","description":"POST /pretargetingconfigs/{accountId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["accountId","body"],"properties":{"accountId":{"type":"string","description":"The account id to insert the pretargeting config for."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-products-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_products_get","summary":"Gets the requested product by id.","description":"GET /products/{productId}","tags":["analytics"],"parameters":[{"name":"productId","in":"query","required":true,"description":"The id for the product to get the head revision for.","schema":{"type":"string","description":"The id for the product to get the head revision for."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-products-search":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_products_search","summary":"Gets the requested product.","description":"GET /products/search","tags":["analytics"],"parameters":[{"name":"pqlQuery","in":"query","required":false,"description":"The pql query used to query for products.","schema":{"type":"string","description":"The pql query used to query for products."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-proposals-get":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_proposals_get","summary":"Get a proposal given its id","description":"GET /proposals/{proposalId}","tags":["analytics"],"parameters":[{"name":"proposalId","in":"query","required":true,"description":"Id of the proposal to retrieve.","schema":{"type":"string","description":"Id of the proposal to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-proposals-insert":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_proposals_insert","summary":"Create the given list of proposals","description":"POST /proposals/insert","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-proposals-update":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_proposals_update","summary":"Update the given proposal","description":"PUT /proposals/{proposalId}/{revisionNumber}/{updateAction}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId","revisionNumber","updateAction","body"],"properties":{"proposalId":{"type":"string","description":"The proposal id to update."},"revisionNumber":{"type":"string","description":"The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The…"},"updateAction":{"type":"string","enum":["accept","cancel","propose","proposeAndAccept","unknownAction","updateNonTerms"],"description":"The proposed action to take on the proposal. This field is required and it must be set when updating a proposal."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-proposals-patch":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_proposals_patch","summary":"Update the given proposal. This method supports patch semantics.","description":"PATCH /proposals/{proposalId}/{revisionNumber}/{updateAction}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId","revisionNumber","updateAction","body"],"properties":{"proposalId":{"type":"string","description":"The proposal id to update."},"revisionNumber":{"type":"string","description":"The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The…"},"updateAction":{"type":"string","enum":["accept","cancel","propose","proposeAndAccept","unknownAction","updateNonTerms"],"description":"The proposed action to take on the proposal. This field is required and it must be set when updating a proposal."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-proposals-search":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_proposals_search","summary":"Search for proposals using pql query","description":"GET /proposals/search","tags":["analytics"],"parameters":[{"name":"pqlQuery","in":"query","required":false,"description":"Query string to retrieve specific proposals.","schema":{"type":"string","description":"Query string to retrieve specific proposals."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-proposals-setupcomplete":{"post":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_proposals_setupcomplete","summary":"Update the given proposal to indicate that setup has been completed.","description":"POST /proposals/{proposalId}/setupcomplete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proposalId"],"properties":{"proposalId":{"type":"string","description":"The proposal id for which the setup is complete"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-adexchangebuyer/adexchangebuyer-pubprofiles-list":{"get":{"operationId":"analytics_googleapis_adexchangebuyer_adexchangebuyer_pubprofiles_list","summary":"Gets the requested publisher profile(s) by publisher accountId.","description":"GET /publisher/{accountId}/profiles","tags":["analytics"],"parameters":[{"name":"accountId","in":"query","required":true,"description":"The accountId of the publisher to get profiles for.","schema":{"type":"integer","description":"The accountId of the publisher to get profiles for."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}