Hi,
I am using google ads script to create a Video campaign of bid strategy "Target CPM".
I use bulk CSV upload code to programmatically create the Video campaign.
Sample csv values :
{"Campaign":"NEW_BUMPER","Budget":"100.00","Bid Strategy type":"Target CPM","Campaign type":"Video","Campaign status":"PAUSED","Budget type":"Campaign Total","Campaign start date":"2025-04-03","Campaign end date":"2025-05-03","Networks":"YouTube videos"}
Code snippet to upload the csv values
function createCampaign(csvValues) {
try {
const csvMap = new Map(Object.entries(csvValues));
const columns = Array.from(csvMap.keys());
const upload = AdsApp.bulkUploads().newCsvUpload(columns);
upload.append(csvValues);
upload.forCampaignManagement();
upload.apply();
} catch (err) {
throw err
}
}
Error from the uploads tab : An error occurred. Please try again later.
Side note :
I have been creating these campaigns programmatically successfully since last September. In the last two weeks I also started creating "Manual CPV" bid strategy type campaign for truview ads and since March 27th "Target CPM" campaigns are no longer getting created on the platform with the above error. Manual CPV is still working.
Could someone please let me know if this is due to some caching of allowed bid strategy types at the google ads level? How do I go about fixing this issue?