AdWords
2K members online now
2K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me
star_border
Reply

Invalid reporting query: ACCOUNT_PERFORMANC from the mcc script

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I was trying to move my script from the accout level to the mcc level,

 

I added few lines about choosing account by its IDs,

but when I run the  script,

 

I get the error: 

 

Invalid reporting query: ACCOUNT_PERFORMANCE_REPORT.

 

As I said, the script runs fine in the specific account,

but I'm willing to move my scripts from the account levev to the mcc level.

 

Please advise 

Invalid reporting query: ACCOUNT_PERFORMANC from the mcc script

Follower ✭ ☆ ☆
# 2
Follower ✭ ☆ ☆

Hello,


Can you please show your query.

Invalid reporting query: ACCOUNT_PERFORMANC from the mcc script

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

I get en error:

Invalid reporting query: ACCOUNT_PERFORMANCE_REPORT. (line 76)

 

inline 76 there is: 

var report = AdWordsApp.report(
"SELECT AveragePosition, AverageCpc " +
"FROM ACCOUNT_PERFORMANCE_REPORT " +
"DURING LAST_7_DAYS");

 

var rows = report.rows();
while (rows.hasNext()) {
var row = rows.next();
var AVCPC = row["AverageCpc"];
var AVPOS = row["AveragePosition"];

}

Highlighted

Invalid reporting query: ACCOUNT_PERFORMANC from the mcc script

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Can someone help please?