Method: bidders.pretargetingConfigs.create

  • Creates a pretargeting configuration that affects traffic shortly after activation and requires a specific HTTP request using gRPC Transcoding syntax.

  • A maximum of 10 pretargeting configurations are allowed per bidder, exceeding this limit results in a 400 bad request error.

  • The request body needs to contain a PretargetingConfig instance, and a successful response will return a newly created PretargetingConfig instance.

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

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the bidder to create the pretargeting configuration for. Format: bidders/{bidderAccountId}

Request body

The request body contains an instance of PretargetingConfig.

Response body

If successful, the response body contains a newly created instance of PretargetingConfig.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/realtime-bidding