Method: customers.adsDataLinks.batchApprove
HTTP 请求
POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。父级客户资源名称,例如 'customers/123'。要批准的所有链接都必须位于此客户名下。
|
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
{
"names": [
string
]
} |
字段 |
names[] |
string
必需。要审批的链接的资源名称。每个批次最多可以批准 100 个链接。
|
响应正文
如果成功,响应正文将包含结构如下的数据:
对 BatchUpdateAdsDataLinks 请求的响应。
字段 |
links[] |
object (AdsDataLink )
链接已更新。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/adsdatahub
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-09-27。
[null,null,["最后更新时间 (UTC):2022-09-27。"],[[["This endpoint approves a list of pending ads data links within a specified customer account."],["The request requires a list of ads data link resource names to approve, with a maximum of 100 links per batch."],["The response provides a list of the updated ads data links."],["Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope."]]],["This describes the `batchApprove` method for ads data links. It uses a `POST` request to `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove`, requiring a `parent` path parameter, specifying the customer. The request body, in JSON, needs an array of `names` (link resource names, up to 100). The successful response body includes an array of `links`, which are the updated links. It needs the `https://www.googleapis.com/auth/adsdatahub` authorization scope.\n"]]