AI-generated Key Takeaways
-
Reject a list of up to 100 pending Ads Data Links under a specific customer using a batch operation.
-
The request requires a list of Ads Data Link resource names to be rejected.
-
Upon successful completion, the response provides a list of the updated Ads Data Links.
-
The operation needs authorization with the
https://www.googleapis.com/auth/adsdatahub
scope. -
The API utilizes a POST request to the endpoint
https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject
with gRPC Transcoding syntax.
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 |
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[] |
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 ( |
Fields | |
---|---|
links[] |
Links updated. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub