Access denied: DriveApp.

2,114 views
Skip to first unread message

Irem Ogut

unread,
May 30, 2014, 8:26:31 PM5/30/14
to adwords...@googlegroups.com
Hello
When I am trying to Keyword Performance script provided by Google on our MCC I keep getting the Access Denied error for this line;
 var rootFolder = DriveApp.getFolderById('Reports');

Is there a specific way to let the folder access the app? I authorized the script before running it too.

Irem Ogut

unread,
Jun 2, 2014, 6:19:50 PM6/2/14
to adwords...@googlegroups.com
Any ideas about this issue? This has been an issue for me for all of the scripts that I am trying.
Thanks

Anash Oommen

unread,
Jun 9, 2014, 6:51:44 AM6/9/14
to adwords...@googlegroups.com
Hi Irem,

Is the folder shared with the login email of the MCC under which you are running the script?

Cheers,
Anash P. Oommen,
AdWords Scripts Team.

Irem Ogut

unread,
Jul 26, 2014, 8:46:33 PM7/26/14
to adwords...@googlegroups.com
Hi 
Yes it is shared. In fact the Drive that contains the folder is the same login name with my adwords login however it still produces the same error.

Anash Oommen

unread,
Jul 28, 2014, 3:07:35 PM7/28/14
to adwords...@googlegroups.com
Hi Irem,

Could you please reply to author and provide your script name and customer id? I can take a look.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.
Reply all
Reply to author
Forward
0 new messages