* Please make sure that you do not make any advertising mistakes when you test the ad insertion version. If an app has ad errors, you can block it from running your APK game.
Now, you can earn money by inserting various ads in your RPG Maker game.
Insert an ad.
You can also take a test version of your ad and analyze it.
xp_adtest.zip <-Download the test version
The ad inserts into the script.
Scripted ads work only within the Neko player.
Ad revenue for games not converted to APK will not be counted. Therefore, You must convert to APK if you want Ad revenue.
If your game is difficult to register in the Play Store, you must convert it to APK and share the material.
[How to insert an ad script]
1. Add a line of ad script to the script above main.
The script
--------------------------------------
class NekoWrapper
def canShowVideoAD
RGSS.msgbox 'canShowVideoAD'
return false
end
def showVideoAD(skip=false)
msgbox 'showVideoAD'
end
def showBannerAD(align, type='')
msgbox "showBannerAD align=#{align}, type=#{type}"
end
def hideBannerAD
msgbox 'hideBannerAD'
end
def showFullAD(type='')
msgbox "showFullAD type=#{type}"
end
def useCash(switch_id, name, amount)
$game_switches[switch_id] = false
msgbox("useCash switch_id=#{switch_id}, type=#{name}, amount=#{amount}")
$game_switches[switch_id] = true
$game_map.need_refresh = true
return true
end
def buyCash()
msgbox "buyCash"
end
end
$neko = NekoWrapper.new unless $neko
---------------------------------
XP, VX, VXA is common.
2. Put a script command in the place where the advertisement is to be inserted.
Event > Script command.
Below are the ad scripts for each.
+ Skippable video ads (ads that can be skipped just a few seconds after the video is displayed)
---------------------------------
if $neko.canShowVideoAD
$neko.showVideoAD true
end
---------------------------------
+ Non Skippable video ad (video can not be skipped)
---------------------------------
if $neko.canShowVideoAD
$neko.showVideoAD
end
---------------------------------
+ Admob advertising top banner (bar-shaped banner at the top of the game)
---------------------------------
$neko.showBannerAD 'top', 'admob'
---------------------------------
+ Admob interstitial ad (pop-up interstitial)
---------------------------------
$neko.showFullAD 'admob'
---------------------------------
+ Close ad (close banner ad)
---------------------------------
$neko.hideBannerAD
---------------------------------
* If you do not understand the above, you should ask a friend who knows how to speak Korean.