接口文档SDK业务专题开发者工具

获取创意规格信息
全部接口
V1.1
loading

所属权限 Ads Management,Ads Insight
请求地址 adcreative_template_detail/get
请求方法 get

全局参数

全局参数是指每一个接口都需要使用到的参数。详情参考,代码案例参考

参数名称 参数类型
access_token 授权令牌,完成 OAuth 2.0 授权后获得,参考授权认证章节
timestamp

当前的时间戳,单位为秒,允许客户端请求最大时间误差为 300 秒。

MarketingAPI 所使用的时间戳,若无特殊说明,均为秒级时间戳

MarketingAPI 所使用的时区为 GMT+8,例如当时间戳为 1494840119 时,表示 2017-05-15 17:21:59

nonce 随机字串标识,不超过 32 个字符,由调用方自行生成,需保证全局唯一性
fields get 接口增加 fields 字段,用于指定返回参数的字段列表,为选填字段。fields 取值范围为 get 接口返回的 list 中的字段。如不填写,则根据默认值进行返回

请求参数

标有*的参数为必填项

名称 类型 描述
adcreative_template_id*
integer 创意形式 id
promoted_object_type*
enum 推广目标类型,[枚举详情]
枚举列表:{ PROMOTED_OBJECT_TYPE_APP_ANDROID, PROMOTED_OBJECT_TYPE_APP_IOS, PROMOTED_OBJECT_TYPE_ECOMMERCE, PROMOTED_OBJECT_TYPE_LINK_WECHAT, PROMOTED_OBJECT_TYPE_APP_ANDROID_MYAPP, PROMOTED_OBJECT_TYPE_APP_ANDROID_UNION, PROMOTED_OBJECT_TYPE_LOCAL_ADS_WECHAT, PROMOTED_OBJECT_TYPE_QQ_BROWSER_MINI_PROGRAM, PROMOTED_OBJECT_TYPE_LINK, PROMOTED_OBJECT_TYPE_QQ_MESSAGE, PROMOTED_OBJECT_TYPE_QZONE_VIDEO_PAGE, PROMOTED_OBJECT_TYPE_LOCAL_ADS, PROMOTED_OBJECT_TYPE_ARTICLE, PROMOTED_OBJECT_TYPE_LEAD_AD, PROMOTED_OBJECT_TYPE_TENCENT_KE, PROMOTED_OBJECT_TYPE_EXCHANGE_APP_ANDROID_MYAPP, PROMOTED_OBJECT_TYPE_QZONE_PAGE_ARTICLE, PROMOTED_OBJECT_TYPE_QZONE_PAGE_IFRAMED, PROMOTED_OBJECT_TYPE_QZONE_PAGE, PROMOTED_OBJECT_TYPE_APP_PC, PROMOTED_OBJECT_TYPE_MINI_GAME_WECHAT, PROMOTED_OBJECT_TYPE_MINI_GAME_QQ, PROMOTED_OBJECT_TYPE_WECHAT_OFFICIAL_ACCOUNT }
account_id
integer 广告主帐号 id,有操作权限的帐号 id,不支持代理商 id
automatic_site_enabled
boolean 是否开启自动版位功能(暂不包含 SITE_SET_WECHAT 和 SITE_SET_MOMENTS),此字段与 site_set 字段至少需要写入一个。
可选值:{ true, false }
site_set
enum[] 投放版位集合,当前单版位或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO+SITE_SET_MOBILE_UNION+SITE_SET_KANDIAN+SITE_SET_QQ_MUSIC_GAME 的组合,[枚举详情]
数组最小长度 1,最大长度 32
枚举列表:{ SITE_SET_QZONE, SITE_SET_QQCLIENT, SITE_SET_MUSIC, SITE_SET_MOBILE_UNION, SITE_SET_QQCOM, SITE_SET_WECHAT, SITE_SET_MOBILE_INNER, SITE_SET_TENCENT_NEWS, SITE_SET_TENCENT_VIDEO, SITE_SET_TENCENT_KUAIBAO, SITE_SET_MOBILE_MYAPP, SITE_SET_PCQQ, SITE_SET_KANDIAN, SITE_SET_QQ_MUSIC_GAME, SITE_SET_MOMENTS, SITE_SET_KUAISHOU, SITE_SET_MINI_GAME_WECHAT, SITE_SET_MINI_GAME_QQ, SITE_SET_MOBILE_GAME, SITE_SET_MOBILE_YYB, SITE_SET_QQSHOPPING, SITE_SET_CHANNELS, SITE_SET_WECHAT_SEARCH, SITE_SET_WECHAT_PLUGIN, SITE_SET_FREETRADE, SITE_SET_QBSEARCH, SITE_SET_FREETRADE_FINDER, SITE_SET_BROWSER_MOBILE, SITE_SET_SEARCH_SCENE, SITE_SET_BROWSER_PC, SITE_SET_CHANNELS_CONTENT_PROMOTION, SITE_SET_FREETRADE_WEAPP, SITE_SET_FREETRADE_QQ }
is_dynamic_creative_ad
boolean 是否查询这个规格在动态创意广告类型下可用的创意元素 adcreative elements,选填值,不填则默认查询常规展示广告所用的元素,设置为 True 时查询动态创意广告相关元素
可选值:{ true, false }

