Method: sizes.get

  • This page provides documentation for retrieving a specific size by its ID using a GET request.

  • The request requires both a user profile ID and a size ID as path parameters.

  • The HTTP request body must be empty, and a successful response contains a Size object.

  • The request needs to be authorized with the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one size by ID.

HTTP request

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

Size ID.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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