Gets one direct deal by ID.
Retrieves the authenticated user's list of direct deals.
get(id)
Gets one direct deal by ID.
Args:
id: string, The direct deal id (required)
Returns:
An object of the form:
{
"advertiser": "A String", # The name of the advertiser this deal is for.
"kind": "adexchangebuyer#directDeal", # Resource type.
"currencyCode": "A String", # The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.
"fixedCpm": "A String", # The fixed price for this direct deal. In cpm micros of currency according to currency_code.
"startTime": "A String", # Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.
"endTime": "A String", # End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.
"sellerNetwork": "A String", # The name of the publisher offering this direct deal.
"id": "A String", # Deal id.
"accountId": 42, # The account id of the buyer this deal is for.
}
list()
Retrieves the authenticated user's list of direct deals.
Args:
Returns:
An object of the form:
{
"kind": "adexchangebuyer#directDealsList", # Resource type.
"directDeals": [ # A list of direct deals relevant for your account.
{
"advertiser": "A String", # The name of the advertiser this deal is for.
"kind": "adexchangebuyer#directDeal", # Resource type.
"currencyCode": "A String", # The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.
"fixedCpm": "A String", # The fixed price for this direct deal. In cpm micros of currency according to currency_code.
"startTime": "A String", # Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.
"endTime": "A String", # End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.
"sellerNetwork": "A String", # The name of the publisher offering this direct deal.
"id": "A String", # Deal id.
"accountId": 42, # The account id of the buyer this deal is for.
},
],
}