Accounts.alerts: list

Requires authorization

List the alerts for this Ad Exchange account. Try it now.

Request

HTTP request

GET https://www.googleapis.com/adexchangeseller/v2.0/accounts/accountId/alerts

Parameters

Parameter name Value Description
Path parameters
accountId string Account owning the alerts.
Optional query parameters
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.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/adexchange.seller
https://www.googleapis.com/auth/adexchange.seller.readonly

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "adexchangeseller#alerts",
  "items": [
    {
      "id": string,
      "kind": "adexchangeseller#alert",
      "type": string,
      "severity": string,
      "message": string
    }
  ]
}
Property name Value Description Notes
kind string Kind of list this is, in this case adexchangeseller#alerts.
items[] list The alerts returned in this list response.
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[].kind string Kind of resource this is, in this case adexchangeseller#alert.
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.

Acceptable values are:
  • "AB_EXPERIMENT_DECIDABLE":
  • "ADDRESS_PIN_VERIFICATION":
  • "ADSENSE_UPGRADE_REJECTED":
  • "API_HOLD":
  • "CORPORATE_ENTITY":
  • "CRAWLER_ERRORS":
  • "GRAYLISTED_PUBLISHER":
  • "MIGRATED_TO_BILLING3":
  • "PAYMENT_HOLD":
  • "PHONE_PIN_VERIFICATION":
  • "PHONE_PSA_WARNING":
  • "PIN_DEADLINE_APPROACHING":
  • "PIN_PSA_WARNING":
  • "POLICY_VIOLATION_BLACKLIST":
  • "POLICY_VIOLATION_WARNING":
  • "REJECTED_AD_REQUESTS":
  • "SELF_HOLD":
  • "SUSPENDED_ACCOUNT":
  • "TIMEZONE_CHANGED_RECENTLY":
  • "UNAUTHORIZED_SITES":
  • "UPGRADE_GRAYLISTED_HOSTED_ACCOUNT":
  • "YOUTUBE_REPORTING_MOVED":
items[].severity string Severity of this alert. Possible values: INFO, WARNING, SEVERE.

Acceptable values are:
  • "INFO":
  • "SEVERE":
  • "WARNING":
items[].message string The localized alert message.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Seller REST API
Seller REST API