Trigger the PlayHaven content associated with the given placement name.


GML Code Example


Argument Description
placement The PlayHaven placement name (a string)

Returns: N/A


This function will send an ad request to PlayHaven. The argument that it takes is the placement name string that you wish to use. If that placement is associated with any content from the PlayHaven network (which you must have set up previously from the PlayHaven dashboard - see here), an interstitial ad overlay will be shown. Some of these ads generate a callback, which can be dealt with from a script as defined by the function ads_set_reward_callback. You must have ads enabled and PlayHaven set up correctly in the Global Game Settings - Advertising Tab otherwise no ads will be shown.


GML Code Example


The above code will set the callback script and then request 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