Hi Thanks for response ,
In my second request , If I upload any image and if that image already 
uploaded previously with some other ad or adgroup then I am getting API  
CANNOT_MODIFY_ASSET_NAME Exception and below error message .
*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 
'ADWORDS_API image asset'; and the existing asset has name 'ADWORDS_API 
image asset_2022-02-XX_17-51-30' and ID 2416XXXX. Remove the existing asset 
first if you would like to change the name of the asset.*

In this case I use the Asset Id returned in error message "*2416XXXX"  *then 
my ad creation getting success so basically I have to use this ID so 
currently I parse above error message to extract ID from it , is there any 
API method by which I can query already uploaded asset and get ID.

Otherwise your proposed image resolution working fine for us.

BR
Rananjay


On Wednesday, March 2, 2022 at 2:05:09 AM UTC+5:30 adsapi wrote:

> Hi Rananjay,
>
> Glad to hear that the documented image size was successful. 
>
> The list you provided is a general Ads document that associates image 
> dimensions with names. The marketingImage that you provided has its own 
> requirement, which is 600:314 (+-1%). You can find the requirements for 
> various image types on this page 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupAdService.MultiAssetResponsiveDisplayAd?hl=en#ad.type>
> .
>
> Can you please clarify your second request? I understand you are receiving 
> the error, CANNOT_MODIFY_ASSET_NAME. You asked "is there any other way to 
> get it" -- can you clarify what exactly you are referring to here?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2WyMzm: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/cb06bd58-088e-478a-a5b7-6d70f1aea635n%40googlegroups.com.
  • Re... RANANJAYPRATAP SINGH
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... RANANJAYPRATAP SINGH
        • ... RANANJAYPRATAP SINGH

Reply via email to