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 documentation outlines the process for adding a DV360 advertiser to a custom bidding algorithm's advertisers via an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a path parameter specifying the custom bidding algorithm's resource name and a request body containing the DV360 advertiser ID.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the updated CustomBiddingAlgorithm object.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["The core action is adding a DV360 advertiser to a custom bidding algorithm. This is achieved via a `POST` HTTP request to a specified URL, including a required `customBiddingAlgorithm` path parameter. The request body requires a JSON structure containing the `dv360Advertiser` ID. A successful response returns an instance of the `CustomBiddingAlgorithm`. The request must include the authorization scope `https://www.googleapis.com/auth/adsdatahub`.\n"],null,["# Method: customers.customBiddingAlgorithms.addAdvertiser\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- [Authorization scopes](#body.aspect)\n\nAdd a DV360 advertiser to the custom bidding algorithm's advertisers.\n\n### HTTP request\n\n`POST https://adsdatahub.googleapis.com/v1/{customBiddingAlgorithm=customers/*/customBiddingAlgorithms/*}:addAdvertiser`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| `customBiddingAlgorithm` | `string` Required. Full resource name of a custom bidding algorithm, e.g. 'customers/123/customBiddingAlgorithms/12345678. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------|\n| ``` { \"dv360Advertiser\": string } ``` |\n\n| Fields ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `dv360Advertiser` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Advertiser to add to the custom bidding algorithm |\n\n### Response body\n\nIf successful, the response body contains an instance of [CustomBiddingAlgorithm](/ads-data-hub/reference/rest/v1/customers.customBiddingAlgorithms#CustomBiddingAlgorithm).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adsdatahub`"]]