AI-generated Key Takeaways
-
The Display & Video 360 (DV360) service allows you to use the DV360 API within Apps Script for programmatic access.
-
This is an advanced service that requires explicit enablement before use.
-
Detailed information and reference documentation for the DV360 API can be found in the provided links.
-
Sample code is provided to demonstrate how to interact with the DV360 API, including listing partners, listing active campaigns, and updating a line item.
The Display & Video 360 (DV360) service lets you use the DV360 API in Apps Script. This API provides programmatic access to the Display & Video API.
Reference
For detailed information on this service, see the reference documentation for the DV360 API. Like all advanced services in Apps Script, the DV360 service uses the same objects, methods, and parameters as the public API. For more information, see How method signatures are determined .
To report issues and find other support, see the DV360 support guide .
Sample code
The following sample code uses version 4 of the API.
Get a list of partners
This sample logs all of the partners available in the account.
Get a list of active campaigns
This sample logs names and IDs of all active campaigns. Note the use of paging tokens to retrieve the whole list.
Update the display name of a line item
This sample updates the display name of a line item

