Embed or JSON response from Ads Manager Scripts

16 views
Skip to first unread message

Lekhra

unread,
May 16, 2019, 9:16:13 PM5/16/19
to Google Ads Scripts Forum
Hi,

Ads Manager(MCC) Scripts This is great a feature is there a way to get this response in JSON, text using javascript? we need to embed this reporting data in one of our admin console.

Thank you,
Lekhraj

Google Ads Scripts Forum Advisor Prod

unread,
May 17, 2019, 4:00:41 AM5/17/19
to adwords...@googlegroups.com, adwords...@googlegroups.com
Hi Lekhraj,

Thanks for reaching out.

With regards to your question, the data retrieve by using the Google Ads scripts is already in JSON object. If you want to convert the data into a JSON text, you may try to implement the JSON.stringify() method.

Please let me know if you have further questions.

Regards,
Ejay
Google Ads Scripts Team

ref:_00D1U1174p._5001UApt8p:ref

Lekhra

unread,
May 17, 2019, 8:48:23 AM5/17/19
to Google Ads Scripts Forum
Hi Ejay,

First of all thank you for response, what I need to do is show this data on our websites admin panel so I am trying to find out a way to request this data from website something like google analytics javascript api. So I was wondering if there is a way to get this data on our website by using these scripts or using some javascript api without storing this data on drive or db and then displaying it?

Thank you,
Lekhraj

Google Ads Scripts Forum Advisor Prod

unread,
May 19, 2019, 11:38:38 PM5/19/19
to adwords...@googlegroups.com
Hi Lekhraj,

Thanks for adding details to your concern.

Unfortunately, it is currently not possible to directly fetch the returned data of Google Ads scripts methods to your website. What you may try to do is to implement the External Data Integration of the Google Ads Scripts such as JDBC for connecting to the database and use it to your website.

Please let me know if you have further questions/clarifications.

Lekhra

unread,
May 20, 2019, 11:23:42 AM5/20/19
to Google Ads Scripts Forum
Thank you for the information.
Reply all
Reply to author
Forward
0 new messages