Hi Andre,
Thanks for raising your concern.
With regard to changing the status of an asset, if the image asset was set as REMOVED before, I am afraid that it currently not possible to AdWords API to change back the status of an asset into ENABLED.
"Next, I tried to simply re-upload the image. The API accepted it, but returned the AssetId of the previously uploaded file, with AssetStatus set to REMOVED.
Finally I tried to upload the image with a new AssetName, and here is where I got a funny error message, telling me to remove the existing asset before I can rename it."
With regard to the second and third thing you did to use an existing image asset (which mentioned above), to further check, could you provide the complete SOAP request and response logs via Reply privately to author? I asked this information because if you are going to upload the asset details, whether the image asset is the same or not, the API will return a new asset and it will not be treated as existing asset.
Regards,
Ejay
Google Ads API Team
With regard to changing the status of an asset, if the image asset was set as REMOVED before, I am afraid that it currently not possible to AdWords API to change back the status of an asset into ENABLED.
I asked this information because if you are going to upload the asset details, whether the image asset is the same or not, the API will return a new asset and it will not be treated as existing asset.
Hi André,
Thanks for your reply.
With regard on changing the status of an asset, you can no longer target it with any API calls.
For your issue on uploading new asset but treating them as existing asset, please provide the complete SOAP request and response logs via Reply privately to author as it will be very helpful in investigating the issue. If you haven't enabled the SOAP logging yet, kindly enable it by following this guide for PHP library supported by AdWords API.
Regards,
Ejay
Google Ads API Team