ads_get_display_height

This function gets the height of the currently displaying ad.

Syntax:

ads_get_display_height(num)


Argument Description
num The advert number to display (0 - 4).


Returns: Real


Description

With this function you can get the height of the ad box defined for the ads enabled by the ads_enable function.


Example:

ads_move(0, display_get_gui_height() - ads_get_display_height(0), 0);

The above code will set an advert to display at the bottom left-hand corner of the display.


Back: Advertising and Analytics
Next: ads_interstitial_available
© Copyright YoYo Games Ltd. 2018 All Rights Reserved