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

2022-03-03 Thread Michael Kopylenko
Hi Arieh,

Not sure why you need logs from our side as this issue can be easily 
reproduced: if you have existing UNNAMED image asset in an account, the 
same image cannot be uploaded to this account. The 
error “NAME_REQUIRED_FOR_ASSET_TYPE” will be raised by API. 
As for logs, we have a problem with enabling logging currently. Taking it 
with php client team, but without a result meanwhile.

On Tuesday, March 1, 2022 at 12:01:11 AM UTC+2 adsapi wrote:

> Hi Michael,
>
> Could you privately send us a request and response log of API 
> communication that returns this error in v10?  The request and 
> response appears similar to the JSON Mappings in our REST documentation 
> .
>  
> Our client libraries have loggers with logging instructions, to see these 
> instructions you can click on the client library you use in the sidebar of 
> our client library guide 
>  and 
> click on "Logging". Setting the logger to 'DEBUG' will get the desired log.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> 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 
"Google Ads API and AdWords 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/a01ec7bd-1710-4d8c-a30c-e427a8134a56n%40googlegroups.com.


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

2022-02-24 Thread Michael Kopylenko
Hi,

I faced the same issue and it was resolved after I installed API v10. 
Images having a name can be recognized when uploaded to account and the 
same image is exist in this account. But I think there is still an issue 
with unnamed images. If an image existing in account has no name and same 
image is uploaded, it's not recognized and the error: 
"NAME_REQUIRED_FOR_ASSET_TYPE*" *is thrown. Tried to pass empty name but it 
doesn't help. Please advise...

On Thursday, February 17, 2022 at 11:46:28 PM UTC+2 adsapi wrote:

> Hi,
>
> Google Ads API v10 deduplicates the images and no longer throws this 
> error, so if you can upgrade to this version, then this error should go 
> away. All the client libraries are expected to be available by this Friday.
>
>
> Cheers
> Anash
>
> 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 
"Google Ads API and AdWords 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/897888db-6490-4aeb-9a63-c0aaa720a0f3n%40googlegroups.com.


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

2022-02-24 Thread Michael Kopylenko
Hi,

I faced the same issue and it was resolved after I installed API v10. 
Images having a name can be recognized when uploaded to account and the 
same images is exist in this account. But I thinks there is still an issue 
with unnamed images. If an image existing in account has no name and same 
image is uploaded, it's not recognized and the error: 
"NAME_REQUIRED_FOR_ASSET_TYPE*" *is thrown. Tried to pass empty name but it 
doesn't help. Please advise...


On Thursday, February 17, 2022 at 11:46:28 PM UTC+2 adsapi wrote:

> Hi,
>
> Google Ads API v10 deduplicates the images and no longer throws this 
> error, so if you can upgrade to this version, then this error should go 
> away. All the client libraries are expected to be available by this Friday.
>
>
> Cheers
> Anash
>
> 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 
"Google Ads API and AdWords 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/578a1124-d631-417e-9375-6b060ff37601n%40googlegroups.com.


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

2022-02-17 Thread MAPI Test
Hi all,

Fortunately, we were able to resolve the issue by using the latest Java SDK 
version (17.0.0) which uses the new API version 10. 

When doing the calls to this API, we don’t receive the error anymore and 
instead, the existing asset id is automatically reused when we upload the 
same image again.

On Wednesday, 16 February 2022 at 01:29:44 UTC+1 geanpe...@gmail.com wrote:

>
> My fastest solution was the following:
> $error_message = str_replace(". Remove the existing asset first if you 
> would like to change the name of the asset., 
> reason=CANNOT_MODIFY_ASSET_NAME}]","",str_replace("'", "", 
> $e->getMessage()));
>
> $arr = explode(" ", $ error_message);
> $size = sizeof($arr);
> $asset_Id = trim($arr[$size -1]);
>
> Once the asset_id is obtained, this is the same one that I send together 
> with the creation of the campaign
>
> I am using the PHP SDK
> El martes, 15 de febrero de 2022 a la(s) 12:06:03 UTC-5, meca...@gmail.com 
> escribió:
>
>> Lately I have been getting this error too.
>>
>> I used to get it in the past by passing an asset name when creating the 
>> asset, but then I realized that the asset name was optional, so not passing 
>> the asset name solved the issue. However now I'm getting the issue again 
>> even though I'm not passing any asset name.
>>
>> El viernes, 11 de febrero de 2022 a las 23:32:50 UTC+1, adsapi escribió:
>>
>>> Hi Luciano,
>>>
>>> Right now, parsing the error message is the way to handle this error. 
>>> I'll work with the team to try and introduce a better way to expose this 
>>> error.
>>>  
>>>
>>> Cheers
>>> Anash
>>>
>>>
>>> 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 
"Google Ads API and AdWords 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/a37c11e6-66bf-444a-8ff3-ac411a5251ccn%40googlegroups.com.


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

