added an example for registerAdView