请求示例


curl -G 'https://api.e.qq.com/v1.1/adcreative_template_detail/get?access_token=<ACCESS_TOKEN>&timestamp=<TIMESTAMP>&nonce=<NONCE>' \
-d 'adcreative_template_id=720' \
-d 'promoted_object_type=PROMOTED_OBJECT_TYPE_APP_ANDROID' \
-d 'account_id=<ACCOUNT_ID>' \
-d 'automatic_site_enabled=false' \
-d 'site_set=["SITE_SET_TENCENT_NEWS","SITE_SET_TENCENT_VIDEO","SITE_SET_MOBILE_UNION","SITE_SET_MOBILE_INNER"]' 
					

应答字段

名称 类型 描述
list
struct[] 创意规格列表
adcreative_template_id
integer 创意形式 id
adcreative_template_name
string 创意规格名称
adcreative_template_description
string 创意规格描述
adcreative_template_size
string 创意规格尺寸
adcreative_template_style
string 创意规格形式
adcreative_sample_image_list
struct[] 创意规格示意图数组
name
string 示例图名称
thumb
string 示例缩略图链接,部分标准化创意形式并无此信息
image
string 示例图链接
ad_attributes
struct[] 广告属性信息
name
string 广告创意接口要求的 adcreative_elements 结构中的元素字段名,如 image、title 等
element_type
enum 创意元素类型,[枚举详情]
field_type
enum 创意元素传参类型,[枚举详情]
required
boolean 创意元素是否必填,true 或 false
description
string 该创意元素的描述,如图片、广告文案等
parent_name
string 创意元素父节点名称,为父节点的 name 字段
enum_property
struct 广告创意元素枚举值特性
default
string 创意元素枚举默认值
enumeration
struct[] 创意元素枚举可选值数组
value
string 创意元素枚举可选值
description
string 创意元素枚举可选值描述
array_property
struct 广告创意元素数组特性
min_number
integer 广告创意元素数组个数最小值
max_number
integer 广告创意元素数组个数最大值
struct_property
struct 广告创意元素结构体特性
element_mutual_exclusive
boolean 结构体中元素是否互斥,true: 是,仅能使用结构体中的一个元素字段; false: 否
restriction
struct 广告创意元素需满足的限制条件
text_restriction
struct 文本需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_TEXT 时返回
min_length
integer 最小长度,文本类型适用
max_length
integer 最大长度,文本类型适用
text_pattern
string text 的正则表达式
image_restriction
struct 图片需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_IMAGE_ARRAY 或 ELEMENT_TYPE_IMAGE 时返回
width
integer 宽度,单位 px,图片适用
height
integer 高度,单位 px,图片适用
file_size
integer 支持的文件大小最大值,单位 KB,1KB=1024B, 图片、视频适用
file_format
enum[] 支持的图片文件格式数组,[枚举详情]
url_restriction
struct 链接需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_URL 时返回
url_pattern
string url 的正则表达式
video_restriction
struct 视频需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_VIDEO 时返回
width
integer 宽度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
height
integer 高度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
min_width
integer 最小宽度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
min_height
integer 最小高度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
ratio_width
integer 宽比例,视频比例=ratio_width:ratio_height,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
ratio_height
integer 高比例,视频比例=ratio_width:ratio_height,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
file_size
integer 支持的文件大小最大值,单位 KB,1KB=1024B, 图片、视频适用
file_format
enum[] 支持的流媒体文件格式数组,[枚举详情]
min_duration
integer 最小时长,单位秒,视频适用
max_duration
integer 最大时长,单位秒,视频适用
number_restriction
struct 数值型需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_INTEGER 时返回
min
integer 最小长度,文本类型适用
max
integer 最大长度,文本类型适用
adcreative_attributes
struct[] 广告创意属性信息
name
string 广告创意接口要求的 adcreative_elements 结构中的元素字段名,如 image、title 等
element_type
enum 创意元素类型,[枚举详情]
field_type
enum 创意元素传参类型,[枚举详情]
required
boolean 创意元素是否必填,true 或 false
description
string 该创意元素的描述,如图片、广告文案等
parent_name
string 创意元素父节点名称,为父节点的 name 字段
enum_property
struct 广告创意元素枚举值特性
default
string 创意元素枚举默认值
enumeration
struct[] 创意元素枚举可选值数组
value
string 创意元素枚举可选值
description
string 创意元素枚举可选值描述
array_property
struct 广告创意元素数组特性
min_number
integer 广告创意元素数组个数最小值
max_number
integer 广告创意元素数组个数最大值
struct_property
struct 广告创意元素结构体特性
element_mutual_exclusive
boolean 结构体中元素是否互斥,true: 是,仅能使用结构体中的一个元素字段; false: 否
restriction
struct 广告创意元素需满足的限制条件
text_restriction
struct 文本需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_TEXT 时返回
min_length
integer 最小长度,文本类型适用
max_length
integer 最大长度,文本类型适用
text_pattern
string text 的正则表达式
image_restriction
struct 图片需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_IMAGE_ARRAY 或 ELEMENT_TYPE_IMAGE 时返回
width
integer 宽度,单位 px,图片适用
height
integer 高度,单位 px,图片适用
file_size
integer 支持的文件大小最大值,单位 KB,1KB=1024B, 图片、视频适用
file_format
enum[] 支持的图片文件格式数组,[枚举详情]
url_restriction
struct 链接需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_URL 时返回
url_pattern
string url 的正则表达式
video_restriction
struct 视频需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_VIDEO 时返回
width
integer 宽度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
height
integer 高度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
min_width
integer 最小宽度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
min_height
integer 最小高度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
ratio_width
integer 宽比例,视频比例=ratio_width:ratio_height,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
ratio_height
integer 高比例,视频比例=ratio_width:ratio_height,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
file_size
integer 支持的文件大小最大值,单位 KB,1KB=1024B, 图片、视频适用
file_format
enum[] 支持的流媒体文件格式数组,[枚举详情]
min_duration
integer 最小时长,单位秒,视频适用
max_duration
integer 最大时长,单位秒,视频适用
number_restriction
struct 数值型需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_INTEGER 时返回
min
integer 最小长度,文本类型适用
max
integer 最大长度,文本类型适用
adcreative_elements
struct[] 广告创意元素列表
name
string 广告创意接口要求的 adcreative_elements 结构中的元素字段名,如 image、title 等
element_type
enum 创意元素类型,[枚举详情]
field_type
enum 创意元素传参类型,[枚举详情]
required
boolean 创意元素是否必填,true 或 false
description
string 该创意元素的描述,如图片、广告文案等
parent_name
string 创意元素父节点名称,为父节点的 name 字段
enum_property
struct 广告创意元素枚举值特性
default
string 创意元素枚举默认值
enumeration
struct[] 创意元素枚举可选值数组
value
string 创意元素枚举可选值
description
string 创意元素枚举可选值描述
array_property
struct 广告创意元素数组特性
min_number
integer 广告创意元素数组个数最小值
max_number
integer 广告创意元素数组个数最大值
struct_property
struct 广告创意元素结构体特性
element_mutual_exclusive
boolean 结构体中元素是否互斥,true: 是,仅能使用结构体中的一个元素字段; false: 否
restriction
struct 广告创意元素需满足的限制条件
text_restriction
struct 文本需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_TEXT 时返回
min_length
integer 最小长度,文本类型适用
max_length
integer 最大长度,文本类型适用
text_pattern
string text 的正则表达式
image_restriction
struct 图片需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_IMAGE_ARRAY 或 ELEMENT_TYPE_IMAGE 时返回
width
integer 宽度,单位 px,图片适用
height
integer 高度,单位 px,图片适用
file_size
integer 支持的文件大小最大值,单位 KB,1KB=1024B, 图片、视频适用
file_format
enum[] 支持的图片文件格式数组,[枚举详情]
url_restriction
struct 链接需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_URL 时返回
url_pattern
string url 的正则表达式
video_restriction
struct 视频需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_VIDEO 时返回
width
integer 宽度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
height
integer 高度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
min_width
integer 最小宽度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
min_height
integer 最小高度,单位 px,视频适用,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
ratio_width
integer 宽比例,视频比例=ratio_width:ratio_height,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
ratio_height
integer 高比例,视频比例=ratio_width:ratio_height,ratio_width、ratio_height、min_width、min_height 与 width、height 不同时返回
file_size
integer 支持的文件大小最大值,单位 KB,1KB=1024B, 图片、视频适用
file_format
enum[] 支持的流媒体文件格式数组,[枚举详情]
min_duration
integer 最小时长,单位秒,视频适用
max_duration
integer 最大时长,单位秒,视频适用
number_restriction
struct 数值型需满足的限制条件,仅当 element_type 是 ELEMENT_TYPE_INTEGER 时返回
min
integer 最小长度,文本类型适用
max
integer 最大长度,文本类型适用
support_billing_spec_list
struct[] 支持的计费信息
billing_event
enum 计费方式,[枚举详情]
min_price
integer 最低出价,单位分
max_price
integer 最高出价,单位分
support_page_type
enum[] (待废弃,可使用 page_type 进行查询落地页使用方式),[枚举详情]
landing_page_config
struct 支持的落地页类型
required
boolean 是否必填
support_page_type_list
struct[] 支持落地页类型列表
page_type
string 名称
description
string 描述
support_link_name_type
struct 文字链跳转类型
required
boolean 是否必填
list
struct[] 文字链跳转类型列表
link_name_type
string 名称
description
string 描述
support_link_page_type
struct 文字链支持落地页类型
required
boolean 是否必填
list
struct[] 文字链支持落地页列表
link_page_type
string 名称
description
string 描述
unsupport_billing_spec_list
struct[] 不支持的计费信息
site_set
enum[] 投放版位集合,当前单版位或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO+SITE_SET_MOBILE_UNION+SITE_SET_KANDIAN+SITE_SET_QQ_MUSIC_GAME 的组合,[枚举详情]
billing_event
enum 计费方式,[枚举详情]
min_price
integer 最低出价,单位分
max_price
integer 最高出价,单位分
unsupport_type
enum 不支持类型,[枚举详情]
unsupport_ad_attributes_spec_list
struct[] 不支持的广告属性
site_set
enum[] 投放版位集合,当前单版位或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO+SITE_SET_MOBILE_UNION+SITE_SET_KANDIAN+SITE_SET_QQ_MUSIC_GAME 的组合,[枚举详情]
name
string 名称
unsupport_type
enum 不支持类型,[枚举详情]
unsupport_adcreative_attributes_spec_list
struct[] 不支持的广告创意属性
site_set
enum[] 投放版位集合,当前单版位或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO+SITE_SET_MOBILE_UNION+SITE_SET_KANDIAN+SITE_SET_QQ_MUSIC_GAME 的组合,[枚举详情]
name
string 名称
unsupport_type
enum 不支持类型,[枚举详情]
unsupport_siteset_detail_spec
struct[] 不支持播放的版位信息列表
site_set
enum[] 投放版位集合,当前单版位或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO+SITE_SET_MOBILE_UNION+SITE_SET_KANDIAN+SITE_SET_QQ_MUSIC_GAME 的组合,[枚举详情]
support_dynamic_ability_spec_list
struct 动态广告支持情况
dynamic_ability_type
enum[] 动态广告投放能力类型,[枚举详情]
product_item_display_quantity
enum[] 在该规格位置上单个广告上的创意可展示商品数量,[枚举详情]
support_bid_mode_list
enum[] 支持的出价方式,[枚举详情]
unsupport_bid_mode_list
struct[] 不支持的出价方式
site_set
enum[] 投放版位集合,当前单版位或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO+SITE_SET_MOBILE_UNION+SITE_SET_KANDIAN+SITE_SET_QQ_MUSIC_GAME 的组合,[枚举详情]
bid_mode_list
enum[] 支持的出价方式,[枚举详情]

