AI-generated Key Takeaways
-
The DoubleClick Bid Manager service in Apps Script allows programmatic access to DBM Reporting using the DV360 Bid Manager API.
-
This is an advanced service that requires prior enablement before use.
-
The service utilizes the same objects, methods, and parameters as the public DBM Reporting API.
-
Sample code is provided for tasks like listing queries, creating and running queries, and fetching the most recent report.
The DoubleClick Bid Manager service lets you use the DV360 Bid Manager API in Apps Script. This API provides programmatic access to DoubleClick Bid Manager (DBM) Reporting.
Reference
For detailed information on this service, see the reference documentation for the DBM Reporting API. Like all advanced services in Apps Script, the DoubleClick Bid Manager 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 DBM Reporting and Trafficking support guide.
Sample code
The following sample code uses version 2 of the API.
Get a list of queries
This sample logs all of the queries available in the account.
Create and run a query
This sample creates and runs a new DBM query.
Fetch the most recent report for a DBM query
This sample fetches the most recent report for a DBM query and logs the content.