Returns the adclients Resource.
Returns the adunits Resource.
Returns the reports Resource.
Close httplib2 connections.
Get information about the selected associated AdSense account.
List hosted accounts associated with this AdSense account by ad client id.
close()
Close httplib2 connections.
get(accountId)
Get information about the selected associated AdSense account. Args: accountId: string, Account to get information about. (required) Returns: An object of the form: { "id": "A String", # Unique identifier of this account. "status": "A String", # Approval status of this account. One of: PENDING, APPROVED, DISABLED. "name": "A String", # Name of this account. "kind": "adsensehost#account", # Kind of resource this is, in this case adsensehost#account. }
list(filterAdClientId)
List hosted accounts associated with this AdSense account by ad client id. Args: filterAdClientId: string, Ad clients to list accounts for. (required) (repeated) Returns: An object of the form: { "kind": "adsensehost#accounts", # Kind of list this is, in this case adsensehost#accounts. "items": [ # The accounts returned in this list response. { "id": "A String", # Unique identifier of this account. "status": "A String", # Approval status of this account. One of: PENDING, APPROVED, DISABLED. "name": "A String", # Name of this account. "kind": "adsensehost#account", # Kind of resource this is, in this case adsensehost#account. }, ], "etag": "A String", # ETag of this response for caching purposes. }