Advertising on Android

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

JonathanLynch
Posts: 22
Joined: Mon Apr 10, 2006 1:42 pm
Location: Atlanta
Contact:

Re: Advertising on Android

Post by JonathanLynch » Wed Nov 30, 2016 2:35 pm

I have been researching this issue for a project I am working on. It appears that several ad providers use a mobile web interface in addition to the android and iOS SDKs. I know that both Mopub and MobFox do this.

Considering that we might produce an application that is deployed to 5 different platforms, it sure makes sense to have an ad delivery mechanism that would across all platforms rather than having to customize for each.

Do we have to use a separate web page on a server, though? I mostly deliver HTML content, including images, through the browser widget without using a page on a server. I just auto generate a self-contained html document and set the htmltext of the widget to that.
The key to a happy life is to practice love for all things.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Advertising on Android

Post by shaosean » Wed Nov 30, 2016 4:39 pm

Having to have a page hosted somewhere will really depend on the ad network requirements, but you could probably can slap their code in to your generated HTML page and do what you're currently doing, I'm going to assume that their code will just make what network calls it needs to make to load up their ads.. You may also want to check if there is a network connection before embedding their code.. Personally my iPod Touch is pretty much always in airplane mode, whereas my iPod is always on wifi..

donizeti.borges
Posts: 16
Joined: Tue Sep 03, 2013 8:33 pm

Re: Advertising on Android

Post by donizeti.borges » Mon Feb 20, 2017 8:16 pm

Hi AndyP

I have a question , please, can you answer?

You mentioned that started working with smaato, my the question is : This strategy works fine and generate revenue ?

Regards,

AndyP
Posts: 614
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: Advertising on Android

Post by AndyP » Wed Feb 22, 2017 8:01 am

Hi, the smaato option worked well from a technical standpoint.

Revenue...well that wasn't so good, but my app was targeted at a very small subset of users, so its difficult for me to judge the value for an app with a large audience.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm
Location: McKenna, WA

Re: Advertising on Android

Post by quailcreek » Sat Oct 28, 2017 11:13 pm

So has there been anything resolved regarding being able to use AdMob with LC?
Tom
MacBook Pro OS Mojave 10.14

Pesche
Posts: 3
Joined: Tue Mar 06, 2018 9:12 pm

Re: Advertising on Android

Post by Pesche » Tue Mar 06, 2018 9:18 pm

Have anyone news about this Problem??
I've heard that admob and andsense wouldn't work but there schould be other solutions...???

Pesche
Posts: 3
Joined: Tue Mar 06, 2018 9:12 pm

Re: Advertising on Android

Post by Pesche » Sat Mar 10, 2018 12:55 pm

Is the Smaato option still working? I tried but I struggle...

keliko
Posts: 85
Joined: Thu Aug 01, 2019 8:15 am

Re: Advertising on Android

Post by keliko » Mon Jan 13, 2020 6:14 pm

we can use advertising network on livecode??

Aduro91
Posts: 36
Joined: Sat Jul 22, 2023 8:49 pm

Re: Advertising on Android

Post by Aduro91 » Sun Jul 23, 2023 4:27 am

AndyP wrote:
Wed May 11, 2016 3:14 pm
So after a lot of testing with different ad suppliers I have started using ads supplied by Smaato SPX.

They responded quickly to my questions re using a web-view in an Android app.. their response below.
Thank you for contacting us. From your description we assume that you would like to use webview within the app (so there would be htpp address) and the actual ad would be displayed on a page - in this case we would recommend you to simply use our Ad Tag integration. You could also use the API integration however you need to make sure that the beacon will be fired when the ad will be displayed, not before.
-----

To get this working in your app,

1. Add a mobile browser control to your app.

# create the browser
mobileControlCreate "browser"
put the result into gBrowserId
# set up the basic defaults
mobileControlSet gBrowserId, "visible", true
mobileControlSet gBrowserId, "rect", the rect of graphic "ButtonAreaCover" of card "Game" // change as required
mobileControlSet gBrowserId, "url", "your web page to display the ad"


2. Once you have an add-space set up with Smaato you will need to have a web page to load into your browser control as in the example below.

<------
Try them out and let us know how you get on.
Hey Andy, it has been quite a while since this post of yours but Smaato is still up and running and I was hoping to try this method of putting ads on an LC-made iPhone app!

I'm wondering what you used to create the website to run the html script. I remember when you could get a free website (with a truncated long domain of course) and gain access to the html code for it. Nowadays, the code editing seems to be sealed off from any free website builders.

Any advice would be appreciated on how to get that part of the process sorted, and if you still have whatever site you made all that time ago maybe I could test that the process works with it?

Cheers!

AndyP
Posts: 614
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: Advertising on Android

Post by AndyP » Sun Jul 23, 2023 2:46 pm

Unfortunately Smaato stopped their JavaScript intigration service a few years back.
I did not find an alternative that would work with Livecode or be allowed by Google.
You may find going with a free version, upgradable with payment a more viable option.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

Aduro91
Posts: 36
Joined: Sat Jul 22, 2023 8:49 pm

Re: Advertising on Android

Post by Aduro91 » Sun Jul 23, 2023 4:13 pm

AndyP wrote:
Sun Jul 23, 2023 2:46 pm
Unfortunately Smaato stopped their JavaScript intigration service a few years back.
I did not find an alternative that would work with Livecode or be allowed by Google.
You may find going with a free version, upgradable with payment a more viable option.
Thanks for replying, good to know. Perhaps the in-app purchase upgrades are the way to go yes!

Post Reply

Return to “Android Deployment”