|
@@ -380,7 +380,6 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
|
|
|
|
@Override
|
|
|
public void customCreativeSupplement(AiKuaishouAdvertiserStrategy strategy, Integer hour) throws ParseException {
|
|
|
-
|
|
|
Long customUnitCnt = strategy.getCustomUnitCnt();
|
|
|
if (Check.isNull(customUnitCnt)) {
|
|
|
Integer imageCnt = strategy.getImageCnt();
|
|
@@ -403,9 +402,11 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
|
remindCnt = this.autoCreateCreative(strategy, 3, remindCnt);
|
|
|
}
|
|
|
if (remindCnt >= 1) {
|
|
|
- log.info("{}组创建不足,剩余需要创建个数{},使用高质量素材创建", strategy.getAccountId(), remindCnt);
|
|
|
- //高质量素材
|
|
|
- remindCnt = this.autoCreateCreative(strategy, 2, remindCnt);
|
|
|
+ if (strategy.getHistoryTop() == 0) {
|
|
|
+ log.info("{}组创建不足,剩余需要创建个数{},使用高质量素材创建", strategy.getAccountId(), remindCnt);
|
|
|
+ //高质量素材
|
|
|
+ remindCnt = this.autoCreateCreative(strategy, 2, remindCnt);
|
|
|
+ }
|
|
|
}
|
|
|
if (remindCnt >= 1) {
|
|
|
//历史打捞素材
|
|
@@ -1097,8 +1098,6 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
private void createCreativeByImage(List<MaterialCutFrame> cutFrameList, CtopOauthToken token, JSONObject creativeParams,
|
|
|
Long campaignId, Long unitId, KuaiShouVideoGet videoItem,
|
|
|
int imageNumber, AiKuaishouAdvertiserStrategy strategy, String uuid, String appVersion) {
|