diff --git a/api/ClipboardContentParse.php b/api/ClipboardContentParse.php index 149621de00ead52070642be30babf2908e12ef72..f3f0a164cde1d490c0435a80e8db9a499e4b190b 100644 --- a/api/ClipboardContentParse.php +++ b/api/ClipboardContentParse.php @@ -36,6 +36,31 @@ class ClipboardContentParse extends DtkClient */ protected $JdPid; + /** + * @var String 京东推广位id + */ + protected $jdPositionId; + + /** + * @var String 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;格式为: {"uid":"11111","sid":"22222"} 其中 uid 用户唯一标识,可自行加密后传入,每个用户仅且对应一个标识,必填; sid 上下文信息标识,例如sessionId等,非必填。该json字符串中也可以加入其他自定义的key。(如果使用GET请求,请使用URLEncode处理参数) + */ + protected $customerParameters; + + /** + * @var Number 平台的淘宝授权id(获取地址:https://www.dataoke.com/shouquan?type=1&auth_id=1),如果传入了该参数则必须填写对应淘宝联盟授权账号的pid(2/24新增字段) + */ + protected $tbAuthId; + + /** + * @var Number 平台的京东授权id(获取地址:https://www.dataoke.com/shouquan?type=2),如果传入了该参数则必须填写对应京东联盟授权账号的pid(2/24新增字段) + */ + protected $jdAuthId; + + /** + * @var Number 平台的拼多多授权id(获取地址:https://www.dataoke.com/shouquan?type=3),如果传入了该参数则必须填写对应多多进宝授权账号的pid(2/24新增字段) + */ + protected $pddAuthId; + /** * @var String 拼多多联盟pid */ @@ -57,7 +82,7 @@ class ClipboardContentParse extends DtkClient */ public function getParamsField() { - return ['content', 'TbPid', 'TbChannelId', 'JdUnionId', 'JdPid', 'customerParameters']; + return ['content', 'TbPid', 'TbChannelId', 'JdUnionId', 'JdPid', 'jdPositionId', 'PddPid', 'customerParameters', 'tbAuthId', 'jdAuthId', 'pddAuthId']; } /** diff --git a/api/GetCreateTlj.php b/api/GetCreateTlj.php index e5ee089f536a0c3453238b073d91aeb23289a45c..b7e412d5b0651842af9e2099eb8144ff9cc1f36e 100644 --- a/api/GetCreateTlj.php +++ b/api/GetCreateTlj.php @@ -36,6 +36,7 @@ class GetCreateTlj extends DtkClient protected $useEndTimeMode; protected $useStartTime; protected $userEndTime; + protected $authId;//平台的淘宝授权id(获取地址:https://www.dataoke.com/shouquan?type=1&auth_id=1),如果传入了该参数则必须填写对应淘宝联盟授权账号的pid*(2/24新增字段)* protected $methodType = 'GET'; protected $requestParams = []; @@ -57,7 +58,7 @@ class GetCreateTlj extends DtkClient public function getParamsField() { return ['alimamaAppKey','alimamaAppSecret','name','itemId','pid','campaignType','perFace','totalNum', - 'winNumLimit','sendStartTime','sendEndTime','useEndTimeMode','useStartTime','userEndTime']; + 'winNumLimit','sendStartTime','sendEndTime','useEndTimeMode','useStartTime','userEndTime','authId']; } /**