|
@@ -72,8 +72,8 @@ public class Test {
|
|
param.put("code","");
|
|
param.put("code","");
|
|
// param.put("account","guoyanling@c-top.com.cn");
|
|
// param.put("account","guoyanling@c-top.com.cn");
|
|
// param.put("password","Hcstad-567");
|
|
// param.put("password","Hcstad-567");
|
|
- param.put("account","dcd_ad@bytedance.com");
|
|
|
|
- param.put("password","typdDCD@2018");
|
|
|
|
|
|
+ param.put("account", "touxitouxi00075@bytedance.com");
|
|
|
|
+ param.put("password", "Youxi,2018");
|
|
param.put("captcha","hqde");
|
|
param.put("captcha","hqde");
|
|
param.put("is_30_days_no_login","true");
|
|
param.put("is_30_days_no_login","true");
|
|
param.put("service","https://ad.oceanengine.com");
|
|
param.put("service","https://ad.oceanengine.com");
|
|
@@ -116,7 +116,7 @@ public class Test {
|
|
}
|
|
}
|
|
|
|
|
|
webDriver.get("https://ad.oceanengine.com/pages/promotion.html#/ad");
|
|
webDriver.get("https://ad.oceanengine.com/pages/promotion.html#/ad");
|
|
-
|
|
|
|
|
|
+ Thread.sleep(10000);
|
|
webDriver.get("https://ad.oceanengine.com/pages/campaign/create.html");
|
|
webDriver.get("https://ad.oceanengine.com/pages/campaign/create.html");
|
|
// HttpUtils.httpGetRequest("https://ad.toutiao.com/pages/promotion.html#/ad");
|
|
// HttpUtils.httpGetRequest("https://ad.toutiao.com/pages/promotion.html#/ad");
|
|
// HttpUtils.httpGetRequest("https://ad.toutiao.com/pages/campaign/create.html");
|
|
// HttpUtils.httpGetRequest("https://ad.toutiao.com/pages/campaign/create.html");
|
|
@@ -126,7 +126,7 @@ public class Test {
|
|
param3.put("budget",0);
|
|
param3.put("budget",0);
|
|
param3.put("budget_mode",-1);
|
|
param3.put("budget_mode",-1);
|
|
param2.put("campaign_id","");
|
|
param2.put("campaign_id","");
|
|
- param2.put("campaign_name","自动创建测试4");
|
|
|
|
|
|
+ param2.put("campaign_name", "自动创建测试8");
|
|
param2.put("landing_type",3);
|
|
param2.put("landing_type",3);
|
|
param2.put("campaign_type",1);
|
|
param2.put("campaign_type",1);
|
|
param2.put("budget",param3);
|
|
param2.put("budget",param3);
|
|
@@ -192,8 +192,10 @@ public class Test {
|
|
param5.put("projectid","");
|
|
param5.put("projectid","");
|
|
param5.put("download_type",2);
|
|
param5.put("download_type",2);
|
|
param5.put("localGeolocation",new ArrayList<String>());
|
|
param5.put("localGeolocation",new ArrayList<String>());
|
|
- param5.put("external_url","https://ad.oceanengine.com/tetris/page/"+siteNode.get("data").get(0).get("siteId").asText());
|
|
|
|
- param5.put("convert_id",convNode.get("action_data").get(0).get("id").asLong());
|
|
|
|
|
|
+ param5.put("external_url", "https://ad.oceanengine.com/tetris/page/1");
|
|
|
|
+ param5.put("convert_id", 1);
|
|
|
|
+// param5.put("external_url","https://ad.oceanengine.com/tetris/page/"+siteNode.get("data").get(0).get("siteId").asText());
|
|
|
|
+// param5.put("convert_id",convNode.get("action_data").get(0).get("id").asLong());
|
|
param5.put("open_url","");
|
|
param5.put("open_url","");
|
|
param5.put("style_type",0);
|
|
param5.put("style_type",0);
|
|
param5.put("location_type",4);
|
|
param5.put("location_type",4);
|
|
@@ -222,7 +224,7 @@ public class Test {
|
|
param5.put("smart_bid_type",0);
|
|
param5.put("smart_bid_type",0);
|
|
param5.put("adjust_cpa",0);
|
|
param5.put("adjust_cpa",0);
|
|
param5.put("app_bid_ratio",new Object());
|
|
param5.put("app_bid_ratio",new Object());
|
|
- param5.put("name","自动创建测试4");
|
|
|
|
|
|
+ param5.put("name", "自动创建测试8");
|
|
param5.put("campaign_id",campaignId);
|
|
param5.put("campaign_id",campaignId);
|
|
String createResult = HttpUtils.httpPostRequest("https://ad.oceanengine.com/overture/ad/create/",param5,header);
|
|
String createResult = HttpUtils.httpPostRequest("https://ad.oceanengine.com/overture/ad/create/",param5,header);
|
|
System.out.println(createResult);
|
|
System.out.println(createResult);
|