No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    AdMob stuck on testAd

    Framework
    3
    3
    230
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      daithi last edited by

      Hi all,

      I have a problem with AdMobs, not sure where issue lies, Could be banner settings on google, cordova plugin or quasar. Starting with quasar maybe config or env vars solution…

      I can see test ads no problem, but only test ads. When running cordova run or with signed/unsigned builds on my smartphone - its always got test Ad on it. Displayed like a title on top center of banner. I’ve removed the isTesting param, set it to false an tried any numerous add removing the following:

          document.addEventListener('deviceready', ()=>{
            console.log('admobid: ', admobid)
            console.log('Device is ready')
            if(AdMob) setTimeout(()=>{AdMob.createBanner({ // put top of event stack
              // adSize: 'SMART_BANNER',
              // width: 360, // valid when set adSize 'CUSTOM'
              // height: 90, // valid when set adSize 'CUSTOM'
              position: AdMob.AD_POSITION.BOTTOM_CENTER,
              // x: 0,		// valid when set position to POS_XY
              // y: 0,		// valid when set position to POS_XY
              adId: admobid.banner,
              isTesting: false,
              overlap: true,
              autoShow: true,
            })});
            else console.error('AdMob not created :(')
          })
      

      Always resulting in testAd, can’t find anything in google or cordova plugin either:

          <plugin name="cordova-plugin-admobpro" spec="^2.37.2">
              <variable name="PLAY_SERVICES_VERSION" value="16.0.0" />
          </plugin>
      

      any help appreciated

      1 Reply Last reply Reply Quote 0
      • U
        Uneasy last edited by

        Hi, did you figure that out ? I am having same problem. Not sure if it has to be published in play store for ads ?

        1 Reply Last reply Reply Quote 0
        • T
          Thom94 last edited by Thom94

          I
          have the same problem, someone solved it?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post