|
@@ -801,8 +801,10 @@ public class MarketingServiceImpl implements MarketingService{
|
|
|
params.put("cpa_bid", strategy.getAdCpaBid());
|
|
|
//params.put("bid", strategy.getAdCpaBid());
|
|
|
params = Check.jsonRemoveEmpty(params);
|
|
|
+ System.out.println(params.toJSONString());
|
|
|
JSONObject jsonObject = HttpUtils.bytedancePostRequest(token.getAccessToken(),
|
|
|
urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update"), params);
|
|
|
+ System.out.println(jsonObject.toJSONString());
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
if (null == code || !code.equals(0)) {
|
|
|
log.error("广告计划修改失败==》accountId:{},message:{}", token.getAccountId(), jsonObject.getString("message"));
|