logo

使用ERNIE-Speed-Pro-128K解析html数据为json对象

1、api文档说明:

2、用途:

一般html数据来自自建的爬虫获取的html代码,然后交给LLM来处理;这个比使用程序例如python解析html代码为json要容易很多。
json对象又可以再次和llm打交道,比如构造自动化的程序代码--

3、程序代码:

import qianfan
from conf import Conf
import os
os.environ['QIANFAN_AK'] = Conf.API_Key
os.environ['QIANFAN_SK'] = Conf.Secret_Key
resp = qianfan.ChatCompletion().do(model="ERNIE-Speed-Pro-128K", messages=[
{
"role": "user",
"content": "从HTML数据(大括号中)去除HTML的标记并保留其内容和结构,同时使用JSON语法来格式化,输出的json是包含多个键值对的单个JSON对象,同时为了便于理解,结合html语义对json键值加入注释。 {从HTML数据(大括号中)去除HTML的标记并保留其内容和结构,同时使用JSON语法来格式化,输出的json是包含多个键值对的单个JSON对象,同时为了便于理解,结合html语义对json键值加入注释。}",
}], temperature=0.8, top_p=0.7, penalty_score=1, disable_search=True, enable_citation=False, collapsed=True,
system="给你一段html数据,你先阅读数据的语义和结构,然后你将使用纯文本手动将HTML数据转换为JSON格式,并保留内容和结构",
max_output_tokens=4096)
data_info = resp.body
result = data_info['result'].replace('json', '').replace('', '').strip()
daijia = data_info['usage']
print(f'result = {result}')
说明:
from conf import Conf,其实就是conf.py声明类Conf
------------------------------------------------
class Conf:
# 应用AK/SK
API_Key = "*W7nx"
Secret_Key = "2oHZu
"
# 获取安全认证AK/SK
AccessKey = '*******ENyhU'
SecretKey = '*******53bbc'
—————————————————
{从HTML数据(大括号中)去除HTML的标记并保留其内容和结构,同时使用JSON语法来格式化,输出的json是包含多个键值对的单个JSON对象,同时为了便于理解,结合html语义对json键值加入注释。} ---html代码如
  
  
html = {
<div id="readability-page-1" class="page"><div><tr class="">
<td class="">
<p><span class="flex">account_id<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>广告主帐号 id,有操作权限的帐号 id,不支持代理商 id</td>
</tr><tr class="">
<td class="">
<p><span class="flex">adgroup_name<span class="must">*</span></span></p>
</td>
<td>string</td>
<td>广告组名称,同一帐号下的广告组名称不允许重复。字段长度最小 1 个等宽字符,长度最大 60 等宽字符(即字段最大长度为 60 个中文字或全角标点,120 个英文字或半角标点。一个等宽字符等价于一个中文,等价于两个英文。)<br>字段长度最小 1 字节,长度最大 180 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">marketing_goal<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>营销目的类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_marketing_goal" target="_blank">[枚举详情]</a><br>可选值:{ MARKETING_GOAL_UNKNOWN, MARKETING_GOAL_USER_GROWTH, MARKETING_GOAL_PRODUCT_SALES, MARKETING_GOAL_LEAD_RETENTION, MARKETING_GOAL_BRAND_PROMOTION, MARKETING_GOAL_INCREASE_FANS_INTERACTION }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">marketing_sub_goal</span></p>
</td>
<td>enum</td>
<td>二级营销目的类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_marketing_sub_goal" target="_blank">[枚举详情]</a><br>可选值:{ MARKETING_SUB_GOAL_UNKNOWN, MARKETING_SUB_GOAL_NEW_GAME_RESERVE, MARKETING_SUB_GOAL_NEW_GAME_TEST, MARKETING_SUB_GOAL_NEW_GAME_LAUNCH, MARKETING_SUB_GOAL_PLATEAU_PHASE_LAUNCH, MARKETING_SUB_GOAL_MINI_GAME_NEW_CUSTOMER_GROWTH, MARKETING_SUB_GOAL_MINI_GAME_RETURN_CUSTOMER_ENGAGEMENT, MARKETING_SUB_GOAL_APP_ACQUISITION, MARKETING_SUB_GOAL_APP_ACTIVATION, MARKETING_SUB_GOAL_NOT_INSTALL_USER, MARKETING_SUB_GOAL_PRE_INSTALL_USER, MARKETING_SUB_GOAL_UNLOADED_USER, MARKETING_SUB_GOAL_SHORT_INACTIVE_USER, MARKETING_SUB_GOAL_LONG_INACTIVE_USER }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">marketing_carrier_type<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>营销载体类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_marketing_carrier_type" target="_blank">[枚举详情]</a><br>可选值:{ MARKETING_CARRIER_TYPE_UNKNOWN, MARKETING_CARRIER_TYPE_APP_ANDROID, MARKETING_CARRIER_TYPE_APP_IOS, MARKETING_CARRIER_TYPE_WECHAT_OFFICIAL_ACCOUNT, MARKETING_CARRIER_TYPE_JUMP_PAGE, MARKETING_CARRIER_TYPE_WECHAT_MINI_GAME, MARKETING_CARRIER_TYPE_WECHAT_CHANNELS_LIVE, MARKETING_CARRIER_TYPE_WECHAT_CHANNELS, MARKETING_CARRIER_TYPE_WECHAT_CHANNELS_LIVE_RESERVATION, MARKETING_CARRIER_TYPE_MINI_PROGRAM_WECHAT, MARKETING_CARRIER_TYPE_APP_QUICK_APP, MARKETING_CARRIER_TYPE_PC_GAME, MARKETING_CARRIER_TYPE_QQ_MINI_GAME }</td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">marketing_carrier_detail</span></p>
</td>
<td>struct</td>
<td>营销载体详情,当营销载体类型是 MARKETING_CARRIER_TYPE_APP_ANDROID、MARKETING_CARRIER_TYPE_APP_IOS 和 MARKETING_CARRIER_TYPE_WECHAT_MINI_GAME 等需要使用该结构体</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_carrier_id<span class="must">*</span></span></p>
</td>
<td>string</td>
<td>营销载体 id,如安卓应用 id、IOS 应用 id、小游戏 id 等<br>字段长度最小 0 字节,长度最大 2048 字节</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_sub_carrier_id</span></p>
</td>
<td>string</td>
<td>二级营销载体 id</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_carrier_name</span></p>
</td>
<td>string</td>
<td>营销载体名称</td>
</tr><tr class="">
<td class="">
<p><span class="flex">begin_date<span class="must">*</span></span></p>
</td>
<td>string</td>
<td>开始投放日期,日期格式:YYYY-MM-DD,且日期小于等于 end_date<br>字段长度为 10 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">end_date<span class="must">*</span></span></p>
</td>
<td>string</td>
<td>结束投放日期,日期格式:YYYY-MM-DD,大于等于今天,且大于等于 begin_date ;针对微信流量的更新 end_time 的场景,会有额外的规则(更新后的 end_time 至少是当前时间的 6h 之后且当前更新时间到 end_time 与投放时段有交集<br>字段长度最小 0 字节,长度最大 10 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">first_day_begin_time</span></p>
</td>
<td>string</td>
<td>首日开始投放时间,首日开始投放时间:HH:ii:ss<br>字段长度最小 0 字节,长度最大 8 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">bid_amount</span></p>
</td>
<td>integer</td>
<td>广告出价,单位为分,详见 <a href="https://developers.e.qq.com/docs/start/limit#a5" target="_blank">[出价规则]</a></td>
</tr><tr class="">
<td class="">
<p><span class="flex">optimization_goal</span></p>
</td>
<td>enum</td>
<td>广告优化目标类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_optimization_goal" target="_blank">[枚举详情]</a><br>可选值:{ OPTIMIZATIONGOAL_NONE, OPTIMIZATIONGOAL_BRAND_CONVERSION, OPTIMIZATIONGOAL_FOLLOW, OPTIMIZATIONGOAL_CLICK, OPTIMIZATIONGOAL_IMPRESSION, OPTIMIZATIONGOAL_APP_DOWNLOAD, OPTIMIZATIONGOAL_APP_ACTIVATE, OPTIMIZATIONGOAL_APP_REGISTER, OPTIMIZATIONGOAL_ONE_DAY_RETENTION, OPTIMIZATIONGOAL_APP_PURCHASE, OPTIMIZATIONGOAL_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT, OPTIMIZATIONGOAL_LEADS, OPTIMIZATIONGOAL_ECOMMERCE_CART, OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE, OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE, OPTIMIZATIONGOAL_ONLINE_CONSULTATION, OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION, OPTIMIZATIONGOAL_PAGE_RESERVATION, OPTIMIZATIONGOAL_DELIVERY, OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW, OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW, OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT, OPTIMIZATIONGOAL_APPLY, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE, OPTIMIZATIONGOAL_LEADS_COLLECT, OPTIMIZATIONGOAL_FIRST_PURCHASE, OPTIMIZATIONGOAL_PRE_CREDIT, OPTIMIZATIONGOAL_CREDIT, OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE, OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE, OPTIMIZATIONGOAL_CANVAS_CLICK, OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER, OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION, OPTIMIZATIONGOAL_PAGE_RECEIPT, OPTIMIZATIONGOAL_PAGE_SCAN_CODE, OPTIMIZATIONGOAL_SELECT_COURSE, OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE, OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME, OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT, OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD, OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS, OPTIMIZATIONGOAL_RESERVATION, OPTIMIZATIONGOAL_FIRST_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_LIKE, OPTIMIZATIONGOAL_ADD_DESKTOP, OPTIMIZATIONGOAL_EXTERNAL_LINK_CLICK, OPTIMIZATIONGOAL_BUY_COUPONS, OPTIMIZATIONGOAL_LEAVE_INFORMATION, OPTIMIZATIONGOAL_CORE_ACTION, OPTIMIZATIONGOAL_ONE_DAY_RETENTION_RATIO, OPTIMIZATIONGOAL_PROMOTION_READ_ARTICLE, OPTIMIZATIONGOAL_FIRST_TWENTY_FOUR_HOUR_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_SCANCODE_WX, OPTIMIZATIONGOAL_MOBILE_APP_SEVEN_DAYS_RETENTION, OPTIMIZATIONGOAL_CLASS_PARTICIPATED, OPTIMIZATIONGOAL_INSURANCE_PURCHASE, OPTIMIZATIONGOAL_RESERVATION_CHECK, OPTIMIZATIONGOAL_OPEN_ACCOUNT, OPTIMIZATIONGOAL_SEVEN_DAY_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ADD_WECHAT, OPTIMIZATIONGOAL_WECOM_CONSULT, OPTIMIZATIONGOAL_ADD_GROUP, OPTIMIZATIONGOAL_QUICK_ORDER, OPTIMIZATIONGOAL_PRE_PAY, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_ACTIVE_ONE_MSG, OPTIMIZATIONGOAL_CALL_DURATION_THIRTY_SECONDS, OPTIMIZATIONGOAL_CLAIM_COURSE, OPTIMIZATIONGOAL_QUIT_GROUP, OPTIMIZATIONGOAL_VIEW_ACQUISITION_CONTENT, OPTIMIZATIONGOAL_BACK_FLOW, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_THREE_MSG, OPTIMIZATIONGOAL_RENEWAL, OPTIMIZATIONGOAL_LOW_PRICE_COURSE, OPTIMIZATIONGOAL_CONSULT_INTENTION, OPTIMIZATIONGOAL_EVERY_DAY_RETENTION, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV, OPTIMIZATIONGOAL_LIVE_STREAM_DURATION_1MIN, OPTIMIZATIONGOAL_LIVE_STREAM_INTERACTION, OPTIMIZATIONGOAL_ECOMMERCE_CANCEL_ORDER, OPTIMIZATIONGOAL_CLICK_LEADS_COMPONENT, OPTIMIZATIONGOAL_REGULAR_PRICE_COURSE, OPTIMIZATIONGOAL_VISIT_STROE, OPTIMIZATIONGOAL_EFFECTIVE_ENTRY, OPTIMIZATIONGOAL_CREDIT_RATIO, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_DEAL, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_PRODUCT_CLICK, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_AUDIENCE, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_COMMENT, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_FANS, OPTIMIZATIONGOAL_24H_FIRSTPAY, OPTIMIZATIONGOAL_STORE_STAY, OPTIMIZATIONGOAL_LOW_PRICE_INSURANCE_PAYMENT, OPTIMIZATIONGOAL_UNDERWRITING, OPTIMIZATIONGOAL_FIRST_WITHDRAW, OPTIMIZATIONGOAL_BRIDGING_COURSE_COMPLETED }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">time_series<span class="must">*</span></span></p>
</td>
<td>string</td>
<td>投放时间段,格式为 48 * 7 位字符串,且都为 0 和 1,以半个小时为最小粒度,从周一零点开始至周日 24 点结束。0 为不投放,1 为投放,全传 1 视为全时段投放,不允许全部传 0。朋友圈广告的投放时间需大于等于 6 小时,小于等于 30 个自然日,且每天至少投放 6 小时,且每天投放的时段需保持一致<br>字段长度为 336 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">automatic_site_enabled</span></p>
</td>
<td>boolean</td>
<td>是否开启自动版位功能,暂不包含 SITE_SET_WECHAT,此字段与 site_set 字段至少需要写入一个。该功能目前灰度中。<br>可选值:{ true, false }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">site_set</span></p>
</td>
<td>enum[]</td>
<td>投放站点集合,当前单站点或者 SITE_SET_TENCENT_NEWS+SITE_SET_TENCENT_VIDEO 的组合,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_site_set_definition" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 32<br>可选值:{ SITE_SET_MOBILE_UNION, SITE_SET_WECHAT, SITE_SET_TENCENT_NEWS, SITE_SET_TENCENT_VIDEO, SITE_SET_MOBILE_YYB, SITE_SET_PCQQ, SITE_SET_KANDIAN, SITE_SET_QQ_MUSIC_GAME, SITE_SET_MOMENTS, SITE_SET_CHANNELS, SITE_SET_WECHAT_SEARCH, SITE_SET_WECHAT_PLUGIN, SITE_SET_QBSEARCH, SITE_SET_SEARCH_SCENE }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">daily_budget</span></p>
</td>
<td>integer</td>
<td>日限额,单位为分,<p>对于微信朋友圈广告(campaign_type = CAMPAIGN_TYPE_WECHAT_MOMENTS):</p><li>朋友圈广告日预算必填</li><li>日预算要求介于 100,000 – 1,000,000,000 分之间(1,000 元-10,000,000 元,单位为人民币);</li><li>修改后的日预算不能低于该广告组今日已消耗金额的 1.5 倍;</li><li>每次修改幅度不能低于 5,000 分(50 元,单位为人民币)。</li><p>对于非微信朋友圈广告(campaign_type != CAMPAIGN_TYPE_WECHAT_MOMENTS):</p><li>日预算需介于 5,000 分-400,000,000 分之间(50 元-4,000,000 元,单位为人民币);</li><li>每次修改幅度不能低于该 adgroup 今日已消耗金额加上 5,000 分(50 元,单位为人民币);</li><li>每次修改幅度不能低于 5,000 分(50 元,单位为人民币);</li><li>每天每广告组最多修改 1,000 次。</li></td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">targeting</span></p>
</td>
<td>struct</td>
<td>定向详细设置,存放所有定向条件</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">geo_location</span></p>
</td>
<td>struct</td>
<td>地理位置定向,"regions"、"business_districts"、"custom_locations" 不能同时为空。</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">location_types<span class="must">*</span></span></p>
</td>
<td>enum[]</td>
<td>地点类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_location_types" target="_blank">[枚举详情]</a>,选择限制:<li>对于微信流量,仅能选择"LIVE_IN"(常住);</li><li>使用商圈(business_district)以及自定义地理位置(custom_locations)时,仅可选 "VISITED_IN"(去过),"LIVE_IN"(常住);</li>如:["LIVE_IN", "VISITED_IN"]<p>数组最小长度 1,最大长度 5<br>可选值:{ RECENTLY_IN, VISITED_IN, LIVE_IN, TRAVEL_IN, CAA_RECENTLY_IN, LIVE_AND_RECENTLY, INTELLIGENCE }</p></td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">regions</span></p>
</td>
<td>integer[]</td>
<td>省市区县列表,可通过 <a href="https://developers.e.qq.com/v3.0/docs/api/targeting_tags/get" target="_blank">[targeting_tags/get]</a> 接口获取<br>数组最小长度 0,最大长度 1000</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">business_districts</span></p>
</td>
<td>integer[]</td>
<td>商圈 id 列表,可通过 <a href="https://developers.e.qq.com/v3.0/docs/api/targeting_tags/get" target="_blank">[targeting_tags/get]</a> 接口获取<br>数组最小长度 0,最大长度 400</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-folded"></i><span class="flex">custom_locations</span></p>
</td>
<td>struct[]</td>
<td>自定义地理位置列表,使用火星系坐标。<br>数组最小长度 1,最大长度 400</td>
</tr><tr class="hidd isShown">
<td class="level-four">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">longitude<span class="must">*</span></span></p>
</td>
<td>float64</td>
<td>经度,单位度<br>最小值-180,最大值 180,最多保留 6 位小数</td>
</tr><tr class="hidd isShown">
<td class="level-four">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">latitude<span class="must">*</span></span></p>
</td>
<td>float64</td>
<td>纬度,单位度<br>最小值-90,最大值 90,最多保留 6 位小数</td>
</tr><tr class="hidd isShown">
<td class="level-four">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">radius<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>半径,单位米<br>最小值 200,最大值 25000</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">geo_location_auto_audience</span></p>
</td>
<td>boolean</td>
<td>是否使用地域优选<br>可选值:{ true, false }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">gender</span></p>
</td>
<td>enum[]</td>
<td>性别定向,仅单选,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_gender" target="_blank">[枚举详情]</a><br>数组长度为 1<br>可选值:{ MALE, FEMALE }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">age</span></p>
</td>
<td>struct[]</td>
<td>年龄定向,范围为 18~66,设置步长需大于 4,66 代表的是 66 岁及 66 岁以上,如 18~66 代表大于等于 18 岁<br>数组最小长度 1,最大长度 5</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">min<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>年龄限制<br>最小值 14,最大值 66</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">max<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>年龄限制<br>最小值 14,最大值 66</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">education</span></p>
</td>
<td>enum[]</td>
<td>用户学历,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_education" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 100<br>可选值:{ DOCTOR, MASTER, BACHELOR, SENIOR, JUNIOR, PRIMARY, JUNIOR_COLLEGE }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">app_install_status</span></p>
</td>
<td>enum[]</td>
<td>应用用户,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_app_install_status" target="_blank">[枚举详情]</a><br>数组长度为 1<br>可选值:{ NOT_INSTALLED, INSTALLED }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marital_status</span></p>
</td>
<td>enum[]</td>
<td>婚恋状态,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_marriage_status" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 100<br>可选值:{ SINGLE, IN_LOVE, NEWLY_MARRIED, MARRIED, PARENTING, PARENTING_0, PARENTING_0_6, PARENTING_6_12, PARENTING_12_24, PARENTING_24_36, CHILD_PRE_SCHOOL, CHILD_PRIMARY_SCHOOL, CHILD_JUNIOR_SCHOOL, CHILD_HIGH_SCHOOL }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">excluded_converted_audience</span></p>
</td>
<td>struct</td>
<td>排除已转化人群行为定向</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">excluded_dimension<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>排除已转化人群的数据维度,排除已转化人群的数据维度枚举,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_excluded_dimension" target="_blank">[枚举详情]</a><br>可选值:{ EXCLUDED_DIMENSION_UID, EXCLUDED_DIMENSION_COMPANY_ACCOUNT, EXCLUDED_DIMENSION_APP, EXCLUDED_DIMENSION_PRODUCT }</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">conversion_behavior_list</span></p>
</td>
<td>enum[]</td>
<td>转化行为,ENUM 值同广告优化目标类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_optimization_goal" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 2<br>可选值:{ OPTIMIZATIONGOAL_NONE, OPTIMIZATIONGOAL_BRAND_CONVERSION, OPTIMIZATIONGOAL_FOLLOW, OPTIMIZATIONGOAL_CLICK, OPTIMIZATIONGOAL_IMPRESSION, OPTIMIZATIONGOAL_APP_DOWNLOAD, OPTIMIZATIONGOAL_APP_ACTIVATE, OPTIMIZATIONGOAL_APP_REGISTER, OPTIMIZATIONGOAL_ONE_DAY_RETENTION, OPTIMIZATIONGOAL_APP_PURCHASE, OPTIMIZATIONGOAL_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT, OPTIMIZATIONGOAL_LEADS, OPTIMIZATIONGOAL_ECOMMERCE_CART, OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE, OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE, OPTIMIZATIONGOAL_ONLINE_CONSULTATION, OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION, OPTIMIZATIONGOAL_PAGE_RESERVATION, OPTIMIZATIONGOAL_DELIVERY, OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW, OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW, OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT, OPTIMIZATIONGOAL_APPLY, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE, OPTIMIZATIONGOAL_LEADS_COLLECT, OPTIMIZATIONGOAL_FIRST_PURCHASE, OPTIMIZATIONGOAL_PRE_CREDIT, OPTIMIZATIONGOAL_CREDIT, OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE, OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE, OPTIMIZATIONGOAL_CANVAS_CLICK, OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER, OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION, OPTIMIZATIONGOAL_PAGE_RECEIPT, OPTIMIZATIONGOAL_PAGE_SCAN_CODE, OPTIMIZATIONGOAL_SELECT_COURSE, OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE, OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME, OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT, OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD, OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS, OPTIMIZATIONGOAL_RESERVATION, OPTIMIZATIONGOAL_FIRST_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_LIKE, OPTIMIZATIONGOAL_ADD_DESKTOP, OPTIMIZATIONGOAL_EXTERNAL_LINK_CLICK, OPTIMIZATIONGOAL_BUY_COUPONS, OPTIMIZATIONGOAL_LEAVE_INFORMATION, OPTIMIZATIONGOAL_CORE_ACTION, OPTIMIZATIONGOAL_ONE_DAY_RETENTION_RATIO, OPTIMIZATIONGOAL_PROMOTION_READ_ARTICLE, OPTIMIZATIONGOAL_FIRST_TWENTY_FOUR_HOUR_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_SCANCODE_WX, OPTIMIZATIONGOAL_MOBILE_APP_SEVEN_DAYS_RETENTION, OPTIMIZATIONGOAL_CLASS_PARTICIPATED, OPTIMIZATIONGOAL_INSURANCE_PURCHASE, OPTIMIZATIONGOAL_RESERVATION_CHECK, OPTIMIZATIONGOAL_OPEN_ACCOUNT, OPTIMIZATIONGOAL_SEVEN_DAY_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ADD_WECHAT, OPTIMIZATIONGOAL_WECOM_CONSULT, OPTIMIZATIONGOAL_ADD_GROUP, OPTIMIZATIONGOAL_QUICK_ORDER, OPTIMIZATIONGOAL_PRE_PAY, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_ACTIVE_ONE_MSG, OPTIMIZATIONGOAL_CALL_DURATION_THIRTY_SECONDS, OPTIMIZATIONGOAL_CLAIM_COURSE, OPTIMIZATIONGOAL_QUIT_GROUP, OPTIMIZATIONGOAL_VIEW_ACQUISITION_CONTENT, OPTIMIZATIONGOAL_BACK_FLOW, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_THREE_MSG, OPTIMIZATIONGOAL_RENEWAL, OPTIMIZATIONGOAL_LOW_PRICE_COURSE, OPTIMIZATIONGOAL_CONSULT_INTENTION, OPTIMIZATIONGOAL_EVERY_DAY_RETENTION, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV, OPTIMIZATIONGOAL_LIVE_STREAM_DURATION_1MIN, OPTIMIZATIONGOAL_LIVE_STREAM_INTERACTION, OPTIMIZATIONGOAL_ECOMMERCE_CANCEL_ORDER, OPTIMIZATIONGOAL_CLICK_LEADS_COMPONENT, OPTIMIZATIONGOAL_REGULAR_PRICE_COURSE, OPTIMIZATIONGOAL_VISIT_STROE, OPTIMIZATIONGOAL_EFFECTIVE_ENTRY, OPTIMIZATIONGOAL_CREDIT_RATIO, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_DEAL, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_PRODUCT_CLICK, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_AUDIENCE, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_COMMENT, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_FANS, OPTIMIZATIONGOAL_24H_FIRSTPAY, OPTIMIZATIONGOAL_STORE_STAY, OPTIMIZATIONGOAL_LOW_PRICE_INSURANCE_PAYMENT, OPTIMIZATIONGOAL_UNDERWRITING, OPTIMIZATIONGOAL_FIRST_WITHDRAW, OPTIMIZATIONGOAL_BRIDGING_COURSE_COMPLETED }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">custom_audience</span></p>
</td>
<td>integer[]</td>
<td>定向用户群,通过 <a href="https://developers.e.qq.com/v3.0/docs/api/custom_audiences/add" target="_blank">[创建人群接口]</a> 创建的人群 id,custom_audience 和 excluded_custom_audience 个数之和不能超过 50 个<br>数组最小长度 1,最大长度 200</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">excluded_custom_audience</span></p>
</td>
<td>integer[]</td>
<td>排除用户群,通过 <a href="https://developers.e.qq.com/v3.0/docs/api/custom_audiences/add" target="_blank">[创建人群接口]</a> 创建的人群 id,custom_audience 和 excluded_custom_audience 个数之和不能超过 50 个<br>数组最小长度 1,最大长度 200</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">device_brand_model</span></p>
</td>
<td>struct</td>
<td>设备品牌型号定向</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">included_list</span></p>
</td>
<td>integer[]</td>
<td>设备品牌型号定向,可通过 <a href="https://developers.e.qq.com/v3.0/docs/api/targeting_tags/get" target="_blank">[targeting_tags/get]</a> 接口获取<br>数组最小长度 0,最大长度 400<br>最小值 0,最大值 10000000000</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">excluded_list</span></p>
</td>
<td>integer[]</td>
<td>排除设备品牌型号列表,不能与 included_list 同时使用,可通过 <a href="https://developers.e.qq.com/v3.0/docs/api/targeting_tags/get" target="_blank">[targeting_tags/get]</a> 接口获取<br>数组最小长度 0,最大长度 400<br>最小值 0,最大值 10000000000</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">user_os</span></p>
</td>
<td>enum[]</td>
<td>操作系统定向,当 marketing_carrier_type=MARKETING_CARRIER_TYPE_APP_ANDROID 时,广告只会在 Android 操作系统上展示;当 marketing_carrier_type=MARKETING_CARRIER_TYPE_APP_IOS 时,广告只会在 iOS 操作系统上展示,其他场景下均需指定 user_os。举例:当 marketing_target_type = MARKETING_TARGET_TYPE_APP_ANDROID 或 MARKETING_TARGET_TYPE_APP_IOS 时,需要传输 user_os 的值,否则会默认通投到 iOS 和 android 双端。详见 <a href="https://developers.e.qq.com/v3.0/docs/enums#api_os" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 100<br>可选值:{ IOS, IOS_VERSION_4, IOS_VERSION_5, IOS_VERSION_6, IOS_VERSION_7, IOS_VERSION_8, IOS_VERSION_9, IOS_VERSION_10, IOS_VERSION_11, IOS_VERSION_12, IOS_VERSION_13, IOS_VERSION_14, IOS_VERSION_15, IOS_VERSION_16, IOS_VERSION_17, ANDROID, ANDROID_VERSION_1, ANDROID_VERSION_2, ANDROID_VERSION_3, ANDROID_VERSION_4, ANDROID_VERSION_5, ANDROID_VERSION_6, ANDROID_VERSION_7, ANDROID_VERSION_8, ANDROID_VERSION_9, ANDROID_VERSION_10, ANDROID_VERSION_11, ANDROID_VERSION_12, ANDROID_VERSION_13, ANDROID_VERSION_14, WINDOWS, SYMBIAN, JAVA, MAC }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">network_type</span></p>
</td>
<td>enum[]</td>
<td>联网方式定向,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_network_type" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 100<br>可选值:{ WIFI, NET_2G, NET_3G, NET_4G, NET_5G }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">device_price</span></p>
</td>
<td>enum[]</td>
<td>设备价格定向,仅对微信流量广告有效,[枚举详情],<a href="https://developers.e.qq.com/v3.0/docs/enums#api_device_price" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 100<br>可选值:{ PRICE_1500_LESS, PRICE_1500_2500, PRICE_2500_3500, PRICE_3500_4500, PRICE_4500_MORE }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">wechat_ad_behavior</span></p>
</td>
<td>struct</td>
<td>微信广告行为定向,当且仅当投放微信广告时有效</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">actions</span></p>
</td>
<td>enum[]</td>
<td>微信再营销类型,WECHAT_OFFICIAL_ACCOUNT_FOLLOWED,关注过广告主微信公众号<br>APP_INSTALLED,已安装你的应用(推广目标仅支持 ANDROID、IOS)<br>WECHAT_COUPON_OBTAINED,领取过广告主微信卡券<br>WECHAT_OFFICIAL_ACCOUNT_AD_LIKE,对微信公众号广告感兴趣<br>WECHAT_MOMENTS_AD_LIKE,对微信朋友圈广告感兴趣<br>MINI_GAME_WECHAT_REGISTERED,曾经注册过你的小游戏(仅推广目标为微信小游戏),<a href="https://developers.e.qq.com/v3.0/docs/enums#api_ad_behavior_route_type" target="_blank">[枚举详情]</a></td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">excluded_actions</span></p>
</td>
<td>enum[]</td>
<td>微信再营销类型,WECHAT_OFFICIAL_ACCOUNT_FOLLOWED,关注过广告主微信公众号<br>APP_INSTALLED,已安装你的应用(推广目标仅支持 ANDROID、IOS)<br>WECHAT_COUPON_OBTAINED,领取过广告主微信卡券<br>WECHAT_OFFICIAL_ACCOUNT_AD_LIKE,对微信公众号广告感兴趣<br>WECHAT_MOMENTS_AD_LIKE,对微信朋友圈广告感兴趣<br>MINI_GAME_WECHAT_REGISTERED,曾经注册过你的小游戏(仅推广目标为微信小游戏),<a href="https://developers.e.qq.com/v3.0/docs/enums#api_ad_behavior_route_type" target="_blank">[枚举详情]</a></td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">game_consumption_level</span></p>
</td>
<td>enum[]</td>
<td>游戏消费能力,QQ 账号不支持使用,原 gamer_consumption_ability 定向升级版,gamer_consumption_ability 和 game_consumption_level 不能同时使用,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_game_consumption_level" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 2<br>可选值:{ HIGH, NORMAL }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">excluded_os</span></p>
</td>
<td>enum[]</td>
<td>排除操作系统定向,目前 ANDROID_PURE_MODE 枚举仅支持 MARKETING_CARRIER_TYPE_APP_ANDROID 载体类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_excluded_os" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 100<br>可选值:{ ANDROID_PURE_MODE, IOS, IOS_VERSION_4, IOS_VERSION_5, IOS_VERSION_6, IOS_VERSION_7, IOS_VERSION_8, IOS_VERSION_9, IOS_VERSION_10, IOS_VERSION_11, IOS_VERSION_12, IOS_VERSION_13, IOS_VERSION_14, IOS_VERSION_15, IOS_VERSION_16, IOS_VERSION_17, ANDROID, ANDROID_VERSION_1, ANDROID_VERSION_2, ANDROID_VERSION_3, ANDROID_VERSION_4, ANDROID_VERSION_5, ANDROID_VERSION_6, ANDROID_VERSION_7, ANDROID_VERSION_8, ANDROID_VERSION_9, ANDROID_VERSION_10, ANDROID_VERSION_11, ANDROID_VERSION_12, ANDROID_VERSION_13, ANDROID_VERSION_14, WINDOWS, SYMBIAN, JAVA }</td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">scene_spec</span></p>
</td>
<td>struct</td>
<td>场景定向</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">mobile_union</span></p>
</td>
<td>enum[]</td>
<td>移动联盟场景定向,当且仅当投放移动联盟流量时可以使用,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_mobile_union_scene_for_write" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 9<br>可选值:{ MOBILE_UNION_IN_WECHAT, MOBILE_UNION_REWARDED_VIDEO, MOBILE_UNION_REWARDED_MEDIA, MOBILE_UNION_SMB_CUSTOMIZATION, MOBILE_UNION_GAME_ADVERTISER_PECULIAR, MOBILE_UNION_READ_ADVERTISER }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">exclude_mobile_union</span></p>
</td>
<td>enum[]</td>
<td>移动联盟场景屏蔽定向,当且仅当投放移动联盟流量时可以使用,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_exclude_mobile_union_scene_for_write" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 8<br>可选值:{ MOBILE_UNION_IN_WECHAT, MOBILE_UNION_REWARDED_VIDEO, MOBILE_UNION_REWARDED_MEDIA, MOBILE_UNION_GAME_ADVERTISER_EXCLUDE, MOBILE_UNION_READ_ADVERTISER_EXCLUDE, MOBILE_UNION_LIGHT_GAME_ADVERTISER_EXCLUDE }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">union_position_package</span></p>
</td>
<td>integer[]</td>
<td>定投联盟流量包列表,一个广告最多可选择 5 个定投流量包,且该广告所有流量包关联的广告位数量不得超过 10000 个<br>数组最小长度 1,最大长度 20</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">exclude_union_position_package</span></p>
</td>
<td>integer[]</td>
<td>屏蔽联盟流量包列表,一个广告最多可选择 5 个屏蔽流量包,且该广告所有流量包关联的广告位数量不得超过 10000 个<br>数组最小长度 1,最大长度 20</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">tencent_news</span></p>
</td>
<td>enum[]</td>
<td>腾讯新闻流量场景定向,当且仅当投放腾讯新闻流量时可以使用,功能灰度开放,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_tencent_news_scene" target="_blank">[枚举详情]</a><br>数组最小长度 1,最大长度 3<br>可选值:{ TENCENT_NEWS_APP, TENCENT_NEWS_WECHAT, TENCENT_NEWS_QQ }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">display_scene</span></p>
</td>
<td>enum[]</td>
<td>广告展示场景,当且仅当投放移动联盟流量时可以使用,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_display_scene" target="_blank">[枚举详情]</a><br>数组最小长度 0,最大长度 32<br>可选值:{ DISPLAY_SCENE_BANNER, DISPLAY_SCENE_INLINE, DISPLAY_SCENE_SPLASH, DISPLAY_SCENE_NATIVE, DISPLAY_SCENE_REWARDED_VIDEO }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">wechat_scene</span></p>
</td>
<td>struct</td>
<td>微信场景定向</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">official_account_media_category</span></p>
</td>
<td>integer[]</td>
<td>公众号媒体类型<br>数组最小长度 0,最大长度 100</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">mini_program_and_mini_game</span></p>
</td>
<td>integer[]</td>
<td>小程序小游戏流量类型<br>数组最小长度 0,最大长度 100</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">pay_scene</span></p>
</td>
<td>integer[]</td>
<td>订单详情页消费场景<br>数组最小长度 0,最大长度 100</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">wechat_position</span></p>
</td>
<td>integer[]</td>
<td>微信公众号与小程序定投,当且仅当投放公众号流量(site_set = SITE_SET_WECHAT)时可以使用,可用场景值从投放辅助工具(scene_spec_tags/get)获取。不允许修改<br>数组最小长度 0,最大长度 100</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">mobile_union_category</span></p>
</td>
<td>integer[]</td>
<td>优量汇媒体类型场景定向,当且仅当投放优量汇流量时(site_set = SITE_SET_MOBILE_UNION)时可以使用<br>数组最小长度 1,最大长度 200</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">qbsearch_scene</span></p>
</td>
<td>enum[]</td>
<td>QQ 浏览器、应用宝流量场景,当且仅当投放 SITE_SET_QBSEARCH 版位时可以使用,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_qb_search_scene" target="_blank">[枚举详情]</a><br>数组最小长度 0,最大长度 32<br>可选值:{ QBSEARCH_SCENE_MOBILE, QBSEARCH_SCENE_PC }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">wechat_channels_scene</span></p>
</td>
<td>integer[]</td>
<td>微信视频号定投<br>数组最小长度 0,最大长度 100</td>
</tr><tr class="">
<td class="">
<p><i class="icon mkt-icon-folded"></i><span class="flex">user_action_sets</span></p>
</td>
<td>struct[]</td>
<td>用户行为数据源,详见 <a href="https://developers.e.qq.com/docs/guide/ads/tracking" target="_blank">[转化归因功能]</a><br>数组最小长度 1,最大长度 100</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">type<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>数据源类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_user_action_set_type" target="_blank">[枚举详情]</a><br>可选值:{ USER_ACTION_SET_TYPE_WEB, USER_ACTION_SET_TYPE_IOS, USER_ACTION_SET_TYPE_ANDROID }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">id<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>数据源 id,通过 user_action_sets 模块创建和获取,数据源 id 对应的类型要与 user_action_sets 中指定的 type 一致</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">data_source_id</span></p>
</td>
<td>integer</td>
<td>DN 数据源 id,新的 DN 数据源 id,与知数数据源 id 一一对应</td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">deep_conversion_spec</span></p>
</td>
<td>struct</td>
<td>oCPA 深度优化内容,若此字段不传,或传空则视为无限制条件</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">deep_conversion_type</span></p>
</td>
<td>enum</td>
<td>oCPA 深度优化价值配置,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_deep_conversion_type" target="_blank">[枚举详情]</a><br>可选值:{ DEEP_CONVERSION_WORTH, DEEP_CONVERSION_BEHAVIOR, DEEP_CONVERSION_WORTH_ADVANCED, DEEP_CONVERSION_BEHAVIOR_ADVANCED }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">deep_conversion_behavior_spec</span></p>
</td>
<td>struct</td>
<td>oCPA 优化转化行为配置</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">goal<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>优化转化行为目标,枚举列表:<a href="https://developers.e.qq.com/v3.0/docs/enums#api_optimization_goal" target="_blank">[枚举详情]</a><br>可选值:{ OPTIMIZATIONGOAL_NONE, OPTIMIZATIONGOAL_BRAND_CONVERSION, OPTIMIZATIONGOAL_FOLLOW, OPTIMIZATIONGOAL_CLICK, OPTIMIZATIONGOAL_IMPRESSION, OPTIMIZATIONGOAL_APP_DOWNLOAD, OPTIMIZATIONGOAL_APP_ACTIVATE, OPTIMIZATIONGOAL_APP_REGISTER, OPTIMIZATIONGOAL_ONE_DAY_RETENTION, OPTIMIZATIONGOAL_APP_PURCHASE, OPTIMIZATIONGOAL_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT, OPTIMIZATIONGOAL_LEADS, OPTIMIZATIONGOAL_ECOMMERCE_CART, OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE, OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE, OPTIMIZATIONGOAL_ONLINE_CONSULTATION, OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION, OPTIMIZATIONGOAL_PAGE_RESERVATION, OPTIMIZATIONGOAL_DELIVERY, OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW, OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW, OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT, OPTIMIZATIONGOAL_APPLY, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE, OPTIMIZATIONGOAL_LEADS_COLLECT, OPTIMIZATIONGOAL_FIRST_PURCHASE, OPTIMIZATIONGOAL_PRE_CREDIT, OPTIMIZATIONGOAL_CREDIT, OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE, OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE, OPTIMIZATIONGOAL_CANVAS_CLICK, OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER, OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION, OPTIMIZATIONGOAL_PAGE_RECEIPT, OPTIMIZATIONGOAL_PAGE_SCAN_CODE, OPTIMIZATIONGOAL_SELECT_COURSE, OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE, OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME, OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT, OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD, OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS, OPTIMIZATIONGOAL_RESERVATION, OPTIMIZATIONGOAL_FIRST_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_LIKE, OPTIMIZATIONGOAL_ADD_DESKTOP, OPTIMIZATIONGOAL_EXTERNAL_LINK_CLICK, OPTIMIZATIONGOAL_BUY_COUPONS, OPTIMIZATIONGOAL_LEAVE_INFORMATION, OPTIMIZATIONGOAL_CORE_ACTION, OPTIMIZATIONGOAL_ONE_DAY_RETENTION_RATIO, OPTIMIZATIONGOAL_PROMOTION_READ_ARTICLE, OPTIMIZATIONGOAL_FIRST_TWENTY_FOUR_HOUR_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_SCANCODE_WX, OPTIMIZATIONGOAL_MOBILE_APP_SEVEN_DAYS_RETENTION, OPTIMIZATIONGOAL_CLASS_PARTICIPATED, OPTIMIZATIONGOAL_INSURANCE_PURCHASE, OPTIMIZATIONGOAL_RESERVATION_CHECK, OPTIMIZATIONGOAL_OPEN_ACCOUNT, OPTIMIZATIONGOAL_SEVEN_DAY_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ADD_WECHAT, OPTIMIZATIONGOAL_WECOM_CONSULT, OPTIMIZATIONGOAL_ADD_GROUP, OPTIMIZATIONGOAL_QUICK_ORDER, OPTIMIZATIONGOAL_PRE_PAY, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_ACTIVE_ONE_MSG, OPTIMIZATIONGOAL_CALL_DURATION_THIRTY_SECONDS, OPTIMIZATIONGOAL_CLAIM_COURSE, OPTIMIZATIONGOAL_QUIT_GROUP, OPTIMIZATIONGOAL_VIEW_ACQUISITION_CONTENT, OPTIMIZATIONGOAL_BACK_FLOW, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_THREE_MSG, OPTIMIZATIONGOAL_RENEWAL, OPTIMIZATIONGOAL_LOW_PRICE_COURSE, OPTIMIZATIONGOAL_CONSULT_INTENTION, OPTIMIZATIONGOAL_EVERY_DAY_RETENTION, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV, OPTIMIZATIONGOAL_LIVE_STREAM_DURATION_1MIN, OPTIMIZATIONGOAL_LIVE_STREAM_INTERACTION, OPTIMIZATIONGOAL_ECOMMERCE_CANCEL_ORDER, OPTIMIZATIONGOAL_CLICK_LEADS_COMPONENT, OPTIMIZATIONGOAL_REGULAR_PRICE_COURSE, OPTIMIZATIONGOAL_VISIT_STROE, OPTIMIZATIONGOAL_EFFECTIVE_ENTRY, OPTIMIZATIONGOAL_CREDIT_RATIO, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_DEAL, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_PRODUCT_CLICK, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_AUDIENCE, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_COMMENT, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_FANS, OPTIMIZATIONGOAL_24H_FIRSTPAY, OPTIMIZATIONGOAL_STORE_STAY, OPTIMIZATIONGOAL_LOW_PRICE_INSURANCE_PAYMENT, OPTIMIZATIONGOAL_UNDERWRITING, OPTIMIZATIONGOAL_FIRST_WITHDRAW, OPTIMIZATIONGOAL_BRIDGING_COURSE_COMPLETED }</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">bid_amount<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>深度优化行为的出价,深度优化行为出价,单位为分<br>最小值 0,最大值 1000000</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">deep_conversion_worth_spec</span></p>
</td>
<td>struct</td>
<td>oCPA 优化 ROI 配置</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">goal<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>优化 ROI 目标,枚举列表:<a href="https://developers.e.qq.com/v3.0/docs/enums#api_deep_conversion_worth_goal" target="_blank">[枚举详情]</a><br>可选值:{ GOAL_7DAY_PURCHASE_ROAS, GOAL_30DAY_ORDER_ROAS, GOAL_1DAY_PURCHASE_ROAS, GOAL_1DAY_MONETIZATION_ROAS, GOAL_7DAY_MONETIZATION_ROAS, GOAL_7DAY_RETENTION_TIMES, GOAL_7DAY_LONGTERM_PURCHASE_ROAS, GOAL_14DAY_LONGTERM_PURCHASE_ROAS, GOAL_30DAY_LONGTERM_PURCHASE_ROAS, GOAL_QYT_7DAY_LIVE_STREAM_DEAL_ROAS, GOAL_WITHDRAW_DEPOSITS_ROAS }</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">expected_roi</span></p>
</td>
<td>float</td>
<td>深度优化价值效果值<br>最小值 0,最大值 1000,最多保留 3 位小数</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">deep_conversion_worth_advanced_spec</span></p>
</td>
<td>struct</td>
<td>oCPC/oCPM 优化 ROI 配置</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">goal<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>优化 ROI 目标,枚举列表:<a href="https://developers.e.qq.com/v3.0/docs/enums#api_deep_conversion_worth_goal" target="_blank">[枚举详情]</a><br>可选值:{ GOAL_7DAY_PURCHASE_ROAS, GOAL_30DAY_ORDER_ROAS, GOAL_1DAY_PURCHASE_ROAS, GOAL_1DAY_MONETIZATION_ROAS, GOAL_7DAY_MONETIZATION_ROAS, GOAL_7DAY_RETENTION_TIMES, GOAL_7DAY_LONGTERM_PURCHASE_ROAS, GOAL_14DAY_LONGTERM_PURCHASE_ROAS, GOAL_30DAY_LONGTERM_PURCHASE_ROAS, GOAL_QYT_7DAY_LIVE_STREAM_DEAL_ROAS, GOAL_WITHDRAW_DEPOSITS_ROAS }</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">expected_roi<span class="must">*</span></span></p>
</td>
<td>float</td>
<td>深度优化价值效果值<br>最小值 0,最大值 1000,最多保留 3 位小数</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-folded"></i><span class="flex">deep_conversion_behavior_advanced_spec</span></p>
</td>
<td>struct</td>
<td>oCPX 深度辅助配置</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">goal<span class="must">*</span></span></p>
</td>
<td>enum</td>
<td>深度辅助优化 OG 目标,枚举列表:<a href="https://developers.e.qq.com/v3.0/docs/enums#api_optimization_goal" target="_blank">[枚举详情]</a><br>可选值:{ OPTIMIZATIONGOAL_NONE, OPTIMIZATIONGOAL_BRAND_CONVERSION, OPTIMIZATIONGOAL_FOLLOW, OPTIMIZATIONGOAL_CLICK, OPTIMIZATIONGOAL_IMPRESSION, OPTIMIZATIONGOAL_APP_DOWNLOAD, OPTIMIZATIONGOAL_APP_ACTIVATE, OPTIMIZATIONGOAL_APP_REGISTER, OPTIMIZATIONGOAL_ONE_DAY_RETENTION, OPTIMIZATIONGOAL_APP_PURCHASE, OPTIMIZATIONGOAL_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT, OPTIMIZATIONGOAL_LEADS, OPTIMIZATIONGOAL_ECOMMERCE_CART, OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE, OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE, OPTIMIZATIONGOAL_ONLINE_CONSULTATION, OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION, OPTIMIZATIONGOAL_PAGE_RESERVATION, OPTIMIZATIONGOAL_DELIVERY, OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW, OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW, OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT, OPTIMIZATIONGOAL_APPLY, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE, OPTIMIZATIONGOAL_LEADS_COLLECT, OPTIMIZATIONGOAL_FIRST_PURCHASE, OPTIMIZATIONGOAL_PRE_CREDIT, OPTIMIZATIONGOAL_CREDIT, OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE, OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE, OPTIMIZATIONGOAL_CANVAS_CLICK, OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER, OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION, OPTIMIZATIONGOAL_PAGE_RECEIPT, OPTIMIZATIONGOAL_PAGE_SCAN_CODE, OPTIMIZATIONGOAL_SELECT_COURSE, OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE, OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME, OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT, OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD, OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS, OPTIMIZATIONGOAL_RESERVATION, OPTIMIZATIONGOAL_FIRST_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_LIKE, OPTIMIZATIONGOAL_ADD_DESKTOP, OPTIMIZATIONGOAL_EXTERNAL_LINK_CLICK, OPTIMIZATIONGOAL_BUY_COUPONS, OPTIMIZATIONGOAL_LEAVE_INFORMATION, OPTIMIZATIONGOAL_CORE_ACTION, OPTIMIZATIONGOAL_ONE_DAY_RETENTION_RATIO, OPTIMIZATIONGOAL_PROMOTION_READ_ARTICLE, OPTIMIZATIONGOAL_FIRST_TWENTY_FOUR_HOUR_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_SCANCODE_WX, OPTIMIZATIONGOAL_MOBILE_APP_SEVEN_DAYS_RETENTION, OPTIMIZATIONGOAL_CLASS_PARTICIPATED, OPTIMIZATIONGOAL_INSURANCE_PURCHASE, OPTIMIZATIONGOAL_RESERVATION_CHECK, OPTIMIZATIONGOAL_OPEN_ACCOUNT, OPTIMIZATIONGOAL_SEVEN_DAY_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ADD_WECHAT, OPTIMIZATIONGOAL_WECOM_CONSULT, OPTIMIZATIONGOAL_ADD_GROUP, OPTIMIZATIONGOAL_QUICK_ORDER, OPTIMIZATIONGOAL_PRE_PAY, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_ACTIVE_ONE_MSG, OPTIMIZATIONGOAL_CALL_DURATION_THIRTY_SECONDS, OPTIMIZATIONGOAL_CLAIM_COURSE, OPTIMIZATIONGOAL_QUIT_GROUP, OPTIMIZATIONGOAL_VIEW_ACQUISITION_CONTENT, OPTIMIZATIONGOAL_BACK_FLOW, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_THREE_MSG, OPTIMIZATIONGOAL_RENEWAL, OPTIMIZATIONGOAL_LOW_PRICE_COURSE, OPTIMIZATIONGOAL_CONSULT_INTENTION, OPTIMIZATIONGOAL_EVERY_DAY_RETENTION, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV, OPTIMIZATIONGOAL_LIVE_STREAM_DURATION_1MIN, OPTIMIZATIONGOAL_LIVE_STREAM_INTERACTION, OPTIMIZATIONGOAL_ECOMMERCE_CANCEL_ORDER, OPTIMIZATIONGOAL_CLICK_LEADS_COMPONENT, OPTIMIZATIONGOAL_REGULAR_PRICE_COURSE, OPTIMIZATIONGOAL_VISIT_STROE, OPTIMIZATIONGOAL_EFFECTIVE_ENTRY, OPTIMIZATIONGOAL_CREDIT_RATIO, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_DEAL, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_PRODUCT_CLICK, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_AUDIENCE, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_COMMENT, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_FANS, OPTIMIZATIONGOAL_24H_FIRSTPAY, OPTIMIZATIONGOAL_STORE_STAY, OPTIMIZATIONGOAL_LOW_PRICE_INSURANCE_PAYMENT, OPTIMIZATIONGOAL_UNDERWRITING, OPTIMIZATIONGOAL_FIRST_WITHDRAW, OPTIMIZATIONGOAL_BRIDGING_COURSE_COMPLETED }</td>
</tr><tr class="hidd isShown">
<td class="level-three">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">bid_amount<span class="must">*</span></span></p>
</td>
<td>integer</td>
<td>深度辅助优化 OG 出价,深度辅助优化 OG 出价,单位为分<br>最小值 0,最大值 1000000</td>
</tr><tr class="">
<td class="">
<p><span class="flex">conversion_id</span></p>
</td>
<td>integer</td>
<td>转化 id,包含优化目标,深度优化目标,数据上报方式,归因方式等信息,仅 ocpc/ocpm 广告可设置,转化 id 设置后不可修改。可通过辅助工具<a href="https://developers.e.qq.com/v3.0/docs/api/conversions/get" target="_blank">[转化查询接口]</a>查询可使用的转化 id。当传入转化 id 时,可无需再传入 user_action_sets,additional_user_action_sets,optimization_goal,deep_conversion_spec 字段信息。如若同时传入转化 id 和 user_action_sets/additional_user_action_sets,将以转化 id 的信息为第一优先级;如若同时传入转化 id 和 optimization_goal/deep_conversion_spec,仅当转化 id 中包含的优化目标/深度优化目标与传入的优化目标/深度优化目标信息一致时,才允许创建,否则将不允许创建。功能灰度开放中,不支持朋友圈。</td>
</tr><tr class="">
<td class="">
<p><span class="flex">deep_conversion_behavior_bid</span></p>
</td>
<td>integer</td>
<td>深度优化行为的出价,使用转化 id 确认优化目标和深度优化目标的广告主,深度优化行为的目标出价无需传 deep_conversion_spec 结构体中字段,可直接使用 deep_conversion_behavior_bid 字段传输深度出价。单位为分。<br>最小值 0,最大值 1000000</td>
</tr><tr class="">
<td class="">
<p><span class="flex">deep_conversion_worth_rate</span></p>
</td>
<td>float</td>
<td>深度优化价值的出价,使用转化 id 确认优化目标和深度优化目标的广告主,深度优化价值的目标出价无需传 deep_conversion_spec 结构体中字段,可直接使用 deep_conversion_worth_rate 字段传输深度出价。比值,没有单位<br>最小值 0.001,最大值 1000,最多保留 3 位小数</td>
</tr><tr class="">
<td class="">
<p><span class="flex">deep_conversion_worth_advanced_rate</span></p>
</td>
<td>float</td>
<td>强化优化价值的期望 ROI,使用转化 id 确认优化目标和强化优化目标的广告主,强化优化价值的目标出价无需传 deep_conversion_spec 结构体中字段,可直接使用 deep_conversion_worth_advanced_rate 字段传输深度出价。该功能灰度开放中。<br>最小值 0.001,最大值 1000,最多保留 3 位小数</td>
</tr><tr class="">
<td class="">
<p><span class="flex">deep_conversion_behavior_advanced_bid</span></p>
</td>
<td>integer</td>
<td>深度辅助优化 OG 出价,使用转化 id 确认优化目标和深度辅助优化 OG 的广告主,深度辅助优化 OG 出价无需传 deep_conversion_spec 结构体中字段,可直接使用 deep_conversion_behavior_advanced_bid 字段传输深度出价。单位为分。<br>最小值 0,最大值 1000000</td>
</tr><tr class="">
<td class="">
<p><span class="flex">bid_mode</span></p>
</td>
<td>enum</td>
<td>出价方式,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_bid_mode" target="_blank">[枚举详情]</a><br>可选值:{ BID_MODE_CPC, BID_MODE_CPA, BID_MODE_CPS, BID_MODE_CPM, BID_MODE_OCPC, BID_MODE_OCPM }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">auto_acquisition_enabled</span></p>
</td>
<td>boolean</td>
<td>一键起量开关,一键起量开关定义<br>可选值:{ true, false }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">auto_acquisition_budget</span></p>
</td>
<td>integer</td>
<td>一键起量预算,单位为分,一键起量预算定义<br>最小值 20000,最大值 10000000</td>
</tr><tr class="">
<td class="">
<p><span class="flex">smart_bid_type</span></p>
</td>
<td>enum</td>
<td>出价类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#smart_bid_type" target="_blank">[枚举详情]</a><br>可选值:{ SMART_BID_TYPE_CUSTOM, SMART_BID_TYPE_SYSTEMATIC }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">smart_cost_cap</span></p>
</td>
<td>integer</td>
<td>自动出价下,系统计算的预计成本的上限值,单位为分</td>
</tr><tr class="">
<td class="">
<p><span class="flex">auto_derived_creative_enabled</span></p>
</td>
<td>boolean</td>
<td>是否开启自动衍生视频创意,该功能灰度开放中。<p>开启后,根据广告主的投放数据以及上传的素材, 通过策略选择效果最佳的视频模板、音乐, 并复制已有创意元素, 程序化生成视频创意。</p><br>可选值:{ true, false }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">search_expand_targeting_switch</span></p>
</td>
<td>enum</td>
<td>搜索定向拓展开关,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_search_expand_targeting_switch" target="_blank">[枚举详情]</a><br>可选值:{ SEARCH_EXPAND_TARGETING_SWITCH_UNKNOWN, SEARCH_EXPAND_TARGETING_SWITCH_OPEN, SEARCH_EXPAND_TARGETING_SWITCH_CLOSE }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">auto_derived_landing_page_switch</span></p>
</td>
<td>boolean</td>
<td>是否开启自动衍生落地页开关<br>可选值:{ true, false }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">bid_scene</span></p>
</td>
<td>enum</td>
<td>出价场景,<a href="https://developers.e.qq.com/v3.0/docs/enums#bid_scene" target="_blank">[枚举详情]</a><br>可选值:{ BID_SCENE_NORMAL_AVERAGE, BID_SCENE_NORMAL_MAX }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">configured_status</span></p>
</td>
<td>enum</td>
<td>客户设置的状态,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_configured_status" target="_blank">[枚举详情]</a><br>可选值:{ AD_STATUS_NORMAL, AD_STATUS_SUSPEND }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">flow_optimization_enabled</span></p>
</td>
<td>boolean</td>
<td>是否使用自动流量优选,仅支持优量汇版位使用,且不能和优量汇行业精选流量包(mobile_union_industry)或优量汇媒体类型场景定向(mobile_union_category)同时使用,flow_optimization_enabled 设置为 true, 开启自动流量优选<br>可选值:{ true, false }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">material_package_id</span></p>
</td>
<td>integer</td>
<td>素材标签 id</td>
</tr><tr class="">
<td class="">
<p><span class="flex">marketing_asset_id</span></p>
</td>
<td>integer</td>
<td>产品 id,marketing_asset_id 与 marketing_asset_outer_spec 不能同时为空,也不能同时使用</td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">marketing_asset_outer_spec</span></p>
</td>
<td>struct</td>
<td>产品外部 id 数据,当推广产品类型是以下类型的时候,必须使用该字段,不允许使用 marketing_asset_id : MARKETING_TARGET_TYPE_APP_ANDROID,MARKETING_TARGET_TYPE_APP_IOS,MARKETING_TARGET_TYPE_APP_QUICK_APP,MARKETING_TARGET_TYPE_WECHAT_MINI_GAME,MARKETING_TARGET_TYPE_WECHAT_CHANNELS,MARKETING_TARGET_TYPE_MINI_PROGRAM_WECHAT,MARKETING_TARGET_TYPE_WECHAT_CHANNELS_LIVE,MARKETING_TARGET_TYPE_WECHAT_CHANNELS_LIVE_RESERVATION,MARKETING_TARGET_TYPE_CONSUMER_PRODUCT,MARKETING_TARGET_TYPE_WECHAT_OFFICIAL_ACCOUNT,MARKETING_TARGET_TYPE_LOCAL_STORE,MARKETING_TARGET_TYPE_LOCAL_STORE_PACKAGE,MARKETING_TARGET_TYPE_COMMODITY_SET,MARKETING_TARGET_TYPE_WECHAT_WORK,MARKETING_TARGET_TYPE_MINI_GAME_QQ,MARKETING_TARGET_TYPE_PC_GAME.</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_target_type</span></p>
</td>
<td>enum</td>
<td>推广产品类型,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_marketing_target_type" target="_blank">[枚举详情]</a><br>可选值:{ MARKETING_TARGET_TYPE_APP_ANDROID, MARKETING_TARGET_TYPE_APP_IOS, MARKETING_TARGET_TYPE_WECHAT_OFFICIAL_ACCOUNT, MARKETING_TARGET_TYPE_PRODUCT, MARKETING_TARGET_TYPE_TRAFFIC, MARKETING_TARGET_TYPE_LOCAL_STORE, MARKETING_TARGET_TYPE_WECHAT_MINI_GAME, MARKETING_TARGET_TYPE_CONSUMER_PRODUCT, MARKETING_TARGET_TYPE_WECHAT_CHANNELS, MARKETING_TARGET_TYPE_WECHAT_CHANNELS_LIVE, MARKETING_TARGET_TYPE_WECHAT_CHANNELS_LIVE_RESERVATION, MARKETING_TARGET_TYPE_MINI_PROGRAM_WECHAT, MARKETING_TARGET_TYPE_APP_QUICK_APP, MARKETING_TARGET_TYPE_CONSUME_MEDICAL, MARKETING_TARGET_TYPE_COMPREHENSIVE_HOUSEKEEPING, MARKETING_TARGET_TYPE_FICTION, MARKETING_TARGET_TYPE_SHORT_DRAMA, MARKETING_TARGET_TYPE_AUDIOVISUAL_ENTERTAINMENT, MARKETING_TARGET_TYPE_BEAUTY_AND_PERSONAL_CARE, MARKETING_TARGET_TYPE_WEDDING_AND_PORTRAIT_PHOTOGRAPHY, MARKETING_TARGET_TYPE_FRANCHISE_BRAND, MARKETING_TARGET_TYPE_ENTERPRISE_SERVICES, MARKETING_TARGET_TYPE_EXHIBITION_BOOTH_DESIGN, MARKETING_TARGET_TYPE_INSURANCE, MARKETING_TARGET_TYPE_BANK, MARKETING_TARGET_TYPE_CREDIT, MARKETING_TARGET_TYPE_INVESTMENT_CONSULTING, MARKETING_TARGET_TYPE_REAL_ESTATE, MARKETING_TARGET_TYPE_TELECOMMUNICATIONS_OPERATOR, MARKETING_TARGET_TYPE_TOURIST_ATTRACTIONS_TICKETS, MARKETING_TARGET_TYPE_RENOVATION_SERVICES, MARKETING_TARGET_TYPE_FURNITURE_AND_BUILDING_MATERIALS, MARKETING_TARGET_TYPE_EXHIBITION_SALES, MARKETING_TARGET_TYPE_MEDICINE_INDUSTRY_COMMERCIAL, MARKETING_TARGET_TYPE_FINANCE, MARKETING_TARGET_TYPE_LOCAL_STORE_PACKAGE, MARKETING_TARGET_TYPE_CATERING_AND_LEISURE, MARKETING_TARGET_TYPE_CHAIN_RESTAURANT, MARKETING_TARGET_TYPE_COMMODITY_SET, MARKETING_TARGET_TYPE_TOURIST_TRAVEL_ROUTE, MARKETING_TARGET_TYPE_TOURIST_CRUISE_LINE, MARKETING_TARGET_TYPE_TOURIST_HOTEL_SERVICE, MARKETING_TARGET_TYPE_TOURIST_AIRLINE_TICKETS, MARKETING_TARGET_TYPE_LOCAL_STORE_COMBINE_WITH_PRODUCT, MARKETING_TARGET_TYPE_ACTIVITY, MARKETING_TARGET_TYPE_STORE, MARKETING_TARGET_TYPE_MINI_GAME_QQ, MARKETING_TARGET_TYPE_PC_GAME, MARKETING_TARGET_TYPE_WECHAT_WORK, MARKETING_TARGET_TYPE_LIVE_STREAM_ROOM, MARKETING_TARGET_TYPE_PERSONAL_STORE, MARKETING_TARGET_TYPE_PLATFORM_CHANNEL, MARKETING_TARGET_TYPE_TWO_WHEEL_VEHICLE, MARKETING_TARGET_TYPE_GOVERNMENT_AFFAIRS, MARKETING_TARGET_TYPE_CAR_ECOLOGY }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_asset_outer_id</span></p>
</td>
<td>string</td>
<td>推广产品外部 id,如安卓应用 id、IOS 应用 id、小游戏 id 等<br>字段长度最小 1 字节,长度最大 1024 字节</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_asset_outer_sub_id</span></p>
</td>
<td>string</td>
<td>推广产品外部子 id,如安卓应用渠道包 id<br>字段长度最小 1 字节,长度最大 1024 字节</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">marketing_asset_outer_name</span></p>
</td>
<td>string</td>
<td>推广产品外部名称<br>字段长度最小 1 字节,长度最大 1024 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">poi_list</span></p>
</td>
<td>string[]</td>
<td>门店 id 列表<br>数组最大长度 500<br>字段长度最小 0 字节,长度最大 1024 字节</td>
</tr><tr class="">
<td class="">
<p><span class="flex">exploration_strategy</span></p>
</td>
<td>enum</td>
<td>自动版位探索策略,<a href="https://developers.e.qq.com/v3.0/docs/enums#site_set_exploration_strategy" target="_blank">[枚举详情]</a><br>可选值:{ EXPLORATION_UNKNOW, AUTOMATIC_EXPLORATION, STEADY_EXPLORATION }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">priority_site_set</span></p>
</td>
<td>enum[]</td>
<td>投放站点集合,投放站点集合,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_site_set_definition" target="_blank">[枚举详情]</a><br>数组最小长度 0,最大长度 32<br>可选值:{ SITE_SET_MOBILE_UNION, SITE_SET_WECHAT, SITE_SET_TENCENT_NEWS, SITE_SET_TENCENT_VIDEO, SITE_SET_MOBILE_YYB, SITE_SET_PCQQ, SITE_SET_KANDIAN, SITE_SET_QQ_MUSIC_GAME, SITE_SET_MOMENTS, SITE_SET_CHANNELS, SITE_SET_WECHAT_SEARCH, SITE_SET_WECHAT_PLUGIN, SITE_SET_QBSEARCH, SITE_SET_SEARCH_SCENE }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">ecom_pkam_switch</span></p>
</td>
<td>enum</td>
<td>一方人群跑量加强开关状态,<a href="https://developers.e.qq.com/v3.0/docs/enums#ecom_pkam_switch" target="_blank">[枚举详情]</a><br>可选值:{ ECOM_PKAM_SWITCH_CLOSE, ECOM_PKAM_SWITCH_OPEN }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">forward_link_assist</span></p>
</td>
<td>enum</td>
<td>助攻行为目标,<a href="https://developers.e.qq.com/v3.0/docs/enums#api_optimization_goal" target="_blank">[枚举详情]</a><br>可选值:{ OPTIMIZATIONGOAL_NONE, OPTIMIZATIONGOAL_BRAND_CONVERSION, OPTIMIZATIONGOAL_FOLLOW, OPTIMIZATIONGOAL_CLICK, OPTIMIZATIONGOAL_IMPRESSION, OPTIMIZATIONGOAL_APP_DOWNLOAD, OPTIMIZATIONGOAL_APP_ACTIVATE, OPTIMIZATIONGOAL_APP_REGISTER, OPTIMIZATIONGOAL_ONE_DAY_RETENTION, OPTIMIZATIONGOAL_APP_PURCHASE, OPTIMIZATIONGOAL_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT, OPTIMIZATIONGOAL_LEADS, OPTIMIZATIONGOAL_ECOMMERCE_CART, OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE, OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE, OPTIMIZATIONGOAL_ONLINE_CONSULTATION, OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION, OPTIMIZATIONGOAL_PAGE_RESERVATION, OPTIMIZATIONGOAL_DELIVERY, OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW, OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW, OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT, OPTIMIZATIONGOAL_APPLY, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE, OPTIMIZATIONGOAL_LEADS_COLLECT, OPTIMIZATIONGOAL_FIRST_PURCHASE, OPTIMIZATIONGOAL_PRE_CREDIT, OPTIMIZATIONGOAL_CREDIT, OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE, OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE, OPTIMIZATIONGOAL_CANVAS_CLICK, OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER, OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST, OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION, OPTIMIZATIONGOAL_PAGE_RECEIPT, OPTIMIZATIONGOAL_PAGE_SCAN_CODE, OPTIMIZATIONGOAL_SELECT_COURSE, OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE, OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME, OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT, OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD, OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS, OPTIMIZATIONGOAL_RESERVATION, OPTIMIZATIONGOAL_FIRST_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_LIKE, OPTIMIZATIONGOAL_ADD_DESKTOP, OPTIMIZATIONGOAL_EXTERNAL_LINK_CLICK, OPTIMIZATIONGOAL_BUY_COUPONS, OPTIMIZATIONGOAL_LEAVE_INFORMATION, OPTIMIZATIONGOAL_CORE_ACTION, OPTIMIZATIONGOAL_ONE_DAY_RETENTION_RATIO, OPTIMIZATIONGOAL_PROMOTION_READ_ARTICLE, OPTIMIZATIONGOAL_FIRST_TWENTY_FOUR_HOUR_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ECOMMERCE_SCANCODE_WX, OPTIMIZATIONGOAL_MOBILE_APP_SEVEN_DAYS_RETENTION, OPTIMIZATIONGOAL_CLASS_PARTICIPATED, OPTIMIZATIONGOAL_INSURANCE_PURCHASE, OPTIMIZATIONGOAL_RESERVATION_CHECK, OPTIMIZATIONGOAL_OPEN_ACCOUNT, OPTIMIZATIONGOAL_SEVEN_DAY_ECOMMERCE_ORDER, OPTIMIZATIONGOAL_ADD_WECHAT, OPTIMIZATIONGOAL_WECOM_CONSULT, OPTIMIZATIONGOAL_ADD_GROUP, OPTIMIZATIONGOAL_QUICK_ORDER, OPTIMIZATIONGOAL_PRE_PAY, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_ACTIVE_ONE_MSG, OPTIMIZATIONGOAL_CALL_DURATION_THIRTY_SECONDS, OPTIMIZATIONGOAL_CLAIM_COURSE, OPTIMIZATIONGOAL_QUIT_GROUP, OPTIMIZATIONGOAL_VIEW_ACQUISITION_CONTENT, OPTIMIZATIONGOAL_BACK_FLOW, OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT_THREE_MSG, OPTIMIZATIONGOAL_RENEWAL, OPTIMIZATIONGOAL_LOW_PRICE_COURSE, OPTIMIZATIONGOAL_CONSULT_INTENTION, OPTIMIZATIONGOAL_EVERY_DAY_RETENTION, OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE_UV, OPTIMIZATIONGOAL_LIVE_STREAM_DURATION_1MIN, OPTIMIZATIONGOAL_LIVE_STREAM_INTERACTION, OPTIMIZATIONGOAL_ECOMMERCE_CANCEL_ORDER, OPTIMIZATIONGOAL_CLICK_LEADS_COMPONENT, OPTIMIZATIONGOAL_REGULAR_PRICE_COURSE, OPTIMIZATIONGOAL_VISIT_STROE, OPTIMIZATIONGOAL_EFFECTIVE_ENTRY, OPTIMIZATIONGOAL_CREDIT_RATIO, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_DEAL, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_PRODUCT_CLICK, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_AUDIENCE, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_COMMENT, OPTIMIZATIONGOAL_QYT_LIVE_STREAM_FANS, OPTIMIZATIONGOAL_24H_FIRSTPAY, OPTIMIZATIONGOAL_STORE_STAY, OPTIMIZATIONGOAL_LOW_PRICE_INSURANCE_PAYMENT, OPTIMIZATIONGOAL_UNDERWRITING, OPTIMIZATIONGOAL_FIRST_WITHDRAW, OPTIMIZATIONGOAL_BRIDGING_COURSE_COMPLETED }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">rta_id</span></p>
</td>
<td>integer</td>
<td>RTA 客户 id</td>
</tr><tr class="">
<td class="">
<p><span class="flex">rta_target_id</span></p>
</td>
<td>string</td>
<td>RTA 策略 id<br>字段长度最小 0 字节,长度最大 512 字节</td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">mpa_spec</span></p>
</td>
<td>struct</td>
<td>动态商品广告属性,当广告形态为动态商品广告时,该字段必填</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">recommend_method_ids</span></p>
</td>
<td>integer[]</td>
<td>动态创意广告的商品推荐方式,有使用权限的推荐方式 id,当广告形态为动态创意广告时,该字段必填,如填写多个推荐方式,需确保推荐方式的父节点为同一个<br>数组最小长度 1,最大长度 16</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">product_catalog_id</span></p>
</td>
<td>string</td>
<td>商品库 id</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">product_series_id</span></p>
</td>
<td>string</td>
<td>商品集合 id</td>
</tr><tr class="">
<td class="">
<p><span class="flex">cost_constraint_scene</span></p>
</td>
<td>enum</td>
<td>成本控制场景,<a href="https://developers.e.qq.com/v3.0/docs/enums#cost_constraint_scene" target="_blank">[枚举详情]</a><br>可选值:{ COST_CONSTRAINT_SCENE_OPEN }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">custom_cost_cap</span></p>
</td>
<td>integer</td>
<td>用户输入的成本上限,上限值范围为 0-20000 元<br>最小值 0,最大值 2000000</td>
</tr><tr class="">
<td class="">
<p><span class="flex">feedback_id</span></p>
</td>
<td>integer</td>
<td>监测链接组 id,监测链接组在 DataNexus 中维护</td>
</tr><tr class="">
<td class="">
<p><span class="flex">short_play_pay_type</span></p>
</td>
<td>enum</td>
<td>售卖方式类型,售卖方式类型,仅部分行业灰度开放,如需使用可联系您的运营接口同学,<a href="https://developers.e.qq.com/v3.0/docs/enums#short_play_pay_type" target="_blank">[枚举详情]</a><br>可选值:{ SHORT_PLAY_PAY_TYPE_UNKNOWN, SHORT_PLAY_PAY_TYPE_FREE_PLAY, SHORT_PLAY_PAY_TYPE_CHARGE_PLAY }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">sell_strategy_id</span></p>
</td>
<td>integer</td>
<td>售卖策略 id,售卖策略 id,售卖方式为付费类型(short_play_pay_type=SHORT_PLAY_PAY_TYPE_CHARGE_PLAY)时,必填。可通过 landing_page_sell_strategy/get 接口查询</td>
</tr><tr class="">
<td class="">
<p><span class="flex">dynamic_ad_type</span></p>
</td>
<td>enum</td>
<td>动态广告类型,当前仅支持设置为 DCA 动态内容广告类型,该广告设置后不可修改,广告读取时非动态广告无法读取该字段,创建创意时仅支持自定义创意的投放模式,当前功能灰度放中仅部分客户可用,如有问题可联系您的客户运营,<a href="https://developers.e.qq.com/v3.0/docs/enums#dynamic_ad_type" target="_blank">[枚举详情]</a><br>可选值:{ DYNAMIC_AD_TYPE_DYNAMIC_CONTENT }</td>
</tr><tr class="">
<td class="">
<p><span class="flex">conversion_link_asset_id</span></p>
</td>
<td>integer</td>
<td>营销链路 id,OCPX 出价场景下,为广告绑定的营销的链路,使用链路之后不需要再传入 conversion_id</td>
</tr><tr class="">
<td class="">
<p><span class="flex">og_completion_type</span></p>
</td>
<td>enum</td>
<td>达成类型,仅在优化目标组合为双目标下单+下单 ROI 的中使用,<a href="https://developers.e.qq.com/v3.0/docs/enums#og_completion_type" target="_blank">[枚举详情]</a><br>可选值:{ OG_COMPLETION_TYPE_UNKNOWN, OG_COMPLETION_TYPE_ENSURE_DEEP, OG_COMPLETION_TYPE_PERSONALIZATION_ENSURE_SHALLOW_OPTIMIZE_DEEP }</td>
</tr><tr class="">
<td class="level-one">
<p><i class="icon mkt-icon-folded"></i><span class="flex">cloud_union_spec</span></p>
</td>
<td>struct</td>
<td></td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">roi_goal</span></p>
</td>
<td>enum</td>
<td>优化 ROI 目标,枚举列表:<a href="https://developers.e.qq.com/v3.0/docs/enums#api_deep_conversion_worth_goal" target="_blank">[枚举详情]</a><br>可选值:{ GOAL_7DAY_PURCHASE_ROAS, GOAL_30DAY_ORDER_ROAS, GOAL_1DAY_PURCHASE_ROAS, GOAL_1DAY_MONETIZATION_ROAS, GOAL_7DAY_MONETIZATION_ROAS, GOAL_7DAY_RETENTION_TIMES, GOAL_7DAY_LONGTERM_PURCHASE_ROAS, GOAL_14DAY_LONGTERM_PURCHASE_ROAS, GOAL_30DAY_LONGTERM_PURCHASE_ROAS, GOAL_QYT_7DAY_LIVE_STREAM_DEAL_ROAS, GOAL_WITHDRAW_DEPOSITS_ROAS }</td>
</tr><tr class="hidd isShown">
<td class="level-two">
<p><i class="icon mkt-icon-tdn"></i><span class="flex">expected_roi<span class="must">*</span></span></p>
</td>
<td>float</td>
<td>深度优化价值效果值<br>最小值 0,最大值 1000,最多保留 3 位小数</td>
</tr><tr class="">
<td class="">
<p><span class="flex">enable_breakthrough_siteset</span></p>
</td>
<td>boolean</td>
<td>是否支持版位突破,广告版位选择“微信朋友圈”,当广告有机会获得更多曝光与转化时,将可能投放到微信公众号与小程序版位<br>可选值:{ true, false }</td>
</tr></div></div>
}

4、llm输出

result = {
"account_id": "account_id",
"adgroup_name": "adgroup_name",
"marketing_goal": "marketing_goal",
"marketing_sub_goal": "marketing_sub_goal",
"marketing_carrier_type": "marketing_carrier_type",
"marketing_carrier_detail": {
"marketing_carrier_id": "marketing_carrier_id",
"marketing_sub_carrier_id": "marketing_sub_carrier_id",
"marketing_carrier_name": "marketing_carrier_name"
},
"begin_date": "begin_date",
"end_date": "end_date",
"first_day_begin_time": "first_day_begin_time",
"bid_amount": "bid_amount",
"optimization_goal": "optimization_goal",
"time_series": "time_series",
"automatic_site_enabled": "automatic_site_enabled",
"site_set": ["site1", "site2"],
"daily_budget": "daily_budget",
"targeting": {
"geo_location": {
"location_types": ["location1"],
"regions": ["region1"],
"business_districts": ["district1"],
"custom_locations": [
{"longitude": 120.0, "latitude": 30.0, "radius": 500}
],
"geo_location_auto_audience": true
},
"gender": ["MALE"],
"age": {"min": 18, "max": 66},
"education": ["BACHELOR"],
"app_install_status": ["INSTALLED"],
"marital_status": ["SINGLE"],
"excluded_converted_audience": {
"excluded_dimension": "excluded_dimension",
"conversion_behavior_list": ["conversion1"]
},
"custom_audience": ["custom1"],
"excluded_custom_audience": ["excluded1"],
"device_brand_model": {
"included_list": ["device1"],
"excluded_list": ["excluded1"]
},
"user_os": ["ANDROID"],
"network_type": ["WIFI"],
"device_price": ["PRICE_1500LESS"],
"wechat_ad_behavior": {
"actions": ["WECHAT_OFFICIALACCOUNTFOLLOWED"],
"excluded_actions": ["WECHATOFFICIALACCOUNTFOLLOWED"]
},
"game_consumption_level": ["HIGH"],
"excluded_os": ["IOS"],
"scene_spec":{
"mobileunion":["MOBILEUNIONINWECHAT"],
"excludemobileunion":["MOBILEUNIONINWECHAT"],
"tencentnews":["TENCENTNEWSAPP"],
"displayscene":["DISPLAYSCENEBANNER"],
"wechatscene":{
"officialaccountmediacategory":["category1"],
"miniprogramandminigame":["game1"],
"payscene":["scene1"]
},
"mobileunioncategory":["category1"],
"qbsearchscene":["QBSEARCHSCENEMOBILE"]
},
"useractionsets":[{
"type":"USERACTIONSETTYPEWEB",
"id":"useractionsetid",
"datasourceid":"datasourceid"
}],
// ... other targeting settings ...
},
// ... other ad group settings ...
}
进程已结束,退出代码0
评论
用户头像