Make ad-targeting switches temporary
Refactor iteration through array
Include config as a dependency
Refactor ad segment matching
Refactor ad targeting