枚举到 ID 的映射

在旧版 API 和实时出价协议中,广告素材属性由数字 ID 标识。Real-time Bidding API 使用 CreativeAttribute 枚举。

下表提供了枚举值及其相应 ID 之间的映射。

buyer-declarable-creative-attributes.txt

CreativeAttribute 枚举值 数字 ID 等效值
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