Preload a PlayHaven ad placement, ready to be shown.


GML Code Example


Argument Description
placement The PlayHaven placement name (a string)

Returns: N/A


This function will preload a PlayHaven ad into memory, ready for it to be shown when the ads_event calls the placement used (both functions require the same placement name string to work. If you know that after a certain time or at a certain point in your game you are going to be calling a PlayHaven content placement, then this function can be called beforehand so as to make the user experience as smooth as possible.

NOTE: This function will not show the ad! It only loads it into memory.


GML Code Example


The above code will preload an ad from PlayHaven for the placement named "game_start".

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here