Error: “This app is blocked”

If you are reading this, you’ve probably hit the big plus-sign (button) to create a new Google Ads Script, copy-pasted some code, tried to save it, and then…


This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

this app is blocked - google ads scripts error
this app is blocked – google ads scripts error

 

The ‘this app is blocked’ pop-up is a bug on Google’s side and they say they are working on it (source: Google Ads Script forum, Oct 23, 2023). So, hopefully, the issue will be fixed soon.

Here are three ways to get around the issue in the meantime:

(If you don’t know how to install and run Google Ads Scripts yet, check out my guide on how to install Google Ads Scripts.)

SOLUTION 1:
Find the ‘Advanced’ link in the pop-up, click it, and then click “Go to Test (unsafe)”.
NB: It’s not unsafe unless you run scripts that are unsafe.

If you cannot find the link, or this isn’t working for you, move on to

SOLUTION 2:
Try authorizing the script with a different user account that has access to the Google Ads account (or create a new user for this purpose).

If this also isn’t working for you, move on to

SOLUTION 3:
Fix access restrictions in your Google Workspace:
Go into admin.google.com > API Controls > Google services > add ‘Apps Script Runtime’ (set to unrestricted)

If this also isn’t working for you, move on to

SOLUTION 4:
re-use an old script you’ve already authorized and don’t use anymore and replace the old code with your new code.

Happy Scripting!

PS: I have read that for some people, logging in to a new incognito browser did the trick. Can’t conform, but worth the try? Please let me know if this works for you.

 

So appreciative of you for sending this tip! I've been stuck trying to add a script to a new client's account and I finally got it to work. Thank you!

Kelsey Malkowski, PPC Consultant at Clicks by K- Franklin, Wisconsin

Nils Rooijmans
2023-11-14T16:59:22+00:00

Kelsey Malkowski, PPC Consultant at Clicks by K- Franklin, Wisconsin

So appreciative of you for sending this tip! I've been stuck trying to add a script to a new client's account and I finally got it to work. Thank you!
0
0
Nils Rooijmans

Join thousands of PPC geeks who already have access:

If the button above isn’t working for you, you can sign up here to get access.