Method: accountPermissions.list

  • The AccountPermissions list method retrieves the list of account permissions.

  • The HTTP request uses a GET method to a specified URL containing a user profile ID.

  • The request body must be empty, and the response body provides account permission data in JSON format.

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

Retrieves the list of account permissions.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/accountPermissions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Request body

The request body must be empty.

Response body

Account Permission accountPermissions.list Response

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "accountPermissions": [
    {
      object (AccountPermission)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#accountPermissionsListResponse"

.

accountPermissions[]

object (AccountPermission)

Account permission collection.

Authorization scopes

Requires the following OAuth scope:

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