DUPLICATE_EXTENSION_FEED_ITEM_EDIT when adding extensions to multiple ad groups in one API call

51 views
Skip to first unread message

JC Lee

unread,
Mar 22, 2017, 6:22:57 PM3/22/17
to AdWords API Forum
I am trying to assign an extension to 2 different at ad groups at once in one mutate call.

If the 2 ad groups are associated to the same extension (unrelated to the new extension being assigned). Then the error occurs.

To help illustrate when the error occurs, here are some scenarios:

Error occur scenario, has same extension
AdGroup A and AdGroup B
  • Has an existing extension X
  • Newly associating associating extension Y
No error scenario 1, empty extensions
AdGroup A and AdGroup B
  • Has no extensions
  • Newly associating associating extension Y
No error scenario 2, has different extensions
AdGroup A
  • Has extension X
  • Newly associating associating extension Y
AdGroup B
  • Has extension Z
  • Newly associating associating extension Y
I think the error is triggered because the logic is assuming I am editing the extension feed item X. Which I am not. I just want to add Y to both ad groups.

How do I work around this without relying on 2 different calls or batch job?

JC Lee

unread,
Mar 22, 2017, 6:27:43 PM3/22/17
to AdWords API Forum
I need to add that I am using AdGroupExtensionSettingService.

Ivan Bautista

unread,
Mar 23, 2017, 3:16:18 AM3/23/17
to AdWords API Forum
Hi JC,

To help us investigate further, could you reply to us privately with the SOAP request and response when you encountered the error?

Regards,
Ivan 
AdWords API Team

JC Lee

unread,
Mar 23, 2017, 8:39:11 AM3/23/17
to AdWords API Forum
Hi Ivan,

Replying to your answer in the private reply here.

With further testing, I found that if I cleaned out the existing feed items of properties I am able to avoid the error.

In other words, in my example from my first post, the existing extension X on both ad groups must be void of properties except its feedItemId.

Maybe you guys should update the documentation to reflect this.

Best Regards,
JC
Reply all
Reply to author
Forward
0 new messages