Forums

OverviewV-Play 1 SupportAdMob › Reply To: AdMob

OverviewV-Play 1 SupportAdMob › Reply To: AdMob
#6522

V-Play User

Now i tested on my iPhone 5s.

i get the Smartbanner on the right position (in testmode and livemode)

But if i want to user a Interstitial (FullScreen) the console (Xcode) says:

//    Jan 25 16:18:43 Noname-Corp GrumpyDude[14138] <Warning>: <Google>
//    Unable to set adSize property with kGADAdSizeInvalid.
//    Please use one of the standard ad sizes or create a custom ad size using GADAdSizeFromCGSize.

my AdMob Item:

    AdMob {
        id: admob
        publisherId: admobFullScreenPublisherId
        testDeviceId: admobTestDeviceId
        banner: system.debugBuild ? 0 : AdMob.None
        z:11111
        onInterstitialReady: {
            nativeUtils.displayMessageBox("onInterstitialReady")
            showInterstitialIfLoaded()
        }

        onFailedToLoadInterstitial: {
            nativeUtils.displayMessageBox("Interstitial not loaded!")
            console.log("Interstitial not loaded!")
        }

        onFailedToLoadAd: {
            nativeUtils.displayMessageBox("Banner not loaded!")
            console.log("Banner not loaded!")
        }
    }

Can anyone help me with that problem?

 

 

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support