{"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/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-list":{"get":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_list","summary":"Lists `Report` objects.","description":"GET /v1/{+parent}/reports","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Expression to filter the response. See syntax details at https://developers.google.com/ad-manager/api/beta/filters","schema":{"type":"string","description":"Optional. Expression to filter the response. See syntax details at https://developers.google.com/ad-manager/api/beta/filters"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Expression to specify sorting order. See syntax details at https://developers.google.com/ad-manager/api/beta/filters#order","schema":{"type":"string","description":"Optional. Expression to specify sorting order. See syntax details at https://developers.google.com/ad-manager/api/beta/filters#order"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of `Reports` to return. The service may return fewer than this value. If unspecified, at most 50 `Reports`…","schema":{"type":"integer","description":"Optional. The maximum number of `Reports` to return. The service may return fewer than this value. If unspecified, at most 50 `Reports`…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListReports` call. Provide this to retrieve the subsequent page. When paginating, all…","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListReports` call. Provide this to retrieve the subsequent page. When paginating, all…"}},{"name":"parent","in":"query","required":true,"description":"Required. The parent, which owns this collection of reports. Format: `agencies/{account_id}`","schema":{"type":"string","description":"Required. The parent, which owns this collection of reports. Format: `agencies/{account_id}`"}},{"name":"skip","in":"query","required":false,"description":"Optional. Number of individual resources to skip while paginating.","schema":{"type":"integer","description":"Optional. Number of individual resources to skip while paginating."}}],"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/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-create":{"post":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_create","summary":"Creates a `Report` object.","description":"POST /v1/{+parent}/reports","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent resource where this `Report` will be created. Format: `agencies/{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/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-operations-get":{"get":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_operations_get","summary":"Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…","description":"GET /v1/{+name}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"The name of the operation resource.","schema":{"type":"string","description":"The name of the operation resource."}}],"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/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-patch":{"post":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_patch","summary":"Updates a `Report` object.","description":"PATCH /v1/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Identifier. The resource name of the report. Report resource name have the form: `agencies/{account_id}/reports/{report_id}`"},"updateMask":{"type":"string","description":"Optional. The list of fields 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/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-delete":{"post":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_delete","summary":"Deletes a `Report` object.","description":"DELETE /v1/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. Resource name of the report to delete. Format: `agencies/{account_id}/reports/{report_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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-run":{"post":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_run","summary":"Initiates the execution of an existing report asynchronously. Users can get the report by polling this…","description":"POST /v1/{+name}:run","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The report to run. Format: `agencies/{account_id}/reports/{report_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/dev-tools:google-agenciesandbrands/agenciesandbrands-agencies-reports-results-fetch-rows":{"get":{"operationId":"dev_tools_google_agenciesandbrands_agenciesandbrands_agencies_reports_results_fetch_rows","summary":"Returns the result rows from a completed report. The caller must have previously called `RunReport` and…","description":"GET /v1/{+name}:fetchRows","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"The report result being fetched. Format: `agencies/{account_id}/reports/{report_id}/results/{report_result_id}`","schema":{"type":"string","description":"The report result being fetched. Format: `agencies/{account_id}/reports/{report_id}/results/{report_result_id}`"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 1,000 rows will be…","schema":{"type":"integer","description":"Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 1,000 rows will be…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `FetchReportResultRows` call. Provide this to retrieve the second and subsequent batches…","schema":{"type":"string","description":"Optional. A page token, received from a previous `FetchReportResultRows` call. Provide this to retrieve the second and subsequent batches…"}}],"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"}}}}}}}