应答示例

{
    "code": 0,
    "message": "",
    "message_cn": "",
    "data": {
        "list": [
            {
                "adcreative_template_size": "",
                "adcreative_template_id": 720,
                "ad_attributes": [
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "impression_tracking_url",
                        "restriction": {
                            "url_restriction": {
                                "url_pattern": "^https?:\\/\\/([a-zA-Z0-9\\-]+\\.)+([a-zA-Z]{2,5})([\\/\\?#][a-zA-Z0-9`~!@#%&_=;\\$\\^\\*\\(\\)\\-\\+\\{\\}\\[\\]\\:\\,\\.\\?\\/\\|]*)?$"
                            }
                        },
                        "description": "请输入曝光监测 URL(可选)",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_URL",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": false
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "click_tracking_url",
                        "restriction": {
                            "url_restriction": {
                                "url_pattern": "^https?:\\/\\/([a-zA-Z0-9\\-]+\\.)+([a-zA-Z]{2,5})([\\/\\?#][a-zA-Z0-9`~!@#%&_=;\\$\\^\\*\\(\\)\\-\\+\\{\\}\\[\\]\\:\\,\\.\\?\\/\\|]*)?$"
                            }
                        },
                        "description": "请输入点击监测 URL(可选)",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_URL",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": false
                    }
                ],
                "unsupport_adcreative_attributes_spec_list": [],
                "support_page_type": [
                    "PAGE_TYPE_DEFAULT",
                    "PAGE_TYPE_TSA_APP"
                ],
                "adcreative_template_style": "视频",
                "unsupport_ad_attributes_spec_list": [
                    {
                        "name": "form_component",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_TENCENT_VIDEO"
                        ]
                    },
                    {
                        "name": "feeds_interaction_enabled",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_TENCENT_VIDEO"
                        ]
                    },
                    {
                        "name": "universal_link",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_TENCENT_VIDEO"
                        ]
                    },
                    {
                        "name": "deep_link_url",
                        "unsupport_type": "UNSUPPORT_TYPE_EXPOSURE",
                        "site_set": [
                            "SITE_SET_TENCENT_NEWS"
                        ]
                    },
                    {
                        "name": "form_component",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_TENCENT_NEWS"
                        ]
                    },
                    {
                        "name": "feeds_interaction_enabled",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_TENCENT_NEWS"
                        ]
                    },
                    {
                        "name": "universal_link",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_TENCENT_NEWS"
                        ]
                    },
                    {
                        "name": "form_component",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_MOBILE_INNER"
                        ]
                    },
                    {
                        "name": "universal_link",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_MOBILE_INNER"
                        ]
                    },
                    {
                        "name": "form_component",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_MOBILE_UNION"
                        ]
                    },
                    {
                        "name": "feeds_interaction_enabled",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_MOBILE_UNION"
                        ]
                    },
                    {
                        "name": "universal_link",
                        "unsupport_type": "UNSUPPORT_TYPE_DISPLAY",
                        "site_set": [
                            "SITE_SET_MOBILE_UNION"
                        ]
                    }
                ],
                "support_billing_spec_list": [
                    {
                        "max_price": 99900,
                        "min_price": 500,
                        "billing_event": "BILLINGEVENT_IMPRESSION"
                    }
                ],
                "adcreative_template_name": "横版视频 16:9",
                "adcreative_sample_image_list": [],
                "adcreative_elements": [
                    {
                        "parent_name": "brand",
                        "array_property": [],
                        "enum_property": [],
                        "name": "brand_name",
                        "restriction": {
                            "text_restriction": {
                                "min_length": 1,
                                "max_length": 8,
                                "text_pattern": "^[^\\<\\>\\&'\\\"\\/\\x08\\x09\\x0A\\x0D\\\\]+$"
                            }
                        },
                        "description": "品牌名称",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_TEXT",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": true
                    },
                    {
                        "parent_name": "brand",
                        "array_property": [],
                        "enum_property": [],
                        "name": "brand_img",
                        "restriction": {
                            "image_restriction": {
                                "width": 512,
                                "file_size": 50,
                                "file_format": [
                                    "IMAGE_TYPE_JPG",
                                    "IMAGE_TYPE_PNG"
                                ],
                                "height": 512
                            }
                        },
                        "description": "品牌标识图",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_IMAGE",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "brand",
                        "restriction": [],
                        "description": "品牌形象",
                        "struct_property": {
                            "element_mutual_exclusive": false
                        },
                        "element_type": "ELEMENT_TYPE_STRUCT",
                        "field_type": "FIELD_TYPE_STRUCT",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "description",
                        "restriction": {
                            "text_restriction": {
                                "min_length": 6,
                                "max_length": 30,
                                "text_pattern": "^[^\\<\\>\\&'\\\"\\/\\x08\\x09\\x0A\\x0D\\\\]+$"
                            }
                        },
                        "description": "文案(6-30 字)",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_TEXT",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "image",
                        "restriction": {
                            "image_restriction": {
                                "width": 1280,
                                "file_size": 140,
                                "file_format": [
                                    "IMAGE_TYPE_JPG",
                                    "IMAGE_TYPE_PNG"
                                ],
                                "height": 720
                            }
                        },
                        "description": "图片",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_IMAGE",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "video",
                        "restriction": {
                            "video_restriction": {
                                "min_height": 720,
                                "ratio_width": 16,
                                "min_duration": 5,
                                "ratio_height": 9,
                                "max_duration": 60,
                                "file_size": 51200,
                                "file_format": [
                                    "MEDIA_TYPE_MP4",
                                    "MEDIA_TYPE_MOV",
                                    "MEDIA_TYPE_AVI"
                                ],
                                "min_width": 1280
                            }
                        },
                        "description": "视频",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_VIDEO",
                        "field_type": "FIELD_TYPE_INTEGER",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "title",
                        "restriction": {
                            "text_restriction": {
                                "min_length": 1,
                                "max_length": 14,
                                "text_pattern": "^[^\\<\\>\\&'\\\"\\/\\x08\\x09\\x0A\\x0D\\\\]+$"
                            }
                        },
                        "description": "文案(1-14 字)",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_TEXT",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "button_text",
                        "restriction": {
                            "text_restriction": {
                                "min_length": 2,
                                "max_length": 4,
                                "text_pattern": "^[^\\<\\>\\&'\\\"\\/\\x08\\x09\\x0A\\x0D\\\\]+$"
                            }
                        },
                        "description": "按钮文字,当前仅支持“去看看”,“下载”,“了解详情”,“参与活动”,“领取优惠”,“立即申请”,“立刻抢购”,“立即领取”,“立即加入”,“立即体验”,“获取报价”,“点击咨询”",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_TEXT",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": true
                    },
                    {
                        "parent_name": "",
                        "array_property": [],
                        "enum_property": [],
                        "name": "bottom_text",
                        "restriction": {
                            "text_restriction": {
                                "min_length": 6,
                                "max_length": 8,
                                "text_pattern": "^[^\\<\\>\\&'\\\"\\/\\x08\\x09\\x0A\\x0D\\\\]+$"
                            }
                        },
                        "description": "左下辅助文案",
                        "struct_property": [],
                        "element_type": "ELEMENT_TYPE_TEXT",
                        "field_type": "FIELD_TYPE_STRING",
                        "required": false
                    }
                ],
                "unsupport_billing_spec_list": [],
                "unsupport_siteset_detail_spec": [],
                "adcreative_template_description": "",
                "adcreative_attributes": []
            }
        ]
    }
}

可视化调试工具