2022-02-15 Thread gean pearre Silva

My fastest solution was the following:
$error_message = str_replace(". Remove the existing asset first if you 
would like to change the name of the asset., 
reason=CANNOT_MODIFY_ASSET_NAME}]","",str_replace("'", "", 
$e->getMessage()));

$arr = explode(" ", $ error_message);
$size = sizeof($arr);
$asset_Id = trim($arr[$size -1]);

Once the asset_id is obtained, this is the same one that I send together 
with the creation of the campaign

I am using the PHP SDK
El martes, 15 de febrero de 2022 a la(s) 12:06:03 UTC-5, meca...@gmail.com 
escribió:

> Lately I have been getting this error too.
>
> I used to get it in the past by passing an asset name when creating the 
> asset, but then I realized that the asset name was optional, so not passing 
> the asset name solved the issue. However now I'm getting the issue again 
> even though I'm not passing any asset name.
>
> El viernes, 11 de febrero de 2022 a las 23:32:50 UTC+1, adsapi escribió:
>
>> Hi Luciano,
>>
>> Right now, parsing the error message is the way to handle this error. 
>> I'll work with the team to try and introduce a better way to expose this 
>> error.
>>  
>>
>> Cheers
>> Anash
>>
>>
>> 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 
"Google Ads API and AdWords 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/460d04d7-3105-4f34-a9d7-f36ddc24c803n%40googlegroups.com.


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

2022-02-15 Thread Meir Mouyal
Lately I have been getting this error too.

I used to get it in the past by passing an asset name when creating the 
asset, but then I realized that the asset name was optional, so not passing 
the asset name solved the issue. However now I'm getting the issue again 
even though I'm not passing any asset name.

El viernes, 11 de febrero de 2022 a las 23:32:50 UTC+1, adsapi escribió:

> Hi Luciano,
>
> Right now, parsing the error message is the way to handle this error. I'll 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/2136930f-9f9e-4a02-94fc-617c54247aacn%40googlegroups.com.


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 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/0a995874-5c25-4526-aebc-59cf17d19654n%40googlegroups.com.


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

2022-02-15 Thread 'Lonny Kapelushnik' via Google Ads API and AdWords API Forum
Hi Anash - we are not receiving the error message with the duplicate ID. We 
are using the v9 of the API.

Here is the error message we are receiving:

"The asset has a name which is different from an existing duplicate that 
represents the same content."

On Friday, February 11, 2022 at 3:32:50 PM UTC-7 adsapi wrote:

> Hi Luciano,
>
> Right now, parsing the error message is the way to handle this error. I'll 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/c1c2befb-f925-40eb-a8ea-6e48379091c2n%40googlegroups.com.


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

2022-02-15 Thread Matteo Medda
Hi, 
we have found a workaround on the creation of campaigns, let's first check 
the existence of an image with a specific "name" and if it does not exist 
we go to create it.
Previously we created them directly without "name" and the error of images 
with same content never showed up.

Bye,
Matteo

Il giorno venerdì 11 febbraio 2022 alle 23:32:50 UTC+1 adsapi ha scritto:

> Hi Luciano,
>
> Right now, parsing the error message is the way to handle this error. I'll 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/384cda8a-ba33-4681-ae3c-6066471eefb6n%40googlegroups.com.


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

2022-02-15 Thread Matteo Medda
Hi, 
we have found a workaround on the creation of campaigns, let's first check 
the existence of an image with a specific "name" and if it does not exist 
we go to create it.

Previously we created them directly without a "name" and the error of 
images with same content never showed up.

Thx,
Matteo

Il giorno venerdì 11 febbraio 2022 alle 23:32:50 UTC+1 adsapi ha scritto:

> Hi Luciano,
>
> Right now, parsing the error message is the way to handle this error. I'll 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/53f7582f-ec88-44fb-90b4-64dd952d8cc6n%40googlegroups.com.


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 as us.

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 
.

*"if an asset with a different name having the same content already exists 
then the asset uploaded will be silently dropped."*

What we’re experiencing is that the asset is dropped with an error, not 
silently. In my point of view, silently dropping would mean returning the 
previously existing asset as response. Maybe this is working properly if 
you specify API version 10. I suppose that the change was 
accidentally/incorrectly released also for previous API versions, 
preventing the upload of duplicated assets but not “silently handling” for 
clients with API < 10.

If anyone out there could easily test this hypothesis by doing the API 
upgrade, and confirming if this solves the issue or not, that would be 
helpful to pinpoint the cause of the issue for the Google team and maybe 
find a quick solution for the community.

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 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/96172fcf-2f4a-433e-b18b-acc1485783a8n%40googlegroups.com.


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 
.

*if an asset with a different name having the same content already exists 
then the asset uploaded will be silently dropped.*

