AI-generated Key Takeaways
-
The TargetingTemplates: insert method is used to create a new targeting template.
-
The HTTP request for this method is a POST request to a specific URL that includes the user's profile ID as a path parameter.
-
The request body requires an instance of a TargetingTemplate object.
-
The response body, if successful, will contain a newly created TargetingTemplate object.
-
This method requires the
https://www.googleapis.com/auth/dfatraffickingauthorization scope.
Inserts a new targeting template.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/targetingTemplates
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
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