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/v13/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
  ],
  "lastThirtyDays": {
    object (DateRange)
  }
}
Fields
dataMonths[]

string

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

lastThirtyDays

object (DateRange)

The actual dates covered by the "last 30 days" date range that will be used implicitly for AudienceInsightsService.GenerateAudienceCompositionInsights requests that have no dataMonth set.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.