Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

Method: audienceInsights.listInsightsEligibleDates

Lists date ranges for which audience insights data can be requested.

List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

HTTP request

POST https://googleads.googleapis.com/v12/audienceInsights:listInsightsEligibleDates

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for [AudienceInsightsService.ListAudienceInsightsDates][].

JSON representation
{
  "dataMonths": [
    string
  ]
}
Fields
dataMonths[]

string

The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.