我们已对相关文档做出更新,就广告数据中心在
推出的两种新解决方案中引入的最新功能和更新进行了说明。
广告客户、代理机构和发布商可访问面向
营销者的网站,
供应商和合作伙伴可访问面向
衡量合作伙伴的网站。
Method: customers.userListQueries.start
开始对存储的用户列表查询执行查询。结果上传到指定的 Google Ads 用户名单。返回的操作名称可用于轮询查询完成状态。
HTTP 请求
POST https://adsdatahub.googleapis.com/v1/{name=customers/*/userListQueries/*}:start
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
完整资源名称,例如 'customers/123/userListQuery/abcd1234'。
|
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
{
"spec": {
object (QueryExecutionSpec )
},
"userListId": string,
"customerId": string
} |
字段 |
spec |
object (QueryExecutionSpec )
定义查询执行参数。
|
userListId |
string (int64 format)
Google Ads 用户名单 ID。请注意,用户列表必须由执行查询的广告数据中心客户管理。
|
customerId |
string (int64 format)
(可选)广告数据中心客户执行查询。如果未指定,则默认为拥有查询的客户。
|
响应正文
如果成功,响应正文将包含一个 Operation
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/adsdatahub
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-09-26。
[null,null,["最后更新时间 (UTC):2022-09-26。"],[[["Starts execution of a stored user list query and uploads the results to a specified Google Ads user list."],["Users can track query completion status via the returned operation name."],["The request requires specifying the query execution parameters, Google Ads user list ID, and optionally, the Ads Data Hub customer ID."],["Successful execution returns an Operation object detailing the status and outcome."],["Authorization requires the `https://www.googleapis.com/auth/adsdatahub` scope."]]],["This document details the process of initiating a user list query in Google Ads Data Hub. A POST request is sent to a specific URL containing the user list query's name. The request body includes query execution parameters (`spec`), a Google Ads user list ID (`userListId`), and an optional customer ID (`customerId`). The query results are uploaded to the specified Google Ads user list. Upon success, an Operation object is returned, indicating the query's status. It also requires OAuth authorization with the `https://www.googleapis.com/auth/adsdatahub` scope.\n"]]