Method: targetingTemplates.insert

  • This page details how to insert a new targeting template using a POST request to a specific URL.

  • The request requires a profileId as a path parameter.

  • The request body should contain an instance of TargetingTemplate .

  • A successful response body will contain a newly created TargetingTemplate .

  • This action requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Inserts a new targeting template.

HTTP request

POST 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 a newly created instance of TargetingTemplate .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking
Design a Mobile Site
View Site in Mobile | Classic
Share by: