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\u003eReject a list of up to 100 pending Ads Data Links under a specific customer using a batch operation.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a list of Ads Data Link resource names to be rejected.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful completion, the response provides a list of the updated Ads Data Links.\u003c/p\u003e\n"],["\u003cp\u003eThe operation needs authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe API utilizes a POST request to the endpoint \u003ccode\u003ehttps://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject\u003c/code\u003e with gRPC Transcoding syntax.\u003c/p\u003e\n"]]],["The provided information outlines how to batch reject pending ads data links. A `POST` request to `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject` is required, with the `parent` path parameter specifying the customer. The request body, in JSON format, must contain an array of `names` representing the links to reject (max 100). A successful response returns an array of `links`, also in JSON, containing updated link details. Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope.\n"],null,["# Method: customers.adsDataLinks.batchReject\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.BatchRejectAdsDataLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReject a list of pending ads data links.\n\n### HTTP request\n\n`POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/adsDataLinks:batchReject`\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 reject 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 reject. A maximum of 100 links can be rejected 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`"]]