Function
Static Public Summary | ||
public |
createBannerView(options: {}, successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
|
public |
createInterstitialView(options: *, successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
|
public |
destroyBannerView(options: *, successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
|
public |
prepareInterstitial(options: {}, successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
|
public |
requestInterstitialAd(options: {}, successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
|
public |
setOptions(options: Object, successCallback: function(), failureCallback: function()) this function was deprecated. since version 0.6
Set options. |
|
public |
this function was deprecated. since version 0.6
|
|
public |
showInterstitial(successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
|
public |
showInterstitialAd(show: boolean, successCallback: *, failureCallback: *) this function was deprecated. since version 0.6
|
Static Public
public createBannerView(options: {}, successCallback: *, failureCallback: *) source
import {createBannerView} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
options | {} |
|
|
successCallback | * | ||
failureCallback | * |
public createInterstitialView(options: *, successCallback: *, failureCallback: *) source
import {createInterstitialView} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
options | * | ||
successCallback | * | ||
failureCallback | * |
public destroyBannerView(options: *, successCallback: *, failureCallback: *) source
import {destroyBannerView} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
options | * | ||
successCallback | * | ||
failureCallback | * |
public prepareInterstitial(options: {}, successCallback: *, failureCallback: *) source
import {prepareInterstitial} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
options | {} |
|
|
successCallback | * | ||
failureCallback | * |
public requestInterstitialAd(options: {}, successCallback: *, failureCallback: *) source
import {requestInterstitialAd} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
options | {} |
|
|
successCallback | * | ||
failureCallback | * |
public setOptions(options: Object, successCallback: function(), failureCallback: function()) source
import {setOptions} from 'cordova-plugin-admob-free/admob'
Set options.
Params:
Name | Type | Attribute | Description |
options | Object | ||
options.publisherId | string | ||
options.interstitialAdId | string | ||
options.bannerAtTop | boolean |
|
Set to true, to put banner at top. |
options.overlap | boolean |
|
Set to true, to allow banner overlap webview. |
options.offsetTopBar | boolean |
|
Set to true to avoid ios7 status bar overlap. |
options.isTesting | boolean |
|
Receiving test ad. |
options.autoShow | boolean |
|
Auto show interstitial ad when loaded. |
options.forChild | boolean | null |
|
Default is not calling |
options.forFamily | boolean | null |
|
Android-only.
Default is not calling |
successCallback | function() |
|
|
failureCallback | function() |
|
public showAd(show: boolean, successCallback: *, failureCallback: *) source
import {showAd} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
show | boolean |
|
|
successCallback | * | ||
failureCallback | * |
public showInterstitial(successCallback: *, failureCallback: *) source
import {showInterstitial} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
successCallback | * | ||
failureCallback | * |
public showInterstitialAd(show: boolean, successCallback: *, failureCallback: *) source
import {showInterstitialAd} from 'cordova-plugin-admob-free/admob'
Params:
Name | Type | Attribute | Description |
show | boolean |
|
|
successCallback | * | ||
failureCallback | * |