Method: bidders.pretargetingConfigs.removeTargetedApps

  • This endpoint removes specified apps from a pretargeting configuration within Real-time Bidding.

  • The request must include a list of app IDs to remove from targeting, sent in the request body as a JSON array.

  • Users need to provide the pretargeting configuration name using the specified URL path format.

  • Successful requests will return the updated PretargetingConfig object in the response body.

  • To use this endpoint, you need authorization with the https://www.googleapis.com/auth/realtime-bidding scope.

Removes targeted apps from the pretargeting configuration.

HTTP request

POST https://realtimebidding.googleapis.com/v1/{pretargetingConfig=bidders/*/pretargetingConfigs/*}:removeTargetedApps

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
pretargetingConfig

string

Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}

Request body

The request body contains data with the following structure:

JSON representation
{
  "appIds": [
    string
  ]
}
Fields
appIds[]

string

A list of app IDs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted app IDs in PretargetingConfig.appTargeting.mobileAppTargeting.values.

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