查询优化目标权限

所属权限 ads_management
请求地址 optimization_goal_permissions/get
请求方法 GET

全局参数

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

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

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

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

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

nonce 随机字串标识,不超过 32 个字符,由调用方自行生成,需保证全局唯一性

请求参数

标有*的参数为必填项

名称 类型 描述
account_id*
integer 广告主帐号 id,有操作权限的帐号 id,不支持代理商 id
site_set*
enum[] 投放版位集合,[枚举详情]
数组最小长度 1,最大长度 255
可选值:{ SITE_SET_QZONE, SITE_SET_QQCLIENT, SITE_SET_MUSIC, SITE_SET_MOBILE_UNION, SITE_SET_KUAISHOU, SITE_SET_QQCOM, SITE_SET_WECHAT, SITE_SET_MOBILE_MYAPP, SITE_SET_MOBILE_INNER, SITE_SET_TENCENT_NEWS, SITE_SET_TENCENT_VIDEO, SITE_SET_TENCENT_KUAIBAO, SITE_SET_MOBILE_YYB, SITE_SET_PCQQ, SITE_SET_KANDIAN, SITE_SET_QQ_MUSIC_GAME, SITE_SET_MOMENTS, SITE_SET_MINI_GAME_WECHAT, SITE_SET_MINI_GAME_QQ, SITE_SET_MOBILE_GAME, SITE_SET_QQSHOPPING, SITE_SET_WECHAT_PLUGIN }
bid_mode
enum 出价方式,[枚举详情]
可选值:{ BID_MODE_OCPC, BID_MODE_OCPM }
marketing_goal*
enum 营销目的类型,[枚举详情]
可选值:{ MARKETING_GOAL_UNKNOWN, MARKETING_GOAL_USER_GROWTH, MARKETING_GOAL_PRODUCT_SALES, MARKETING_GOAL_LEAD_RETENTION, MARKETING_GOAL_BRAND_PROMOTION, MARKETING_GOAL_INCREASE_FANS_INTERACTION }
marketing_sub_goal*
enum 二级营销目的类型,[枚举详情]
可选值:{ 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 }
marketing_carrier_type*
enum 营销载体类型,[枚举详情]
可选值:{ 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, MARKETING_CARRIER_TYPE_APP_HARMONY }
marketing_target_type*
enum 推广产品类型,[枚举详情]
可选值:{ 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, MARKETING_TARGET_TYPE_WECHAT_STORE_PRODUCT, MARKETING_TARGET_TYPE_APP_HARMONY }
marketing_carrier_detail
struct 营销载体详情,当营销载体类型是 MARKETING_CARRIER_TYPE_APP_ANDROID、MARKETING_CARRIER_TYPE_APP_IOS 和 MARKETING_CARRIER_TYPE_WECHAT_MINI_GAME 等需要使用该结构体
marketing_carrier_id*
string 营销载体 id,如安卓应用 id、IOS 应用 id、小游戏 id 等
字段长度最小 0 字节,长度最大 2048 字节
marketing_sub_carrier_id
string 二级营销载体 id
marketing_carrier_name
string 营销载体名称

请求示例


curl -v -G 'https://api.e.qq.com/v3.0/optimization_goal_permissions/get?access_token=<ACCESS_TOKEN>&timestamp=<TIMESTAMP>&nonce=<NONCE>' \
-d 'account_id=<ACCOUNT_ID>' \
-d 'site_set=[
    "SITE_SET_CHANNELS",
    "SITE_SET_KANDIAN",
    "SITE_SET_MOBILE_UNION",
    "SITE_SET_MOMENTS",
    "SITE_SET_QQ_MUSIC_GAME",
    "SITE_SET_TENCENT_NEWS",
    "SITE_SET_TENCENT_VIDEO",
    "SITE_SET_WECHAT",
    "SITE_SET_WECHAT_PLUGIN"
]' \
-d 'marketing_goal=MARKETING_GOAL_USER_GROWTH' \
-d 'marketing_sub_goal=MARKETING_SUB_GOAL_PLATEAU_PHASE_LAUNCH' \
-d 'marketing_carrier_type=MARKETING_CARRIER_TYPE_APP_IOS' \
-d 'marketing_target_type=MARKETING_TARGET_TYPE_APP_IOS' \
-d 'marketing_carrier_detail={
    "marketing_carrier_id": "1000030000"
}' 
					

应答字段

名称 类型 描述
optimization_goal_permission_list
enum[] 浅层优化目标及对应支持的深度优化目标组合,[枚举详情]
deep_behavior_optimization_goal_permission_list
struct[] 浅层优化目标及对应支持的深度优化目标行为目标组合
optimization_goal
enum 广告优化目标类型,[枚举详情]
deep_behavior_optimization_goal_list
enum[] 对应支持的深度优化行为目标组合,[枚举详情]
deep_worth_optimization_goal_permission_list
struct[] 浅层优化目标及对应支持的深度优化 ROI 目标组合
optimization_goal
enum 广告优化目标类型,[枚举详情]
deep_worth_optimization_goal_list
enum[] 对应支持的深度优化 ROI 目标组合,[枚举详情]
deep_behavior_advanced_goal_permission_list
struct[] 浅层优化目标及对应支持的深度辅助目标组合
optimization_goal
enum 广告优化目标类型,[枚举详情]
deep_behavior_advanced_goal_list
enum[] 对应支持的深度辅助目标组合,[枚举详情]
deep_worth_advanced_goal_permission_list
struct[] 浅层优化目标及对应支持的深度辅助 ROI 组合
optimization_goal
enum 广告优化目标类型,[枚举详情]
deep_worth_advanced_goal_list
enum[] 对应支持的辅助 ROI 组合,[枚举详情]
forward_link_assist_permission_list
struct[] 浅层优化目标及对应支持的助攻行为目标组合
optimization_goal
enum 广告优化目标类型,[枚举详情]
forward_link_assist_list
enum[] 对应支持的助攻行为目标组合,[枚举详情]
conversion_link_og_info
struct[] 链路 og 对象集合
og
enum 广告优化目标类型,[枚举详情]
deep_og
enum 优化转化行为目标,枚举列表:[枚举详情]
deep_roi
enum 优化 ROI 目标,枚举列表:[枚举详情]
advanced_roi
enum 优化 ROI 目标,枚举列表:[枚举详情]
advanced_og
enum 深度辅助优化 OG 目标,枚举列表:[枚举详情]
forward_link_assist
enum 助攻行为目标,[枚举详情]

应答示例

{
    "code": 0,
    "message": "",
    "message_cn": "",
    "data": {
        "optimization_goal_permission_list": [
            "OPTIMIZATIONGOAL_PAGE_RESERVATION",
            "OPTIMIZATIONGOAL_FIRST_PURCHASE",
            "OPTIMIZATIONGOAL_APP_ACTIVATE",
            "OPTIMIZATIONGOAL_APP_REGISTER",
            "OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE",
            "OPTIMIZATIONGOAL_APP_PURCHASE",
            "OPTIMIZATIONGOAL_CORE_ACTION"
        ],
        "deep_behavior_optimization_goal_permission_list": [
            {
                "optimization_goal": "OPTIMIZATIONGOAL_APP_ACTIVATE",
                "deep_behavior_optimization_goal_list": [
                    "OPTIMIZATIONGOAL_ONE_DAY_RETENTION"
                ]
            },
            {
                "optimization_goal": "OPTIMIZATIONGOAL_APP_REGISTER",
                "deep_behavior_optimization_goal_list": [
                    "OPTIMIZATIONGOAL_FIRST_PURCHASE"
                ]
            }
        ]
    }
}

可视化调试工具