Created
May 10, 2013 07:59
-
-
Save fengyuanyang/5553045 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ads = require "ads" | |
local function adListener(event) | |
-- 當要求到廣告時會呼叫這裡 | |
end | |
-- 以下a14f8ef7162ae18為小島的APPID,請置換成你的 | |
-- 如果沒有,也可以直接用這個測試,錢就算我的:D | |
--ads.init( "admob", apid, adListener ) | |
ads.init( "admob", "a14f8ef7162ae18", adListener ) | |
ads.show( "banner", { x=0, y=0 } ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment