Google Ads Apps Script - get all conversion value

788 views
Skip to first unread message

Jackie Jones

unread,
May 14, 2021, 3:56:15 AM5/14/21
to Google Ads Scripts Forum

Hello,

it's possible to get "all conversion value" from Google Ads (for every user in my manager account), with Apps Script usage?

Something like get impressions (https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_stats#getImpressions_0).

Below code which I am using to get Impressions:

    var account = accountIterator.next(); 
        var accountToCheck = account.getStatsFor(todayDateString, todayDateString); 
        var impressions = accountToCheck.getImpressions();

Google Ads Scripts Forum Advisor

unread,
May 14, 2021, 5:49:34 AM5/14/21
to adwords...@googlegroups.com
Hi Jackie,

Thanks for reaching out. I am Harry from the Google Ads Scripts Team.

The ConversionValue metric is currently not available through the Stats entity. However, a feature request has already been filed for this in the past so allow me to make a follow up on your behalf. However, please do note that all requests are not guaranteed to be supported soon in the Google Ads Scripts. In the meantime, please follow our blog for updates and new releases.

On the other hand, you may opt to write a script that retrieves Reports instead. The Account Performance Report offers the ConversionValue that is aggregated at the account level (also for other fields) which would suit your use case. Here are examples that you can take a look at: Let me know if you have questions or other concerns.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2HAt0M:ref
Reply all
Reply to author
Forward
0 new messages