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?