get conversion attributed campaigns and dates

52 views
Skip to first unread message

Igor Gazdarica

unread,
Mar 1, 2024, 4:19:42 AM3/1/24
to Google Ads API and AdWords API Forum
Is there a way, how can I determine the date and campaigns to which today's Google Ads conversion was attributed?

Google Ads API Forum Advisor

unread,
Mar 1, 2024, 9:49:32 AM3/1/24
to gazd...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you need information regarding segments.date and campaigns for the uploaded conversions. 

Kindly note that you can report on conversions in the Google Ads API by retrieving data about specific conversion actions, or retrieving conversion metrics. I would recommend you to check this documentation on Conversion reporting for more information.

 You can use the below query to get the conversions metrics and date filter by today from the campaign resource:

Query: "SELECT campaign.name, campaign_budget.amount_micros, campaign.status, campaign.optimization_score, campaign.advertising_channel_type, metrics.clicks, metrics.impressions, metrics.ctr, metrics.average_cpc, metrics.cost_micros, campaign.bidding_strategy_type, metrics.interactions, metrics.interaction_rate, metrics.average_cost, campaign.id, metrics.active_view_ctr, metrics.active_view_cpm, metrics.average_cpm, metrics.active_view_impressions, metrics.all_conversions_from_interactions_rate, metrics.all_conversions, metrics.conversions, metrics.conversions_value, metrics.cost_per_conversion, segments.date FROM campaign WHERE segments.date DURING TODAY"

You can try making a request using the Method: customers.googleAds.search.

Also, you can use Query Builder to create your query and Query Validator to validate your query.

Kindly follow the below steps to filter by "Custom" option in the Google Ads account:
  1. Login in to your Google Ads account 
  2. Go to Tools and settings > then conversions 
  3. Click on the 'Custom' option in the top right corner of the page
  4. Select your desired start and end dates using the calendar interface
  5. Click on 'Apply' to save your changes
 Also, you may check the Filtering guide to filter by date ranges. I hope this helps. Let us know if you have any further queries. 
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rzani:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages