# SetAdvertPosition

## Description

Positions the advert created with CreateAdvert somewhere on screen and attempts to scale it to a certain width. Since the advert will have its own aspect ratio the height will be calculated from the width. This is not guaranteed to work on all advert providers, currently only Inneractive can scale and move ads to an absolute position.

## Definition

SetAdvertPosition( x, y, width )

void agk::SetAdvertPosition( float x, float y, float width )

## Parameters

- x - The x position of the top left corner of the ad
- y - The y position of the top left corner of the ad
- width - The desired width of the ad, it will be scaled to this width