enum CreativeSizeType (v202411)
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/v202411
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\u003eThe \u003ccode\u003eCreativeSizeType\u003c/code\u003e enumeration describes the different ways to define the size of a creative in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThese types include standard pixel dimensions, aspect ratios for mobile, interstitial and native formats, audio, and a special type for sizes that are ignored or represent all sizes.\u003c/p\u003e\n"],["\u003cp\u003eCreatives that don't fit into a simple height-width model, like interstitials and native ads, are represented using specific types and a 1x1 size.\u003c/p\u003e\n"],["\u003cp\u003eThis information is used by services like ForecastService, LineItemService, ProposalLineItemService, and ProposalService.\u003c/p\u003e\n"]]],["The `CreativeSizeType` enumeration describes various creative size types. `PIXEL` represents dimension-based sizes with height and width. `ASPECT_RATIO` is a mobile size expressed as a ratio. `INTERSTITIAL`, `NATIVE`, and `AUDIO` are special out-of-page, client-rendered, and audio ad sizes, respectively, all requiring a 1x1 size. `IGNORED` indicates size is irrelevant or encompasses all sizes. It's used in Forecast, LineItem, and ProposalLineItem services, with the necessary information found in the `CreativePlaceholder`.\n"],null,["# enum CreativeSizeType (v202411)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.CreativeSizeType) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.CreativeSizeType) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.CreativeSizeType) **Dependencies** \n[CreativePlaceholder](/ad-manager/api/reference/v202411/ForecastService.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/v202411`\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. |"]]