|
Methods defined here:
- __init__(self)
- adclients = methodResource(self)
- A collection resource.
- adunits = methodResource(self)
- A collection resource.
- customchannels = methodResource(self)
- A collection resource.
- get = method(self, **kwargs)
- Get information about the selected AdSense account.
Args:
tree: boolean, Whether the tree of sub accounts should be returned.
accountId: string, Account to get information about. (required)
Returns:
An object of the form
{
"kind": "adsense#account", # Kind of resource this is, in this case adsense#account.
"id": "A String", # Unique identifier of this account.
"subAccounts": [ # Sub accounts of the this account.
# Object with schema name: Account
],
"name": "A String", # Name of this account.
}
- list = method(self, **kwargs)
- List all accounts available to this AdSense account.
Args:
pageToken: string, A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
maxResults: integer, The maximum number of accounts to include in the response, used for paging.
Returns:
An object of the form
{
"nextPageToken": "A String", # Continuation token used to page through accounts. To retrieve the next page of results, set the next request's "pageToken" value to this.
"items": [ # The accounts returned in this list response.
{
"kind": "adsense#account", # Kind of resource this is, in this case adsense#account.
"id": "A String", # Unique identifier of this account.
"subAccounts": [ # Sub accounts of the this account.
# Object with schema name: Account
],
"name": "A String", # Name of this account.
},
],
"kind": "adsense#accounts", # Kind of list this is, in this case adsense#accounts.
"etag": "A String", # ETag of this response for caching purposes.
}
- list_next = methodNext(self, previous_request, previous_response)
- Retrieves the next page of results.
Args:
previous_request: The request for the previous page.
previous_response: The response from the request for the previous page.
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
- reports = methodResource(self)
- A collection resource.
- urlchannels = methodResource(self)
- A collection resource.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|