Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Not receiving AdMob Ads
Started by rbgmob Jul 08 2018 05:32 PM

1 reply to this topic
admob ads monetization plugins subscribed error
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

rbgmob

[GLOBAL: userInfoPane.html]
rbgmob
  • Observer

  • 5 posts
  • Corona SDK

Hey Corona Forums,

 

Just recently subscribed to a years licence of the AdMob plugin, and currently am not impressed.

 

Granted, this is most likely an issue on my side of things, so this level of un-impressiveness could potentially be addressed to myself, however, I am almost certain that I have followed and implemented the latest API plugin code for AdMob and followed the below 100% correctly:

 

- admob.init  (Initialization)

- admob.load    (loading interstitial ad)

- admob.show   (showing interstitial ad)

 

When I built my project for my physical android device to test AdMob ads, I seem to be receiving no ads.

 

Now, on AdMob side of things, I do indeed have a profile/account, I have setup an App and have an associated App Id, I also created an  Interstitial Ad Unit and have the associated Interstitial Ad Id, both in which are letter for letter copied into my application in both, the .init function call and .load function call.

 

If anyone could give me some pointers/ guidance as to what exactly I am doing wrong here/ is also encountering the same problem... please please please let me know what you did to get around this?

 

Thanks,

 

Jarrad T.



[TOPIC: post.html]
#2

appzari

[GLOBAL: userInfoPane.html]
appzari
  • Observer

  • 10 posts
  • Corona SDK

-- AdMob listener function
 
local function adListener( event )
 
    if ( event.phase == "init" ) then  -- Successful initialization
    
        admob.load( "banner", { adUnitId=bannerUnitID } )
 
        elseif ( event.phase == "loaded" ) then
 
         admob.show( "banner" )
 
    end
end
 
admob.init( adListener, { appId=appID, testMode=true } )
 
 
try this!



[topic_controls]
[/topic_controls]