List

List all accounts available to this AdSense account

2 variables
17 variables

List all accounts available to this AdSense account

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your AdSense data
  • View your AdSense data

Input

This building block consumes 2 input parameters

  = Parameter name
  = Format

maxResults INTEGER

The maximum number of accounts to include in the response, used for paging

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

Output

This building block provides 17 output parameters

  = Parameter name
  = Format

etag STRING

ETag of this response for caching purposes

items[] OBJECT

items[].creation_time INTEGER

items[].id STRING

Unique identifier of this account

items[].kind STRING

Kind of resource this is, in this case adsense#account

items[].name STRING

Name of this account

items[].premium BOOLEAN

Whether this account is premium

items[].subAccounts[] OBJECT

items[].subAccounts[].creation_time INTEGER

items[].subAccounts[].id STRING

Unique identifier of this account

items[].subAccounts[].kind STRING

Kind of resource this is, in this case adsense#account

items[].subAccounts[].name STRING

Name of this account

items[].subAccounts[].premium BOOLEAN

Whether this account is premium

items[].subAccounts[].timezone STRING

AdSense timezone of this account

items[].timezone STRING

AdSense timezone of this account

kind STRING

Kind of list this is, in this case adsense#accounts

nextPageToken STRING

Continuation token used to page through accounts. To retrieve the next page of results, set the next request's "pageToken" value to this