Method: accounts.get

  • This document outlines how to retrieve a single account by its ID using an HTTP GET request.

  • The required information for the request includes a profileId and an id provided as path parameters.

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

  • Access to this function requires the https://www.googleapis.com/auth/dfatrafficking authorization scope.

Gets one account by ID.

HTTP request

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