refactor ad creation
Merge branch 'master' of https://github.com/bea-project/bea-web