REST Resource: sizes

  • A Size resource represents the dimensions of various ad-related assets like ads, placements, and creatives.

  • Each Size resource has fields for its unique id , width , height , whether it's an iab standard size, and a fixed kind string identifying it as a "dfareporting#size" resource.

  • The API provides methods to get a specific size by ID, insert a new size, and list sizes with optional filtering.

Resource: Size

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

JSON representation
 { 
 "id" 
 : 
 string 
 , 
 "width" 
 : 
 integer 
 , 
 "height" 
 : 
 integer 
 , 
 "iab" 
 : 
 boolean 
 , 
 "kind" 
 : 
 string 
 } 
Fields
id

string ( int64 format)

ID of this size. This is a read-only, auto-generated field.

width

integer

Width of this size. Acceptable values are

0

to

32767

, inclusive.

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.

kind

string

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

"dfareporting#size"

.

Methods

get

Gets one size by ID.

insert

Inserts a new size.

list

Retrieves a list of sizes, possibly filtered.
Design a Mobile Site
View Site in Mobile | Classic
Share by: