REST Resource: sizes
Stay organized with collections
Save and categorize content based on your preferences.
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 |
|
Gets one size by ID. |
|
Inserts a new size. |
|
Retrieves a list of sizes, possibly filtered. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[null,null,["Last updated 2024-09-19 UTC."],[[["\u003cp\u003eThe "Size" resource defines the dimensions (width and height) of advertising elements like ads, placements, creatives, or creative assets.\u003c/p\u003e\n"],["\u003cp\u003eEach size is identified by a unique ID and can be categorized as an IAB standard size or not.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage sizes using methods to get details of a specific size, create a new size, or retrieve a list of sizes.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a size includes its ID, width, height, IAB standard status, and resource kind.\u003c/p\u003e\n"]]],[],null,["# REST Resource: sizes\n\n- [Resource: Size](#Size)\n - [JSON representation](#Size.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Size\n--------------\n\nRepresents the dimensions of ads, placements, creatives, or creative assets.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"width\": integer, \"height\": integer, \"iab\": boolean, \"kind\": string } ``` |\n\n| Fields ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of this size. This is a read-only, auto-generated field. |\n| `width` | `integer` Width of this size. Acceptable values are `0` to `32767` , inclusive. |\n| `height` | `integer` Height of this size. Acceptable values are `0` to `32767` , inclusive. |\n| `iab` | `boolean` IAB standard size. This is a read-only, auto-generated field. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#size\"` . |\n\n| Methods ------- ||\n|-------------------------------------------------------------|-----------------------------------------------|\n| ### [get](/doubleclick-advertisers/rest/v4/sizes/get) | Gets one size by ID. |\n| ### [insert](/doubleclick-advertisers/rest/v4/sizes/insert) | Inserts a new size. |\n| ### [list](/doubleclick-advertisers/rest/v4/sizes/list) | Retrieves a list of sizes, possibly filtered. |"]]