Open documentation ↗Overview
Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.
Display & Video 360 API is an analytics API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 151 endpoints.
At a glance
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Analytics
- Base URL
https://displayvideo.googleapis.com/- Version
- v2
- Endpoints
- 151
- OpenAPI
- Specification ↗
- Spec updated
- 2023-04-20
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://displayvideo.googleapis.com/v2/advertisers" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://displayvideo.googleapis.com/v2/advertisers", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://displayvideo.googleapis.com/v2/advertisers",
headers={
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /download/{resourceName} | Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including |
| POST | /media/{resourceName} | Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without inc |
| GET | /v2/advertisers | Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross-partner listin |
| POST | /v2/advertisers | Creates a new advertiser. Returns the newly created advertiser if successful. This method can take up to 180 seconds to complete. |
| GET | /v2/advertisers/{advertiserId} | Gets an advertiser. |
| PATCH | /v2/advertisers/{advertiserId} | Updates an existing advertiser. Returns the updated advertiser if successful. |
| DELETE | /v2/advertisers/{advertiserId} | Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted adverti |
| POST | /v2/advertisers/{advertiserId}/assets | Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, a |
| GET | /v2/advertisers/{advertiserId}/campaigns | Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, campaigns with `ENTITY_STATUS_A |
| POST | /v2/advertisers/{advertiserId}/campaigns | Creates a new campaign. Returns the newly created campaign if successful. |
| GET | /v2/advertisers/{advertiserId}/campaigns/{campaignId} | Gets a campaign. |
| PATCH | /v2/advertisers/{advertiserId}/campaigns/{campaignId} | Updates an existing campaign. Returns the updated campaign if successful. |
| DELETE | /v2/advertisers/{advertiserId}/campaigns/{campaignId} | Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED |
| GET | /v2/advertisers/{advertiserId}/campaigns/{campaignId}/targetingTypes/{targetingType}/assignedTargetingOptions | Lists the targeting options assigned to a campaign for a specified targeting type. |
| GET | /v2/advertisers/{advertiserId}/campaigns/{campaignId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Gets a single targeting option assigned to a campaign. |
| GET | /v2/advertisers/{advertiserId}/campaigns/{campaignId}:listAssignedTargetingOptions | Lists assigned targeting options of a campaign across targeting types. |
| GET | /v2/advertisers/{advertiserId}/channels | Lists channels for a partner or advertiser. |
| POST | /v2/advertisers/{advertiserId}/channels | Creates a new channel. Returns the newly created channel if successful. |
| PATCH | /v2/advertisers/{advertiserId}/channels/{channelId} | Updates a channel. Returns the updated channel if successful. |
| GET | /v2/advertisers/{advertiserId}/channels/{channelId}/sites | Lists sites in a channel. |
| DELETE | /v2/advertisers/{advertiserId}/channels/{channelId}/sites/{urlOrAppId} | Deletes a site from a channel. |
| POST | /v2/advertisers/{advertiserId}/channels/{channelId}/sites:bulkEdit | Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided i |
| POST | /v2/advertisers/{advertiserId}/channels/{channelId}/sites:replace | Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. |
| GET | /v2/advertisers/{advertiserId}/creatives | Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, creatives with `ENTITY_STATUS_A |
| POST | /v2/advertisers/{advertiserId}/creatives | Creates a new creative. Returns the newly created creative if successful. |
| GET | /v2/advertisers/{advertiserId}/creatives/{creativeId} | Gets a creative. |
| PATCH | /v2/advertisers/{advertiserId}/creatives/{creativeId} | Updates an existing creative. Returns the updated creative if successful. |
| DELETE | /v2/advertisers/{advertiserId}/creatives/{creativeId} | Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should be archived first, i.e. set entity_status to `ENTITY_STAT |
| GET | /v2/advertisers/{advertiserId}/insertionOrders | Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `E |
| POST | /v2/advertisers/{advertiserId}/insertionOrders | Creates a new insertion order. Returns the newly created insertion order if successful. |
| GET | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId} | Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. |
| PATCH | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId} | Updates an existing insertion order. Returns the updated insertion order if successful. |
| DELETE | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId} | Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_ |
| GET | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}/targetingTypes/{targetingType}/assignedTargetingOptions | Lists the targeting options assigned to an insertion order. |
| POST | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}/targetingTypes/{targetingType}/assignedTargetingOptions | Assigns a targeting option to an insertion order. Returns the assigned targeting option if successful. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * |
| GET | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Gets a single targeting option assigned to an insertion order. |
| DELETE | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Deletes an assigned targeting option from an insertion order. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TY |
| GET | /v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}:listAssignedTargetingOptions | Lists assigned targeting options of an insertion order across targeting types. |
| GET | /v2/advertisers/{advertiserId}/invoices | Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a "Partner" invoice level are not retrievable through this |
| GET | /v2/advertisers/{advertiserId}/invoices:lookupInvoiceCurrency | Retrieves the invoice currency used by an advertiser in a given month. |
| GET | /v2/advertisers/{advertiserId}/lineItems | Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, line items with `ENTITY_STATUS |
| POST | /v2/advertisers/{advertiserId}/lineItems | Creates a new line item. Returns the newly created line item if successful. |
| GET | /v2/advertisers/{advertiserId}/lineItems/{lineItemId} | Gets a line item. |
| PATCH | /v2/advertisers/{advertiserId}/lineItems/{lineItemId} | Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint cannot be made concurrently with the following requests up |
| DELETE | /v2/advertisers/{advertiserId}/lineItems/{lineItemId} | Deletes a line item. Returns error code `NOT_FOUND` if the line item does not exist. The line item should be archived first, i.e. set entity_status to `ENTITY_S |
| GET | /v2/advertisers/{advertiserId}/lineItems/{lineItemId}/targetingTypes/{targetingType}/assignedTargetingOptions | Lists the targeting options assigned to a line item. |
| POST | /v2/advertisers/{advertiserId}/lineItems/{lineItemId}/targetingTypes/{targetingType}/assignedTargetingOptions | Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the f |
| GET | /v2/advertisers/{advertiserId}/lineItems/{lineItemId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Gets a single targeting option assigned to a line item. |
| DELETE | /v2/advertisers/{advertiserId}/lineItems/{lineItemId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line |
| POST | /v2/advertisers/{advertiserId}/lineItems/{lineItemId}:duplicate | Duplicates a line item. Returns the ID of the created line item if successful. |
| POST | /v2/advertisers/{advertiserId}/lineItems:bulkEditAssignedTargetingOptions | Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsReq |
| GET | /v2/advertisers/{advertiserId}/lineItems:bulkListAssignedTargetingOptions | Lists assigned targeting options for multiple line items across targeting types. |
| POST | /v2/advertisers/{advertiserId}/lineItems:bulkUpdate | Updates multiple line items. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTa |
| POST | /v2/advertisers/{advertiserId}/lineItems:generateDefault | Creates a new line item with settings (including targeting) inherited from the insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly cre |
| GET | /v2/advertisers/{advertiserId}/locationLists | Lists location lists based on a given advertiser id. |
| POST | /v2/advertisers/{advertiserId}/locationLists | Creates a new location list. Returns the newly created location list if successful. |
| PATCH | /v2/advertisers/{advertiserId}/locationLists/{locationListId} | Updates a location list. Returns the updated location list if successful. |
| GET | /v2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations | Lists locations assigned to a location list. |
| POST | /v2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations | Creates an assignment between a location and a location list. |
| DELETE | /v2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{assignedLocationId} | Deletes the assignment between a location and a location list. |
| POST | /v2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations:bulkEdit | Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in BulkEditAssignedLocat |
| GET | /v2/advertisers/{advertiserId}/manualTriggers | Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is defined by the order_by parameter. A single advertiser_id |
| POST | /v2/advertisers/{advertiserId}/manualTriggers | Creates a new manual trigger. Returns the newly created manual trigger if successful. |
| GET | /v2/advertisers/{advertiserId}/manualTriggers/{triggerId} | Gets a manual trigger. |
| PATCH | /v2/advertisers/{advertiserId}/manualTriggers/{triggerId} | Updates a manual trigger. Returns the updated manual trigger if successful. |
| POST | /v2/advertisers/{advertiserId}/manualTriggers/{triggerId}:activate | Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned. |
| POST | /v2/advertisers/{advertiserId}/manualTriggers/{triggerId}:deactivate | Deactivates a manual trigger. |
| GET | /v2/advertisers/{advertiserId}/negativeKeywordLists | Lists negative keyword lists based on a given advertiser id. |
| POST | /v2/advertisers/{advertiserId}/negativeKeywordLists | Creates a new negative keyword list. Returns the newly created negative keyword list if successful. |
| PATCH | /v2/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId} | Updates a negative keyword list. Returns the updated negative keyword list if successful. |
| GET | /v2/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords | Lists negative keywords in a negative keyword list. |
| DELETE | /v2/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords/{keywordValue} | Deletes a negative keyword from a negative keyword list. |
| POST | /v2/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:bulkEdit | Bulk edits negative keywords in a single negative keyword list. The operation will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.dele |
| POST | /v2/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:replace | Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in R |
| GET | /v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions | Lists the targeting options assigned to an advertiser. |
| POST | /v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions | Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful. |
| GET | /v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Gets a single targeting option assigned to an advertiser. |
| DELETE | /v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Deletes an assigned targeting option from an advertiser. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroupAds | Lists YouTube ad group ads. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroupAds/{youtubeAdGroupAdId} | Gets a YouTube ad group ad. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroups | Lists YouTube ad groups. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroups/{youtubeAdGroupId} | Gets a YouTube ad group. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroups/{youtubeAdGroupId}/targetingTypes/{targetingType}/assignedTargetingOptions | Lists the targeting options assigned to a YouTube ad group. Inherited assigned targeting options are not included. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroups/{youtubeAdGroupId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId} | Gets a single targeting option assigned to a YouTube ad group. Inherited assigned targeting options are not included. |
| GET | /v2/advertisers/{advertiserId}/youtubeAdGroups:bulkListAdGroupAssignedTargetingOptions | Lists assigned targeting options for multiple YouTube ad groups across targeting types. Inherieted assigned targeting options are not included. |
| GET | /v2/advertisers/{advertiserId}:audit | Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource |
| POST | /v2/advertisers/{advertiserId}:editAssignedTargetingOptions | Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptio |
| GET | /v2/advertisers/{advertiserId}:listAssignedTargetingOptions | Lists assigned targeting options of an advertiser across targeting types. |
| GET | /v2/combinedAudiences | Lists combined audiences. The order is defined by the order_by parameter. |
| GET | /v2/combinedAudiences/{combinedAudienceId} | Gets a combined audience. |
| GET | /v2/customBiddingAlgorithms | Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter. |
| POST | /v2/customBiddingAlgorithms | Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful. |
| GET | /v2/customBiddingAlgorithms/{customBiddingAlgorithmId} | Gets a custom bidding algorithm. |
| PATCH | /v2/customBiddingAlgorithms/{customBiddingAlgorithmId} | Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. |
| GET | /v2/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts | Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter. |
| POST | /v2/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts | Creates a new custom bidding script. Returns the newly created script if successful. |
| GET | /v2/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts/{customBiddingScriptId} | Gets a custom bidding script. |
| GET | /v2/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript | Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be u |
| GET | /v2/customLists | Lists custom lists. The order is defined by the order_by parameter. |
| GET | /v2/customLists/{customListId} | Gets a custom list. |
Showing the first 100 of 151 endpoints; the full list is in the documentation.
Questions
Does the Display & Video 360 API API need an API key?
Yes. The Display & Video 360 API API uses OAuth authentication; the documentation explains how to get credentials.
Does the Display & Video 360 API API support HTTPS?
Yes, the Display & Video 360 API API is served over HTTPS.
How many endpoints does the Display & Video 360 API API have?
Its OpenAPI description lists 151 endpoints in version v2. The first 100 are shown on this page.
What are alternatives to the Display & Video 360 API API?
Other Analytics APIs include Google Play Integrity API, versionhistory.googleapis.com API, Doc Converter, Perspective Comment Analyzer API, Safe Browsing API.
Similar analytics APIs
Compare alternatives →Google Play Integrity API
AnalyticsThe Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.
versionhistory.googleapis.com API
AnalyticsVersion History API - Prod
Doc Converter
AnalyticsThis api converts file formats of OpenXml and OpenOffice documents formats to vector files (e.g., svg)
Perspective Comment Analyzer API
AnalyticsThe Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.
Safe Browsing API
AnalyticsEnables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
Web Fonts Developer API
AnalyticsThe Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.
Listed from APIs.guru (CC0).