What we’re experiencing is that the asset is dropped with an error, not 
silently. In my point of view, silently dropping would mean returning the 
previously existing asset as response.
Maybe this is working properly if you specify API version 10. I suppose 
that the change was accidentally/incorrectly released also for previous API 
versions, preventing the upload of duplicated assets but not “silently 
handling” for clients with API < 10.

If anyone out there could easily test this hypothesis by doing the API 
upgrade, that would be helpful to pinpoint the cause of the issue and maybe 
find a solution.

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 
> work with the team to try and introduce a better way to expose this error.
>  
>
> Cheers
> Anash
>
>
> 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 
"Google Ads API and AdWords 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/561dd696-dcc9-4427-b8f0-eaff63ecb0c2n%40googlegroups.com.


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

2022-02-11 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Luciano,

Right now, parsing the error message is the way to handle this error. I'll work 
with the team to try and introduce a better way to expose this error.

Cheers
Anash
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 
"Google Ads API and AdWords 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/7YMQw0R75VXJ00JHr4XSTLTvil7gLhbDv6cw%40sfdc.net.


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 is an existing asset that 
represents the same content as the asset to be added, but with a different 
name: the input asset has name ''; and the existing asset has name 
'****' and ID . Remove the existing asset first if you 
would like to change the name of the asset.', 
reason=CANNOT_MODIFY_ASSET_NAME}]*

Our solution was to parse the error message string in order to capture the 
existing asset ID and use that ID to post the ads. It is not ideal, because 
if tomorrow they change the error message it will make our parser useless. 
But it is an acceptable workaround until someone from Google provides a 
proper alternative. This is also more viable than "manually" generating 
changes on the assets, like cropping, as suggested earlier.

I hope that is helpful. 

Question to Google Ads team, is it intentional to delegate this handling to 
the client? In case yes, I propose at least to provide the existing Asset 
data in a more structured way, together with the Error object. 
Alternatively, why not simple returning the existing Asset instead of 
throwing an error on our way? 

On Friday, February 11, 2022 at 12:27:39 PM UTC+1 google@innogames.com 
wrote:

> Hi all, 
>
> we have this issue as well since 2 days.
> We're using SDK v.16.0.2 which uses API v.9
> It stops us from uploading any image which has ever been uploaded to our 
> accounts before because of the clashing asset names.
> It would be great if you could take care. 
>
> Thanks and best regards
>
> On Friday, 11 February 2022 at 00:56:45 UTC+1 timo...@gmail.com wrote:
>
>> Yeah modifying image by changing pixel color or cropping kinda works as 
>> ugly hack but google should fix this.
>> No way this is acceptable, what's worst we have more than 100K assets and 
>> we dont know which asset is what,
>> so ability to find an asset and replace it, makes sense however current 
>> release does not address this issue.
>>
>> Thanks
>> Tim
>>
>>
>> On Friday, February 11, 2022 at 3:34:07 AM UTC+13 ed...@gsmediagroup.net 
>> wrote:
>>
>>>
>>> Hi everyone. I have some strange and quick solution for this problem. I 
>>> CROP(cut) every uploaded image with some random width and height. And only 
>>> after that i upload that CROPED image as asset, and that image seems like 
>>> new unique image.
>>> Ex. in PYTHON
>>>
>>> # For 1.91:1 ratio
>>> ratio = 191/100
>>>
>>> # Width and height of image to crop
>>> width = random.randint(600, 1024)
>>> height = round(width / ratio)
>>>
>>> # Width and height for square images
>>> squareDim = random.randint(300, height)
>>>
>>> After crop the image I was create asset with that image and set name of 
>>> Asset some unqiue name str(uuid.uuid4()).
>>>
>>> Thanks!
>>> On Thursday, February 10, 2022 at 4:10:37 PM UTC+4 
>>> m.m...@doveconviene.com wrote:
>>>

 Hello, we have the same problem starting this morning. We have not 
 changed anything on our code. What is the correct procedure for uploading 
 an asset? We have all campaigns stopped for this reason.

 Thanks
 Il giorno giovedì 10 febbraio 2022 alle 10:22:54 UTC+1 
 timo...@gmail.com ha scritto:

> Hi Mark,
>
> I understand but this has immediate impact on our ability to run 
> campaigns, we are losing revenue, and can't find work around for this 
> issue.
> Main issue is that we have uploaded a lot of images and now we can't 
> even tell which are in conflict, and that makes it a big issue.
> So any work around in meantime would be much welcomed.
>
> Thanks
>
> On Thursday, February 10, 2022 at 8:47:46 PM UTC+13 adsapi wrote:
>
>> Hello Everyone,
>>
>> Thanks for the following up on this thread.
>>
>> Currently, a feature request has been raised for this; however, 
>> please note that there is no guarantee if this will be supported in the 
>> API 
>> soon. That said, please continue to follow our blog 
>>  for 
>> updates.
>>
>> Regards,
>> [image: Google Logo] 
>> Mark Kevin 
>> 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 

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

