vendredi 30 septembre 2016

AdMob with actionscript 3

How I recognize if somebody clicks an ad in my game to give him coins or etc?
For example, if I say if you click the banner you earn coin or lifes or unlock a weapon.
Here is how i show an ad in the first frame in timeline.

import so.cuo.platform.admob.*;
Admob.getInstance().setKeys("your admob banner id","your admob institial id");
Admob.getInstance().showBanner(AdmobSize.BANNER_320x50,AdmobPosition.BOTTOM_CENTER);

Aucun commentaire:

Enregistrer un commentaire