enum CreativeSizeType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Descriptions of the types of sizes a creative can be. Not all creatives can
be described by a height-width pair, this provides additional context.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
PIXEL
|
Dimension based size, an actual height and width.
|
ASPECT_RATIO
|
Mobile size, that is expressed as a ratio of say 4 by 1, that could be
met by a 100 x 25 sized image.
|
INTERSTITIAL
|
Out-of-page size, that is not related to the slot it is served. But rather
is a function of the snippet, and the values set. This must be used with
1x1 size.
|
IGNORED
|
Size has no meaning
1. For Click Tracking entities, where size doesn't matter 2. For
entities that allow all requested sizes, where the size represents
all sizes.
|
NATIVE
|
Native size, which is a function of the how the client renders the creative.
This must be used with 1x1 size.
|
AUDIO
|
Audio size. Used with audio ads. This must be used with 1x1 size.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eCreativeSizeType\u003c/code\u003e in Google Ad Manager describes the various ways creative sizes can be defined, going beyond simple height and width.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration includes options like \u003ccode\u003ePIXEL\u003c/code\u003e for standard dimensions, \u003ccode\u003eASPECT_RATIO\u003c/code\u003e for mobile ads, and \u003ccode\u003eINTERSTITIAL\u003c/code\u003e, \u003ccode\u003eNATIVE\u003c/code\u003e, and \u003ccode\u003eAUDIO\u003c/code\u003e for specialized formats.\u003c/p\u003e\n"],["\u003cp\u003eCertain types like \u003ccode\u003eINTERSTITIAL\u003c/code\u003e, \u003ccode\u003eNATIVE\u003c/code\u003e, and \u003ccode\u003eAUDIO\u003c/code\u003e require a 1x1 size definition due to their dynamic or content-driven nature.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIGNORED\u003c/code\u003e is used when size is irrelevant, such as for click tracking or when all requested sizes are accepted.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreativeSizeType\u003c/code\u003e is part of the Google Ad Manager API and helps specify creative size parameters for different ad formats.\u003c/p\u003e\n"]]],["The content details `CreativeSizeType` within an ad management system. It defines size types for creatives, including `PIXEL` (height and width), `ASPECT_RATIO` (mobile-specific ratio), `INTERSTITIAL` (out-of-page, requires 1x1 size), `IGNORED` (size-independent or all-encompassing), `NATIVE` (client-rendered, requires 1x1), and `AUDIO` (audio ads, requires 1x1). This is used within `ForecastService`, `LineItemService`, and `ProposalService`, and depends on `CreativePlaceholder`. The namespace for this is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum CreativeSizeType (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.CreativeSizeType) **LineItemService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.CreativeSizeType) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.CreativeSizeType) **Dependencies** \n[CreativePlaceholder](/ad-manager/api/reference/v202408/LineItemService.CreativePlaceholder) \n▼\n**CreativeSizeType**\n\nDescriptions of the types of sizes a creative can be. Not all creatives can\nbe described by a height-width pair, this provides additional context.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `PIXEL` | Dimension based size, an actual height and width. |\n| `ASPECT_RATIO` | Mobile size, that is expressed as a ratio of say 4 by 1, that could be met by a 100 x 25 sized image. |\n| `INTERSTITIAL` | Out-of-page size, that is not related to the slot it is served. But rather is a function of the snippet, and the values set. This must be used with 1x1 size. |\n| `IGNORED` | Size has no meaning 1. For Click Tracking entities, where size doesn't matter 2. For entities that allow all requested sizes, where the size represents all sizes. |\n| `NATIVE` | Native size, which is a function of the how the client renders the creative. This must be used with 1x1 size. |\n| `AUDIO` | Audio size. Used with audio ads. This must be used with 1x1 size. |"]]