Destination

您要将数据发送到的 Google 产品。例如,Google Ads 账号。

JSON 表示法
{
  "reference": string,
  "loginAccount": {
    object (ProductAccount)
  },
  "linkedAccount": {
    object (ProductAccount)
  },
  "operatingAccount": {
    object (ProductAccount)
  },
  "productDestinationId": string
}
字段
reference

string

可选。相应 Destination 资源的 ID,在请求中是唯一的。用于在 IngestEventsRequest 中引用此 Destination

loginAccount

object (ProductAccount)

可选。用于进行此 API 调用的账号。如需向 operatingAccount 添加数据或从中移除数据,此 loginAccount 必须具有对 operatingAccount 的写入权限。例如,operatingAccount的经理账号,或已与operatingAccount建立关联的账号。

linkedAccount

object (ProductAccount)

可选。调用用户的 loginAccount 通过已建立的账号关联可访问的账号。例如,数据合作伙伴的 loginAccount 可能有权访问客户的 linkedAccount。合作伙伴可能会使用此字段将数据从 linkedAccount 发送到另一个 operatingAccount

operatingAccount

object (ProductAccount)

必需。要向其发送数据或从中移除数据的账号。

productDestinationId

string

必需。商品账号中要将数据提取到哪个对象。例如,Google Ads 受众群体 ID 或 Display & Video 360 受众群体 ID。

ProductAccount

表示特定账号。

JSON 表示法
{
  "product": enum (Product),
  "accountId": string
}
字段
product

enum (Product)

必需。相应账号所属的产品。例如 GOOGLE_ADS

accountId

string

必需。相应账号的 ID。例如,您的 Google Ads 账号 ID。

产品

表示特定的 Google 产品。用于查找账号和目的地。

枚举
PRODUCT_UNSPECIFIED 未指定产品。不应使用此值。
GOOGLE_ADS Google Ads。
DISPLAY_VIDEO_PARTNER Display & Video 360 合作伙伴。
DISPLAY_VIDEO_ADVERTISER Display & Video 360 广告客户。
DATA_PARTNER 数据合作伙伴。