CreateAdvert

Description

Creates an advert for revenue generation. Before calling this function you must have set your ad account details with one of the other commands such as SetAdMobDetails. Not all platforms support all ad providers so setting as many account details as possible will allow AGK to select a suitable ad for this platform.

This advert will typically be a 320x50 banner displayed somewhere around the edge of your app. Creating an ad when one already exists will replace the existing ad. The type parameter can be used to select the size of the banner, 0=Banner(320x50), 1=LargeBanner, 2=MediumRectangle, 3=FullBanner, 4=Leaderboard, 5=SmartBanner, 6=FluidBanner

Definition

CreateAdvert( type, horz, vert, test )

Parameters