Method: bidders.pretargetingConfigs.activate

  • Pretargeting configurations are activated using a POST request to a specific URL.

  • The request requires a name path parameter identifying the pretargeting configuration.

  • The request body must be empty, and a successful response returns a PretargetingConfig instance.

  • Activation requires the https://www.googleapis.com/auth/realtime-bidding OAuth scope.

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