Method: audienceInsights.listInsightsEligibleDates

列出可要求目標對象洞察資料的日期範圍。

擲回錯誤清單:AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

HTTP 要求

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

這個網址使用 gRPC 轉碼語法。

要求主體

要求主體必須為空白。

回應主體

AudienceInsightsService.ListInsightsEligibleDates 的回應訊息。

如果成功,回應主體即會包含具有以下結構的資料:

JSON 表示法
{
  "dataMonths": [
    string
  ],
  "lastThirtyDays": {
    object (DateRange)
  }
}
欄位
dataMonths[]

string

目前可提供 Audience Insights 資料的月份,以字串的形式表示,格式為「YYYY-MM」。

lastThirtyDays

object (DateRange)

「最近 30 天」日期範圍涵蓋的實際日期,對未設定 DataMonth 的 AudienceInsightsService.GenerateAudienceCompositionInsights 請求直接使用。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱 OAuth 2.0 總覽