Wrong Image assets data

133 views
Skip to first unread message

Arun Kumar

unread,
Jan 9, 2025, 7:21:42 AM1/9/25
to Google Ads API and AdWords API Forum
Hi Team,

I'm trying to get the image asset data by using the resource name which i get from the ad_group_ad. and when I'm calling the GAQL query for getting asset details by resource name it showing some google stock image. then i try to get the result from asset by the url of the image added on the ad_group_ad assets (get by click on the image from google ad words) it still gives the data of the stock image as you can see in the attached image also attaching the image of the image link, and adwords ui of image assets.

Using this query 
SELECT asset.id, asset.name, asset.source, asset.text_asset.text, asset.type, asset.image_asset.full_size.url, customer.resource_name, asset.resource_name, customer.id, customer.status FROM asset WHERE asset.image_asset.full_size.url = 'https://tpc.googlesyndication.com/simgad/1431194053806836389'


Screenshot 2025-01-09 174904.png
Screenshot 2025-01-09 174951.png
Screenshot 2025-01-09 174513.png
Message has been deleted

Google Ads API Forum Advisor

unread,
Jan 9, 2025, 10:40:24 AM1/9/25
to arunkum...@gmail.com, adwor...@googlegroups.com
Hi,

Please ignore my previous response.

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

I would recommend you refer to the below given GAQL query to retrieve the image asset data by using the resource name via the Google Ads API:
SELECT asset.id, asset.name, asset.source, 
asset.image_asset.full_size.url, asset.resource_name, 
customer.id, customer.status, asset.image_asset.file_size, 
asset.image_asset.mime_type FROM asset WHERE 
asset.resource_name = 'customers/{customer_id}/assets/{asset_id}'
I hope this helps! If you still face any issues, kindly provide us with the uncropped UI screenshots by highlighting the image asset field that you want to retrieve via the Google Ads API.

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.!5004Q02vGu7Z:ref" (ADR-00283145)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 


Arun Kumar

unread,
Jan 10, 2025, 12:35:35 AM1/10/25
to Google Ads API and AdWords API Forum
I think you didn't get what i want to point out, asset is giving the wrong data of images, either i run the query with where resource_name or by directly putting the image url in the where condition as I mentioned in the my first query. Response comes as the Stock image, Have you checked at your end by passing the image url?


Also this issue is only comes on the Display Ads, I'm getting the data with below query, can you please check and verify that I'm using the right query to get the image assets data of a responsive display ad?


SELECT
                customer.id,
                customer.descriptive_name,
                customer.time_zone,
                campaign.name,
                campaign.id,
                campaign.start_date,
                campaign.end_date,
                campaign.serving_status,
                campaign.status,
                campaign.advertising_channel_type,
                campaign.experiment_type,
                campaign.listing_type,
                campaign.advertising_channel_sub_type,
                campaign.primary_status,
                campaign.primary_status_reasons,
                ad_group_ad.ad.local_ad.headlines,
                ad_group_ad.ad.final_urls,
                ad_group_ad.ad.text_ad.description1,
                ad_group_ad.ad.text_ad.description2,
                ad_group_ad.ad.local_ad.descriptions,
                ad_group_ad.ad.text_ad.headline,
                ad_group_ad.ad.id,
                ad_group_ad.ad.name,
                ad_group_ad.ad.resource_name,
                ad_group_ad.primary_status,
                ad_group_ad.status,
                ad_group_ad.ad.image_ad.image_asset.asset,
                ad_group_ad.ad.image_ad.image_url,
                ad_group_ad.ad.responsive_display_ad.descriptions,
                ad_group_ad.ad.responsive_display_ad.business_name,
                ad_group_ad.ad.responsive_display_ad.call_to_action_text,
                ad_group_ad.ad.responsive_display_ad.logo_images,
                ad_group_ad.ad.responsive_display_ad.marketing_images,
                ad_group_ad.ad.responsive_display_ad.square_logo_images,
                ad_group_ad.ad.responsive_display_ad.square_marketing_images,
                ad_group_ad.ad.responsive_display_ad.headlines,
                ad_group_ad.ad.responsive_display_ad.long_headline,
                ad_group_ad.ad.responsive_display_ad.price_prefix,
                ad_group_ad.ad.responsive_display_ad.main_color,
                ad_group_ad.ad.responsive_display_ad.format_setting,
                ad_group_ad.ad.responsive_display_ad.allow_flexible_color,
                ad_group_ad.ad.type,
                ad_group_ad.ad_group,
                ad_group_ad.ad_strength,
                ad_group_ad.resource_name,
                ad_group_ad.primary_status_reasons,
                ad_group_ad.action_items,
                campaign.end_date,
                campaign.bidding_strategy_type,
                campaign.bidding_strategy
                FROM
                ad_group_ad
                WHERE
                ad_group_ad.status != 'REMOVED'

Google Ads API Forum Advisor

unread,
Jan 10, 2025, 6:32:24 AM1/10/25
to arunkum...@gmail.com, adwor...@googlegroups.com
Hi,

Using the asset report, you won't be able to fetch the asset details of the display ad.

Currently Google Ads API does not support retrieving the image asset for display ads using the ad_group_ad_asset_view. I will raise a request to add this feature to become available in the Google Ads API. However, I cannot provide a scheduled timeline for its availability of this feature in the Google Ads API. So, I would recommend you to follow our blog post and release notes for future updates.

Also, the ad_group_ad_asset_view report, only supported Ads for AppAds and Responsive Search Ads. 

I hope this clarifies.  

Arun Kumar

unread,
Jan 12, 2025, 11:16:18 PM1/12/25
to Google Ads API and AdWords API Forum
Okay, Then let me know how can i fetch the details of image assets of display ads?

Google Ads API Forum Advisor

unread,
Jan 13, 2025, 3:38:06 AM1/13/25
to arunkum...@gmail.com, adwor...@googlegroups.com

Hi,

Currently, it is not possible to retrieve the image assets data of display ads via the API. However, we already raised a request to add this feature to become available in the Google Ads API. You can follow our blog post and release notes for future updates. 

Laura Whalen

unread,
Mar 7, 2025, 6:13:38 AM3/7/25
to Google Ads API and AdWords API Forum
To the Google Ads API Team,

I am also looking for this data. Any update on when this might be released?

Thanks,
Laura

Google Ads API Forum Advisor

unread,
Mar 7, 2025, 9:01:31 AM3/7/25
to la...@outshine.com, adwor...@googlegroups.com
Hi Laura,

The feature is not yet implemented in the Google Ads API. We cannot provide a scheduled timeline for the availability of this feature in the Google Ads API. With that being said, I would recommend you to follow our blog post and release notes for announcements about new API releases and features.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-07 14:00:45Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vGu7Z:ref" (ADR-00283145)



Reply all
Reply to author
Forward
0 new messages