var file = DriveApp.getFilesByName("BulkCampaignUpload.csv")
.next();
var upload = AdsApp.bulkUploads().newFileUpload(file);
upload.forCampaignManagement();
upload.preview();Hi Michael,
Thank you for reaching out to us.
I understand that you're trying to use the bulk upload script to upload a CSV template. However, could you elaborate on what you're trying to accomplish with the script so we could further assist you? In addition, you may also refer to these sample codes using the bulk upload.
Regards,
Markie
Google Ads Scripts Team
Hi Michael,
Thank you for getting back to me.
You can follow this guide when using the bulk upload. Looking on your updated script, I can see that you're still using the preview method. To apply these changes, you can call the upload.apply() method. Once everything is set, you can then schedule the script to run daily by following the steps below:
Hope this helps.