List the alerts for the specified AdSense account. Try it now.
Request
HTTP request
GET https://www.googleapis.com/adsense/v1.4/accounts/accountId/alerts
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
accountId |
string |
Account for which to retrieve 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:
Scope |
---|
https://www.googleapis.com/auth/adsense |
https://www.googleapis.com/auth/adsense.readonly |
For more information, see the authentication and authorization page.
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": "adsense#alerts", "items": [ alerts Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Kind of list this is, in this case adsense#alerts. | |
items[] |
list |
The alerts returned in this list response. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.