Bring Deine Anzeigen automatisch in den Suchergebnissen nach oben durch regelmäßige Aktualisierung. Automatically push your ads to the top of the list by periodically updating them.
The deactivating and reactivating definitely works like a charm.
I think, there is probably a problem with the X-Access-Token and the X-Dev-Ref-No Token.
I tried running the script on my ad with only the deactivation part ("deactivated" : 1) like this