AI-generated Key Takeaways
-
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.
Resource: Alert
Representation of an alert.
JSON representation |
---|
{
"name": string,
"severity": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert} |
severity |
Output only. Severity of this alert. |
message |
Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links. |
type |
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
Severity of an alert.
Enums | |
---|---|
SEVERITY_UNSPECIFIED |
Unspecified severity. |
INFO |
Info. |
WARNING |
Warning. |
SEVERE |
Severe. |
Methods |
|
---|---|
|
Lists all the alerts available in an account. |