first stab at ads

Do not merge yet,
For review only now
Decorators are great. Can we include this function as part of the `Wikia` library. I expect this library to grow and use all implementations common to all scripts.