{"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/dev-tools:google-curationpartners/curationpartners-curators-data-segments-activate":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_data_segments_activate","summary":"Activates a data segment.","description":"POST /v1/{+name}:activate","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of data segment to activate. Format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`"},"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-curationpartners/curationpartners-curators-curated-packages-list":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_curated_packages_list","summary":"Lists curated packages owned by the specified curator.","description":"GET /v1/{+parent}/curatedPackages","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported…","schema":{"type":"string","description":"Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the…","schema":{"type":"integer","description":"Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListCuratedPackages` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListCuratedPackages` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent curator account which owns this collection of curated packages. Format: `curators/{accountId}`","schema":{"type":"string","description":"Required. The parent curator account which owns this collection of curated packages. Format: `curators/{accountId}`"}}],"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-curationpartners/curationpartners-curators-curated-packages-create":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_curated_packages_create","summary":"Creates a new curated package.","description":"POST /v1/{+parent}/curatedPackages","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}`"},"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-curationpartners/curationpartners-curators-data-segments-deactivate":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_data_segments_deactivate","summary":"Deactivates a data segment.","description":"POST /v1/{+name}:deactivate","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of data segment to deactivate. Format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`"},"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-curationpartners/curationpartners-curators-reports-operations-get":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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-curationpartners/curationpartners-curators-reports-patch":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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: `curators/{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-curationpartners/curationpartners-curators-reports-delete":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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: `curators/{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-curationpartners/curationpartners-curators-data-segments-list":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_data_segments_list","summary":"List the data segments owned by a curator.","description":"GET /v1/{+parent}/dataSegments","tags":["dev-tools"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the…","schema":{"type":"integer","description":"Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The page token as returned. ListDataSegmentsResponse.nextPageToken","schema":{"type":"string","description":"Optional. The page token as returned. ListDataSegmentsResponse.nextPageToken"}},{"name":"parent","in":"query","required":true,"description":"Required. Name of the parent curator that can access the data segment. Format: `curators/{accountId}`","schema":{"type":"string","description":"Required. Name of the parent curator that can access the data segment. Format: `curators/{accountId}`"}}],"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-curationpartners/curationpartners-curators-data-segments-create":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_data_segments_create","summary":"Creates a data segment owned by the listed curator. The data segment will be created in the `ACTIVE` state,…","description":"POST /v1/{+parent}/dataSegments","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 data segment will be created. Format: `curators/{accountId}`"},"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-curationpartners/curationpartners-curators-reports-list":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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: `curators/{account_id}`","schema":{"type":"string","description":"Required. The parent, which owns this collection of reports. Format: `curators/{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-curationpartners/curationpartners-curators-reports-create":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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: `curators/{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-curationpartners/curationpartners-curators-reports-run":{"post":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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: `curators/{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-curationpartners/curationpartners-curators-reports-results-fetch-rows":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_curators_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: `curators/{account_id}/reports/{report_id}/results/{report_result_id}`","schema":{"type":"string","description":"The report result being fetched. Format: `curators/{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"}},"/v1/dev-tools:google-curationpartners/curationpartners-media-planners-list":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_media_planners_list","summary":"Lists all media planner accounts that the caller has access to. For curators, this will return all media…","description":"GET /v1/mediaPlanners","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for…","schema":{"type":"string","description":"Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for…"}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value is 500;…","schema":{"type":"integer","description":"The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value is 500;…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A token identifying a page of results the server should return.This value is received from a previous `ListMediaPlanners` call…","schema":{"type":"string","description":"Optional. A token identifying a page of results the server should return.This value is received from a previous `ListMediaPlanners` call…"}}],"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-curationpartners/curationpartners-media-planners-search":{"get":{"operationId":"dev_tools_google_curationpartners_curationpartners_media_planners_search","summary":"Searches for media planner accounts matching the given DSP seat ID.","description":"GET /v1/mediaPlanners:search","tags":["dev-tools"],"parameters":[{"name":"dspSeatId","in":"query","required":false,"description":"Required. The DSP seat ID to search for. The DSP seat ID is provided by the media planner.","schema":{"type":"string","description":"Required. The DSP seat ID to search for. The DSP seat ID is provided by the media planner."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value…","schema":{"type":"integer","description":"Optional. The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A token identifying a page of results the server should return. This value is received from a previous `SearchMediaPlanners`…","schema":{"type":"string","description":"Optional. A token identifying a page of results the server should return. This value is received from a previous `SearchMediaPlanners`…"}}],"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"}}}}}}}