Method: bidders.pretargetingConfigs.suspend

  • The suspend method is used to suspend a pretargeting configuration.

  • This action is performed using an HTTP POST request to a specific URL containing the pretargeting configuration's name.

  • The request requires a path parameter name to identify the pretargeting configuration and an empty request body.

  • A successful response will return a PretargetingConfig object.

  • The action requires the https://www.googleapis.com/auth/realtime-bidding authorization scope.

Suspends a pretargeting configuration.

HTTP request

POST https://realtimebidding.googleapis.com/v1/{name=bidders/*/pretargetingConfigs/*}:suspend

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