When I query image assets from the shared library, I get all assets of type 
IMAGE, even those that have been removed.

I need a way to identify which of the returned assets are active and which 
ones have been removed.

This is the query I’m using:
SELECT asset.id, asset.name, asset.image_asset.mime_type, 
asset.image_asset.full_size.width_pixels, 
asset.image_asset.full_size.height_pixels, asset.image_asset.full_size.url, 
asset.image_asset.file_size FROM asset WHERE asset.type = 'IMAGE' 

However, asset.status cannot be used in the WHERE clause because it’s not 
filterable, and I can’t find another field that indicates the asset state.

*Question:*
How can I determine whether each asset returned by this query is removed or 
active?
Is there any alternative field or resource I should use to get only 
non-removed assets?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/c0121d73-4134-45e0-8d73-f37205dba5c8n%40googlegroups.com.
  • As... Javier Bielsa
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to