Lead cost from google ads api

85 views
Skip to first unread message

DAcc

unread,
Jul 20, 2020, 11:46:47 AM7/20/20
to AdWords API and Google Ads API Forum
Hi,

Is there any way to pull the cost of a given lead by either referencing the Campaign, GCLID, or anything else ?

Google Ads API Forum Advisor Prod

unread,
Jul 20, 2020, 2:56:23 PM7/20/20
to dh...@accelerize360.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out. Can you please share a screenshot of the Google Ads UI showing the value you'd like to retrieve?

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q22XZ0a:ref

DAcc

unread,
Jul 20, 2020, 7:18:54 PM7/20/20
to AdWords API and Google Ads API Forum

I'm not exactly sure what field that would be, but essentially I would like to calculate/get the cost of a lead pushed into salesforce. I know we store the values like GCLID and campaign name.. but I'm not sure how I would use that in a query to fetch the cost of a singular lead. 

Something like this example on the reporting section : 
SELECT
  campaign.name,
  campaign.status,
  segments.device,
  metrics.impressions,
  metrics.clicks,
  metrics.ctr,
  metrics.average_cpc,
  metrics.cost_micros
FROM campaign
WHERE segments.date DURING LAST_30_DAYS


Is there maybe a list of fields / examples of such queries?

Google Ads API Forum Advisor Prod

unread,
Jul 21, 2020, 10:54:33 AM7/21/20
to dh...@accelerize360.com, adwor...@googlegroups.com
Hi,

You can get the list of GCLIDs using the Click View Report but unfortunately there's no way to get the cost for each individual click. However, you can use the metrics.average_cpc metric in the Campaign Report to get the average cost per click. I have created a feature request on your behalf so please keep an eye on our Developer Blog for information on future releases.

Samir Sabri

unread,
Nov 8, 2020, 4:17:59 AM11/8/20
to AdWords API and Google Ads API Forum
Hello adsapiforumadvisor

Is there any update on getting the cost for each individual click? I am not sure if I missed it at developer blog.

Thank you

Google Ads API Forum Advisor Prod

unread,
Nov 9, 2020, 10:19:49 AM11/9/20
to as3...@gmail.com, adwor...@googlegroups.com

Hi Samir,

This feature is still not available in the API.

Regards,
Anthony
Google Ads API Team
 

Google Logo
Anthony Madrigal
Google Ads API Team
 


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