Hi There, I use this below mentioned script for last month account performance and its successfully stored into the given spreedsheet URL, However,I'm trying to find out a way to receive a the report into my accounts as a .csv mail attachment or direct into the mail body I want this data.Please Help.
function main() { var spreadsheet = SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheetsurlname'); var report = AdWordsApp.report("Select MonthOfYear, Year, Cost, Impressions, Clicks, ConvertedClicks, Month from ACCOUNT_PERFORMANCE_REPORT during LAST_MONTH"); var sheet = spreadsheet.getActiveSheet(); report.exportToSheet(sheet); } Thanks in advance, Payel -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ab8554d4-6c6c-41d5-83db-638702d679e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.