Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Applovin - banner Position
Started by bbk Mar 07 2019 05:12 AM

- - - - -
2 replies to this topic
applovin banner bottom
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

bbk

[GLOBAL: userInfoPane.html]
bbk
  • Enthusiast

  • 60 posts
  • Corona SDK

I am using Corona on iOS, and have manged to get the Banner ad to show, but not on the bottom, as I want it to.

 

I load the ad on one screen

applovin.load( "banner")

and then on the next I have the commands:

local isAdLoaded = applovin.isLoaded( "banner" )
if ( isAdLoaded == true ) then
applovin.show( "banner", "bottom" )
end 

This shows the banner on the top of the screen, and not on the bottom as I want it to.

 

Support from Applovin said that "It sounds like you are missing to put your banner object in a container and then place that banner container at the bottom of the screen."

 

I cannot see that this should be necessary from any of the documentation.

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,646 posts
  • Enterprise

The second parameter to applovin.show() is expecting a table, not a string.  Try:

applovin.show( "banner", { y = "bottom" } )

Rob



[TOPIC: post.html]
#3

bbk

[GLOBAL: userInfoPane.html]
bbk
  • Enthusiast

  • 60 posts
  • Corona SDK

Thank you Rob, 

I can see that this is explained in the documentation, but maybe an example code could be added to make it more explanatory.

 

I only found examples using the wrong command:

applovin.show( "banner", "bottom" )

when I searched in the Forum and online. 




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: applovin, banner, bottom