|
@@ -1035,6 +1035,97 @@
|
|
使用创意轮播,系统将平分各创意展现机会,便于广告主比较各创意投放效果
|
|
使用创意轮播,系统将平分各创意展现机会,便于广告主比较各创意投放效果
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-else-if="configForm.checkboxChangeValue.length === 1 && configForm.checkboxChangeValue[0] === 'INVENTORY_AWEME_FEED'">
|
|
|
|
+ <a-form-model-item label="创意内容">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeImageMode" button-style="solid" @change="handleChangeCreativeType">
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO_VERTICAL">竖版视频</a-radio-button>
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO" :disabled="pictureStatus">横版视频</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="创意组件" prop="componentId" key="componentIdkey"
|
|
|
|
+ v-if="configForm.creativeImageMode!='CREATIVE_IMAGE_MODE_LARGE'&&configForm.creativeImageMode!='CREATIVE_IMAGE_MODE_LARGE_VERTICAL'&&configForm.adverPosition != 'a'">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入创意组件"
|
|
|
|
+ v-model="configForm.componentId"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="行动号召" prop="creativeActionText" key="SPLASH_VIDEO_ONE">
|
|
|
|
+ <a-select
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ v-model="configForm.creativeActionText"
|
|
|
|
+ >
|
|
|
|
+ <a-select-option
|
|
|
|
+ v-for="(item, index) in creativeOptions"
|
|
|
|
+ :key="index + 1"
|
|
|
|
+ :value="item"
|
|
|
|
+ >
|
|
|
|
+ {{ item }}
|
|
|
|
+ </a-select-option>
|
|
|
|
+ </a-select>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="来源" :prop="getSource">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入来源"
|
|
|
|
+ v-model="configForm.creativeSource"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'&&configForm.adverPosition != 'a'" label="应用名" prop="creativeAppName" key="creativeAppName26">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入应用名"
|
|
|
|
+ v-model="configForm.creativeAppName"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL' && platformLoadingType === 'APP_ANDROID'" label="副标题">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入副标题"
|
|
|
|
+ v-model="configForm.creativeSubTitle"
|
|
|
|
+ allow-clear
|
|
|
|
+ @blur="handleCreativeSubTitleBlur"
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <div v-if="subTitleMsgStatus" style="width: 500px;color: #f00;margin-left: 140px">{{ subTitleMsg }}</div>
|
|
|
|
+ <a-form-model-item label="自动生成视频素材">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeIsPresentedVideo" button-style="solid">
|
|
|
|
+ <a-radio-button :value="0">不启用</a-radio-button>
|
|
|
|
+ <a-radio-button :value="1">启用</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <!-- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="最优创意衍生计划">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeGenerateDerivedAd" button-style="solid">
|
|
|
|
+ <a-radio-button :value="0">不启用</a-radio-button>
|
|
|
|
+ <a-radio-button :value="1">启用</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item> -->
|
|
|
|
+ <a-form-model-item label="广告评论">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeIsCommentDisable" button-style="solid">
|
|
|
|
+ <a-radio-button :value="1">关闭</a-radio-button>
|
|
|
|
+ <a-radio-button :value="0">开启</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="广告语数量">
|
|
|
|
+ <a-input-number
|
|
|
|
+ :max="10"
|
|
|
|
+ :min="1"
|
|
|
|
+ v-model="configForm.copywritingNumber"
|
|
|
|
+ :precision="0"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ >
|
|
|
|
+ </a-input-number>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="客户端下载视频">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeDownloadStatus" button-style="solid">
|
|
|
|
+ <a-radio-button :value="1">关闭</a-radio-button>
|
|
|
|
+ <a-radio-button :value="0">开启</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ </div>
|
|
<div v-else>
|
|
<div v-else>
|
|
<a-form-model-item label="创意内容">
|
|
<a-form-model-item label="创意内容">
|
|
<a-radio-group v-model="configForm.creativeImageMode" button-style="solid" @change="handleChangeCreativeType">
|
|
<a-radio-group v-model="configForm.creativeImageMode" button-style="solid" @change="handleChangeCreativeType">
|
|
@@ -2109,6 +2200,7 @@ export default {
|
|
NewCheckboxChangeValue(newVal) {
|
|
NewCheckboxChangeValue(newVal) {
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
let selectiveListUpdate = [...this.selectiveList];
|
|
let selectiveListUpdate = [...this.selectiveList];
|
|
|
|
+ this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
if (newVal.length) {
|
|
if (newVal.length) {
|
|
if (newVal.includes('INVENTORY_AWEME_FEED')) {
|
|
if (newVal.includes('INVENTORY_AWEME_FEED')) {
|
|
this.isTAwemeStatus = true;
|
|
this.isTAwemeStatus = true;
|
|
@@ -2376,7 +2468,7 @@ export default {
|
|
handleGetAdAudiencePackage() {
|
|
handleGetAdAudiencePackage() {
|
|
const params = {
|
|
const params = {
|
|
accountId: this.configForm.accountId,
|
|
accountId: this.configForm.accountId,
|
|
- landingType: this.platformLoadingType
|
|
|
|
|
|
+ // landingType: this.platformLoadingType
|
|
};
|
|
};
|
|
getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', params)
|
|
getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', params)
|
|
.then(result => {
|
|
.then(result => {
|
|
@@ -2389,12 +2481,12 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
- if (this.configForm.checkboxChangeValue.length === 1 && this.configForm.checkboxChangeValue[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
- this.selectiveList = defaultList.filter(item => item.delivery_range === 'UNION');
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
|
|
+ // if (this.configForm.checkboxChangeValue.length === 1 && this.configForm.checkboxChangeValue[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
+ // this.selectiveList = defaultList.filter(item => item.delivery_range === 'UNION');
|
|
|
|
+ // }
|
|
|
|
+ // else {
|
|
this.selectiveList = defaultList;
|
|
this.selectiveList = defaultList;
|
|
- }
|
|
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.$message.error(result.message);
|
|
this.$message.error(result.message);
|
|
@@ -2720,17 +2812,17 @@ export default {
|
|
this.editPackage().then(res=>{
|
|
this.editPackage().then(res=>{
|
|
if (detailData.adAudiencePackageId&&res!='') {
|
|
if (detailData.adAudiencePackageId&&res!='') {
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
- getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', {accountId: detailData.accountId,landingType: res})
|
|
|
|
|
|
+ getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', {accountId: detailData.accountId})
|
|
.then(result => {
|
|
.then(result => {
|
|
if (result.code === 0) {
|
|
if (result.code === 0) {
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
let checkboxChangeValueList = detailData.creativeInventoryType ? detailData.creativeInventoryType.split(',') : [];
|
|
let checkboxChangeValueList = detailData.creativeInventoryType ? detailData.creativeInventoryType.split(',') : [];
|
|
- if (checkboxChangeValueList.length === 1 && checkboxChangeValueList[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
- this.selectiveList = result.result.filter(item => item.delivery_range === 'UNION');
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
|
|
+ // if (checkboxChangeValueList.length === 1 && checkboxChangeValueList[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
+ // this.selectiveList = result.result.filter(item => item.delivery_range === 'UNION');
|
|
|
|
+ // }
|
|
|
|
+ // else {
|
|
this.selectiveList = result.result || [];
|
|
this.selectiveList = result.result || [];
|
|
- }
|
|
|
|
|
|
+ // }
|
|
this.configForm.adAudiencePackageId = Number(detailData.adAudiencePackageId);
|
|
this.configForm.adAudiencePackageId = Number(detailData.adAudiencePackageId);
|
|
this.handleSelectiveOrientation(Number(detailData.adAudiencePackageId));
|
|
this.handleSelectiveOrientation(Number(detailData.adAudiencePackageId));
|
|
})
|
|
})
|