REST Resource: exchanges.reports

资源:报告

包含多个报告行的报告。

JSON 表示法
{
  "row": [
    {
      object (ReportRow)
    }
  ],
  "name": string,
  "reportId": string,
  "googleCloudStoragePath": string
}
字段
row[]
(deprecated)

object (ReportRow)

报告行。

name

string

仅限输出。报告的资源名称。

reportId

string

仅限输出。报告 ID。

googleCloudStoragePath

string

报告准备就绪时的 Bigstore 文件地址。替换“bigstore”字符串替换为“https://storage.mtls.cloud.google.com”,然后从 Google Cloud Storage (GCS) 下载报告。在路径字符串中,请使用“exchangeapi-xxxxxx”是特定于您的服务账号的 GCS 存储分区名称。

ReportRow

报告中的一行报告数据。

JSON 表示法
{
  "reportDate": string,
  "reportHour": string,
  "publisher": string,
  "impressions": string,
  "impressionCost": number,
  "creativeId": string,
  "creativeType": string,
  "regionCode": string,
  "seatId": string,
  "dealId": string,
  "deviceType": string,
  "weekFirstDate": string,
  "ivtImpressions": string,
  "ivtImpressionCost": number
}
字段
reportDate

string

报告的日期,采用 ISO_8601 格式。

reportHour

string

报告的时段。在每小时报告中使用,表示一天中的时段。0 ~ 23, 0 之间的值表示 [0:00:00 ~ 1:00:00) 世界协调时间 (UTC)。

publisher

string

报告的发布商,即“10005_1350300”

impressions

string (int64 format)

在指定日期/小时/周内的展示机会价值。

impressionCost

number

指定日期/小时/周的展示费用。

creativeId

string (int64 format)

广告素材 ID。

creativeType

string

报告行的广告素材类型,即图片/音频。

regionCode

string

国家/地区代码。

seatId

string (int64 format)

买方的席位 ID。

dealId

string (int64 format)

交易 ID。

deviceType

string

设备类型,即移动设备/桌面设备。

weekFirstDate

string

一周第一天的日期表示报告行中该周的日期。

ivtImpressions

string (int64 format)

指定日期/小时/周内的 IVT(无效流量)展示次数。

ivtImpressionCost

number

指定日期/小时/周的 IVT(无效流量)展示费用。

方法

get

通过“报告名称”获取报告。