Running Account Auditor´s script by Google Ads API

35 views
Skip to first unread message

Rodrigo Vazquez

unread,
Apr 30, 2019, 12:04:12 PM4/30/19
to Google Ads Scripts Forum

Hi,


I'm trying to execute (or schedule) an Adwords Script for Account Auditing.

I need to do this programatically from my own software.


Is it possible to connect to a given account, schedule or run a specific script and then fetch the results?


I'll try to explain what I'd love to do in the best scenario by describing this steps:


1- A third-party Adwords's user logs in into my web application.

2- This third-party user accepts to grant me access to manage his account with a Manager Account of my own.

3- My application automatically runs a pre-defined script to audit user account's campaigns.

4- When finished, user should see script's results on my application.



I just need to schedule/run/create a script for that user's Adwords account programmatically, so I don't have to do it manually.


Is it possible?

Thanks!

Rodrigo Vazquez

unread,
Apr 30, 2019, 12:04:12 PM4/30/19
to Google Ads Scripts Forum

googleadsscrip...@google.com

unread,
Apr 30, 2019, 3:04:40 PM4/30/19
to Rodrigo Vazquez via Google Ads Scripts Forum, Google Ads Scripts Forum
Hello,

At the moment, Ads scripts must be scheduled and run directly from the UI. 

Regarding:

2- This third-party user accepts to grant me access to manage his account with a Manager Account of my own

You can reach out to product support to see if there is a means to manage account access outside the UI. 

Ads scripts is capable of executing code that is stored/remotely in a text file using the eval() function.

One possible way to dynamically and remotely manage script's schedule is to have the script run hourly (the most frequent interval an Ads script can run on), and have the script reference a 'switch' from a remote document (e.g. a spreadsheet). Depending on the state of that remote switch the script can run or simply just stop.

Regards,
Matt
Google Ads Scripts Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_scripts
    https://developers.google.com/google-ads/scripts/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scripts+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/feef0d81-c547-4945-b682-91dab7c88d4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rodrigo Vazquez

unread,
May 2, 2019, 10:14:42 AM5/2/19
to Google Ads Scripts Forum
Matt, thank you very much for your answer.



El martes, 30 de abril de 2019, 16:04:40 (UTC-3), googleadsscripts-forumadvisor escribió:
Hello,

At the moment, Ads scripts must be scheduled and run directly from the UI. 

Regarding:

2- This third-party user accepts to grant me access to manage his account with a Manager Account of my own

You can reach out to product support to see if there is a means to manage account access outside the UI. 

Ads scripts is capable of executing code that is stored/remotely in a text file using the eval() function.

One possible way to dynamically and remotely manage script's schedule is to have the script run hourly (the most frequent interval an Ads script can run on), and have the script reference a 'switch' from a remote document (e.g. a spreadsheet). Depending on the state of that remote switch the script can run or simply just stop.

Regards,
Matt
Google Ads Scripts Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_scripts
    https://developers.google.com/google-ads/scripts/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Reply all
Reply to author
Forward
0 new messages