Custom ad sizes for iAd and AdMob

| | August 18, 2015

I have both iAd and AdMob in my application. Can I customize the ad sizes in my application to 320×250? Or are only predefined sizes mentioned in the documentation possible, for example 320×50?

I think it is not possible, but I just want to confirm this.

One Response to “Custom ad sizes for iAd and AdMob”

  1. Yes , Its possible to make custom size with AdMob using DFPBannerView. Please try with below code –

    // Define custom GADAdSize 320 x 220
    GADAdSize customAdSize = GADAdSizeFromCGSize(320, 220);
    
    self.adBanner = [[DFPBannerView alloc] initWithAdSize:customAdSize];
    

    Please check below url for more details –

    https://developers.google.com/mobile-ads-sdk/docs/dfp/ios/banner

Leave a Reply