AI-generated Key Takeaways
-
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 aniabstandard size, and a fixedkindstring identifying it as a "dfareporting#size" resource. -
The API provides methods to
geta specific size by ID,inserta new size, andlistsizes 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 |
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. |