Method: targetingTemplates.update

  • Updates an existing targeting template using a PUT request to a specific endpoint.

  • Requires profileId as a path parameter to identify the associated user profile.

  • The request and response bodies utilize the TargetingTemplate object for data structure.

  • Authorization necessitates the dfatrafficking scope for access.

Updates an existing targeting template.

HTTP request

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

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