2022-02-11 Thread MAPI Test
Hi all, 

we have this issue as well since 2 days.
We're using SDK v.16.0.2 which uses API v.9
It stops us from uploading any image which has ever been uploaded to our 
accounts before because of the clashing asset names.
It would be great if you could take care. 

Thanks and best regards

On Friday, 11 February 2022 at 00:56:45 UTC+1 timo...@gmail.com wrote:

> Yeah modifying image by changing pixel color or cropping kinda works as 
> ugly hack but google should fix this.
> No way this is acceptable, what's worst we have more than 100K assets and 
> we dont know which asset is what,
> so ability to find an asset and replace it, makes sense however current 
> release does not address this issue.
>
> Thanks
> Tim
>
>
> On Friday, February 11, 2022 at 3:34:07 AM UTC+13 ed...@gsmediagroup.net 
> wrote:
>
>>
>> Hi everyone. I have some strange and quick solution for this problem. I 
>> CROP(cut) every uploaded image with some random width and height. And only 
>> after that i upload that CROPED image as asset, and that image seems like 
>> new unique image.
>> Ex. in PYTHON
>>
>> # For 1.91:1 ratio
>> ratio = 191/100
>>
>> # Width and height of image to crop
>> width = random.randint(600, 1024)
>> height = round(width / ratio)
>>
>> # Width and height for square images
>> squareDim = random.randint(300, height)
>>
>> After crop the image I was create asset with that image and set name of 
>> Asset some unqiue name str(uuid.uuid4()).
>>
>> Thanks!
>> On Thursday, February 10, 2022 at 4:10:37 PM UTC+4 
>> m.m...@doveconviene.com wrote:
>>
>>>
>>> Hello, we have the same problem starting this morning. We have not 
>>> changed anything on our code. What is the correct procedure for uploading 
>>> an asset? We have all campaigns stopped for this reason.
>>>
>>> Thanks
>>> Il giorno giovedì 10 febbraio 2022 alle 10:22:54 UTC+1 timo...@gmail.com 
>>> ha scritto:
>>>
 Hi Mark,

 I understand but this has immediate impact on our ability to run 
 campaigns, we are losing revenue, and can't find work around for this 
 issue.
 Main issue is that we have uploaded a lot of images and now we can't 
 even tell which are in conflict, and that makes it a big issue.
 So any work around in meantime would be much welcomed.

 Thanks

 On Thursday, February 10, 2022 at 8:47:46 PM UTC+13 adsapi wrote:

> Hello Everyone,
>
> Thanks for the following up on this thread.
>
> Currently, a feature request has been raised for this; however, please 
> note that there is no guarantee if this will be supported in the API 
> soon. 
> That said, please continue to follow our blog 
>  for 
> updates.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin 
> 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 
"Google Ads API and AdWords 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/a90d2883-1f0f-4276-867a-9f0e7b0630fdn%40googlegroups.com.


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

2022-02-10 Thread Tim Polt
Yeah modifying image by changing pixel color or cropping kinda works as 
ugly hack but google should fix this.
No way this is acceptable, what's worst we have more than 100K assets and 
we dont know which asset is what,
so ability to find an asset and replace it, makes sense however current 
release does not address this issue.

Thanks
Tim

On Friday, February 11, 2022 at 3:34:07 AM UTC+13 ed...@gsmediagroup.net 
wrote:

>
> Hi everyone. I have some strange and quick solution for this problem. I 
> CROP(cut) every uploaded image with some random width and height. And only 
> after that i upload that CROPED image as asset, and that image seems like 
> new unique image.
> Ex. in PYTHON
>
> # For 1.91:1 ratio
> ratio = 191/100
>
> # Width and height of image to crop
> width = random.randint(600, 1024)
> height = round(width / ratio)
>
> # Width and height for square images
> squareDim = random.randint(300, height)
>
> After crop the image I was create asset with that image and set name of 
> Asset some unqiue name str(uuid.uuid4()).
>
> Thanks!
> On Thursday, February 10, 2022 at 4:10:37 PM UTC+4 m.m...@doveconviene.com 
> wrote:
>
>>
>> Hello, we have the same problem starting this morning. We have not 
>> changed anything on our code. What is the correct procedure for uploading 
>> an asset? We have all campaigns stopped for this reason.
>>
>> Thanks
>> Il giorno giovedì 10 febbraio 2022 alle 10:22:54 UTC+1 timo...@gmail.com 
>> ha scritto:
>>
>>> Hi Mark,
>>>
>>> I understand but this has immediate impact on our ability to run 
>>> campaigns, we are losing revenue, and can't find work around for this issue.
>>> Main issue is that we have uploaded a lot of images and now we can't 
>>> even tell which are in conflict, and that makes it a big issue.
>>> So any work around in meantime would be much welcomed.
>>>
>>> Thanks
>>>
>>> On Thursday, February 10, 2022 at 8:47:46 PM UTC+13 adsapi wrote:
>>>
 Hello Everyone,

 Thanks for the following up on this thread.

 Currently, a feature request has been raised for this; however, please 
 note that there is no guarantee if this will be supported in the API soon. 
 That said, please continue to follow our blog 
  for 
 updates.

 Regards,
 [image: Google Logo] 
 Mark Kevin 
 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 
