|
@@ -353,7 +353,6 @@ const CreateAd: React.FC = () => {
|
|
|
}
|
|
|
|
|
|
const submit = (props: { campaignName: string, count?: number }) => {
|
|
|
- console.log(111111, tableSelect);
|
|
|
let newQueryForm = JSON.parse(JSON.stringify(queryForm))
|
|
|
if (launchMode === 2) {
|
|
|
if (newQueryForm?.materials && Array.isArray(newQueryForm.materials) && newQueryForm?.texts && Array.isArray(newQueryForm?.texts)) {
|
|
@@ -422,6 +421,7 @@ const CreateAd: React.FC = () => {
|
|
|
})
|
|
|
if (params?.expandEnabled) {
|
|
|
params.sysAdgroup.expandEnabled = params?.expandEnabled
|
|
|
+ params.sysAdgroup.expandTargeting = []
|
|
|
}
|
|
|
if (params?.expandTargeting?.length > 0) {
|
|
|
params.sysAdgroup.expandTargeting = params?.expandTargeting
|