REST Resource: accounts.alerts
Resource: Alert
Representation of an alert.
JSON representation |
{
"name": string,
"severity": enum (Severity ),
"message": string,
"type": string
} |
Fields |
name |
string
Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert}
|
severity |
enum (Severity )
Output only. Severity of this alert.
|
message |
string
Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links.
|
type |
string
Output only. Type of alert. This identifies the broad type of this alert, and provides a stable machine-readable identifier that will not be translated. For example, "payment-hold".
|
Severity
Enums |
SEVERITY_UNSPECIFIED |
Unspecified severity. |
INFO |
Info. |
WARNING |
Warning. |
SEVERE |
Severe. |
Methods |
|
Lists all the alerts available in an account. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["Alerts provide critical information regarding your AdSense account, categorized by severity levels such as INFO, WARNING, and SEVERE."],["Each alert includes a descriptive message and a machine-readable type for easier identification and management."],["You can access and manage alerts through the provided API methods, such as listing all alerts associated with your account."],["Alert severity is indicated by an enum value and can range from unspecified to severe, allowing you to prioritize based on the urgency of the issue."],["Alerts are represented as JSON objects containing key information like name, severity, message, and type for easy integration into your systems."]]],["Alerts are represented as resources with fields: `name` (resource identifier), `severity` (enum: `INFO`, `WARNING`, `SEVERE`), `message` (localized HTML message), and `type` (machine-readable identifier). The resource name follows the format: `accounts/{account}/alerts/{alert}`. Alert severities range from unspecified to severe. The `list` method is used to retrieve all alerts for a given account.\n"]]