Method: targetingTemplates.patch

  • The primary function of this method is to update existing targeting templates using patch semantics.

  • It utilizes an HTTP PATCH request to the specified URL with defined path and query parameters.

  • The request body should contain a TargetingTemplate object and a successful response will return an updated TargetingTemplate object.

  • Authorization requires the dfatrafficking OAuth scope.

Updates an existing targeting template. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/targetingTemplates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
id

string (int64 format)

Required. RemarketingList ID.

Request body

The request body contains an instance of TargetingTemplate.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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