Hi,
Thank you for reaching out to the Google Ads API support team.
Please find the following answers to your questions:
1. Can earned views and organic views be fetched via the Google Ads API? If yes, which resource/fields should I use?
Note that these fields Earned views and organic views are not yet supported in the
Google Ads API. I will raise a request for these to become available in the Google Ads API, however this is subject for review. So, I cannot provide a scheduled timeline for their availability in the API. I would recommend you to follow our
Blog Post and
Release Notes for future updates.
2. If not available in the Google Ads API, can these be retrieved using the YouTube Data API and mapped back to my ads?
We are not aware of the YouTube Data API that can retrieve earned views and organic views. Note that our team's scope is limited to technical queries and concerns related to the Google Ads API. Therefore, I would recommend that you reach out to the
YouTube Data API support team as they are better equipped to address your concern.
3. Are there any alternative methods to get these exact metrics through an API?
There are no alternative methods to get earned and organic views metrics via the Google Ads API.
To fetch the video views, cost etc, try the below sample GAQL query :
SELECT video.id, video.channel_id, metrics.video_views, metrics.video_view_rate, metrics.engagement_rate, metrics.cost_micros FROM video
Additionally, you can utilize the
Query Builder and
Query Validator to build and validate your queries. To retrieve Google Ads API entities and reporting data, you can use one of these methods like
GoogleAdsService.SearchStream or
GoogleAdsService.Search.
