The original campaign data has the same start date and end date:
{
"campaigns": [
{
"campaignId": "296750104888300",
"portfolioId": "57472928093112",
"endDate": "2024-08-03",
"name": "HFX3XL-sp-ewqrewtyury",
"targetingType": null,
"state": "ENABLED",
"dynamicBidding": null,
"startDate": "2024-08-03",
"budget": {
"budgetType": "DAILY",
"budget": 12.00
},
"tags": null
}
]
}
set the campaign endDate to null ,and the target data after modification is changed to have no end date,the param is :
{
"campaigns": [
{
"campaignId": "296750104888300",
"portfolioId": "57472928093112",
"endDate": null,
"name": "HFX3XL-sp-ewqrewtyury",
"targetingType": null,
"state": "ENABLED",
"dynamicBidding": null,
"startDate": "2024-08-03",
"budget": {
"budgetType": "DAILY",
"budget": 12.00
},
"tags": null
}
]
}
However, the API returns an error:
"Start date cannot be after end date."
The original campaign data has the same start date and end date: { "campaigns": [ { "campaignId": "296750104888300", "portfolioId": "57472928093112", "endDate": "2024-08-03", "name": "HFX3XL-sp-ewqrewtyury", "targetingType": null, "state": "ENABLED", "dynamicBidding": null, "startDate": "2024-08-03", "budget": { "budgetType": "DAILY", "budget": 12.00 }, "tags": null } ] }
set the campaign endDate to null ,and the target data after modification is changed to have no end date,the param is : { "campaigns": [ { "campaignId": "296750104888300", "portfolioId": "57472928093112", "endDate": null, "name": "HFX3XL-sp-ewqrewtyury", "targetingType": null, "state": "ENABLED", "dynamicBidding": null, "startDate": "2024-08-03", "budget": { "budgetType": "DAILY", "budget": 12.00 }, "tags": null } ] }
However, the API returns an error: "Start date cannot be after end date."