Method: bidders.pretargetingConfigs.create

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