Difference between revisions of "FBInstant.getInterstitialAdAsync"
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...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | FBInstant.getInterstitialAdAsync(placementID,callback) | |
</source> | </source> | ||
− | '''placementID | + | '''placementID''': (string) The placement ID that's been setup in your Audience Network settings. ''''''<br/> |
− | '''callback | + | '''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 10: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. '