Method: targetingTemplates.get

  • This page details how to get a single targeting template by its ID.

  • The request uses a GET method to the specified URL, including a profile ID and a targeting template ID as path parameters.

  • The request body must be empty, and a successful response contains an instance of a TargetingTemplate.

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

Gets one targeting template by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/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