The DCM/DFA Reporting and Trafficking API v2.7 is deprecated and will be sunset on November 30th, 2017. All users must migrate to a newer API version by that date.

Sizes: list

Requires authorization

Retrieves a list of sizes, possibly filtered.

Request

HTTP request

GET https://www.googleapis.com/dfareporting/v2.8/userprofiles/profileId/sizes

Parameters

Parameter name Value Description
Path parameters
profileId long User profile ID associated with this request.
Optional query parameters
height integer Select only sizes with this height. Acceptable values are 0 to 32767, inclusive.
iabStandard boolean Select only IAB standard sizes.
ids long Select only sizes with these IDs.
width integer Select only sizes with this width. Acceptable values are 0 to 32767, inclusive.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "dfareporting#sizesListResponse",
  "sizes": [
    sizes Resource
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#sizesListResponse".
sizes[] list Size collection.

Send feedback about...

DoubleClick Campaign Manager
DoubleClick Campaign Manager