This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.

Method: customers.adsDataLinks.batchReject

  • The batchReject method allows you to reject a list of pending ads data links for a specific customer using an HTTP POST request.

  • The request requires a parent parameter specifying the customer resource name and a request body containing a list of link resource names to reject.

  • The response body, if successful, contains a list of the updated links.

  • The request requires authorization using the https://www.googleapis.com/auth/adsdatahub OAuth scope.

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 )
 }
 ]
}
Fields

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.