Search + K

Command Palette

Search for a command to run...

Sign In

adsense.accounts.alerts.list

GET /v2/{+parent}/alerts
Copy endpoint
https://adsense.googleapis.com/

Lists all the alerts available in an account.

Parameters

path Path Parameters

Name Type
parent required

Required. The account which owns the collection of alerts. Format: accounts/{account}

string

query Query Parameters

Name Type
languageCode

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.

string
alt

Data format for response.

"json" | "media" | "proto"
key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

string
$.xgafv

V1 error format.

"1" | "2"
oauth_token

OAuth 2.0 token for the current user.

string
callback

JSONP

string
prettyPrint

Returns response with indentations and line breaks.

boolean
upload_protocol

Upload protocol for media (e.g. "raw", "multipart").

string
quotaUser

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

string
uploadType

Legacy upload protocol for media (e.g. "media", "multipart").

string
fields

Selector specifying which fields to include in a partial response.

string
access_token

OAuth access token.

string

Responses

200 */*

Successful response

interface ListAlertsResponse {
alerts?: Alert

Representation of an alert.

interface Alert {
message?: string;
name?: string;
severity?: "SEVERITY_UNSPECIFIED" | "INFO" | "WARNING" | "SEVERE";
type?: string;
}
[]
;
}