DoubleClick Bid Manager API . sdf

Instance Methods

download(body)

Retrieves entities in SDF format.

Method Details

download(body)
Retrieves entities in SDF format.

Args:
  body: object, The request body. (required)
    The object takes the form of:

{ # Request to fetch stored inventory sources, campaigns, insertion orders, line items, TrueView ad groups and ads.
    "filterType": "A String", # Filter type used to filter entities to fetch. PARTNER_ID and INVENTORY_SOURCE_ID may only be used when downloading inventory sources.
    "version": "A String", # SDF Version (column names, types, order) in which the entities will be returned. Default to 3.1.
    "fileTypes": [ # File types that will be returned. If INVENTORY_SOURCE is requested, no other file types may be requested.
        # 
        # Acceptable values are:
        # - "AD"
        # - "AD_GROUP"
        # - "CAMPAIGN"
        # - "INSERTION_ORDER"
        # - "INVENTORY_SOURCE"
        # - "LINE_ITEM"
      "A String",
    ],
    "filterIds": [ # The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified.
      "A String",
    ],
  }


Returns:
  An object of the form:

    { # Download response.
    "ads": "A String", # Retrieved ads in SDF format.
    "campaigns": "A String", # Retrieved campaigns in SDF format.
    "inventorySources": "A String",
    "insertionOrders": "A String", # Retrieved insertion orders in SDF format.
    "adGroups": "A String", # Retrieved ad groups in SDF format.
    "lineItems": "A String", # Retrieved line items in SDF format.
  }