Re: Find the original asset when getting error: CANNOT_MODIFY_ASSET_NAME when uploading duplicate image

2022-02-15 Thread Luciano Santana
Has anyone tried upgrading the API to version 10? We are currently using the legacy Adwords API and we cannot do the upgrade at the moment. On Friday, February 11, 2022 at 11:32:50 PM UTC+1 adsapi wrote: > Hi Luciano, > > Right now, parsing the error message is the way to handle this error. I'll

Re: Find the original asset when getting error: CANNOT_MODIFY_ASSET_NAME when uploading duplicate image

2022-02-15 Thread Luciano Santana
Someone wrote me in private asking which API version we were using. And that's a very good point. For this specific action, we're actually still using the legacy Google AdWords API (v201809). So, if you don’t have the asset ID information in the error message, you can’t use the same workaround

Re: Find the original asset when getting error: CANNOT_MODIFY_ASSET_NAME when uploading duplicate image

2022-02-15 Thread Luciano Santana
For some reason, my last message was deleted. I'm pasting the core information of the message again below. Just to share a detail I’ve noticed, I see that in the Google Ads API v.10 release from Feb 9th a change was introduced as you can read on the latest release note of Google Ads API

Re: Find the original asset when getting error: CANNOT_MODIFY_ASSET_NAME when uploading duplicate image

2022-02-11 Thread Luciano Santana
Hi everyone, In our case, we actually get an asset ID on the error message, as you can see below. I've redacted the original values with to prevent sharing sensitive information. *[AssetError{super=AssetError.CANNOT_MODIFY_ASSET_NAME @ operations[0].operand.assetName; trigger:'There i