Callback function no longer has access to all accounts

68 views
Skip to first unread message

Thomas Dean

unread,
Apr 12, 2022, 11:46:28 AM4/12/22
to Google Ads Scripts Forum
Hello,

Hope you are well.

It seems to me like when using the new Google Ads scripts experience the callback function (run after parallel processing) is run as the last standard account (rather than the manager account) and so now only has access to that account (rather than to all of the standard accounts).

Is this intentional? Will it be reversed?

Illustrative script at 118-100-2255 called 'unexpected-behaviour-illustration' in case that helps.

Cheers,

Tom

Google Ads Scripts Forum Advisor

unread,
Apr 18, 2022, 2:15:41 AM4/18/22
to adwords...@googlegroups.com

Hello Tom,

I’m James, a member of the Google Ads scripts support team. Thank you for reaching out to us.

Can you please elaborate more of your concern so that we can have a clear understanding of your issue and can guide you accordingly? Also, kindly provide some screenshots that can help us in our investigation.

Regards,

Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2a2TQk:ref

Thomas Dean

unread,
Apr 19, 2022, 11:56:50 AM4/19/22
to Google Ads Scripts Forum
Hi James,

Thanks for your swift reply.

The callback function is the function run after the accounts are run in parallel. Previously this function was run as is the manager account where the script is being run was the selected account; now it is run as if the final account to be run was the selected account.

It seems like a pretty simple bug - sometimes which account is selected when the callback is run would not make any difference and I imagine that is why it evaded your testing.

I've attached a script which shows the behaviour and included a screenshot of the script and the logs below.

Cheers!

Tom

logs.pngscript.png

illustrativeScript.txt

Google Ads Scripts Forum Advisor

unread,
Apr 21, 2022, 3:07:43 AM4/21/22
to adwords...@googlegroups.com
Hi Thomas,

Thank you for providing a detailed context of the issue. As per checking, this has been raised to us by other users as well and it is currently under investigation. I'll update this thread the soonest the team provide their feedback.

Regards,
Google Logo
Teejay Wennie
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2a2TQk:ref

Thomas Dean

unread,
Apr 21, 2022, 11:09:32 AM4/21/22
to Google Ads Scripts Forum
Cheers  Teejay and James, if you could LMK when you learn more that would be great

Google Ads Scripts Forum Advisor

unread,
Apr 25, 2022, 4:00:29 AM4/25/22
to adwords...@googlegroups.com

Hello Thomas,

I received an update from the team and would like to inform you that we already fixed the issue with the ExecuteInParallel callback function. However, it may take a couple weeks for the fix to reach or be implemented in production. That said, we appreciate your continued patience on this and we would recommend to keep an eye on our blog for any update on this.

Regards,

Google Logo
James Howell
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2a2TQk:ref

Thomas Dean

unread,
Apr 26, 2022, 2:59:59 AM4/26/22
to Google Ads Scripts Forum
Ok great cheers James
Reply all
Reply to author
Forward
0 new messages