|
|
@@ -116,7 +116,7 @@ public class marketing {
|
|
|
params.put("offset", "0");
|
|
|
params.put("limit", "100");
|
|
|
JSONObject jsonObject = HttpUtils.bytedanceGetRequest(token.getAccessToken(),
|
|
|
- PropertiesUtils.getValue("bytedance_config", "bytedance_v2_dmp_custom_audience_select"),
|
|
|
+ urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_dmp_custom_audience_select"),
|
|
|
params);
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
String message = jsonObject.getString("message");
|
|
|
@@ -150,7 +150,7 @@ public class marketing {
|
|
|
//广告创意ID
|
|
|
params.put("creative_ids", creativeIds);
|
|
|
JSONObject jsonObject = HttpUtils.bytedanceGetRequest(token.getAccessToken(),
|
|
|
- PropertiesUtils.getValue("bytedance_config", "bytedance_v2_create_reject_reason"),
|
|
|
+ urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_create_reject_reason"),
|
|
|
params);
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
String message = jsonObject.getString("message");
|
|
|
@@ -582,7 +582,7 @@ public class marketing {
|
|
|
params.put("advertiser_id", advertiserId);
|
|
|
params.put("data", listMap);
|
|
|
JSONObject jsonObject = HttpUtils.bytedancePostRequest(token.getAccessToken(),
|
|
|
- PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_bid"), params);
|
|
|
+ urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_bid"), params);
|
|
|
int code = jsonObject.getInteger("code");
|
|
|
if (code != 0) {
|
|
|
log.info("修改计划出价接口异常==》accountId:{},message:{}", token.getAccountId(), jsonObject.getString("message"));
|
|
|
@@ -608,7 +608,7 @@ public class marketing {
|
|
|
params.put("advertiser_id", advertiserId);
|
|
|
params.put("data", listMap);
|
|
|
JSONObject jsonObject = HttpUtils.bytedancePostRequest(token.getAccessToken(),
|
|
|
- PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_budget_plan"), params);
|
|
|
+ urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_budget_plan"), params);
|
|
|
int code = jsonObject.getInteger("code");
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
if (code != 0) {
|