Method: regions.list

  • Retrieves a list of geographical regions associated with a user profile.

  • The request is made using an HTTP GET method to a specific endpoint with the user profile ID as a path parameter.

  • The response includes a collection of regions and a kind identifier, formatted as JSON.

  • Authorization is required using the dfatrafficking scope.

Retrieves a list of regions.

HTTP request

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

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

Region regions.list Response

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

JSON representation
{
  "kind": string,
  "regions": [
    {
      object (Region)
    }
  ]
}
Fields
kind

string

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

"dfareporting#regionsListResponse"

.

regions[]

object (Region)

Region collection.

Authorization scopes

Requires the following OAuth scope:

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