获取营销表达组合

所属权限 ads_management
请求地址 marketing_rules/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

请求示例


curl -v -G 'https://api.e.qq.com/v3.0/marketing_rules/get?access_token=<ACCESS_TOKEN>&timestamp=<TIMESTAMP>&nonce=<NONCE>' \
-d 'account_id=<ACCOUNT_ID>' 
					

应答字段

名称 类型 描述
marketing_rules
struct[]
marketing_goal
string 字符串类型
marketing_sub_goal
string 字符串类型
marketing_target_type
string 字符串类型
marketing_carrier_type
string 字符串类型

应答示例

{
    "code": 0,
    "message": "",
    "message_cn": "",
    "data": {
        "marketing_rules": []
    }
}

可视化调试工具