DUPLICATE_ASSET - Assets are duplicated across operations

69 views
Skip to first unread message

Дмитрий Волянюк

unread,
Nov 16, 2021, 6:49:11 AM11/16/21
to AdWords API and Google Ads API Forum
Hi
Once I faced with DUPLICATE_ASSET error in my logs during ad creation process.
After that i tried to reproduce this problem to somehow react on it in future but didn't catch it.
If i create Ad with same images as in  previously created Ad -  i don't see this error.
If i create one Ad and load there two identical images  - i still  don't see this error.

Can someone explain me when this problem appear and how i can reproduce it?
Thanks.

Google Ads API Forum Advisor

unread,
Nov 16, 2021, 11:37:03 AM11/16/21
to dimc...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. If you still have the logs for this issue, can you please try recreating that same request? If you create to the same asset between operations within a single request, you should be able to recreate the error.

Thanks,
Matt
Google Ads API Team


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


ref:_00D1U1174p._5004Q2R9Qyj:ref

Дмитрий Волянюк

unread,
Nov 17, 2021, 3:55:05 AM11/17/21
to AdWords API and Google Ads API Forum
It's good idea but unfortunately that error case was on test server and database there already cleaned and updated so i haven't possibility to grab that data and repeat request.
Same asset means fully identical images ? or images names? 
If i create each asset by separate operation and request i will not faced with such problem ? 

вторник, 16 ноября 2021 г. в 18:37:03 UTC+2, adsapi:

Google Ads API Forum Advisor

unread,
Nov 17, 2021, 10:20:02 AM11/17/21
to dimc...@gmail.com, adwor...@googlegroups.com
Hello,

This error refers to the asset data. There is a separate error, DUPLICATE_ASSET_NAME, for name duplicates. The description for the asset name duplicate error is "asset name is duplicated, either across operations or with an existing asset", whereas the DUPLICATE_ASSET error only mentions between operations (not with an existing asset). Based on this language you should be able to create one between requests. 

Regards,
Reply all
Reply to author
Forward
0 new messages