[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["\u003cp\u003eLists all alerts associated with an AdSense account, including alert name, severity, message, and type.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by language for translated alert messages using IETF BCP-47 language codes.\u003c/p\u003e\n"],["\u003cp\u003eAccessible via a GET request to the specified endpoint with required authorization scopes.\u003c/p\u003e\n"],["\u003cp\u003eReturns alert details in a structured JSON response containing an array of alert objects.\u003c/p\u003e\n"],["\u003cp\u003eProvides different alert severity levels: unspecified, info, warning, and severe.\u003c/p\u003e\n"]]],["This API retrieves a list of alerts for a specified account using a `GET` request to the endpoint `https://adsense.googleapis.com/v2/{parent=accounts/*}/alerts`. The `parent` path parameter defines the account. The `languageCode` query parameter allows translation of alert messages. The request body must be empty, and the response contains a list of alerts, each with fields like `name`, `severity`, `message`, and `type`. OAuth scopes are required for authorization. Alert severity can be `INFO`, `WARNING`, or `SEVERE`.\n"],null,["# Method: accounts.alerts.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListAlertsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Alert](#Alert)\n - [JSON representation](#Alert.SCHEMA_REPRESENTATION)\n- [Severity](#Severity)\n- [Try it!](#try-it)\n\nLists all the alerts available in an account.\n\n### HTTP request\n\n`GET https://adsense.googleapis.com/v2/{parent=accounts/*}/alerts`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account which owns the collection of alerts. Format: accounts/{account} |\n\n### Query parameters\n\n| Parameters ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `languageCode` | `string` The language to use for translating alert messages. If unspecified, this defaults to the user's display language. If the given language is not supported, alerts will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag). |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse definition for the alerts list rpc.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------|\n| ``` { \"alerts\": [ { object (/adsense/management/reference/rest/v2/accounts.alerts/list#Alert) } ] } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `alerts[]` | `object (`[Alert](/adsense/management/reference/rest/v2/accounts.alerts/list#Alert)`)` The alerts returned in this list response. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/adsense`\n- `\n https://www.googleapis.com/auth/adsense.readonly`\n\nAlert\n-----\n\nRepresentation of an alert.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"severity\": enum (/adsense/management/reference/rest/v2/accounts.alerts/list#Severity), \"message\": string, \"type\": string } ``` |\n\n| Fields ||\n|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert} |\n| `severity` | `enum (`[Severity](/adsense/management/reference/rest/v2/accounts.alerts/list#Severity)`)` Output only. Severity of this alert. |\n| `message` | `string` Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links. |\n| `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\". |\n\nSeverity\n--------\n\nSeverity of an alert.\n\n| Enums ||\n|------------------------|-----------------------|\n| `SEVERITY_UNSPECIFIED` | Unspecified severity. |\n| `INFO` | Info. |\n| `WARNING` | Warning. |\n| `SEVERE` | Severe. |"]]