Method: customers.adsDataLinks.batchApprove

  • The batchApprove method is used to approve a list of pending ads data links via a POST HTTP request.

  • The request requires a parent path parameter specifying the customer resource name under which all links to approve must fall.

  • The request body must include a list of resource names for the links to be approved, with a maximum of 100 links allowed per batch.

  • The response body contains a list of the successfully approved links .

  • Authorization requires the https://www.googleapis.com/auth/adsdatahub OAuth scope.

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adsdatahub
Design a Mobile Site
View Site in Mobile | Classic
Share by: