Hi, This script works fine for me, could you use the "Reply to author" option to send me the customer id and script name in case you are still facing issues? Also, it would be helpful if you can post Scripts questions on https://groups.google.com/forum/#!forum/adwords-scripts in the future.
Cheers, Anash P. Oommen, AdWords API Team. On Thursday, July 31, 2014 2:24:37 AM UTC-4, aw...@payoff.com wrote: > > Hi - I'm troubleshooting a query and not quite sure what is wrong with it. > Thoughts? > > function main() { > var spreadsheet = SpreadsheetApp.create("Ad_Performance"); > var report = AdWordsApp.report( > 'select Date, Clicks from AD_PERFORMANCE_REPORT during LAST_7_DAYS'); > report.exportToSheet(spreadsheet.getActiveSheet()); > } > > So I can run the query just fine in AWQL.me but it doesn't work in Adwords > Scripts. I get the error "Invalid reporting query. (line 8)" > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. For more options, visit https://groups.google.com/d/optout.