Method: targetingTemplates.update

  • This page details how to update an existing targeting template using a PUT request to the specified URL.

  • The request requires a profileId path parameter to identify the user profile associated with the request.

  • The request body must contain an instance of a TargetingTemplate.

  • A successful response will return an instance of a TargetingTemplate in the response body.

  • The update operation requires the https://www.googleapis.com/auth/dfatrafficking authorization scope.

Updates an existing targeting template.

HTTP request

PUT https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/targetingTemplates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

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