The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Destination
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Sản phẩm của Google mà bạn đang gửi dữ liệu đến. Ví dụ: tài khoản Google Ads.
Biểu diễn dưới dạng JSON |
{
"reference": string,
"loginAccount": {
object (ProductAccount )
},
"linkedAccount": {
object (ProductAccount )
},
"operatingAccount": {
object (ProductAccount )
},
"productDestinationId": string
} |
Trường |
reference |
string
Không bắt buộc. Mã nhận dạng của tài nguyên Destination này, là mã nhận dạng duy nhất trong yêu cầu. Sử dụng để tham chiếu Destination này trong IngestEventsRequest .
|
loginAccount |
object (ProductAccount )
Không bắt buộc. Tài khoản được dùng để thực hiện lệnh gọi API này. Để thêm hoặc xoá dữ liệu khỏi operatingAccount , loginAccount này phải có quyền ghi vào operatingAccount . Ví dụ: tài khoản người quản lý của operatingAccount hoặc tài khoản đã liên kết với operatingAccount .
|
linkedAccount |
object (ProductAccount )
Không bắt buộc. Một tài khoản mà loginAccount của người dùng gọi có quyền truy cập thông qua một mối liên kết tài khoản đã được thiết lập. Ví dụ: loginAccount của một đối tác dữ liệu có thể có quyền truy cập vào linkedAccount của một khách hàng. Đối tác có thể sử dụng trường này để gửi dữ liệu từ linkedAccount đến một operatingAccount khác.
|
operatingAccount |
object (ProductAccount )
Bắt buộc. Tài khoản để gửi dữ liệu đến hoặc xoá dữ liệu khỏi.
|
productDestinationId |
string
Bắt buộc. Đối tượng trong tài khoản sản phẩm để nhập vào. Ví dụ: mã nhận dạng đối tượng Google Ads hoặc mã nhận dạng đối tượng Display & Video 360.
|
ProductAccount
Đại diện cho một tài khoản cụ thể.
Biểu diễn dưới dạng JSON |
{
"product": enum (Product ),
"accountId": string
} |
Trường |
product |
enum (Product )
Bắt buộc. Sản phẩm mà tài khoản thuộc về. Ví dụ: GOOGLE_ADS .
|
accountId |
string
Bắt buộc. Mã nhận dạng của tài khoản. Ví dụ: mã tài khoản Google Ads của bạn.
|
Sản phẩm
Đại diện cho một sản phẩm cụ thể của Google. Dùng để xác định vị trí tài khoản và đích đến.
Enum |
PRODUCT_UNSPECIFIED |
Sản phẩm không xác định. Không bao giờ được sử dụng. |
GOOGLE_ADS |
Google Ads. |
DISPLAY_VIDEO_PARTNER |
Đối tác của Display & Video 360. |
DISPLAY_VIDEO_ADVERTISER |
Nhà quảng cáo Display & Video 360. |
DATA_PARTNER |
Đối tác dữ liệu. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Destination\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ProductAccount](#ProductAccount)\n - [JSON representation](#ProductAccount.SCHEMA_REPRESENTATION)\n- [Product](#Product)\n\nThe Google product you're sending data to. For example, a Google Ads account.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"reference\": string, \"loginAccount\": { object (/data-manager/api/reference/rest/v1/Destination#ProductAccount) }, \"linkedAccount\": { object (/data-manager/api/reference/rest/v1/Destination#ProductAccount) }, \"operatingAccount\": { object (/data-manager/api/reference/rest/v1/Destination#ProductAccount) }, \"productDestinationId\": string } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `reference` | `string` Optional. ID for this `Destination` resource, unique within the request. Use to reference this `Destination` in the `IngestEventsRequest`. |\n| `loginAccount` | `object (`[ProductAccount](/data-manager/api/reference/rest/v1/Destination#ProductAccount)`)` Optional. The account used to make this API call. To add or remove data from the [`operatingAccount`](/data-manager/api/reference/rest/v1/Destination#FIELDS.operating_account), this `loginAccount` must have write access to the `operatingAccount`. For example, a manager account of the `operatingAccount`, or an account with an established link to the `operatingAccount`. |\n| `linkedAccount` | `object (`[ProductAccount](/data-manager/api/reference/rest/v1/Destination#ProductAccount)`)` Optional. An account that the calling user's [`loginAccount`](/data-manager/api/reference/rest/v1/Destination#FIELDS.login_account) has access to, through an established account link. For example, a data partner's `loginAccount` might have access to a client's `linkedAccount`. The partner might use this field to send data from the `linkedAccount` to another [`operatingAccount`](/data-manager/api/reference/rest/v1/Destination#FIELDS.operating_account). |\n| `operatingAccount` | `object (`[ProductAccount](/data-manager/api/reference/rest/v1/Destination#ProductAccount)`)` Required. The account to send the data to or remove the data from. |\n| `productDestinationId` | `string` Required. The object within the product account to ingest into. For example, a Google Ads audience ID or a Display \\& Video 360 audience ID. |\n\nProductAccount\n--------------\n\nRepresents a specific account.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ``` { \"product\": enum (/data-manager/api/reference/rest/v1/Destination#Product), \"accountId\": string } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `product` | `enum (`[Product](/data-manager/api/reference/rest/v1/Destination#Product)`)` Required. The product the account belongs to. For example, `GOOGLE_ADS`. |\n| `accountId` | `string` Required. The ID of the account. For example, your Google Ads account ID. |\n\nProduct\n-------\n\nRepresents a specific Google product. Used to locate accounts and destinations.\n\n| Enums ||\n|----------------------------|--------------------------------------------|\n| `PRODUCT_UNSPECIFIED` | Unspecified product. Should never be used. |\n| `GOOGLE_ADS` | Google Ads. |\n| `DISPLAY_VIDEO_PARTNER` | Display \\& Video 360 partner. |\n| `DISPLAY_VIDEO_ADVERTISER` | Display \\& Video 360 advertiser. |\n| `DATA_PARTNER` | Data Partner. |"]]