(AGK version: 108.16)
Submitted: 2013-08-05 14:33:01
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)
Login to post an example of your own.