Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
cordova admob plus not showing ads

I am trying to show a rewarded ad (with admob) plus when my function is called. I tried with Interstitial too but nothing shown. I am using google test ads and ID

let rewarded;
document.addEventListener('deviceready', async () => {
    await admob.start().then(() => {
        console.log('AdMob started.');
    }).catch(e => console.log(e));

    rewarded = new admob.RewardedAd({
        adUnitId: 'ca-app-pub-3940256099942544/5224354917'
    });
}, false)


function Reward() {
    rewarded.on('load', (evt) => {
        await rewarded.load();
    })

    rewarded.load()
    rewarded.show()
}

I have tried many modifications but still no ad is displayed. Maybe the problem is that I need something in the config.xml file Please help

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

try var rewarded; instead of

let rewarded;

------------------------ or ------------------------

I suggest

admob.rewarded = new admob.RewardedAd (...)

function Reward() {
  admob.rewarded.on('load', (evt) => {
    await admob.rewarded.load();
  })

  admob.rewarded.load()
  admob.rewarded.show()
} 
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!