Setvirtualresolution(640,480)
ResetTimer()
//Firstly Obtain Unique Code from
//www.google.co.uk/AdMob
SetAdMobDetails("UNIQUE_ADMOB_APP_CODE")
//Create and Position the Advert
CreateAdvert(0, 1, 2, 0)
//Make Advert Visible
SetAdvertVisible ( 1 )
//Reload/Refresh Advert, call occasionally or on scene change
RequestAdvertRefresh()
Repeat
Print ("Advert will appear at the bottom of the screen")
sync()
Until Timer()>20
Help make AGK better by submitting an example for this command! (All examples are subject to approval)