|
@@ -1095,14 +1095,17 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
|
targetJsonObject.put("filter_converted_level", strategy.getFilterConvertedLevel());
|
|
|
}
|
|
|
}
|
|
|
- JSONArray appInterest = JSONArray.parseArray(strategy.getAppInterest());
|
|
|
- if (!Check.isNull(appInterest)) {
|
|
|
- targetJsonObject.put("app_interest", appInterest);
|
|
|
- }
|
|
|
+
|
|
|
// APP行为-按APP名称
|
|
|
- JSONArray appIds = JSONArray.parseArray(strategy.getAppIds());
|
|
|
- if (!Check.isNull(appIds)) {
|
|
|
- targetJsonObject.put("app_ids", appIds);
|
|
|
+ if (sceneId != 5) {
|
|
|
+ JSONArray appIds = JSONArray.parseArray(strategy.getAppIds());
|
|
|
+ if (!Check.isNull(appIds)) {
|
|
|
+ targetJsonObject.put("app_ids", appIds);
|
|
|
+ }
|
|
|
+ JSONArray appInterest = JSONArray.parseArray(strategy.getAppInterest());
|
|
|
+ if (!Check.isNull(appInterest)) {
|
|
|
+ targetJsonObject.put("app_interest", appInterest);
|
|
|
+ }
|
|
|
}
|
|
|
// 人群包定向
|
|
|
JSONArray populationString = JSONArray.parseArray(strategy.getPopulation());
|