"Google Ads API and AdWords 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/ff4612b8-e2c0-4122-9e35-db0c5938814an%40googlegroups.com.


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

2022-02-10 Thread Edgar Khachatryan

Hi everyone. I have some strange and quick solution for this problem. I 
CROP(cut) every uploaded image with some random width and height. And only 
after that i upload that CROPED image as asset, and that image seems like 
new unique image.
Ex. in PYTHON

# For 1.91:1 ratio
ratio = 191/100

# Width and height of image to crop
width = random.randint(600, 1024)
height = round(width / ratio)

# Width and height for square images
squareDim = random.randint(300, height)

After crop the image I was create asset with that image and set name of 
Asset some unqiue name str(uuid.uuid4()).

Thanks!
On Thursday, February 10, 2022 at 4:10:37 PM UTC+4 m.m...@doveconviene.com 
wrote:

>
> Hello, we have the same problem starting this morning. We have not changed 
> anything on our code. What is the correct procedure for uploading an asset? 
> We have all campaigns stopped for this reason.
>
> Thanks
> Il giorno giovedì 10 febbraio 2022 alle 10:22:54 UTC+1 timo...@gmail.com 
> ha scritto:
>
>> Hi Mark,
>>
>> I understand but this has immediate impact on our ability to run 
>> campaigns, we are losing revenue, and can't find work around for this issue.
>> Main issue is that we have uploaded a lot of images and now we can't even 
>> tell which are in conflict, and that makes it a big issue.
>> So any work around in meantime would be much welcomed.
>>
>> Thanks
>>
>> On Thursday, February 10, 2022 at 8:47:46 PM UTC+13 adsapi wrote:
>>
>>> Hello Everyone,
>>>
>>> Thanks for the following up on this thread.
>>>
>>> Currently, a feature request has been raised for this; however, please 
>>> note that there is no guarantee if this will be supported in the API soon. 
>>> That said, please continue to follow our blog 
>>>  for 
>>> updates.
>>>
>>> Regards,
>>> [image: Google Logo] 
>>> Mark Kevin 
>>> 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 
"Google Ads API and AdWords 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/b9029ae4-bf50-4eca-8107-3b0e80279494n%40googlegroups.com.


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

2022-02-10 Thread Matteo Medda

Hello, we have the same problem starting this morning. We have not changed 
anything on our code. What is the correct procedure for uploading an asset? 
We have all campaigns stopped for this reason.

Thanks
Il giorno giovedì 10 febbraio 2022 alle 10:22:54 UTC+1 timo...@gmail.com ha 
scritto:

> Hi Mark,
>
> I understand but this has immediate impact on our ability to run 
> campaigns, we are losing revenue, and can't find work around for this issue.
> Main issue is that we have uploaded a lot of images and now we can't even 
> tell which are in conflict, and that makes it a big issue.
> So any work around in meantime would be much welcomed.
>
> Thanks
>
> On Thursday, February 10, 2022 at 8:47:46 PM UTC+13 adsapi wrote:
>
>> Hello Everyone,
>>
>> Thanks for the following up on this thread.
>>
>> Currently, a feature request has been raised for this; however, please 
>> note that there is no guarantee if this will be supported in the API soon. 
>> That said, please continue to follow our blog 
>>  for 
>> updates.
>>
>> Regards,
>> [image: Google Logo] 
>> Mark Kevin 
>> 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 
"Google Ads API and AdWords 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/a1870e87-ccaf-4598-86c4-39ebc1574686n%40googlegroups.com.


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

2022-02-10 Thread Tim Polt
Hi Mark,

I understand but this has immediate impact on our ability to run campaigns, 
we are losing revenue, and can't find work around for this issue.
Main issue is that we have uploaded a lot of images and now we can't even 
tell which are in conflict, and that makes it a big issue.
So any work around in meantime would be much welcomed.

Thanks

On Thursday, February 10, 2022 at 8:47:46 PM UTC+13 adsapi wrote:

> Hello Everyone,
>
> Thanks for the following up on this thread.
>
> Currently, a feature request has been raised for this; however, please 
> note that there is no guarantee if this will be supported in the API soon. 
> That said, please continue to follow our blog 
>  for 
> updates.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin 
> 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 
"Google Ads API and AdWords 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/bfe94090-4a99-4862-b21e-a4d9d4f7d3b0n%40googlegroups.com.


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

