Hello, Anthony and thanks for your reply.
After doing what you reccomended the error disappeared, but now I am getting a different one : Selector was too large. Cannot call executeInParallel on a selector with more than 50 elements.
I guess this is because we have under our master account we have 40+ client accounts and a total of 200+ campaigns. Do you have any tips on how can I make the script work for all of our accounts.
Finally, I will need one last clarification regarding the copied sheet - it is not clear to me if I should type just a name of a negative keyword list which's already in the shared library or I will have to type a negative keyword list name + the negative keywords themselves. Can you clarify this as well?