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'




On Thursday, January 9, 2025 at 9:10:24 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

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,
  [image: Google Logo] Google Ads API Team 
Feedback
How was our support today? 

[image: rating1] 
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=5004Q00002vGu7Z>
  
  [image: rating2] 
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=5004Q00002vGu7Z>
  
  [image: rating3] 
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=5004Q00002vGu7Z>
  
  [image: rating4] 
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/formResponse?usp=pp_url&entry.141427034=4&entry.295079254=5004Q00002vGu7Z>
  
  [image: rating5] 
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/formResponse?usp=pp_url&entry.141427034=5&entry.295079254=5004Q00002vGu7Z>

 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/b752e2b3-2b10-4d18-9f60-7b433c140c70n%40googlegroups.com.
  • RE... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Arun Kumar
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Arun Kumar
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... Laura Whalen
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to