AI-generated Key Takeaways
-
The "Size" resource defines the dimensions (width and height) of advertising elements like ads, placements, creatives, or creative assets.
-
Each size is identified by a unique ID and can be categorized as an IAB standard size or not.
-
You can manage sizes using methods to get details of a specific size, create a new size, or retrieve a list of sizes.
-
The JSON representation of a size includes its ID, width, height, IAB standard status, and resource kind.
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 |
ID of this size. This is a read-only, auto-generated field. |
width |
Width of this size. Acceptable values are
to
, inclusive. |
height |
Height of this size. Acceptable values are
to
, inclusive. |
iab |
IAB standard size. This is a read-only, auto-generated field. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Methods |
|
---|---|
|
Gets one size by ID. |
|
Inserts a new size. |
|
Retrieves a list of sizes, possibly filtered. |