Method: directorySites.get

  • This page provides documentation for the directorySites.get method to retrieve a single directory site by its ID.

  • The HTTP request uses a GET method to a specific URL containing the user profile ID and directory site ID.

  • The request requires two path parameters: profileId and id , both in string format representing int64 values.

  • The request body must be empty.

  • A successful response will contain an instance of a DirectorySite object.

  • The request requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

Gets one directory site by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/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
Create a Mobile Website
View Site in Mobile | Classic
Share by: