Method: customers.adsDataLinks.batchReject
HTTP 请求
POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject
网址采用 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 allows rejection of a list of pending ads data links in batches, with a maximum of 100 links per batch."],["The request must specify the parent customer resource name and an array of link resource names to be rejected."],["Upon successful execution, the response includes an array of updated `AdsDataLink` objects representing the rejected links."],["Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope."],["The endpoint utilizes a `POST` request to the URL `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject`, employing gRPC Transcoding syntax."]]],["This describes how to batch reject pending ads data links via a POST request to `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject`. The `parent` path parameter (e.g., 'customers/123') specifies the customer. The request body requires a JSON object containing an array `names[]` of up to 100 link resource names to reject. A successful response returns a JSON object containing `links[]` with updated link details. This process requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope.\n"]]