2022-02-09 Thread H W
Hi All,

Same here after the update, I've try to change the name, and try to change 
few color of some random pixels, but still give me the same error.

Have no ideas what shall do next to solve this

Cheers
Wing

On Thursday, February 10, 2022 at 2:21:04 PM UTC+8 timo...@gmail.com wrote:

> After today's update we are getting this error as well and no way to fix it
>
> *Error: The asset has a name which is different from an existing duplicate 
> that represents the same content*
>
> It stops us from running campaigns would be good to get some clarity 
> around this issue
>
> Thanks
>
> On Thursday, February 10, 2022 at 4:30:57 PM UTC+13 zhe...@leadplus.co.jp 
> wrote:
>
>> Hi there, just wonder if any progress you 've made here for this topic.
>>
>> It's Feb 2022 and I'm still facing the same error.
>>
>> As another developer mentioned above
>>
>> > Typically when getting a duplicate error you really expect to have the 
>> Id or some reference that points you to the original resource, so it would 
>> be amazing to have that.
>>
>> That 's really a great thought. So may I have the ID ( or `resource_name` 
>> ) in the error message ( so for it is just 'The asset has a name which is 
>> different from an existing duplicate that represents the same content' ) ?
>> Just change the error message. You don't have to take hours to write and 
>> publish a blog somewhere.
>> It would be very very helpful and nobody would reply to this thread and 
>> bother you again and again.
>>
>> Would you consider do that ?
>>
>>
>>
>> On Tuesday, November 30, 2021 at 6:01:19 AM UTC+9 adsapi wrote:
>>
>>> Hi James,
>>>
>>> Thank you for reporting on how the hacky workaround works. You may 
>>> monitor our blog 
>>>  for 
>>> an update on this popular request.
>>>
>>>
>>> Reminder: Share your feedback about the Google Ads (AdWords) API! Take 
>>> the 2021 Google Ads API and AdWords API Annual Survey 
>>> 
>>>  
>>> Regards, 
>>> [image: Google Logo] 
>>> 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 
"Google Ads API and AdWords 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/143ebe74-b167-46fe-ac0e-7be07c5cee74n%40googlegroups.com.


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

2022-02-09 Thread Tim Polt
After today's update we are getting this error as well and no way to fix it

*Error: The asset has a name which is different from an existing duplicate 
that represents the same content*

It stops us from running campaigns would be good to get some clarity around 
this issue

Thanks

On Thursday, February 10, 2022 at 4:30:57 PM UTC+13 zhe...@leadplus.co.jp 
wrote:

> Hi there, just wonder if any progress you 've made here for this topic.
>
> It's Feb 2022 and I'm still facing the same error.
>
> As another developer mentioned above
>
> > Typically when getting a duplicate error you really expect to have the 
> Id or some reference that points you to the original resource, so it would 
> be amazing to have that.
>
> That 's really a great thought. So may I have the ID ( or `resource_name` 
> ) in the error message ( so for it is just 'The asset has a name which is 
> different from an existing duplicate that represents the same content' ) ?
> Just change the error message. You don't have to take hours to write and 
> publish a blog somewhere.
> It would be very very helpful and nobody would reply to this thread and 
> bother you again and again.
>
> Would you consider do that ?
>
>
>
> On Tuesday, November 30, 2021 at 6:01:19 AM UTC+9 adsapi wrote:
>
>> Hi James,
>>
>> Thank you for reporting on how the hacky workaround works. You may 
>> monitor our blog 
>>  for 
>> an update on this popular request.
>>
>>
>> Reminder: Share your feedback about the Google Ads (AdWords) API! Take 
>> the 2021 Google Ads API and AdWords API Annual Survey 
>> 
>>  
>> Regards, 
>> [image: Google Logo] 
>> 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 
"Google Ads API and AdWords 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/8ab8da12-8664-4fdc-87a5-62d57a6cb600n%40googlegroups.com.


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

2022-02-09 Thread Zhe Lin
Hi there, just wonder if any progress you 've made here for this topic.

It's Feb 2022 and I'm still facing the same error.

As another developer mentioned above

> Typically when getting a duplicate error you really expect to have the Id 
or some reference that points you to the original resource, so it would be 
amazing to have that.

That 's really a great thought. So may I have the ID ( or `resource_name` ) 
in the error message ( so for it is just 'The asset has a name which is 
different from an existing duplicate that represents the same content' ) ?
Just change the error message. You don't have to take hours to write and 
publish a blog somewhere.
It would be very very helpful and nobody would reply to this thread and 
bother you again and again.

Would you consider do that ?



On Tuesday, November 30, 2021 at 6:01:19 AM UTC+9 adsapi wrote:

> Hi James,
>
> Thank you for reporting on how the hacky workaround works. You may monitor 
> our blog 
>  for 
> an update on this popular request.
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>  
> Regards, 
> [image: Google Logo] 
> 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 
"Google Ads API and AdWords 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/282631e6-b708-4028-8296-aaf0da50b275n%40googlegroups.com.


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

2021-11-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi James,

Thank you for reporting on how the hacky workaround works. You may monitor our 
blog for an update on this popular request.

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/x03RB0R3CQDI00chLkzG8rT4KOrLIgNMDbRQ%40sfdc.net.


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

2021-11-28 Thread James Grace
Just implemented a hack to modify a random pixel by a single blue (as in 
RGBA) pixel value (254 vs 255 for example) and it seems to be working.  

Not ideal...but workable.  

On Sunday, November 28, 2021 at 7:48:55 PM UTC-10 James Grace wrote:

> I'm struggling with this same problem.  
>
> The combination of not being able to delete assets and not being able to 
> get the resource_name of the "duplicate" makes this a pretty significant 
> problem in my opinion.  
>
> Is there really no proposed work-around?
>
> On Wednesday, November 17, 2021 at 4:35:02 PM UTC-10 adsapi wrote:
>
>> Hi Meir,
>>
>> Thanks for following up.
>>
>> You may continue to follow our blog 
>>  for 
>> updates. Should you have additional concerns with the API, you may start a 
>> new thread and our team would be happy to assist you.
>>
>>
>> Best regards,
>>
>> Reminder: Share your feedback about the Google Ads (AdWords) API! Take 
>> the 2021 Google Ads API and AdWords API Annual Survey 
>> 
>>   
>> [image: Google Logo] 
>> Peter Laurence Napa Oliquino 
>> 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/be93e6e8-1290-4674-b304-56a4ccb95f18n%40googlegroups.com.


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

2021-11-28 Thread James Grace
I'm struggling with this same problem.  

The combination of not being able to delete assets and not being able to 
get the resource_name of the "duplicate" makes this a pretty significant 
problem in my opinion.  

Is there really no proposed work-around?

On Wednesday, November 17, 2021 at 4:35:02 PM UTC-10 adsapi wrote:

> Hi Meir,
>
> Thanks for following up.
>
> You may continue to follow our blog 
>  for 
> updates. Should you have additional concerns with the API, you may start a 
> new thread and our team would be happy to assist you.
>
>
> Best regards,
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>   
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> 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/628e0962-9dfb-41be-b9b0-2287de6e9e1fn%40googlegroups.com.


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

2021-11-17 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Meir,

Thanks for following up.

You may continue to follow our blog for updates. Should you have additional 
concerns with the API, you may start a new thread and our team would be happy 
to assist you.

Best regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Peter Laurence Napa Oliquino
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/Nb4Rx0R2QXTV00bBIVjr0jQ6GDDUmwq6_iVw%40sfdc.net.


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

2021-11-17 Thread Meir Mouyal
Never mind, it's not fixed yet, the original asset was being returned 
because I was using the same asset name when creating the asset :/

El miércoles, 17 de noviembre de 2021 a las 15:09:55 UTC+1, Meir Mouyal 
escribió:

>
> Hey there,
>
> Is it possible that this has already been solved?
>
> I can't find anything in the blog, however now I seem to get the original 
> asset details as a result!
>
> Thanks :D
> El lunes, 15 de noviembre de 2021 a las 2:47:29 UTC+1, adsapi escribió:
>
>> Hi everyone,
>>
>> Thank you for your follow ups. I work with Aryeh and allow me to assist 
>> you as well.
>>
>> @*Meir*, you may try updating the pixel and let us know how it goes. 
>> Also, I've taken note of your suggestion to have the ID or the original 
>> resource included in the error for ease of troubleshooting when this error 
>> is encountered. As for removing an asset, this is currently not supported. 
>> However, a separate feature request was already raised and you may also 
>> continue to follow our blog 
>>  for 
>> updates.
>>
>> As for your UI concern, this is unfortunately outside of our API team's 
>> expertise. You may instead reach out to the Google Ads Product Support 
>> team, via this link , to 
>> clarify available UI features for asset management.
>>
>> @*Lonny*, thank you for bumping this thread as well. We have raised your 
>> input as well and you may indeed follow our blog for now, for updates.
>>
>> Best regards,
>>
>>
>> Reminder: Share your feedback about the Google Ads (AdWords) API! Take 
>> the 2021 Google Ads API and AdWords API Annual Survey 
>> 
>>   
>> [image: Google Logo] 
>> Peter Laurence Napa Oliquino 
>> 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/510346a3-e322-461d-8638-48ecf9962655n%40googlegroups.com.


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

2021-11-17 Thread Meir Mouyal

Hey there,

Is it possible that this has already been solved?

I can't find anything in the blog, however now I seem to get the original 
asset details as a result!

Thanks :D
El lunes, 15 de noviembre de 2021 a las 2:47:29 UTC+1, adsapi escribió:

> Hi everyone,
>
> Thank you for your follow ups. I work with Aryeh and allow me to assist 
> you as well.
>
> @*Meir*, you may try updating the pixel and let us know how it goes. 
> Also, I've taken note of your suggestion to have the ID or the original 
> resource included in the error for ease of troubleshooting when this error 
> is encountered. As for removing an asset, this is currently not supported. 
> However, a separate feature request was already raised and you may also 
> continue to follow our blog 
>  for 
> updates.
>
> As for your UI concern, this is unfortunately outside of our API team's 
> expertise. You may instead reach out to the Google Ads Product Support 
> team, via this link , to 
> clarify available UI features for asset management.
>
> @*Lonny*, thank you for bumping this thread as well. We have raised your 
> input as well and you may indeed follow our blog for now, for updates.
>
> Best regards,
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>   
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> 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/425969d8-1dea-4f60-b78d-32d739d879een%40googlegroups.com.


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

2021-11-14 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi everyone,

Thank you for your follow ups. I work with Aryeh and allow me to assist you as 
well.

@Meir, you may try updating the pixel and let us know how it goes. Also, I've 
taken note of your suggestion to have the ID or the original resource included 
in the error for ease of troubleshooting when this error is encountered. As for 
removing an asset, this is currently not supported. However, a separate feature 
request was already raised and you may also continue to follow our blog for 
updates.

As for your UI concern, this is unfortunately outside of our API team's 
expertise. You may instead reach out to the Google Ads Product Support team, 
via this link, to clarify available UI features for asset management.

@Lonny, thank you for bumping this thread as well. We have raised your input as 
well and you may indeed follow our blog for now, for updates.

Best regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Peter Laurence Napa Oliquino
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/sGZqV0R2LBMM00rTRz5fRQSimqEdWUS2F3VA%40sfdc.net.


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

2021-11-12 Thread Lonny Kapelushnik
Hi Aryeh,

Wanted to share that I am running into the exact same problem this morning. 
Looking forward to having this added to the API. I'll check the blog for 
updates.

On Friday, November 12, 2021 at 8:27:06 AM UTC-7 adsapi wrote:

> 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,
>  
> [image: Google Logo] 
> 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/fd69d62d-cbb0-49da-a3f6-122ee3bfda9fn%40googlegroups.com.


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

2021-11-12 Thread Meir Mouyal
Hey there,

Yeep... I've thought about filtering through a report but... it's not ideal 
at all, I might just modify a pixel in the image and upload it.

Typically when getting a duplicate error you really expect to have the Id 
or some reference that points you to the original resource, so it would be 
amazing to have that.

I also find really interesting that Assets can't be deleted, why is this?

There is also no UI panel where one can manage all the uploaded assets, 
right?

Thanks!
El viernes, 12 de noviembre de 2021 a las 16:27:06 UTC+1, adsapi escribió:

> 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,
>  
> [image: Google Logo] 
> 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/42dc9e5b-8bb5-450b-857d-f08d33e01d8dn%40googlegroups.com.


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

2021-11-12 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
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_BW00R2GTKL009GBcNxK7R1Kii1JoQQOOdA%40sfdc.net.


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

2021-11-12 Thread Meir Mouyal
I'm getting the same error and I'm setting a different name, the error 
message is correct.

How can I know though which is the original asset?

El lunes, 31 de mayo de 2021 a las 10:59:57 UTC+2, Google Ads API Forum 
Advisor Prod escribió:

> Hi,
>
> Thank you for raising this concern.
>
> If you are looking for a way to get the value of data 
> 
>  
> field, then I am afraid that this is not possible as this field is for 
> mutate only.
>
> However, it appears that the error did not occurred because you've 
> uploaded the same image, rather, this error occurred because you are 
> setting the same asset name. With this, if you are creating new asset, 
> please ensure to use unique name to avoid the error. Furthermore, you can 
> utilize the asset 
>  view to 
> know the name 
>  of 
> your existing assets before creating new one. 
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> 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/712ee1e4-e7ff-4909-b1c4-02196ae6ab35n%40googlegroups.com.


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

2021-05-31 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for raising this concern.

If you are looking for a way to get the value of data field, then I am afraid 
that this is not possible as this field is for mutate only.

However, it appears that the error did not occurred because you've uploaded the 
same image, rather, this error occurred because you are setting the same asset 
name. With this, if you are creating new asset, please ensure to use unique 
name to avoid the error. Furthermore, you can utilize the asset view to know 
the name of your existing assets before creating new one.

Regards,

Ernie John Blanca Tacata
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/mKKqG0QTYRNE001JjYSRo3RqOV_TbwUUEIcg%40sfdc.net.