How to get metrics data from keyword_view with Google Ads API?

41 views
Skip to first unread message

Gian Snow

unread,
Dec 9, 2020, 5:26:30 AM12/9/20
to AdWords API and Google Ads API Forum
Is it possible to get metrics data such as an impressions like keywords screen at Google Ads UI with ads API?
I tried to fetch them using the following query.
But, all metrics data were returned 0 although some data exist.

SELECT
  ad_group.status,
  ad_group.type,
  ad_group_criterion.ad_group,
  ad_group_criterion.age_range.type,
  ad_group_criterion.gender.type,
  ad_group_criterion.income_range.type,
  ad_group_criterion.parental_status.type,
  ad_group_criterion.keyword.match_type,
  ad_group_criterion.keyword.text,
  ad_group_criterion.negative,
  ad_group_criterion.topic.path,
  ad_group_criterion.type,
  ad_group_criterion.status,
  metrics.all_conversions,
  metrics.video_view_rate,
  metrics.video_views,
  metrics.impressions,
  metrics.cost_micros,
  metrics.cost_per_conversion,
  metrics.conversions_value,
  metrics.average_cpv
FROM keyword_view

Google Ads API Forum Advisor Prod

unread,
Dec 10, 2020, 12:06:20 PM12/10/20
to ysug...@gmail.com, adwor...@googlegroups.com

Hi Gian,

Thank you for reaching out. It might be that these metrics are from the Display Network and YouTube Network. Please give it a try to query the metrics from the display_keyword_view resource.

Thanks and regards,
Xiaoming, Google Ads API Team

 

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q28oYbN:ref

Gian Snow

unread,
Dec 10, 2020, 11:06:04 PM12/10/20
to AdWords API and Google Ads API Forum
Hi Xiaoming,

I've overlooked the display_keyword_view.
I could get what I want with it.

Thanks,
Gian

2020年12月11日金曜日 2:06:20 UTC+9 adsapiforumadvisor:
Reply all
Reply to author
Forward
0 new messages