SetPlacementPositionInPixels

Overview

Sets banner placement position in pixels for both platform (Android/iOS). Note: x-axis direction is right, y-axis direction is top for both platforms.

Syntax

#SetPlacementPositionInPixels(placementName, posX, posY)

placementName (REQUIRED)

string Unique name of placement. The same name will be used in addapptr.com account.

posX (REQUIRED)

int Position of the banner in x-axis in pixels.

posY (REQUIRED)

int Position of the banner in y-axis in pixels.

returns void

Examples

SetPlacementPositionInPixels("BannerPlacement", 50, 100);

Last updated