Send feedback
Enum to ID mapping
Stay organized with collections
Save and categorize content based on your preferences.
In earlier APIs and Real-time Bidding protocols, creative attributes are
identified by numerical IDs. The Real-time Bidding API uses the
CreativeAttribute
enum.
The following table provides a mapping between the enum values and their
corresponding IDs.
buyer-declarable-creative-attributes.txt .
CreativeAttribute enum value
Numerical ID equivalent
IMAGE_RICH_MEDIA
2
ADOBE_FLASH_FLV
3
IS_TAGGED
7
IS_COOKIE_TARGETED
8
IS_USER_INTEREST_TARGETED
9
EXPANDING_DIRECTION_NONE
12
EXPANDING_DIRECTION_UP
13
EXPANDING_DIRECTION_DOWN
14
EXPANDING_DIRECTION_LEFT
15
EXPANDING_DIRECTION_RIGHT
16
EXPANDING_DIRECTION_UP_LEFT
17
EXPANDING_DIRECTION_UP_RIGHT
18
EXPANDING_DIRECTION_DOWN_LEFT
19
EXPANDING_DIRECTION_DOWN_RIGHT
20
CREATIVE_TYPE_HTML
21
CREATIVE_TYPE_VAST_VIDEO
22
EXPANDING_DIRECTION_UP_OR_DOWN
25
EXPANDING_DIRECTION_LEFT_OR_RIGHT
26
EXPANDING_DIRECTION_ANY_DIAGONAL
27
EXPANDING_ACTION_ROLLOVER_TO_EXPAND
28
INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH
30
RICH_MEDIA_CAPABILITY_TYPE_MRAID
32
RICH_MEDIA_CAPABILITY_TYPE_FLASH
34
RICH_MEDIA_CAPABILITY_TYPE_HTML5
39
SKIPPABLE_INSTREAM_VIDEO
44
RICH_MEDIA_CAPABILITY_TYPE_SSL
47
RICH_MEDIA_CAPABILITY_TYPE_NON_SSL
48
RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL
51
NON_SKIPPABLE_INSTREAM_VIDEO
69
NATIVE_ELIGIBILITY_ELIGIBLE
70
NON_VPAID
71
NATIVE_ELIGIBILITY_NOT_ELIGIBLE
72
ANY_INTERSTITIAL
73
NON_INTERSTITIAL
74
IN_BANNER_VIDEO
95
RENDERING_SIZELESS_ADX
105
OMSDK_1_0
114
Send feedback
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-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eEarlier APIs and Real-time Bidding protocols used numerical IDs to identify creative attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe Real-time Bidding API now utilizes the \u003ccode\u003eCreativeAttribute\u003c/code\u003e enum for this purpose.\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive mapping table is provided to link enum values with their corresponding numerical IDs for easy reference and transition.\u003c/p\u003e\n"],["\u003cp\u003eThe table covers a wide range of creative attributes, including rich media, video, and expanding ad formats.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find the complete mapping table \u003ca href=\"//storage.googleapis.com/adx-rtb-dictionaries/buyer-declarable-creative-attributes.txt\"\u003ehere\u003c/a\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum to ID mapping\n\nIn earlier APIs and Real-time Bidding protocols, creative attributes are\nidentified by numerical IDs. The Real-time Bidding API uses the\n[`CreativeAttribute`](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.creatives#creativeattribute)\nenum.\n\nThe following table provides a mapping between the enum values and their\ncorresponding IDs.\n\n[buyer-declarable-creative-attributes.txt](//storage.googleapis.com/adx-rtb-dictionaries/buyer-declarable-creative-attributes.txt).\n\n| CreativeAttribute enum value | Numerical ID equivalent |\n|-------------------------------------------|-------------------------|\n| `IMAGE_RICH_MEDIA` | 2 |\n| `ADOBE_FLASH_FLV` | 3 |\n| `IS_TAGGED` | 7 |\n| `IS_COOKIE_TARGETED` | 8 |\n| `IS_USER_INTEREST_TARGETED` | 9 |\n| `EXPANDING_DIRECTION_NONE` | 12 |\n| `EXPANDING_DIRECTION_UP` | 13 |\n| `EXPANDING_DIRECTION_DOWN` | 14 |\n| `EXPANDING_DIRECTION_LEFT` | 15 |\n| `EXPANDING_DIRECTION_RIGHT` | 16 |\n| `EXPANDING_DIRECTION_UP_LEFT` | 17 |\n| `EXPANDING_DIRECTION_UP_RIGHT` | 18 |\n| `EXPANDING_DIRECTION_DOWN_LEFT` | 19 |\n| `EXPANDING_DIRECTION_DOWN_RIGHT` | 20 |\n| `CREATIVE_TYPE_HTML` | 21 |\n| `CREATIVE_TYPE_VAST_VIDEO` | 22 |\n| `EXPANDING_DIRECTION_UP_OR_DOWN` | 25 |\n| `EXPANDING_DIRECTION_LEFT_OR_RIGHT` | 26 |\n| `EXPANDING_DIRECTION_ANY_DIAGONAL` | 27 |\n| `EXPANDING_ACTION_ROLLOVER_TO_EXPAND` | 28 |\n| `INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH` | 30 |\n| `RICH_MEDIA_CAPABILITY_TYPE_MRAID` | 32 |\n| `RICH_MEDIA_CAPABILITY_TYPE_FLASH` | 34 |\n| `RICH_MEDIA_CAPABILITY_TYPE_HTML5` | 39 |\n| `SKIPPABLE_INSTREAM_VIDEO` | 44 |\n| `RICH_MEDIA_CAPABILITY_TYPE_SSL` | 47 |\n| `RICH_MEDIA_CAPABILITY_TYPE_NON_SSL` | 48 |\n| `RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL` | 51 |\n| `NON_SKIPPABLE_INSTREAM_VIDEO` | 69 |\n| `NATIVE_ELIGIBILITY_ELIGIBLE` | 70 |\n| `NON_VPAID` | 71 |\n| `NATIVE_ELIGIBILITY_NOT_ELIGIBLE` | 72 |\n| `ANY_INTERSTITIAL` | 73 |\n| `NON_INTERSTITIAL` | 74 |\n| `IN_BANNER_VIDEO` | 95 |\n| `RENDERING_SIZELESS_ADX` | 105 |\n| `OMSDK_1_0` | 114 |"]]