Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Image asset with unspecified type

41 views
Skip to first unread message

Lộc Đoàn

unread,
Apr 16, 2025, 4:20:14 AMApr 16
to Google Ads API and AdWords API Forum
Hi Google Ads team

When I query asset metrics in ad_group_asset, its asset type is UNSPECIFIED. 
When I query its metadata in view asset, its asset type is IMAGE. However, there's two type of asset that is of IMAGE type, which is Business Logo and Ad Image. So how do I know its real asset type when its asset type is UNSPECIFIED using Google Ads API?

Thanks in advance

Google Ads API Forum Advisor

unread,
Apr 16, 2025, 10:07:39 AMApr 16
to locdoan...@gmail.com, adwor...@googlegroups.com

Hi,

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

To better understand your issue regarding differentiating between "Business Logo" and "Ad Image" assets when the asset_type in ad_group_asset is UNSPECIFIED, could you please provide an uncropped screenshot of the Google Ads UI showing where you see the "Business Logo" and "Ad Image" types? Highlighting these specific fields in the UI will help us identify the corresponding resources and fields in the Google Ads API that provide this differentiation.

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


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-16 14:06:29Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pT401:ref" (ADR-00300143)



Lộc Đoàn

unread,
Apr 16, 2025, 10:57:45 PMApr 16
to Google Ads API and AdWords API Forum
Hi Google Ads team,

I have sent a private message. Can you help confirm if you have received the message?

Google Ads API Forum Advisor

unread,
Apr 17, 2025, 3:42:33 AMApr 17
to locdoan...@gmail.com, adwor...@googlegroups.com

Hi,

Yes, we have received your message. I tried retrieving the asset type of the assets present in your Google Ads account ‘297-871-3003’ for the ad group ‘165313991408’ and was able to retrieve the value of the field ad_group_asset.field_type as AD_IMAGE, CALLOUT, SITELINK, etc using the following GAQL query and search method of Google Ads API:

SELECT ad_group_asset.asset, ad_group_asset.field_type, ad_group_asset.ad_group, ad_group.id FROM ad_group_asset WHERE ad_group.id = 165313991408 

I observed that for the ad group with Id ‘165313991408’, there is only one image asset. Therefore, only one asset with type as AD_IMAGE was returned. And the business logo asset for this ad group has status as ‘Not Eligible’ in the UI with the explanation as ‘Asset violates policy and can’t run’. Therefore, no asset with asset type as BUSINESS_LOGO was returned. 

As you mentioned that “These assets when query using ad_group_asset view, I cannot get its asset.field_type”, please provide the complete API logs (request and response with request-id and request header) generated at your end while executing the GAQL query using which you are not able to retrieve the asset type field. This will help us in further investigating the issue.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

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

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-04-17 07:41:36Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pT401:ref" (ADR-00300143)



Reply all
Reply to author
Forward
0 new messages