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/v14/audienceInsights:listInsightsEligibleDates

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

Response message for AudienceInsightsService.ListInsightsEligibleDates.

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

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.