Hello,
Greetings from the Google Ads API Team.
With regards to your concern, can you please confirm if the sample GAQL query for the Google Ads API below is of help towards your concern?
Sample Query:
SELECT asset.youtube_video_asset.youtube_video_id, asset.youtube_video_asset.youtube_video_title, campaign.id, asset.image_asset.full_size.height_pixels, asset.image_asset.file_size, asset.image_asset.full_size.url, asset.image_asset.full_size.width_pixels, metrics.clicks, metrics.ctr, metrics.impressions, metrics.all_conversions_value FROM ad_group_ad_asset_view WHERE asset.id = <INSERT_ASSET_ID_HERE> AND campaign.id = <INSERT_CAMPAIGN_ID_HERE> AND segments.date BETWEEN 'YYYMMDD' AND 'YYYMMDD'
Please note that you may modify the fields present in the WHERE clause to query specific data, please refer to this query builder for more information(https://developers.google.com/google-ads/api/fields/v14/ad_group_ad_asset_view_query_builder).
I hope this information helps you.
Google Ads API Team |