Sdf: download

Requires authorization

Retrieves entities in SDF format. Try it now.

Request

HTTP request

POST https://www.googleapis.com/doubleclickbidmanager/v1/sdf/download

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/doubleclickbidmanager

Request body

In the request body, supply data with the following structure:

{
  "fileTypes": [
    string
  ],
  "filterType": string,
  "filterIds": [
    long
  ],
  "version": string
}
Property name Value Description Notes
fileTypes[] list File types that will be returned.

Acceptable values are:
  • "AD"
  • "AD_GROUP"
  • "CAMPAIGN"
  • "INSERTION_ORDER"
  • "LINE_ITEM"
filterType string Filter type used to filter entities to fetch.

Acceptable values are:
  • "ADVERTISER_ID"
  • "CAMPAIGN_ID"
  • "INSERTION_ORDER_ID"
  • "LINE_ITEM_ID"
filterIds[] list The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified.
version string SDF Version (column names, types, order) in which the entities will be returned. Default to 3.1.

Response

If successful, this method returns a response body with the following structure:

{
  "campaigns": string,
  "insertionOrders": string,
  "lineItems": string,
  "adGroups": string,
  "ads": string
}
Property name Value Description Notes
insertionOrders string Retrieved insertion orders in SDF format.
lineItems string Retrieved line items in SDF format.
adGroups string Retrieved ad groups in SDF format.
ads string Retrieved ads in SDF format.
campaigns string Retrieved campaigns in SDF format.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.