adding support for custom ads