Enviar comentarios
Enumeración de ID de asignación
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En las API anteriores y los protocolos de ofertas en tiempo real, los atributos de la creatividad se identifican mediante ID numéricos. La API de ofertas en tiempo real usa la enumeración CreativeAttribute
.
En la siguiente tabla, se proporciona una asignación entre los valores de enumeración y sus ID correspondientes.
buyer-declarable-creative-attributes.txt .
Valor enumeración de CreativeAttribute
Equivalente de ID numérico
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
Enviar comentarios
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons , y los ejemplos de código están sujetos a la licencia Apache 2.0 . Para obtener más información, consulta las políticas del sitio de Google Developers . Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
¿Quieres brindar más información?
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-25 (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 |"]]