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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis endpoint approves a list of pending ads data links within a specified customer account.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a list of ads data link resource names to approve, with a maximum of 100 links per batch.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a list of the updated ads data links.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This describes the `batchApprove` method for ads data links. It uses a `POST` request to `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove`, requiring a `parent` path parameter, specifying the customer. The request body, in JSON, needs an array of `names` (link resource names, up to 100). The successful response body includes an array of `links`, which are the updated links. It needs the `https://www.googleapis.com/auth/adsdatahub` authorization scope.\n"],null,["# Method: customers.adsDataLinks.batchApprove\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BatchApproveAdsDataLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nApprove a list of pending ads data links.\n\n### HTTP request\n\n`POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchApprove`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. Parent customer resource name, e.g. 'customers/123'. All links to approve must be under this customer. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"names\": [ string ] } ``` |\n\n| Fields ||\n|-----------|-------------------------------------------------------------------------------------------------------------------|\n| `names[]` | `string` Required. The resource names of the links to approve. A maximum of 100 links can be approved in a batch. |\n\n### Response body\n\nResponse to a BatchUpdateAdsDataLinks request.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"links\": [ { object (/ads-data-hub/reference/rest/v1/customers.adsDataLinks#AdsDataLink) } ] } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------|\n| `links[]` | `object (`[AdsDataLink](/ads-data-hub/reference/rest/v1/customers.adsDataLinks#AdsDataLink)`)` Links updated. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adsdatahub`"]]