Method: bidders.pretargetingConfigs.patch

  • This page details how to update a pretargeting configuration using an HTTP PATCH request.

  • The request URL follows a specific gRPC Transcoding syntax and includes a required path parameter pretargetingConfig.name to identify the configuration.

  • An optional query parameter updateMask can be used for partial updates to specified fields.

  • Both the request and successful response bodies contain an instance of a PretargetingConfig object.

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

Updates a pretargeting configuration.

HTTP request

PATCH https://realtimebidding.googleapis.com/v1/{pretargetingConfig.name=bidders/*/pretargetingConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
pretargetingConfig.name

string

Output only. Name of the pretargeting configuration that must follow the pattern bidders/{bidder_account_id}/pretargetingConfigs/{config_id}

Query parameters

Parameters
updateMask

string (FieldMask format)

Field mask to use for partial in-place updates.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of PretargetingConfig.

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