Hi all,
In my case it was indeed a limit. However, not a limit described on the page which is mentioned. By trial & error I found out that on ad group level only 20 sitelinks are allowed. However, this includes both live and deleted sitelinks. Which is kind of weird because the deleted sitelinks don't exist anymore. So what I did was:
- Deleted sitelinks from Business Data section: "Main Sitelink feed"
- Removed sitelinks (although deleted) from the ad group (use "remove" button in the interface).
That fixed the error message when I ran the script again.
I guess the issue with deleted sitelinks still counting towards the limit is one of the many bugs in the new interface.
@Anthony; thanks for the support!