- 전체
- 게임 일반 (make game basics)
- 모바일 기획 및 디자인
- GameMaker Studio
- Unity3D
- Cocos2D
- 3D Engine OGRE
- 3D Engine irrlicht
- copperCube
- corona SDK
- Windows Basic Game
- BaaS (Mobile Backend)
- phnegap & cordova
- ionic & anguler
- parse (backend)
- firebase (backend)
- Game Backend Server / Opt
- web assembly
- Smart Makers
- pyGame & Ren'Py
- 머드(MUD) 게임 만들기
- Xamarin(자마린)
- flutter (플루터 앱 개발)
- construct 2 / 3
- pocketbase
- RPG Maker 시리즈
- godot engine
- playmaker(unity)
- react native
RPG Maker 시리즈 [RPG Maker] Simple AdMob - RPG Maker MV
2024.12.16 01:25
[RPG Maker] Simple AdMob - RPG Maker MV
Introduction
This plugin provides the way easily to display an advertisement in your cordova application for Android or iOS.
Korean Translation - https://blog.naver.com/biud436/220779787549
How to setup
1. Create a cordova application
In case of using a cordova-cli, Before you start build your mobile application, you need to attempt as below.
if your cordova version is to 7 or more, you can easily add the plugin by calling as below command:
cordova plugin add cordova-plugin-admob-free --save --variable ADMOB_APP_ID="<YOUR_ANDROID_ADMOB_APP_ID_AS_FOUND_IN_ADMOB>"
2. Join and Setup the AdMob
If you would like adding Google AdMob, you must join 'https://apps.admob.com/' page with a google and then create a new application and then specify the advertisement id of two type(BannerAd, InterstitialAd).
Its id format is 'ca-app-pub-xxxxxxxxxxxxxxxx-xxxxxxxxxx'. Note that the 'x' is replaced is to different random number between 0 and 9. Note that it couldn't indicate the advertisement if the x value is not replaced as real value in the plugin parameters (Beware of using an invalid id. if it is invalid, the AdMob will not be working)
3. Checking the internet
If the internet is not connected, the advertisement view is not created. So there is need to include the function that can end up the application forcibly if the internet didn't connect. AJAX go along can be a good way to check the network status. But there is no need to put an AJAX logic directly.
You can try this plugin command:
CheckInternet url
To do this, you must replace default url as other thing. For Example:
CheckInternet https://www.google.com
4. Calling the advertisement
You can be loaded or be removed the banner advertisement once using these plugin commands:
Banner show
Banner remove
If you would like to show up the advertisement on the full screen, you can indicate it using this plugin command:
Interstitial show
You can set reward code blocks using plugin parameters.
ShowRewardVideo
* If your current balance does not meet the payment threshold (0 USD), You can't be getting a paid(please see this link)
Downloads
https://github.com/biud436/MV/raw/master/Android/RS_Admob.js
Change Log
* 2016.08.06 (v1.0.0) - First Release
* 2016.10.05 (v1.0.1) - Added the function that could be checking the internet.
* 2019.11.06 (v1.0.2) :
* - Fixed the bug that is not working.
* - Changed as the cordova plugin(extension) that works fine.
* - Added reward video.
* - Changed SceneManager.exit() to navigator.app.exitApp();
[출처] https://biud436.tistory.com/73
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 5 |
[3D 수학] 사원수(Quaternion : 쿼터니언)
| 가을의곰 | 2017.06.10 | 836 |
| 4 |
각도와 거리로 좌표 구하기
| 가을의곰 | 2017.06.10 | 1330 |
| 3 | [OpenGL]Quaternion (사원수)를 이용한 회전 | 가을의곰 | 2017.06.10 | 785 |
| 2 |
Games on GitHub 오픈소스 게임 모음
| 졸리운_곰 | 2016.01.19 | 4148 |
| 1 |
나우프레스 c게임 프로그래밍 예제 [이태성]
| 졸리운_곰 | 2015.11.03 | 787 |

