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

GetBannerPageCodeName Method (AdLib)

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

Applies To

AdClient

Syntax

HTML = AdClient.GetBannerPageCodeName(PageCodeName, PagePositionId, BannerTypeId)

Return Values

Returns a banner HTML code.

Parameters

PageCodeName    A Text containing page code name.
PagePositionId    A Long variable containing page position number.
BannerTypeId    A Long variable to which the advertising server returns
                            the banner type number.

Remarks

A page code name parameter is used to unique determine advertising page.
The page code name also better determines a advertising page because it contains descriptive name for the page.

Example

Following example shows banner retrieving by GetBannerPageCodeName method using default PagePositionId parameter equal to 1:

Dim HTML, AdClient, BannerTypeId
Set AdClient = Server.CreateObject("AdLib.AdClient")
HTML = AdClient.GetBannerPageCodeName("default_page", 1, BannerTypeId)
Set AdClient = Nothing


See Also

GetBanner, GetBannerEx, IsRunning

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