Method: customers.adsDataLinks.batchApprove
Approve a list of pending ads data links.
HTTP request
POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. Parent customer resource name, e.g. 'customers/123'. All links to approve 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 approve. A maximum of 100 links can be approved 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 operation approves a list of pending ads data links using a batch request."],["It requires a list of link resource names, with a maximum of 100 links per batch."],["The request must be authorized with the `https://www.googleapis.com/auth/adsdatahub` scope."],["Upon success, the response includes an array of the updated ads data links."],["The API endpoint for this operation is `POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove`, where `{parent}` is the customer resource name."]]],["This document details the process of batch-approving pending ads data links via a `POST` request to the endpoint: `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove`. The `parent` path parameter specifies the customer. The request body, in JSON, requires a list of `names` (link resource names) for up to 100 links. The response body, also in JSON, contains a list of the updated `links`. This process requires the OAuth scope `https://www.googleapis.com/auth/adsdatahub`.\n"]]