Method: networks.targetingPresets.patch

Updates a TargetingPreset object.

HTTP request

PATCH https://admanager.googleapis.com/v1/{targetingPreset.name}

Path parameters

Parameters
targetingPreset.name

string

Identifier. The resource name of the TargetingPreset. Format: networks/{networkCode}/targetingPresets/{targetingPresetId}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

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 TargetingPreset.

Response body

If successful, the response body contains an instance of TargetingPreset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.