HOW TO DISPLAY "REWARDED ADS" FROM LEADBOLT

75 views
Skip to first unread message

Chinedu Emeka

unread,
Jul 4, 2019, 5:18:20 PM7/4/19
to DroidScript
Hello,
I have developed my app & got approval from leadbolt to display ads. My app is satisfactorily displaying "App Banner " from leadbolt. However, I discovered that the type of ad I need to display is "Rewarded Ads".

"Rewarded ad units enable users to play games, take surveys, or watch videos to earn in-app rewards, such as coins, extra lives, or points. You can set different rewards for different ad units, and specify the reward values and items users will receive. Rewarded ad units can show video ads and interactive ads. The maximum length of video ads is 60 seconds."

leadbolt offers rewarded ads:
(see attached image or visit link below)

Does anyone know to go about this integration, I am completely lost.

Thank you,

Chinedu Emeka


 
rewarded_ad1.jpg

Rodwell

unread,
Jul 5, 2019, 4:33:01 PM7/5/19
to DroidScript
The Leadbolt sdk is based on java so The best way to solve this issue is to create a plugin that intergrates the ads.

csnakes xXXx

unread,
Jul 6, 2019, 10:22:06 AM7/6/19
to DroidScript
It is not possible with DroidScript actually, because you need to add an activity to the manifest of DroidScript and for build apk it needs a option for add custom manifest file.

John

unread,
Jul 6, 2019, 9:54:32 PM7/6/19
to DroidScript
Is that for all of the SDKs, or just the Java SDK? Can the cordova-phonegap SDK be leveraged, shoehorned, and/or tweaked the way that Dave got SQLite to work?

https://help.leadbolt.com/using-phonegap-android/

csnakes xXXx

unread,
Jul 7, 2019, 4:48:54 AM7/7/19
to DroidScript
Oh I don't know, I will try this later

Dave

unread,
Jul 7, 2019, 12:16:40 PM7/7/19
to DroidScript
Regarding re-using Cordova/Phonegap code.  You can try to use this wrapper code if you want make use of the Android parts of a Cordova plugin:-


If you need additions to the DS manifest, I might be able to accommodate if you ask nicely :)

csnakes xXXx

unread,
Jul 8, 2019, 11:36:49 AM7/8/19
to DroidScript
Thank you !
I tried to adapt it with the wrapper, but what does m_mega refer to ?
Reply all
Reply to author
Forward
0 new messages