|
@@ -268,51 +268,17 @@ public class ByteDanceAdvertisePlan {
|
|
this.auditRejectReason = auditRejectReason;
|
|
this.auditRejectReason = auditRejectReason;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_open_url_field = dataObject.getString("dpa_open_url_field");
|
|
|
|
-// if (null!=dpa_open_url_field&&!"".equals(dpa_open_url_field.trim())){
|
|
|
|
-// this.dpa =dpa_open_url_field;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String external_url_params = dataObject.getString("external_url_params");
|
|
|
|
-// if (null!=external_url_params&&!"".equals(external_url_params.trim())){
|
|
|
|
-// this.externalUrlParams =external_url_params;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String pricing = dataObject.getString("pricing");
|
|
String pricing = dataObject.getString("pricing");
|
|
if (null != pricing && !"".equals(pricing.trim())) {
|
|
if (null != pricing && !"".equals(pricing.trim())) {
|
|
this.pricing = pricing;
|
|
this.pricing = pricing;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_open_url_type = dataObject.getString("dpa_open_url_type");
|
|
|
|
-// if (null!=dpa_open_url_type&&!"".equals(dpa_open_url_type.trim())){
|
|
|
|
-// this.dpaOpenUrlType =dpa_open_url_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_categories = dataObject.getString("dpa_categories");
|
|
|
|
-// if (null!=dpa_categories&&!"".equals(dpa_categories.trim())){
|
|
|
|
-// this.dpaCategories =dpa_categories;
|
|
|
|
-// }
|
|
|
|
|
|
|
|
Integer hideIfExists = dataObject.getInteger("hide_if_exists");
|
|
Integer hideIfExists = dataObject.getInteger("hide_if_exists");
|
|
if (null != hideIfExists) {
|
|
if (null != hideIfExists) {
|
|
this.hideIfExists = hideIfExists;
|
|
this.hideIfExists = hideIfExists;
|
|
}
|
|
}
|
|
|
|
|
|
-// String open_url_params = dataObject.getString("open_url_params");
|
|
|
|
-// if (null!=open_url_params&&!"".equals(open_url_params.trim())){
|
|
|
|
-// this.openUrlParams =open_url_params;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_open_urls = dataObject.getString("dpa_open_urls");
|
|
|
|
-// if (null!=dpa_open_urls&&!"".equals(dpa_open_urls.trim())){
|
|
|
|
-// this.dpaOpenUrls =dpa_open_urls;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String deep_cpabid = dataObject.getString("deep_cpabid");
|
|
|
|
-// if (null!=deep_cpabid&&!"".equals(deep_cpabid.trim())){
|
|
|
|
-// this.deepCpaaid =deep_cpabid;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String appType = dataObject.getString("app_type");
|
|
String appType = dataObject.getString("app_type");
|
|
if (null != appType && !"".equals(appType.trim())) {
|
|
if (null != appType && !"".equals(appType.trim())) {
|
|
this.appType = appType;
|
|
this.appType = appType;
|
|
@@ -323,46 +289,12 @@ public class ByteDanceAdvertisePlan {
|
|
this.flowControlMode = flowControlMode;
|
|
this.flowControlMode = flowControlMode;
|
|
}
|
|
}
|
|
|
|
|
|
-// String union_video_type = dataObject.getString("union_video_type");
|
|
|
|
-// if (null!=union_video_type&&!"".equals(union_video_type.trim())){
|
|
|
|
-// this.unionVideoType =union_video_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String download_url = dataObject.getString("download_url");
|
|
|
|
-// if (null!=download_url&&!"".equals(download_url.trim())){
|
|
|
|
-// this.downloadUrl =download_url;
|
|
|
|
-// }
|
|
|
|
|
|
|
|
BigDecimal cpaBid = dataObject.getBigDecimal("cpa_bid");
|
|
BigDecimal cpaBid = dataObject.getBigDecimal("cpa_bid");
|
|
if (null != cpaBid) {
|
|
if (null != cpaBid) {
|
|
this.cpaBid = cpaBid;
|
|
this.cpaBid = cpaBid;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_products = dataObject.getString("dpa_products");
|
|
|
|
-// if (null!=dpa_products&&!"".equals(dpa_products.trim())){
|
|
|
|
-// this.dpaProducts =dpa_products;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String category_type = dataObject.getString("category_type");
|
|
|
|
-// if (null!=category_type&&!"".equals(category_type.trim())){
|
|
|
|
-// this.categoryType =category_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_external_url_field = dataObject.getString("dpa_external_url_field");
|
|
|
|
-// if (null!=dpa_external_url_field&&!"".equals(dpa_external_url_field.trim())){
|
|
|
|
-// this.dpaExternalUrlField =dpa_external_url_field;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String smart_bid_type = dataObject.getString("smart_bid_type");
|
|
|
|
-// if (null!=smart_bid_type&&!"".equals(smart_bid_type.trim())){
|
|
|
|
-// this.smartBidType =smart_bid_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_external_urls = dataObject.getString("dpa_external_urls");
|
|
|
|
-// if (null!=dpa_external_urls&&!"".equals(dpa_external_urls.trim())){
|
|
|
|
-// this.dpaExternalUrls =dpa_external_urls;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String startTime = dataObject.getString("start_time");
|
|
String startTime = dataObject.getString("start_time");
|
|
if (null != startTime && !"".equals(startTime.trim())) {
|
|
if (null != startTime && !"".equals(startTime.trim())) {
|
|
this.startTime = startTime;
|
|
this.startTime = startTime;
|
|
@@ -383,51 +315,16 @@ public class ByteDanceAdvertisePlan {
|
|
this.toutiaoStatus = status;
|
|
this.toutiaoStatus = status;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_product_target = dataObject.getString("dpa_product_target");
|
|
|
|
-// if (null!=dpa_product_target&&!"".equals(dpa_product_target.trim())){
|
|
|
|
-// this.dpaProductTarget =dpa_product_target;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// Long ad_id = dataObject.getLong("ad_id");
|
|
|
|
-// if (null!=ad_id){
|
|
|
|
-// this.openUrl =open_url;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
Long convertId = dataObject.getLong("convert_id");
|
|
Long convertId = dataObject.getLong("convert_id");
|
|
if (null != convertId) {
|
|
if (null != convertId) {
|
|
this.convertId = convertId;
|
|
this.convertId = convertId;
|
|
}
|
|
}
|
|
|
|
|
|
-// String adjust_cpa = dataObject.getString("adjust_cpa");
|
|
|
|
-// if (null!=adjust_cpa&&!"".equals(adjust_cpa.trim())){
|
|
|
|
-// this.adjustCpa =adjust_cpa;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
BigDecimal bid = dataObject.getBigDecimal("bid");
|
|
BigDecimal bid = dataObject.getBigDecimal("bid");
|
|
if (null != bid) {
|
|
if (null != bid) {
|
|
this.bid = bid;
|
|
this.bid = bid;
|
|
}
|
|
}
|
|
|
|
|
|
-// Long advertiser_id = dataObject.getLong("advertiser_id");
|
|
|
|
-// if (null!=advertiser_id){
|
|
|
|
-// this.asdasd =open_url;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String deep_bid_type = dataObject.getString("deep_bid_type");
|
|
|
|
-// if (null!=deep_bid_type&&!"".equals(deep_bid_type.trim())){
|
|
|
|
-// this.deepBidType =deep_bid_type;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// String dpa_adtype = dataObject.getString("dpa_adtype");
|
|
|
|
-// if (null!=dpa_adtype&&!"".equals(dpa_adtype.trim())){
|
|
|
|
-// this.dpaAdtype =dpa_adtype;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String external_actions = dataObject.getString("external_actions");
|
|
|
|
-// if (null!=external_actions&&!"".equals(external_actions.trim())){
|
|
|
|
-// this.externalActions =external_actions;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String hideIfConverted = dataObject.getString("hide_if_converted");
|
|
String hideIfConverted = dataObject.getString("hide_if_converted");
|
|
if (null != hideIfConverted && !"".equals(hideIfConverted.trim())) {
|
|
if (null != hideIfConverted && !"".equals(hideIfConverted.trim())) {
|
|
this.hideIfConverted = hideIfConverted;
|
|
this.hideIfConverted = hideIfConverted;
|
|
@@ -443,11 +340,6 @@ public class ByteDanceAdvertisePlan {
|
|
this.deliveryRange = deliveryRange;
|
|
this.deliveryRange = deliveryRange;
|
|
}
|
|
}
|
|
|
|
|
|
-// String params_type = dataObject.getString("params_type");
|
|
|
|
-// if (null!=params_type&&!"".equals(params_type.trim())){
|
|
|
|
-// this.paramsType =params_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
BigDecimal budget = dataObject.getBigDecimal("budget");
|
|
BigDecimal budget = dataObject.getBigDecimal("budget");
|
|
if (null != budget) {
|
|
if (null != budget) {
|
|
this.budget = budget;
|
|
this.budget = budget;
|
|
@@ -462,21 +354,6 @@ public class ByteDanceAdvertisePlan {
|
|
if (null != scheduleTime && !"".equals(scheduleTime.trim())) {
|
|
if (null != scheduleTime && !"".equals(scheduleTime.trim())) {
|
|
this.scheduleTime = scheduleTime;
|
|
this.scheduleTime = scheduleTime;
|
|
}
|
|
}
|
|
-//
|
|
|
|
-// String modify_time = dataObject.getString("modify_time");
|
|
|
|
-// if (null!=modify_time&&!"".equals(modify_time.trim())){
|
|
|
|
-// this.modifyTime =modify_time;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// String advertiser_store_ids = dataObject.getString("advertiser_store_ids");
|
|
|
|
-// if (null!=advertiser_store_ids&&!"".equals(advertiser_store_ids.trim())){
|
|
|
|
-// this.advertiserStoreIds =advertiser_store_ids;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String product_platform_id = dataObject.getString("product_platform_id");
|
|
|
|
-// if (null!=product_platform_id&&!"".equals(product_platform_id.trim())){
|
|
|
|
-// this.productPlatformId =product_platform_id;
|
|
|
|
-// }
|
|
|
|
|
|
|
|
String downloadType = dataObject.getString("download_type");
|
|
String downloadType = dataObject.getString("download_type");
|
|
if (null != downloadType && !"".equals(downloadType.trim())) {
|
|
if (null != downloadType && !"".equals(downloadType.trim())) {
|
|
@@ -531,51 +408,16 @@ public class ByteDanceAdvertisePlan {
|
|
this.auditRejectReason = auditRejectReason;
|
|
this.auditRejectReason = auditRejectReason;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_open_url_field = dataObject.getString("dpa_open_url_field");
|
|
|
|
-// if (null!=dpa_open_url_field&&!"".equals(dpa_open_url_field.trim())){
|
|
|
|
-// this.dpa =dpa_open_url_field;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String external_url_params = dataObject.getString("external_url_params");
|
|
|
|
-// if (null!=external_url_params&&!"".equals(external_url_params.trim())){
|
|
|
|
-// this.externalUrlParams =external_url_params;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String pricing = params.getString("pricing");
|
|
String pricing = params.getString("pricing");
|
|
if (null != pricing && !"".equals(pricing.trim())) {
|
|
if (null != pricing && !"".equals(pricing.trim())) {
|
|
this.pricing = pricing;
|
|
this.pricing = pricing;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_open_url_type = dataObject.getString("dpa_open_url_type");
|
|
|
|
-// if (null!=dpa_open_url_type&&!"".equals(dpa_open_url_type.trim())){
|
|
|
|
-// this.dpaOpenUrlType =dpa_open_url_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_categories = dataObject.getString("dpa_categories");
|
|
|
|
-// if (null!=dpa_categories&&!"".equals(dpa_categories.trim())){
|
|
|
|
-// this.dpaCategories =dpa_categories;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
Integer hideIfExists = params.getInteger("hide_if_exists");
|
|
Integer hideIfExists = params.getInteger("hide_if_exists");
|
|
if (null != hideIfExists) {
|
|
if (null != hideIfExists) {
|
|
this.hideIfExists = hideIfExists;
|
|
this.hideIfExists = hideIfExists;
|
|
}
|
|
}
|
|
|
|
|
|
-// String open_url_params = dataObject.getString("open_url_params");
|
|
|
|
-// if (null!=open_url_params&&!"".equals(open_url_params.trim())){
|
|
|
|
-// this.openUrlParams =open_url_params;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_open_urls = dataObject.getString("dpa_open_urls");
|
|
|
|
-// if (null!=dpa_open_urls&&!"".equals(dpa_open_urls.trim())){
|
|
|
|
-// this.dpaOpenUrls =dpa_open_urls;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String deep_cpabid = dataObject.getString("deep_cpabid");
|
|
|
|
-// if (null!=deep_cpabid&&!"".equals(deep_cpabid.trim())){
|
|
|
|
-// this.deepCpaaid =deep_cpabid;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String appType = params.getString("app_type");
|
|
String appType = params.getString("app_type");
|
|
if (null != appType && !"".equals(appType.trim())) {
|
|
if (null != appType && !"".equals(appType.trim())) {
|
|
this.appType = appType;
|
|
this.appType = appType;
|
|
@@ -586,46 +428,11 @@ public class ByteDanceAdvertisePlan {
|
|
this.flowControlMode = flowControlMode;
|
|
this.flowControlMode = flowControlMode;
|
|
}
|
|
}
|
|
|
|
|
|
-// String union_video_type = dataObject.getString("union_video_type");
|
|
|
|
-// if (null!=union_video_type&&!"".equals(union_video_type.trim())){
|
|
|
|
-// this.unionVideoType =union_video_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String download_url = dataObject.getString("download_url");
|
|
|
|
-// if (null!=download_url&&!"".equals(download_url.trim())){
|
|
|
|
-// this.downloadUrl =download_url;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
BigDecimal cpaBid = params.getBigDecimal("cpa_bid");
|
|
BigDecimal cpaBid = params.getBigDecimal("cpa_bid");
|
|
if (null != cpaBid) {
|
|
if (null != cpaBid) {
|
|
this.cpaBid = cpaBid;
|
|
this.cpaBid = cpaBid;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_products = dataObject.getString("dpa_products");
|
|
|
|
-// if (null!=dpa_products&&!"".equals(dpa_products.trim())){
|
|
|
|
-// this.dpaProducts =dpa_products;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String category_type = dataObject.getString("category_type");
|
|
|
|
-// if (null!=category_type&&!"".equals(category_type.trim())){
|
|
|
|
-// this.categoryType =category_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_external_url_field = dataObject.getString("dpa_external_url_field");
|
|
|
|
-// if (null!=dpa_external_url_field&&!"".equals(dpa_external_url_field.trim())){
|
|
|
|
-// this.dpaExternalUrlField =dpa_external_url_field;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String smart_bid_type = dataObject.getString("smart_bid_type");
|
|
|
|
-// if (null!=smart_bid_type&&!"".equals(smart_bid_type.trim())){
|
|
|
|
-// this.smartBidType =smart_bid_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String dpa_external_urls = dataObject.getString("dpa_external_urls");
|
|
|
|
-// if (null!=dpa_external_urls&&!"".equals(dpa_external_urls.trim())){
|
|
|
|
-// this.dpaExternalUrls =dpa_external_urls;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String startTime = params.getString("start_time");
|
|
String startTime = params.getString("start_time");
|
|
if (null != startTime && !"".equals(startTime.trim())) {
|
|
if (null != startTime && !"".equals(startTime.trim())) {
|
|
this.startTime = startTime;
|
|
this.startTime = startTime;
|
|
@@ -646,51 +453,16 @@ public class ByteDanceAdvertisePlan {
|
|
this.toutiaoStatus = status;
|
|
this.toutiaoStatus = status;
|
|
}
|
|
}
|
|
|
|
|
|
-// String dpa_product_target = dataObject.getString("dpa_product_target");
|
|
|
|
-// if (null!=dpa_product_target&&!"".equals(dpa_product_target.trim())){
|
|
|
|
-// this.dpaProductTarget =dpa_product_target;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// Long ad_id = dataObject.getLong("ad_id");
|
|
|
|
-// if (null!=ad_id){
|
|
|
|
-// this.openUrl =open_url;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
Long convertId = params.getLong("convert_id");
|
|
Long convertId = params.getLong("convert_id");
|
|
if (null != convertId) {
|
|
if (null != convertId) {
|
|
this.convertId = convertId;
|
|
this.convertId = convertId;
|
|
}
|
|
}
|
|
|
|
|
|
-// String adjust_cpa = dataObject.getString("adjust_cpa");
|
|
|
|
-// if (null!=adjust_cpa&&!"".equals(adjust_cpa.trim())){
|
|
|
|
-// this.adjustCpa =adjust_cpa;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
BigDecimal bid = params.getBigDecimal("bid");
|
|
BigDecimal bid = params.getBigDecimal("bid");
|
|
if (null != bid) {
|
|
if (null != bid) {
|
|
this.bid = bid;
|
|
this.bid = bid;
|
|
}
|
|
}
|
|
|
|
|
|
-// Long advertiser_id = dataObject.getLong("advertiser_id");
|
|
|
|
-// if (null!=advertiser_id){
|
|
|
|
-// this.asdasd =open_url;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String deep_bid_type = dataObject.getString("deep_bid_type");
|
|
|
|
-// if (null!=deep_bid_type&&!"".equals(deep_bid_type.trim())){
|
|
|
|
-// this.deepBidType =deep_bid_type;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// String dpa_adtype = dataObject.getString("dpa_adtype");
|
|
|
|
-// if (null!=dpa_adtype&&!"".equals(dpa_adtype.trim())){
|
|
|
|
-// this.dpaAdtype =dpa_adtype;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String external_actions = dataObject.getString("external_actions");
|
|
|
|
-// if (null!=external_actions&&!"".equals(external_actions.trim())){
|
|
|
|
-// this.externalActions =external_actions;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
String hideIfConverted = params.getString("hide_if_converted");
|
|
String hideIfConverted = params.getString("hide_if_converted");
|
|
if (null != hideIfConverted && !"".equals(hideIfConverted.trim())) {
|
|
if (null != hideIfConverted && !"".equals(hideIfConverted.trim())) {
|
|
this.hideIfConverted = hideIfConverted;
|
|
this.hideIfConverted = hideIfConverted;
|
|
@@ -706,11 +478,6 @@ public class ByteDanceAdvertisePlan {
|
|
this.deliveryRange = deliveryRange;
|
|
this.deliveryRange = deliveryRange;
|
|
}
|
|
}
|
|
|
|
|
|
-// String params_type = dataObject.getString("params_type");
|
|
|
|
-// if (null!=params_type&&!"".equals(params_type.trim())){
|
|
|
|
-// this.paramsType =params_type;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
BigDecimal budget = params.getBigDecimal("budget");
|
|
BigDecimal budget = params.getBigDecimal("budget");
|
|
if (null != budget) {
|
|
if (null != budget) {
|
|
this.budget = budget;
|
|
this.budget = budget;
|
|
@@ -725,21 +492,6 @@ public class ByteDanceAdvertisePlan {
|
|
if (null != scheduleTime && !"".equals(scheduleTime.trim())) {
|
|
if (null != scheduleTime && !"".equals(scheduleTime.trim())) {
|
|
this.scheduleTime = scheduleTime;
|
|
this.scheduleTime = scheduleTime;
|
|
}
|
|
}
|
|
-//
|
|
|
|
-// String modify_time = dataObject.getString("modify_time");
|
|
|
|
-// if (null!=modify_time&&!"".equals(modify_time.trim())){
|
|
|
|
-// this.modifyTime =modify_time;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// String advertiser_store_ids = dataObject.getString("advertiser_store_ids");
|
|
|
|
-// if (null!=advertiser_store_ids&&!"".equals(advertiser_store_ids.trim())){
|
|
|
|
-// this.advertiserStoreIds =advertiser_store_ids;
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// String product_platform_id = dataObject.getString("product_platform_id");
|
|
|
|
-// if (null!=product_platform_id&&!"".equals(product_platform_id.trim())){
|
|
|
|
-// this.productPlatformId =product_platform_id;
|
|
|
|
-// }
|
|
|
|
|
|
|
|
String downloadType = params.getString("download_type");
|
|
String downloadType = params.getString("download_type");
|
|
if (null != downloadType && !"".equals(downloadType.trim())) {
|
|
if (null != downloadType && !"".equals(downloadType.trim())) {
|