List

List the alerts for the specified AdSense account

2 variables
8 variables

List the alerts for the specified 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

accountId STRING Required

Account for which to retrieve the alerts

locale STRING

The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported

Output

This building block provides 8 output parameters

  = Parameter name
  = Format

items[] OBJECT

items[].id STRING

Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format

items[].isDismissible BOOLEAN

Whether this alert can be dismissed

items[].kind STRING

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

items[].message STRING

The localized alert message

items[].severity STRING

Severity of this alert. Possible values: INFO, WARNING, SEVERE

items[].type STRING

Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD

kind STRING

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