Hi,
I created a simple Ads Script last week that records offline conversions via bulk uploads. The data source was a spreadsheet. I successfully created a number of upload previews with the script until I was confident the it works fine. The previews contained expected errors due to the fact that I was not using valid GCLIDs in the spreadsheet, but at that stage my goal was to simply verify that the uploads do get created.
The problem is, when I came back to this script today I found that it is no longer creating uploads. Neither upload.preview() nor upload.apply() works. The script finishes successfully, but when I go to Tools > Bulk Actions > Uploads, there are no new uploads at all. Naturally, I did check that my date range is set to "All time".
I also tried to strip my script down to the simplest version possible to make sure it is not something in my code that I overlooked (although I knew it already worked last week):
function main() {
var columns = [
"Google Click Id", "Conversion Name", "Conversion Time", "Conversion Value", "Conversion Currency"
];
var upload = AdsApp.bulkUploads().newCsvUpload(columns, { timeZone: "0100" });
upload.append({
"Google Click Id": "
12345678910",
"Conversion Name": "Test conversion",
"Conversion Time": "08/05/2019 12:00:00",
"Conversion Value": 1,
"Conversion Currency": "USD"
});
upload.forOfflineConversions();
upload.preview();
}
Again, the issue is NOT that this throws back any errors. But rather, that the upload preview is never created in the first place.
I tried it on at least 3 accounts in different MCCs with the same result.
I also tried a manual upload in the Ads interface via the official template, and that resulted in the "No header row was found for this spreadsheet" error.
I wonder if it could be a new issue on Google's end?
Uploads for campaign management (campaigns, ad groups, ads, etc.) still work fine, both via scripts and manually.
Thanks,
Gabor