Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Can't see AppLovin ads in tvOS
Started by Vitaliy Latypov Mar 23 2017 01:28 PM

2 replies to this topic
applovin tvos
[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

Vitaliy Latypov

[GLOBAL: userInfoPane.html]
Vitaliy Latypov
  • Enthusiast

  • 50 posts
  • Corona SDK

Hi.

 

I'm trying to use the AppLovin plug-in to display video ads in my tvOS app, but it doesn't work.

 

It looks like plugin is initializing. In AppLovin Control Panel (Manage Apps) i see my app and can configure it. I have setted "Test Mode" On.

 

When i try to load and show ads nothing happens.

 

What can i do to solve this problem?

 

main.lua:

local applovin = require( "plugin.applovin" )
		
local function adListener( event )
  
    if ( event.phase == "init" ) then  -- Successful initialization
        print( event.isError )
        -- Load an AppLovin ad
        applovin.load()
 
    elseif ( event.phase == "loaded" ) then  -- The ad was successfully loaded
        print( event.type )
        -- Show the ad
        applovin.show()
 
    elseif ( event.phase == "failed" ) then  -- The ad failed to load
        print( event.type )
        print( event.isError )
        print( event.response )
 
    elseif ( event.phase == "displayed" or event.phase == "playbackBegan" ) then  -- The ad was displayed/played
        print( event.type )
 
    elseif ( event.phase == "hidden" or event.phase == "playbackEnded" ) then  -- The ad was closed/hidden
        print( event.type )
 
    elseif ( event.phase == "clicked" ) then  -- The ad was clicked/tapped
        print( event.type )
    end
end
 
applovin.init( adListener, { sdkKey = "nz5riCWhaPKcn54BsZF_t-6rRFeA4MZsJeg0sCiQc11O65ZzeqyWp3MEJ0OOMzEfbvgR6NtkPv6W_fTeUQ9HUW" } )

build.settings:

settings =
{
	orientation = {
		default = "landscapeLeft",
		supported = { "landscapeLeft", "landscapeRight" }
	},


	plugins =
	{
		["plugin.applovin"] =
		{
			publisherId = "com.coronalabs",
			supportedPlatforms = { appletvos=true } 
		},
		["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true }
        },
	},
}

Attached Files



[TOPIC: post.html]
#2

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

This is most likely due to the fact that Applovin removed support for tvOS in 2017.



[TOPIC: post.html]
#3

Vitaliy Latypov

[GLOBAL: userInfoPane.html]
Vitaliy Latypov
  • Enthusiast

  • 50 posts
  • Corona SDK

This is most likely due to the fact that Applovin removed support for tvOS in 2017.

 

Yes, applovin support confirmed that they no longer work with tvOS :(




[topic_controls]
[/topic_controls]