Hello Nils!! :)
Sorry for my late reply, I was out of the office.
Yes, you right, there were some lines missing in my code...not it works with no errors :)
And now 3 questions about the script behaviour.
First question:
My campaign already have 12k search terms
Negative keyword lists have a 5k entries limit
So I created more than one list.
I expected two list of 5k keywords and rest of keywords in the third list.
But the first two list have 4997 keywords
There were 3 search terms with more than 10 words, and maybe that's why.
But I expected the script to skip them and keed filling the list up to 5000 keywords.
And related to lists, is there a way to know how many list do I have to create? Is there any notification that tells my all of them all full and I do need to create a new one?
Second question:
After running the script 20 search terms are not excluded.
I expected them to be branded, but it's not the case for all
My brand is "rajapack".
I expect the search terms in red rectangles to be excluded too, why this is not the case?
Another behaviour I dont understad is that the script deletes the list content each time is applied
Is that the expected behaviour?
For me it would be interesting to add some keywords manually to these lists to avoid some search terms and reduce the spending beforehand and avoid the search query report to grow very big.
Is that possible?