Method: customers.adsDataLinks.batchReject
Reject a list of pending ads data links.
HTTP request
POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. Parent customer resource name, e.g. 'customers/123'. All links to reject must be under this customer.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"names": [
string
]
} |
Fields |
names[] |
string
Required. The resource names of the links to reject. A maximum of 100 links can be rejected in a batch.
|
Response body
Response to a BatchUpdateAdsDataLinks request.
If successful, the response body contains data with the following structure:
JSON representation |
{
"links": [
{
object (AdsDataLink )
}
]
} |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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"]]