| |
Methods defined here:
- __init__(self)
- get = method(self, **kwargs)
- Gets one direct deal by ID.
Args:
pp: string, A parameter
trace: string, A parameter
strict: string, A parameter
userip: string, A parameter
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 = method(self, **kwargs)
- Retrieves the authenticated user's list of direct deals.
Args:
pp: string, A parameter
trace: string, A parameter
strict: string, A parameter
userip: string, A parameter
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.
},
],
}
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|