The Campaign Manager 360 API v3.4 is deprecated and will be sunset on Dec 24th, 2021. All users must migrate to a newer API version by that date.

Method: sizes.list

Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v3.5/userprofiles/{profileId}/sizes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
ids[]

string (int64 format)

Select only sizes with these IDs.

height

integer

Select only sizes with this height.

iabStandard

boolean

Select only IAB standard sizes.

width

integer

Select only sizes with this width.

Request body

The request body must be empty.

Response body

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

Size accountPermissionGroups.list Response

JSON representation
{
  "kind": string,
  "sizes": [
    {
      object (Size)
    }
  ]
}
Fields
kind

string

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

"dfareporting#sizesListResponse"

.

sizes[]

object (Size)

Size collection.

Authorization Scopes

Requires the following OAuth scope:

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