|
@@ -144,11 +144,13 @@ public class AiBytedanceAdvertiserStrategyServiceImpl extends ServiceImpl<AiByte
|
|
adDplinkInfoService.save(adDplinkInfo);
|
|
adDplinkInfoService.save(adDplinkInfo);
|
|
//3:创建创意
|
|
//3:创建创意
|
|
JSONObject creativeParams = getCreativeParams(strategy,adId,video,token);
|
|
JSONObject creativeParams = getCreativeParams(strategy,adId,video,token);
|
|
|
|
+ log.info("创意创建参数:{}",creativeParams);
|
|
JSONObject creativeObject = marketingService.creativeCreate(token,adId,creativeParams);
|
|
JSONObject creativeObject = marketingService.creativeCreate(token,adId,creativeParams);
|
|
if(null!=creativeObject.getInteger("code")&&creativeObject.getInteger("code")!=0){
|
|
if(null!=creativeObject.getInteger("code")&&creativeObject.getInteger("code")!=0){
|
|
String message = creativeObject.getString("message");
|
|
String message = creativeObject.getString("message");
|
|
|
|
+ Integer code = creativeObject.getInteger("code");
|
|
//创建创意失败
|
|
//创建创意失败
|
|
- log.info("创意创建失败:message==>{}",message);
|
|
|
|
|
|
+ log.info("创意创建失败:code==>{};message==>{}",code,message);
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
videoCnt --;
|
|
videoCnt --;
|