Every time I run this script in Google AdWords account (for my PPC campaign), it creates report (spreadsheet) and save it on my google drive.
I would like to save spreadsheet file to specific subfolder on my google drive. I found the article which describes how to save spreadsheet to specific folder. But I don't know how edit this script and use it. Article describing this function is here:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwords...@googlegroups.com
Hi Peter,
You could do something like this:
var subFolder =DriveApp.getFoldersByName("subfolder").next(); var myFile =DriveApp.getFilesByName("my_report").next(); var oldParent = myFile.getParents().next();