Method: accountPermissions.get

  • This API method allows you to retrieve a single account permission using its unique ID.

  • To use this method, you need to provide both a user profile ID and the specific account permission ID as path parameters in the GET request.

  • The request body for this method must be empty.

  • A successful request will return an AccountPermission object in the response body.

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

Gets one account permission by ID.

HTTP request

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

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking