Sizes

For a list of methods for this resource, see the end of this page.

Resource representations

Represents the dimensions of ads, placements, creatives, or creative assets.

{
  "kind": "dfareporting#size",
  "id": long,
  "width": integer,
  "height": integer,
  "iab": boolean
}
Property name Value Description Notes
height integer Height of this size. Acceptable values are 0 to 32767, inclusive.
iab boolean IAB standard size. This is a read-only, auto-generated field.
id long ID of this size. This is a read-only, auto-generated field.
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
width integer Width of this size. Acceptable values are 0 to 32767, inclusive.

Methods

get
Gets one size by ID.
insert
Inserts a new size.
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.