Alerts

Deprecated: Due to the possibility of ambiguity, accounts with both an AdSense publisher account and an AdExchange account will throw an error when trying to use the default account. Always use accounts.list to check if there's more than one account and let the user choose in that case. After that, specify the account ID on every call using the /accounts/ namespace.

For a list of methods for this resource, see the end of this page.

Resource representations

{
  "id": string,
  "kind": "adsense#alert",
  "type": string,
  "severity": string,
  "isDismissible": boolean,
  "message": string
}
Property name Value Description Notes
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.
isDismissible boolean Whether this alert can be dismissed.
kind string Kind of resource this is, in this case adsense#alert.
message string The localized alert message.
severity string Severity of this alert.

Acceptable values are:
  • "INFO"
  • "SEVERE"
  • "WARNING"
type string Type of this alert.

Acceptable values are:
  • "AB_EXPERIMENT_DECIDABLE"
  • "ADDRESS_PIN_VERIFICATION"
  • "ADSENSE_UPGRADE_REJECTED"
  • "API_HOLD"
  • "AUTHORIZED_SITES_INTEGRATION"
  • "CORPORATE_ENTITY"
  • "CRAWLER_ERRORS"
  • "DISABLE_ANCHOR_PIGGYBACK"
  • "DOMAIN_CLAIM_FOR_CORE"
  • "GRAYLISTED_PUBLISHER"
  • "HOST_UPGRADE_IN_PROGRESS"
  • "MIGRATED_TO_BILLING3"
  • "MOBILE_OPTIMIZATION_WARNING"
  • "PAYMENT_HOLD"
  • "PHONE_PIN_VERIFICATION"
  • "PHONE_PSA_WARNING"
  • "PII_PROBATION_WARNING"
  • "PII_TERMINATION_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"

Methods

delete
Dismiss (delete) the specified alert from the publisher's AdSense account.
list
List the alerts for this AdSense account.

Send feedback about...

AdSense Management API
AdSense Management API