Close httplib2 connections.
download(body=None, x__xgafv=None)
Retrieves entities in SDF format.
close()
Close httplib2 connections.
download(body=None, x__xgafv=None)
Retrieves entities in SDF format.
Args:
body: object, The request body.
The object takes the form of:
{ # Request to fetch stored inventory sources, campaigns, insertion orders, line items, YouTube ad groups and ads.
"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",
],
"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 5.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Download response.
"adGroups": "A String", # Retrieved ad groups in SDF format.
"ads": "A String", # Retrieved ads in SDF format.
"campaigns": "A String", # Retrieved campaigns in SDF format.
"insertionOrders": "A String", # Retrieved insertion orders in SDF format.
"inventorySources": "A String",
"lineItems": "A String", # Retrieved line items in SDF format.
}