Method: bidders.pretargetingConfigs.activate

  • Activates an existing pretargeting configuration using an empty request body.

  • Requires providing the pretargeting configuration's name in the URL path using a specific format.

  • Upon successful activation, the API returns the full details of the activated pretargeting configuration.

  • To use this API, you need authorization with the https://www.googleapis.com/auth/realtime-bidding 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