FBInstant.getInterstitialAdAsync: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Attempt to create an instance of interstitial ad. This instance can then be preloaded and prese..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
= FBInstant.getInterstitialAdAsync(placementIDcallback,)
FBInstant.getInterstitialAdAsync(placementID,callback)
</source>
</source>
'''placementID:''' (string) The placement ID that's been setup in your Audience Network settings. ''''''<br/>
'''placementID''': (string) The placement ID that's been setup in your Audience Network settings. ''''''<br/>
'''callback:''' (function) A function that will be called with two arguments: Resolves with a #adinstance, or rejects with a #apierror if it couldn't be created.  An error code if the function failed. ''''''<br/>
'''callback''': (function) A function that will be called with two arguments: Resolves with a #adinstance, or rejects with a #apierror if it couldn't be created.  An error code if the function failed. ''''''<br/>

Revision as of 09:17, 23 August 2018

Available since: Gideros 2018.3

Description


Attempt to create an instance of interstitial ad. This instance can then be preloaded and presented.

 FBInstant.getInterstitialAdAsync(placementID,callback)

'placementID: (string) The placement ID that's been setup in your Audience Network settings. '
'callback: (function) A function that will be called with two arguments: Resolves with a #adinstance, or rejects with a #apierror if it couldn't be created. An error code if the function failed. '