The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Destination
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您要将数据发送到的 Google 产品。例如,Google Ads 账号。
字段 |
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 |
数据合作伙伴。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],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. |"]]