Method: directorySites.get

  • This document explains how to get a single directory site by ID using an HTTP GET request.

  • The URL uses gRPC Transcoding syntax and requires profileId and id as path parameters.

  • The request body must be empty, and a successful response will contain an instance of DirectorySite .

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

Gets one directory site by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/directorySites/{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)

Directory site ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DirectorySite .

Authorization scopes

Requires the following OAuth scope:

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