hpk 1 год назад
Родитель
Сommit
d2dbd8e24a

+ 24 - 4
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/entity/BytedanceCdpProject.java

@@ -152,13 +152,24 @@ public class BytedanceCdpProject {
     private String deliveryMode;
     private String bidType;
     private String deepExternalAction;
-    private String deepBidType ;
+    private String deepBidType;
     private Double bid;
-    private Double cpaBid ;
-    private Double deepCpabid ;
+    private Double cpaBid;
+    private Double deepCpabid;
     private Double searchBidRatio;
     private Double roiGoal;
 
+    private String budgetOptimizeSwitch;
+    private String audience;
+    private String scheduleType;
+    private String budgetMode;
+    private String budget;
+    private String aigcDynamicCreativeSwitch;
+    private String scheduleTime;
+    private String status;
+    private String statusFirst;
+    private String statusSecond;
+
 
     /**
      * 创建时间
@@ -171,7 +182,6 @@ public class BytedanceCdpProject {
      */
     //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     //private Date updateTime;
-
     public BytedanceCdpProject() {
     }
 
@@ -222,6 +232,16 @@ public class BytedanceCdpProject {
             this.cpaBid = deliverySetting.getDouble("cpa_bid");
             this.deepCpabid = deliverySetting.getDouble("deep_cpabid");
             this.roiGoal = deliverySetting.getDouble("roi_goal");
+            this.budgetOptimizeSwitch = deliverySetting.getString("budget_optimize_switch");
+            this.scheduleType = deliverySetting.getString("schedule_type");
+            this.budgetMode = deliverySetting.getString("budget_mode");
+            this.budget = deliverySetting.getString("budget");
+            this.scheduleTime = deliverySetting.getString("schedule_time");
         }
+        this.audience = o.getString("audience");
+        this.aigcDynamicCreativeSwitch = o.getString("aigc_dynamic_creative_switch");
+        this.status = o.getString("status");
+        this.statusFirst = o.getString("status_first");
+        this.statusSecond = o.getString("status_second");
     }
 }

+ 1 - 0
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/impl/BytedanceCdpProjectServiceImpl.java

@@ -149,6 +149,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
         entity.put("advertiser_id", advertiserId);
         JSONObject promotionMaterials = entity.getJSONObject("promotion_materials");
         if (!Check.isNull(promotionMaterials)) {
+            entity.put("external_url_material_list", promotionMaterials.getString("external_url_material_list"));
             entity.put("playlet_series_url_list", promotionMaterials.getString("playlet_series_url_list"));
             JSONObject miniProgramInfo = promotionMaterials.getJSONObject("mini_program_info");
             if (!Check.isNull(miniProgramInfo)) {