Method: languages.list

  • This document details how to retrieve a list of languages.

  • The request uses a GET method to a specific URL containing a profileId path parameter.

  • The request body must be empty.

  • The successful response body contains a JSON object with kind and an array of languages.

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

Retrieves a list of languages.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/languages

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

Language languages.list Response

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

JSON representation
{
  "kind": string,
  "languages": [
    {
      object (Language)
    }
  ]
}
Fields
kind

string

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

"dfareporting#languagesListResponse"

.

languages[]

object (Language)

Language collection.

Authorization scopes

Requires the following OAuth scope:

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