Method: targetingTemplates.get

  • This document outlines how to get a single targeting template by its ID using an HTTP GET request.

  • The request requires path parameters for profileId and id to specify the desired targeting template.

  • The request body must be empty.

  • A successful response will contain an instance of TargetingTemplate .

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

Gets one targeting template by ID.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string ( int64 format)

User profile ID associated with this request.

id

string ( int64 format)

Targeting template ID.

Request body

The request body must be empty.

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: