· Home    · License/Purchase    · Online help    · FAQ    · Contact    · Download    · PAD    · AliaWeb   
 Personal finance » On-line Shop » Advertise server » OnLine help

GetBannerEx Method (AdLib)

Retrieves a banner type and HTML code from the advertising server.

Applies To

AdClient Object

Syntax

HTML = AdClient.GetBannerEx(ZoneCodeName, BannerTypeId)

Return Values

Returns a banner HTML code.

Parameters

ZoneCodeName    A Text containing zone code name.

BannerTypeId    A Long variable to which the advertising server returns
                            the banner type number.

Remarks

A zone code name parameter is used to unique determine advertising zone. This version of GetBanner function is recommended to use because page number and page position parameters can change after some database system failure, but zone code name stay unchanged. The zone code name also better determines a advertising zone because it contains descriptive name for the zone.

Example

Dim HTML, AdClient, BannerTypeId
Set AdClient = Server.CreateObject("AdLib.AdClient")
HTML = AdClient.GetBannerEx("default_zone", BannerTypeId)
Set AdClient = Nothing


See Also

GetBanner,
GetBannerPageCodeName, IsRunning

Copyright © 1998 - 2025 Aliaweb, s.r.o.
All Rights Reserved