Hi Meir, I work with Ernie and will assist you. I reproduced this behavior of CANNOT_MODIFY_ASSET_NAME when uploading duplicate image with a modification in UploadImageAsset.java to upload the image with a name the second time around, the error response didn't show which image was the duplicate. I raised with my team this request for the error message to show which resource name is the duplicate. Upon review we may add this functionality. You may monitor our blog for an update.
In the meantime, you can pull an asset report and filter for dimensions and size and other attributes of the image you are trying to upload and then if there is one match you got the resource name. SELECT asset.id, asset.image_asset.file_size, asset.image_asset.full_size.height_pixels, asset.image_asset.full_size.url, asset.image_asset.full_size.width_pixels, asset.image_asset.mime_type, asset.name, asset.resource_name FROM asset WHERE asset.image_asset.file_size = 0 AND asset.image_asset.full_size.height_pixels = 0 AND asset.image_asset.full_size.url = '0' AND asset.image_asset.full_size.width_pixels = 0 AND asset.image_asset.mime_type = 'IMAGE_GIF' Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Regards, Aryeh Baker Google Ads API Team ref:_00D1U1174p._5004Q2Hyur3:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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 on the web visit https://groups.google.com/d/msgid/adwords-api/l_BW0000000000000000000000000000000000000000000000R2GTKL009GBcNxK7R1Kii1JoQQOOdA%40sfdc.net.