Bug in new script experience: AdsApp.targeting().audiences() => SystemError

35 views
Skip to first unread message

Holger Schulz

unread,
Jun 22, 2022, 6:11:11 PM6/22/22
to Google Ads Scripts Forum
When I run this script
function main() {
  AdsManagerApp.select(AdsManagerApp.accounts().withIds(["123-456-789"]).get().next());
  var iter = AdsApp.targeting().audiences().get()
  while(iter.hasNext()) {
    var el = iter.next();
    Logger.log(el.getId()+" : "+el.getName());
  }
}



I get this output:
[...]
6/23/2022 12:00:18 AM    4444444444444 : Past buyers (Retail) (AdWords)
6/23/2022 12:00:18 AM    5555555555555 : All visitors (AdWords)
6/23/2022 12:00:18 AM    6666666666666 : All Converters
6/23/2022 12:00:18 AM    SystemError: Could not read from Google Ads
(Internal details: Expected key customers/11111111111/userLists/2222222222 to be present in cache after loading)
    at g (adsapp_compiled:265:50)
    at rj (adsapp_compiled:2342:40)
    at Pj (adsapp_compiled:2557:10)
    at Ws (adsapp_compiled:8732:18)
    at Ft.getName (adsapp_compiled:8989:15)
    at Object.<anonymous> (adsapp_compiled:18335:54)


Google Ads Scripts Forum Advisor

unread,
Jun 22, 2022, 9:58:01 PM6/22/22
to adwords...@googlegroups.com

Hi Holger,


Thanks for reaching out to the Google Ads Scripts.
 

So our team can better check this concern, could you provide the following?
 

  • CID.
  • Script Name.
  • Shareable links of your spreadsheet if applicable.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsscr...@google.com


Regards,

Google Logo
Darwin
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2bzIkB:ref

Google Ads Scripts Forum Advisor

unread,
Jun 23, 2022, 3:11:56 AM6/23/22
to adwords...@googlegroups.com

Hello Holger,

I’m James from the Google Ads scripts support team. Thank you for reaching out to us.

Can you please provide us with the following information below so that we can further investigate and troubleshoot?

  • Google Ads account ID / CID
  • Script name

Regards,

Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2bzIqJ:ref

Holger Schulz

unread,
Jun 24, 2022, 1:16:27 PM6/24/22
to Google Ads Scripts Forum
Hi James,

as always, please send me an email to which I can reply with the requested information. Unfortunately, I am not activated for "Reply to the author".

Thank you
        Holger

Google Ads Scripts Forum Advisor

unread,
Jun 27, 2022, 1:59:11 AM6/27/22
to adwords...@googlegroups.com
Hi Holger,

You can send the requested information on this email (googleadsscr...@google.com) instead, then let us know here once sent. Kindly include the link of the forum thread as well, so we would know where it came from.

Regards,
Google Logo
Teejay Wennie
Google Ads Scripts Team
 

 

ref:_00D1U1174p._5004Q2bzIqJ:ref
Reply all
Reply to author
Forward
0 new messages