Creates a pretargeting configuration. A pretargeting configuration's state (PretargetingConfig.state) is active upon creation, and it will start to affect traffic shortly after.
A bidder may create a maximum of 10 pretargeting configurations. Attempts to exceed this maximum results in a 400 bad request error.
HTTP request
POST https://realtimebidding.googleapis.com/v1/{parent=bidders/*}/pretargetingConfigs
[[["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\u003eCreates a pretargeting configuration that affects traffic shortly after activation and requires a specific HTTP request using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eA maximum of 10 pretargeting configurations are allowed per bidder, exceeding this limit results in a 400 bad request error.\u003c/p\u003e\n"],["\u003cp\u003eThe request body needs to contain a PretargetingConfig instance, and a successful response will return a newly created PretargetingConfig instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/realtime-bidding\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: bidders.pretargetingConfigs.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a pretargeting configuration. A pretargeting configuration's state ([PretargetingConfig.state](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.pretargetingConfigs#PretargetingConfig.FIELDS.state)) is active upon creation, and it will start to affect traffic shortly after.\n\nA bidder may create a maximum of 10 pretargeting configurations. Attempts to exceed this maximum results in a 400 bad request error.\n\n### HTTP request\n\n`POST https://realtimebidding.googleapis.com/v1/{parent=bidders/*}/pretargetingConfigs`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. Name of the bidder to create the pretargeting configuration for. Format: bidders/{bidderAccountId} |\n\n### Request body\n\nThe request body contains an instance of [PretargetingConfig](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.pretargetingConfigs#PretargetingConfig).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [PretargetingConfig](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.pretargetingConfigs#PretargetingConfig).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/realtime-bidding`"]]