{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-doubleclicksearch/doubleclicksearch-conversion-get":{"get":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_conversion_get","summary":"Retrieves a list of conversions from a DoubleClick Search engine account.","description":"GET /doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion","tags":["analytics"],"parameters":[{"name":"adGroupId","in":"query","required":false,"description":"Numeric ID of the ad group.","schema":{"type":"string","description":"Numeric ID of the ad group."}},{"name":"adId","in":"query","required":false,"description":"Numeric ID of the ad.","schema":{"type":"string","description":"Numeric ID of the ad."}},{"name":"advertiserId","in":"query","required":true,"description":"Numeric ID of the advertiser.","schema":{"type":"string","description":"Numeric ID of the advertiser."}},{"name":"agencyId","in":"query","required":true,"description":"Numeric ID of the agency.","schema":{"type":"string","description":"Numeric ID of the agency."}},{"name":"campaignId","in":"query","required":false,"description":"Numeric ID of the campaign.","schema":{"type":"string","description":"Numeric ID of the campaign."}},{"name":"criterionId","in":"query","required":false,"description":"Numeric ID of the criterion.","schema":{"type":"string","description":"Numeric ID of the criterion."}},{"name":"customerId","in":"query","required":false,"description":"Customer ID of a client account in the new Search Ads 360 experience.","schema":{"type":"string","description":"Customer ID of a client account in the new Search Ads 360 experience."}},{"name":"endDate","in":"query","required":true,"description":"Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.","schema":{"type":"integer","description":"Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd."}},{"name":"engineAccountId","in":"query","required":true,"description":"Numeric ID of the engine account.","schema":{"type":"string","description":"Numeric ID of the engine account."}},{"name":"rowCount","in":"query","required":true,"description":"The number of conversions to return per call.","schema":{"type":"integer","description":"The number of conversions to return per call."}},{"name":"startDate","in":"query","required":true,"description":"First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.","schema":{"type":"integer","description":"First date (inclusive) on which to retrieve conversions. Format is yyyymmdd."}},{"name":"startRow","in":"query","required":true,"description":"The 0-based starting index for retrieving conversions results.","schema":{"type":"integer","description":"The 0-based starting index for retrieving conversions results."}}],"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-doubleclicksearch/doubleclicksearch-conversion-get-by-customer-id":{"get":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_conversion_get_by_customer_id","summary":"Retrieves a list of conversions from a DoubleClick Search engine account.","description":"GET /doubleclicksearch/v2/customer/{customerId}/conversion","tags":["analytics"],"parameters":[{"name":"adGroupId","in":"query","required":false,"description":"Numeric ID of the ad group.","schema":{"type":"string","description":"Numeric ID of the ad group."}},{"name":"adId","in":"query","required":false,"description":"Numeric ID of the ad.","schema":{"type":"string","description":"Numeric ID of the ad."}},{"name":"advertiserId","in":"query","required":false,"description":"Numeric ID of the advertiser.","schema":{"type":"string","description":"Numeric ID of the advertiser."}},{"name":"agencyId","in":"query","required":false,"description":"Numeric ID of the agency.","schema":{"type":"string","description":"Numeric ID of the agency."}},{"name":"campaignId","in":"query","required":false,"description":"Numeric ID of the campaign.","schema":{"type":"string","description":"Numeric ID of the campaign."}},{"name":"criterionId","in":"query","required":false,"description":"Numeric ID of the criterion.","schema":{"type":"string","description":"Numeric ID of the criterion."}},{"name":"customerId","in":"query","required":true,"description":"Customer ID of a client account in the new Search Ads 360 experience.","schema":{"type":"string","description":"Customer ID of a client account in the new Search Ads 360 experience."}},{"name":"endDate","in":"query","required":true,"description":"Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.","schema":{"type":"integer","description":"Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd."}},{"name":"engineAccountId","in":"query","required":false,"description":"Numeric ID of the engine account.","schema":{"type":"string","description":"Numeric ID of the engine account."}},{"name":"rowCount","in":"query","required":true,"description":"The number of conversions to return per call.","schema":{"type":"integer","description":"The number of conversions to return per call."}},{"name":"startDate","in":"query","required":true,"description":"First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.","schema":{"type":"integer","description":"First date (inclusive) on which to retrieve conversions. Format is yyyymmdd."}},{"name":"startRow","in":"query","required":true,"description":"The 0-based starting index for retrieving conversions results.","schema":{"type":"integer","description":"The 0-based starting index for retrieving conversions results."}}],"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-doubleclicksearch/doubleclicksearch-conversion-insert":{"post":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_conversion_insert","summary":"Inserts a batch of new conversions into DoubleClick Search.","description":"POST /doubleclicksearch/v2/conversion","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-doubleclicksearch/doubleclicksearch-conversion-update":{"post":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_conversion_update","summary":"Updates a batch of conversions in DoubleClick Search.","description":"PUT /doubleclicksearch/v2/conversion","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-doubleclicksearch/doubleclicksearch-conversion-update-availability":{"post":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_conversion_update_availability","summary":"Updates the availabilities of a batch of floodlight activities in DoubleClick Search.","description":"POST /doubleclicksearch/v2/conversion/updateAvailability","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-doubleclicksearch/doubleclicksearch-reports-generate":{"post":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_reports_generate","summary":"Generates and returns a report immediately.","description":"POST /doubleclicksearch/v2/reports/generate","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-doubleclicksearch/doubleclicksearch-reports-get":{"get":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_reports_get","summary":"Polls for the status of a report request.","description":"GET /doubleclicksearch/v2/reports/{reportId}","tags":["analytics"],"parameters":[{"name":"reportId","in":"query","required":true,"description":"ID of the report request being polled.","schema":{"type":"string","description":"ID of the report request being polled."}}],"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-doubleclicksearch/doubleclicksearch-reports-get-file":{"get":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_reports_get_file","summary":"Downloads a report file encoded in UTF-8.","description":"GET /doubleclicksearch/v2/reports/{reportId}/files/{reportFragment}","tags":["analytics"],"parameters":[{"name":"reportFragment","in":"query","required":true,"description":"The index of the report fragment to download.","schema":{"type":"integer","description":"The index of the report fragment to download."}},{"name":"reportId","in":"query","required":true,"description":"ID of the report.","schema":{"type":"string","description":"ID of the report."}}],"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-doubleclicksearch/doubleclicksearch-reports-get-id-mapping-file":{"get":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_reports_get_id_mapping_file","summary":"Downloads a csv file(encoded in UTF-8) that contains ID mappings between legacy SA360 and new SA360. The…","description":"GET /doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/idmapping","tags":["analytics"],"parameters":[{"name":"advertiserId","in":"query","required":true,"description":"Legacy SA360 advertiser ID.","schema":{"type":"string","description":"Legacy SA360 advertiser ID."}},{"name":"agencyId","in":"query","required":true,"description":"Legacy SA360 agency ID.","schema":{"type":"string","description":"Legacy SA360 agency 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-doubleclicksearch/doubleclicksearch-reports-request":{"post":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_reports_request","summary":"Inserts a report request into the reporting system.","description":"POST /doubleclicksearch/v2/reports","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-doubleclicksearch/doubleclicksearch-saved-columns-list":{"get":{"operationId":"analytics_googleapis_doubleclicksearch_doubleclicksearch_saved_columns_list","summary":"Retrieve the list of saved columns for a specified advertiser.","description":"GET /doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/savedcolumns","tags":["analytics"],"parameters":[{"name":"advertiserId","in":"query","required":true,"description":"DS ID of the advertiser.","schema":{"type":"string","description":"DS ID of the advertiser."}},{"name":"agencyId","in":"query","required":true,"description":"DS ID of the agency.","schema":{"type":"string","description":"DS ID of the agency."}}],"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"}}}}}}}