Method: accounts.get

  • This page details how to get one account by ID using a GET HTTP request.

  • The request utilizes a URL with gRPC Transcoding syntax and requires specific profileId and id path parameters.

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

  • Access requires authorization using the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one account by ID.

HTTP request

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

Account ID.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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