Hello,
when trying to create a new image asset, if the image with the same hash
already exists, the following error is returned:
error_code: "CANNOT_MODIFY_ASSET_NAME"
message: "The asset has a name which is different from an existing
duplicate that represents the same content".
Is there any way to find out the resource_name of the asset that is already
uploaded?
assets.image_data.data is not available to be SELECTed via reporting and
querying assets using "WHERE assets.image_data.data = <my_image_hash>"
seems to return an empty result.
Is there another way I can find out what is the resource_name of the asset
that is already uploaded (and is conflicting with the new upload)?
For reference, example request payload I am using to upload an image asset:
{
image_asset: {
data: "<base64_image_hash>",
mime_type: "IMAGE_PNG"
},
name: "Image qPCcjU56Ae",
type: "IMAGE"
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/3f5a444a-2016-4b0e-83ea-4a789abef3d8n%40googlegroups.com.