Critical data not being returned

95 views
Skip to first unread message

Anders Klixbull

unread,
Nov 19, 2024, 2:12:58 AM11/19/24
to Google Ads API and AdWords API Forum
Hello,

Im trying desperately to get campaign asset data, it is critical that we can pull it from the api, but the api does not return any asset metrics.
I am currently using V17 and according to documtation this data should be available.

Is there an issue regarding pulling this data? Are we forced to use google ads website to fetch it manually?

Best regards,
Anders Klixbull
Message has been deleted

Google Ads API Forum Advisor

unread,
Nov 19, 2024, 7:27:55 AM11/19/24
to adwor...@googlegroups.com

Hi Anders,

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

By reviewing your query, I understand that you want to retrieve the campaign asset data through the API but the API doesn’t return any metrics. Kindly note that it’s possible to retrieve the campaign asset data through the API. 

Here’s a sample query to retrieve the campaign_asset data. You can add any additional fields you require:

"SELECT campaign.id, asset.youtube_video_asset.youtube_video_title, asset.youtube_video_asset.youtube_video_id, asset.type, campaign_asset.resource_name, campaign_asset.status, campaign_asset.field_type, campaign_asset.campaign, metrics.video_views, metrics.all_conversions, metrics.clicks, metrics.ctr, metrics.impressions, metrics.phone_calls, asset.name, asset.location_asset.place_id, asset.final_urls FROM campaign_asset WHERE campaign.id = XXXXXXXXXX"

You can try making a request using the Search or SearchStream by passing the customer Id. Also, you can use Query Builder to create your query and Query Validator to validate your query.

If this is not what you are referring to, kindly provide us with the uncropped UI screenshot, highlighting the specific fields you want to retrieve from the campaign asset through the API along with the corresponding campaign ID?

You can send the details via Reply privately to the author option, or direct private reply to this email.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGkzv:ref" (ADR-00276030)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 

 



Anders Klixbull

unread,
Nov 19, 2024, 7:52:23 AM11/19/24
to Google Ads API and AdWords API Forum
Hello,

Thank you for your reply!

Yes this is exactly the data I would like to pull, still not getting data with that query.
I have sent you detailed tracelog via reply to author.

Thank you in advance,
Anders
Reply all
Reply to author
Forward
0 new messages