Hi all,I have tried to put admob in my game developed with AppMobi Impact XDK and directCanvas.
I have follow the tutorial in http://support.google.com/admob/bin/answer.py?hl=en&answer=1704625&ctx=cb&src=cb&cbid=-kd5eir1zy3v1
but admob is not shown and admob is not receiving any ads request.
following is my code fragment:<script type="text/javascript">
var admob_vars = {
pubid: 'a150fd5fd022cbd', // publisher id
test: true, // test mode, set to false if non-test mode
manual_mode: true
};
</script>
<script type="text/javascript" src="http://mmv.admob.com/static/iphone/iadmob.js"></script>
<script type="text/javascript">
...//// other code
_admob.fetchAd = function( el ) {
return {
adEl: adFrame
};
};
_admob.fetchAd( document.getElementById( 'admob_ad' ) );
</script>can anyone show me the tutorial about this?--
thank you very much