Method: bidders.pretargetingConfigs.activate
Stay organized with collections
Save and categorize content based on your preferences.
Activates a pretargeting configuration.
HTTP request
POST https://realtimebidding.googleapis.com/v1/{name=bidders/*/pretargetingConfigs/*}:activate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PretargetingConfig
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/realtime-bidding
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eActivates an existing pretargeting configuration using an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the pretargeting configuration's name in the URL path using a specific format.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful activation, the API returns the full details of the activated pretargeting configuration.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, you need authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/realtime-bidding\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["The core actions involve activating a pretargeting configuration via a POST request to a specific URL. The URL format includes a required `name` path parameter indicating the configuration to activate. The request body must be empty. A successful response returns a `PretargetingConfig` instance. This action requires the `https://www.googleapis.com/auth/realtime-bidding` authorization scope, and uses gRPC Transcoding syntax. The key URL is provided in the documentation.\n"],null,["# Method: bidders.pretargetingConfigs.activate\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\nActivates a pretargeting configuration.\n\n### HTTP request\n\n`POST https://realtimebidding.googleapis.com/v1/{name=bidders/*/pretargetingConfigs/*}:activate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an 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`"]]