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 資料合作夥伴。