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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.