API Reference

The Bid Manager API allows developers to manage Queries, retrieve Reports and Structured Data Files, and download and upload Line Items.

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. Lineitems
  2. Queries
  3. Reports
  4. Sdf

Lineitems

For Lineitems Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/doubleclickbidmanager/v1, unless otherwise noted
downloadlineitems POST  /lineitems/downloadlineitems Retrieves line items in CSV format. TrueView line items are not supported.
uploadlineitems POST  /lineitems/uploadlineitems Uploads line items in CSV format. TrueView line items are not supported.

Queries

For Queries Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/doubleclickbidmanager/v1, unless otherwise noted
createquery POST  /query Creates a query.
deletequery DELETE  /query/queryId Deletes a stored query as well as the associated stored reports.
getquery GET  /query/queryId Retrieves a stored query.
listqueries GET  /queries Retrieves stored queries.
runquery POST  /query/queryId Runs a stored query to generate a report.

Reports

For Reports Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/doubleclickbidmanager/v1, unless otherwise noted
listreports GET  /queries/queryId/reports Retrieves stored reports.

Sdf

For Sdf Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/doubleclickbidmanager/v1, unless otherwise noted
download POST  /sdf/download Retrieves entities in SDF format.