New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor-community/admob

Package Overview
Dependencies
Maintainers
0
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/admob - npm Package Compare versions

Comparing version 7.0.0-0 to 7.0.0

1785

dist/docs.json

@@ -132,5 +132,1002 @@ {

"slug": "setapplicationvolume"
},
{
"name": "showBanner",
"signature": "(options: BannerAdOptions) => Promise<void>",
"parameters": [
{
"name": "options",
"docs": "AdOptions",
"type": "BannerAdOptions"
}
],
"returns": "Promise<void>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "options AdOptions"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Show a banner Ad",
"complexTypes": [
"BannerAdOptions"
],
"slug": "showbanner"
},
{
"name": "hideBanner",
"signature": "() => Promise<void>",
"parameters": [],
"returns": "Promise<void>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Hide the banner, remove it from screen, but can show it later",
"complexTypes": [],
"slug": "hidebanner"
},
{
"name": "resumeBanner",
"signature": "() => Promise<void>",
"parameters": [],
"returns": "Promise<void>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Resume the banner, show it after hide",
"complexTypes": [],
"slug": "resumebanner"
},
{
"name": "removeBanner",
"signature": "() => Promise<void>",
"parameters": [],
"returns": "Promise<void>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Destroy the banner, remove it from screen.",
"complexTypes": [],
"slug": "removebanner"
},
{
"name": "addListener",
"signature": "(eventName: BannerAdPluginEvents.SizeChanged, listenerFunc: (info: AdMobBannerSize) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "bannerAdSizeChanged",
"type": "BannerAdPluginEvents.SizeChanged"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(info: AdMobBannerSize) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "eventName bannerAdSizeChanged"
},
{
"name": "param",
"text": "listenerFunc"
},
{
"name": "since",
"text": "3.0.0"
}
],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"BannerAdPluginEvents",
"AdMobBannerSize"
],
"slug": "addlistenerbanneradplugineventssizechanged-"
},
{
"name": "addListener",
"signature": "(eventName: BannerAdPluginEvents.Loaded, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "bannerAdLoaded",
"type": "BannerAdPluginEvents.Loaded"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "eventName bannerAdLoaded"
},
{
"name": "param",
"text": "listenerFunc"
},
{
"name": "since",
"text": "3.0.0"
}
],
"docs": "Notice: request loaded Banner ad",
"complexTypes": [
"PluginListenerHandle",
"BannerAdPluginEvents"
],
"slug": "addlistenerbanneradplugineventsloaded-"
},
{
"name": "addListener",
"signature": "(eventName: BannerAdPluginEvents.FailedToLoad, listenerFunc: (info: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "bannerAdFailedToLoad",
"type": "BannerAdPluginEvents.FailedToLoad"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(info: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "eventName bannerAdFailedToLoad"
},
{
"name": "param",
"text": "listenerFunc"
},
{
"name": "since",
"text": "3.0.0"
}
],
"docs": "Notice: request failed Banner ad",
"complexTypes": [
"PluginListenerHandle",
"BannerAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerbanneradplugineventsfailedtoload-"
},
{
"name": "addListener",
"signature": "(eventName: BannerAdPluginEvents.Opened, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "bannerAdOpened",
"type": "BannerAdPluginEvents.Opened"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "eventName bannerAdOpened"
},
{
"name": "param",
"text": "listenerFunc"
},
{
"name": "since",
"text": "3.0.0"
}
],
"docs": "Notice: full-screen banner view will be presented in response to the user clicking on an ad.",
"complexTypes": [
"PluginListenerHandle",
"BannerAdPluginEvents"
],
"slug": "addlistenerbanneradplugineventsopened-"
},
{
"name": "addListener",
"signature": "(eventName: BannerAdPluginEvents.Closed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "bannerAdClosed",
"type": "BannerAdPluginEvents.Closed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "eventName bannerAdClosed"
},
{
"name": "param",
"text": "listenerFunc"
},
{
"name": "since",
"text": "3.0.0"
}
],
"docs": "Notice: The full-screen banner view will been dismissed.",
"complexTypes": [
"PluginListenerHandle",
"BannerAdPluginEvents"
],
"slug": "addlistenerbanneradplugineventsclosed-"
},
{
"name": "addListener",
"signature": "(eventName: BannerAdPluginEvents.AdImpression, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "AdImpression",
"type": "BannerAdPluginEvents.AdImpression"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [
{
"name": "group",
"text": "Banner"
},
{
"name": "param",
"text": "eventName AdImpression"
},
{
"name": "param",
"text": "listenerFunc"
},
{
"name": "since",
"text": "3.0.0"
}
],
"docs": "Unimplemented",
"complexTypes": [
"PluginListenerHandle",
"BannerAdPluginEvents"
],
"slug": "addlistenerbanneradplugineventsadimpression-"
},
{
"name": "requestConsentInfo",
"signature": "(options?: AdmobConsentRequestOptions | undefined) => Promise<AdmobConsentInfo>",
"parameters": [
{
"name": "options",
"docs": "ConsentRequestOptions",
"type": "AdmobConsentRequestOptions | undefined"
}
],
"returns": "Promise<AdmobConsentInfo>",
"tags": [
{
"name": "group",
"text": "Consent"
},
{
"name": "param",
"text": "options ConsentRequestOptions"
},
{
"name": "since",
"text": "5.0.0"
}
],
"docs": "Request user consent information",
"complexTypes": [
"AdmobConsentInfo",
"AdmobConsentRequestOptions"
],
"slug": "requestconsentinfo"
},
{
"name": "showConsentForm",
"signature": "() => Promise<AdmobConsentInfo>",
"parameters": [],
"returns": "Promise<AdmobConsentInfo>",
"tags": [
{
"name": "group",
"text": "Consent"
},
{
"name": "since",
"text": "5.0.0"
}
],
"docs": "Shows a google user consent form (rendered from your GDPR message config).",
"complexTypes": [
"AdmobConsentInfo"
],
"slug": "showconsentform"
},
{
"name": "resetConsentInfo",
"signature": "() => Promise<void>",
"parameters": [],
"returns": "Promise<void>",
"tags": [
{
"name": "group",
"text": "Consent"
},
{
"name": "since",
"text": "5.0.0"
}
],
"docs": "Resets the UMP SDK state. Call requestConsentInfo function again to allow user modify their consent",
"complexTypes": [],
"slug": "resetconsentinfo"
},
{
"name": "prepareInterstitial",
"signature": "(options: AdOptions) => Promise<AdLoadInfo>",
"parameters": [
{
"name": "options",
"docs": "AdOptions",
"type": "AdOptions"
}
],
"returns": "Promise<AdLoadInfo>",
"tags": [
{
"name": "group",
"text": "Interstitial"
},
{
"name": "param",
"text": "options AdOptions"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Prepare interstitial banner",
"complexTypes": [
"AdLoadInfo",
"AdOptions"
],
"slug": "prepareinterstitial"
},
{
"name": "showInterstitial",
"signature": "() => Promise<void>",
"parameters": [],
"returns": "Promise<void>",
"tags": [
{
"name": "group",
"text": "Interstitial"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Show interstitial ad when it’s ready",
"complexTypes": [],
"slug": "showinterstitial"
},
{
"name": "addListener",
"signature": "(eventName: InterstitialAdPluginEvents.FailedToLoad, listenerFunc: (error: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "InterstitialAdPluginEvents.FailedToLoad"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(error: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"InterstitialAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerinterstitialadplugineventsfailedtoload-"
},
{
"name": "addListener",
"signature": "(eventName: InterstitialAdPluginEvents.Loaded, listenerFunc: (info: AdLoadInfo) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "InterstitialAdPluginEvents.Loaded"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(info: AdLoadInfo) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"InterstitialAdPluginEvents",
"AdLoadInfo"
],
"slug": "addlistenerinterstitialadplugineventsloaded-"
},
{
"name": "addListener",
"signature": "(eventName: InterstitialAdPluginEvents.Dismissed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "InterstitialAdPluginEvents.Dismissed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"InterstitialAdPluginEvents"
],
"slug": "addlistenerinterstitialadplugineventsdismissed-"
},
{
"name": "addListener",
"signature": "(eventName: InterstitialAdPluginEvents.FailedToShow, listenerFunc: (error: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "InterstitialAdPluginEvents.FailedToShow"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(error: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"InterstitialAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerinterstitialadplugineventsfailedtoshow-"
},
{
"name": "addListener",
"signature": "(eventName: InterstitialAdPluginEvents.Showed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "InterstitialAdPluginEvents.Showed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"InterstitialAdPluginEvents"
],
"slug": "addlistenerinterstitialadplugineventsshowed-"
},
{
"name": "prepareRewardVideoAd",
"signature": "(options: RewardAdOptions) => Promise<AdLoadInfo>",
"parameters": [
{
"name": "options",
"docs": "RewardAdOptions",
"type": "RewardAdOptions"
}
],
"returns": "Promise<AdLoadInfo>",
"tags": [
{
"name": "group",
"text": "RewardVideo"
},
{
"name": "param",
"text": "options RewardAdOptions"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Prepare a reward video ad",
"complexTypes": [
"AdLoadInfo",
"RewardAdOptions"
],
"slug": "preparerewardvideoad"
},
{
"name": "showRewardVideoAd",
"signature": "() => Promise<AdMobRewardItem>",
"parameters": [],
"returns": "Promise<AdMobRewardItem>",
"tags": [
{
"name": "group",
"text": "RewardVideo"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Show a reward video ad",
"complexTypes": [
"AdMobRewardItem"
],
"slug": "showrewardvideoad"
},
{
"name": "addListener",
"signature": "(eventName: RewardAdPluginEvents.FailedToLoad, listenerFunc: (error: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardAdPluginEvents.FailedToLoad"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(error: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerrewardadplugineventsfailedtoload-"
},
{
"name": "addListener",
"signature": "(eventName: RewardAdPluginEvents.Loaded, listenerFunc: (info: AdLoadInfo) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardAdPluginEvents.Loaded"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(info: AdLoadInfo) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardAdPluginEvents",
"AdLoadInfo"
],
"slug": "addlistenerrewardadplugineventsloaded-"
},
{
"name": "addListener",
"signature": "(eventName: RewardAdPluginEvents.Rewarded, listenerFunc: (reward: AdMobRewardItem) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardAdPluginEvents.Rewarded"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(reward: AdMobRewardItem) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardAdPluginEvents",
"AdMobRewardItem"
],
"slug": "addlistenerrewardadplugineventsrewarded-"
},
{
"name": "addListener",
"signature": "(eventName: RewardAdPluginEvents.Dismissed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardAdPluginEvents.Dismissed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardAdPluginEvents"
],
"slug": "addlistenerrewardadplugineventsdismissed-"
},
{
"name": "addListener",
"signature": "(eventName: RewardAdPluginEvents.FailedToShow, listenerFunc: (error: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardAdPluginEvents.FailedToShow"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(error: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerrewardadplugineventsfailedtoshow-"
},
{
"name": "addListener",
"signature": "(eventName: RewardAdPluginEvents.Showed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardAdPluginEvents.Showed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardAdPluginEvents"
],
"slug": "addlistenerrewardadplugineventsshowed-"
},
{
"name": "prepareRewardInterstitialAd",
"signature": "(options: RewardInterstitialAdOptions) => Promise<AdLoadInfo>",
"parameters": [
{
"name": "options",
"docs": "RewardAdOptions",
"type": "RewardInterstitialAdOptions"
}
],
"returns": "Promise<AdLoadInfo>",
"tags": [
{
"name": "group",
"text": "RewardVideo"
},
{
"name": "param",
"text": "options RewardAdOptions"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Prepare a reward video ad",
"complexTypes": [
"AdLoadInfo",
"RewardInterstitialAdOptions"
],
"slug": "preparerewardinterstitialad"
},
{
"name": "showRewardInterstitialAd",
"signature": "() => Promise<AdMobRewardInterstitialItem>",
"parameters": [],
"returns": "Promise<AdMobRewardInterstitialItem>",
"tags": [
{
"name": "group",
"text": "RewardVideo"
},
{
"name": "since",
"text": "1.1.2"
}
],
"docs": "Show a reward video ad",
"complexTypes": [
"AdMobRewardInterstitialItem"
],
"slug": "showrewardinterstitialad"
},
{
"name": "addListener",
"signature": "(eventName: RewardInterstitialAdPluginEvents.FailedToLoad, listenerFunc: (error: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardInterstitialAdPluginEvents.FailedToLoad"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(error: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardInterstitialAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerrewardinterstitialadplugineventsfailedtoload-"
},
{
"name": "addListener",
"signature": "(eventName: RewardInterstitialAdPluginEvents.Loaded, listenerFunc: (info: AdLoadInfo) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardInterstitialAdPluginEvents.Loaded"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(info: AdLoadInfo) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardInterstitialAdPluginEvents",
"AdLoadInfo"
],
"slug": "addlistenerrewardinterstitialadplugineventsloaded-"
},
{
"name": "addListener",
"signature": "(eventName: RewardInterstitialAdPluginEvents.Rewarded, listenerFunc: (reward: AdMobRewardInterstitialItem) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardInterstitialAdPluginEvents.Rewarded"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(reward: AdMobRewardInterstitialItem) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardInterstitialAdPluginEvents",
"AdMobRewardInterstitialItem"
],
"slug": "addlistenerrewardinterstitialadplugineventsrewarded-"
},
{
"name": "addListener",
"signature": "(eventName: RewardInterstitialAdPluginEvents.Dismissed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardInterstitialAdPluginEvents.Dismissed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardInterstitialAdPluginEvents"
],
"slug": "addlistenerrewardinterstitialadplugineventsdismissed-"
},
{
"name": "addListener",
"signature": "(eventName: RewardInterstitialAdPluginEvents.FailedToShow, listenerFunc: (error: AdMobError) => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardInterstitialAdPluginEvents.FailedToShow"
},
{
"name": "listenerFunc",
"docs": "",
"type": "(error: AdMobError) => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardInterstitialAdPluginEvents",
"AdMobError"
],
"slug": "addlistenerrewardinterstitialadplugineventsfailedtoshow-"
},
{
"name": "addListener",
"signature": "(eventName: RewardInterstitialAdPluginEvents.Showed, listenerFunc: () => void) => Promise<PluginListenerHandle>",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "RewardInterstitialAdPluginEvents.Showed"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle>",
"tags": [],
"docs": "",
"complexTypes": [
"PluginListenerHandle",
"RewardInterstitialAdPluginEvents"
],
"slug": "addlistenerrewardinterstitialadplugineventsshowed-"
}
],
"properties": []
"properties": [],
"importObject": [
"BannerDefinitions",
"AdmobConsentDefinitions",
"InterstitialDefinitions",
"RewardDefinitions",
"RewardInterstitialDefinitions",
"TrackingAuthorizationStatusInterface",
"AdMobDefinitions",
"AdMobInitializationOptions",
"MaxAdContentRating",
"ApplicationMutedOptions",
"ApplicationVolumeOptions"
]
},

@@ -231,2 +1228,15 @@ "interfaces": [

}
],
"importObject": [
"BannerDefinitions",
"AdmobConsentDefinitions",
"InterstitialDefinitions",
"RewardDefinitions",
"RewardInterstitialDefinitions",
"TrackingAuthorizationStatusInterface",
"AdMobDefinitions",
"AdMobPlugin",
"MaxAdContentRating",
"ApplicationMutedOptions",
"ApplicationVolumeOptions"
]

@@ -253,3 +1263,4 @@ },

}
]
],
"importObject": []
},

@@ -279,2 +1290,15 @@ {

}
],
"importObject": [
"BannerDefinitions",
"AdmobConsentDefinitions",
"InterstitialDefinitions",
"RewardDefinitions",
"RewardInterstitialDefinitions",
"TrackingAuthorizationStatusInterface",
"AdMobDefinitions",
"AdMobPlugin",
"AdMobInitializationOptions",
"MaxAdContentRating",
"ApplicationVolumeOptions"
]

@@ -305,3 +1329,434 @@ },

}
],
"importObject": [
"BannerDefinitions",
"AdmobConsentDefinitions",
"InterstitialDefinitions",
"RewardDefinitions",
"RewardInterstitialDefinitions",
"TrackingAuthorizationStatusInterface",
"AdMobDefinitions",
"AdMobPlugin",
"AdMobInitializationOptions",
"MaxAdContentRating",
"ApplicationMutedOptions"
]
},
{
"name": "BannerAdOptions",
"slug": "banneradoptions",
"docs": "This interface extends AdOptions",
"tags": [],
"methods": [],
"properties": [
{
"name": "adSize",
"tags": [
{
"text": "ADAPTIVE_BANNER",
"name": "default"
},
{
"text": "3.0.0",
"name": "since"
}
],
"docs": "Banner Ad Size, defaults to ADAPTIVE_BANNER.\r\nIT can be: ADAPTIVE_BANNER, SMART_BANNER, BANNER,\r\nMEDIUM_RECTANGLE, FULL_BANNER, LEADERBOARD",
"complexTypes": [
"BannerAdSize"
],
"type": "BannerAdSize"
},
{
"name": "position",
"tags": [
{
"text": "TOP_CENTER",
"name": "default"
},
{
"text": "1.1.2",
"name": "since"
}
],
"docs": "Set Banner Ad position.\r\nTOP_CENTER or CENTER or BOTTOM_CENTER",
"complexTypes": [
"BannerAdPosition"
],
"type": "BannerAdPosition"
}
],
"importObject": [
"AdOptions",
"BannerAdPosition",
"BannerAdSize"
]
},
{
"name": "PluginListenerHandle",
"slug": "pluginlistenerhandle",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "remove",
"tags": [],
"docs": "",
"complexTypes": [],
"type": "() => Promise<void>"
}
],
"importObject": [
"CapacitorException",
"CapacitorGlobal",
"RegisterPlugin",
"PluginImplementations",
"Plugin",
"PermissionState",
"PluginResultData",
"PluginResultError",
"PluginCallback"
]
},
{
"name": "AdMobBannerSize",
"slug": "admobbannersize",
"docs": "When notice listener of OnAdLoaded, you can get banner size.",
"tags": [],
"methods": [],
"properties": [
{
"name": "width",
"tags": [],
"docs": "",
"complexTypes": [],
"type": "number"
},
{
"name": "height",
"tags": [],
"docs": "",
"complexTypes": [],
"type": "number"
}
],
"importObject": []
},
{
"name": "AdMobError",
"slug": "admoberror",
"docs": "For more information\r\nhttps://developers.google.com/android/reference/com/google/android/gms/ads/AdError",
"tags": [],
"methods": [],
"properties": [
{
"name": "code",
"tags": [],
"docs": "Gets the error's code.",
"complexTypes": [],
"type": "number"
},
{
"name": "message",
"tags": [],
"docs": "Gets the message describing the error.",
"complexTypes": [],
"type": "string"
}
],
"importObject": []
},
{
"name": "AdmobConsentInfo",
"slug": "admobconsentinfo",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "status",
"tags": [
{
"text": "5.0.0",
"name": "since"
}
],
"docs": "The consent status of the user.",
"complexTypes": [
"AdmobConsentStatus"
],
"type": "AdmobConsentStatus"
},
{
"name": "isConsentFormAvailable",
"tags": [
{
"text": "5.0.0",
"name": "since"
}
],
"docs": "If `true` a consent form is available and vice versa.",
"complexTypes": [],
"type": "boolean | undefined"
}
],
"importObject": [
"AdmobConsentStatus"
]
},
{
"name": "AdmobConsentRequestOptions",
"slug": "admobconsentrequestoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "debugGeography",
"tags": [
{
"text": "5.0.0",
"name": "since"
}
],
"docs": "Sets the debug geography to test the consent locally.",
"complexTypes": [
"AdmobConsentDebugGeography"
],
"type": "AdmobConsentDebugGeography"
},
{
"name": "testDeviceIdentifiers",
"tags": [
{
"text": "5.0.0",
"name": "since"
}
],
"docs": "An array of test device IDs to allow.\nNote: On iOS, the ID may renew if you uninstall and reinstall the app.",
"complexTypes": [],
"type": "string[] | undefined"
},
{
"name": "tagForUnderAgeOfConsent",
"tags": [
{
"text": "false",
"name": "default"
},
{
"text": "5.0.0",
"name": "since"
}
],
"docs": "Set to `true` to provide the option for the user to accept being shown personalized ads.",
"complexTypes": [],
"type": "boolean | undefined"
}
],
"importObject": [
"AdmobConsentDebugGeography"
]
},
{
"name": "AdLoadInfo",
"slug": "adloadinfo",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "adUnitId",
"tags": [],
"docs": "",
"complexTypes": [],
"type": "string"
}
],
"importObject": []
},
{
"name": "AdOptions",
"slug": "adoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "adId",
"tags": [
{
"text": "https ://support.google.com/admob/answer/7356431?hl=en",
"name": "see"
},
{
"text": "1.1.2",
"name": "since"
}
],
"docs": "The ad unit ID that you want to request",
"complexTypes": [],
"type": "string"
},
{
"name": "isTesting",
"tags": [
{
"text": "false",
"name": "default"
},
{
"text": "1.1.2",
"name": "since"
}
],
"docs": "You can use test mode of ad.",
"complexTypes": [],
"type": "boolean | undefined"
},
{
"name": "margin",
"tags": [
{
"text": "0",
"name": "default"
},
{
"text": "1.1.2",
"name": "since"
}
],
"docs": "Margin Banner. Default is 0px;\r\nIf position is BOTTOM_CENTER, margin is be margin-bottom.\r\nIf position is TOP_CENTER, margin is be margin-top.",
"complexTypes": [],
"type": "number | undefined"
},
{
"name": "npa",
"tags": [
{
"text": "https ://developers.google.com/admob/ios/eu-consent",
"name": "see"
},
{
"text": "https ://developers.google.com/admob/android/eu-consent",
"name": "see"
},
{
"text": "false",
"name": "default"
},
{
"text": "1.2.0",
"name": "since"
}
],
"docs": "The default behavior of the Google Mobile Ads SDK is to serve personalized ads.\r\nSet this to true to request Non-Personalized Ads",
"complexTypes": [],
"type": "boolean | undefined"
}
],
"importObject": []
},
{
"name": "RewardAdOptions",
"slug": "rewardadoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "ssv",
"tags": [
{
"text": "https ://support.google.com/admob/answer/9603226?hl=en-GB",
"name": "see"
}
],
"docs": "If you have enabled SSV in your AdMob Application. You can provide customData or\na userId be passed to your callback to do further processing on.\n\n*Important* You *HAVE* to define one of them.",
"complexTypes": [
"AtLeastOne"
],
"type": "AtLeastOne<{\n /**\n * An optional UserId to pass to your SSV callback function.\n */\n userId: string;\n /**\n * An optional custom set of data to pass to your SSV callback function.\n */\n customData: string;\n }>"
}
],
"importObject": [
"AdOptions",
"AtLeastOne"
]
},
{
"name": "AdMobRewardItem",
"slug": "admobrewarditem",
"docs": "For more information\r\nhttps://developers.google.com/admob/android/rewarded-video-adapters?hl=en",
"tags": [],
"methods": [],
"properties": [
{
"name": "type",
"tags": [],
"docs": "Rewarded type user got",
"complexTypes": [],
"type": "string"
},
{
"name": "amount",
"tags": [],
"docs": "Rewarded amount user got",
"complexTypes": [],
"type": "number"
}
],
"importObject": []
},
{
"name": "RewardInterstitialAdOptions",
"slug": "rewardinterstitialadoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "ssv",
"tags": [
{
"text": "https ://support.google.com/admob/answer/9603226?hl=en-GB",
"name": "see"
}
],
"docs": "If you have enabled SSV in your AdMob Application. You can provide customData or\na userId be passed to your callback to do further processing on.\n\n*Important* You *HAVE* to define one of them.",
"complexTypes": [
"AtLeastOne"
],
"type": "AtLeastOne<{\n /**\n * An optional UserId to pass to your SSV callback function.\n */\n userId: string;\n /**\n * An optional custom set of data to pass to your SSV callback function.\n */\n customData: string;\n }>"
}
],
"importObject": [
"AdOptions",
"AtLeastOne"
]
},
{
"name": "AdMobRewardInterstitialItem",
"slug": "admobrewardinterstitialitem",
"docs": "For more information\nhttps://developers.google.com/admob/android/rewarded-video-adapters?hl=en",
"tags": [],
"methods": [],
"properties": [
{
"name": "type",
"tags": [],
"docs": "Rewarded type user got",
"complexTypes": [],
"type": "string"
},
{
"name": "amount",
"tags": [],
"docs": "Rewarded amount user got",
"complexTypes": [],
"type": "number"
}
],
"importObject": []
}

@@ -339,6 +1794,330 @@ ],

]
},
{
"name": "BannerAdSize",
"slug": "banneradsize",
"members": [
{
"name": "BANNER",
"value": "'BANNER'",
"tags": [],
"docs": "Mobile Marketing Association (MMA)\r\nbanner ad size (320x50 density-independent pixels)."
},
{
"name": "FULL_BANNER",
"value": "'FULL_BANNER'",
"tags": [],
"docs": "Interactive Advertising Bureau (IAB)\r\nfull banner ad size (468x60 density-independent pixels)."
},
{
"name": "LARGE_BANNER",
"value": "'LARGE_BANNER'",
"tags": [],
"docs": "Large banner ad size (320x100 density-independent pixels)."
},
{
"name": "MEDIUM_RECTANGLE",
"value": "'MEDIUM_RECTANGLE'",
"tags": [],
"docs": "Interactive Advertising Bureau (IAB)\r\nmedium rectangle ad size (300x250 density-independent pixels)."
},
{
"name": "LEADERBOARD",
"value": "'LEADERBOARD'",
"tags": [],
"docs": "Interactive Advertising Bureau (IAB)\r\nleaderboard ad size (728x90 density-independent pixels)."
},
{
"name": "ADAPTIVE_BANNER",
"value": "'ADAPTIVE_BANNER'",
"tags": [],
"docs": "A dynamically sized banner that is full-width and auto-height."
},
{
"name": "SMART_BANNER",
"value": "'SMART_BANNER'",
"tags": [
{
"text": "Will be removed in next AdMob versions use `ADAPTIVE_BANNER`\r\nScreen width x 32|50|90",
"name": "deprecated"
}
],
"docs": ""
}
]
},
{
"name": "BannerAdPosition",
"slug": "banneradposition",
"members": [
{
"name": "TOP_CENTER",
"value": "'TOP_CENTER'",
"tags": [],
"docs": "Banner position be top-center"
},
{
"name": "CENTER",
"value": "'CENTER'",
"tags": [],
"docs": "Banner position be center"
},
{
"name": "BOTTOM_CENTER",
"value": "'BOTTOM_CENTER'",
"tags": [],
"docs": "Banner position be bottom-center(default)"
}
]
},
{
"name": "BannerAdPluginEvents",
"slug": "banneradpluginevents",
"members": [
{
"name": "SizeChanged",
"value": "\"bannerAdSizeChanged\"",
"tags": [],
"docs": ""
},
{
"name": "Loaded",
"value": "\"bannerAdLoaded\"",
"tags": [],
"docs": ""
},
{
"name": "FailedToLoad",
"value": "\"bannerAdFailedToLoad\"",
"tags": [],
"docs": ""
},
{
"name": "Opened",
"value": "\"bannerAdOpened\"",
"tags": [],
"docs": "Open \"Adsense\" Event after user click banner"
},
{
"name": "Closed",
"value": "\"bannerAdClosed\"",
"tags": [],
"docs": "Close \"Adsense\" Event after user click banner"
},
{
"name": "AdImpression",
"value": "\"bannerAdImpression\"",
"tags": [],
"docs": "Similarly, this method should be called when an impression is recorded for the ad by the mediated SDK."
}
]
},
{
"name": "AdmobConsentStatus",
"slug": "admobconsentstatus",
"members": [
{
"name": "NOT_REQUIRED",
"value": "'NOT_REQUIRED'",
"tags": [],
"docs": "User consent not required."
},
{
"name": "OBTAINED",
"value": "'OBTAINED'",
"tags": [],
"docs": "User consent already obtained."
},
{
"name": "REQUIRED",
"value": "'REQUIRED'",
"tags": [],
"docs": "User consent required but not yet obtained."
},
{
"name": "UNKNOWN",
"value": "'UNKNOWN'",
"tags": [],
"docs": "Unknown consent status, AdsConsent.requestInfoUpdate needs to be called to update it."
}
]
},
{
"name": "AdmobConsentDebugGeography",
"slug": "admobconsentdebuggeography",
"members": [
{
"name": "DISABLED",
"value": "0",
"tags": [],
"docs": "Debug geography disabled."
},
{
"name": "EEA",
"value": "1",
"tags": [],
"docs": "Geography appears as in EEA for debug devices."
},
{
"name": "NOT_EEA",
"value": "2",
"tags": [],
"docs": "Geography appears as not in EEA for debug devices."
}
]
},
{
"name": "InterstitialAdPluginEvents",
"slug": "interstitialadpluginevents",
"members": [
{
"name": "Loaded",
"value": "'interstitialAdLoaded'",
"tags": [],
"docs": "Emits after trying to prepare and Interstitial, when it is loaded and ready to be show"
},
{
"name": "FailedToLoad",
"value": "'interstitialAdFailedToLoad'",
"tags": [],
"docs": "Emits after trying to prepare and Interstitial, when it could not be loaded"
},
{
"name": "Showed",
"value": "'interstitialAdShowed'",
"tags": [],
"docs": "Emits when the Interstitial ad is visible to the user"
},
{
"name": "FailedToShow",
"value": "'interstitialAdFailedToShow'",
"tags": [],
"docs": "Emits when the Interstitial ad is failed to show"
},
{
"name": "Dismissed",
"value": "'interstitialAdDismissed'",
"tags": [],
"docs": "Emits when the Interstitial ad is not visible to the user anymore."
}
]
},
{
"name": "RewardAdPluginEvents",
"slug": "rewardadpluginevents",
"members": [
{
"name": "Loaded",
"value": "'onRewardedVideoAdLoaded'",
"tags": [],
"docs": "Emits after trying to prepare a RewardAd and the Video is loaded and ready to be show"
},
{
"name": "FailedToLoad",
"value": "'onRewardedVideoAdFailedToLoad'",
"tags": [],
"docs": "Emits after trying to prepare a RewardAd when it could not be loaded"
},
{
"name": "Showed",
"value": "'onRewardedVideoAdShowed'",
"tags": [],
"docs": "Emits when the AdReward video is visible to the user"
},
{
"name": "FailedToShow",
"value": "'onRewardedVideoAdFailedToShow'",
"tags": [],
"docs": "Emits when the AdReward video is failed to show"
},
{
"name": "Dismissed",
"value": "'onRewardedVideoAdDismissed'",
"tags": [],
"docs": "Emits when the AdReward video is not visible to the user anymore.\r\n\r\n**Important**: This has nothing to do with the reward it self. This event\r\nwill emits in this two cases:\r\n1. The user starts the video ad but close it before the reward emit.\r\n2. The user start the video and see it until end, then gets the reward\r\nand after that the ad is closed."
},
{
"name": "Rewarded",
"value": "'onRewardedVideoAdReward'",
"tags": [],
"docs": "Emits when user get rewarded from AdReward"
}
]
},
{
"name": "RewardInterstitialAdPluginEvents",
"slug": "rewardinterstitialadpluginevents",
"members": [
{
"name": "Loaded",
"value": "'onRewardedInterstitialAdLoaded'",
"tags": [],
"docs": "Emits after trying to prepare a RewardAd and the Video is loaded and ready to be show"
},
{
"name": "FailedToLoad",
"value": "'onRewardedInterstitialAdFailedToLoad'",
"tags": [],
"docs": "Emits after trying to prepare a RewardAd when it could not be loaded"
},
{
"name": "Showed",
"value": "'onRewardedInterstitialAdShowed'",
"tags": [],
"docs": "Emits when the AdReward video is visible to the user"
},
{
"name": "FailedToShow",
"value": "'onRewardedInterstitialAdFailedToShow'",
"tags": [],
"docs": "Emits when the AdReward video is failed to show"
},
{
"name": "Dismissed",
"value": "'onRewardedInterstitialAdDismissed'",
"tags": [],
"docs": "Emits when the AdReward video is not visible to the user anymore.\n\n**Important**: This has nothing to do with the reward it self. This event\nwill emits in this two cases:\n1. The user starts the video ad but close it before the reward emit.\n2. The user start the video and see it until end, then gets the reward\nand after that the ad is closed."
},
{
"name": "Rewarded",
"value": "'onRewardedInterstitialAdReward'",
"tags": [],
"docs": "Emits when user get rewarded from AdReward"
}
]
}
],
"typeAliases": [],
"typeAliases": [
{
"name": "AtLeastOne",
"slug": "atleastone",
"docs": "",
"types": [
{
"text": "{[K in keyof T]: Pick<T, K>}[keyof T]",
"complexTypes": [
"T",
"Pick",
"K"
]
}
]
},
{
"name": "Pick",
"slug": "pick",
"docs": "From T, pick a set of properties whose keys are in the union K",
"types": [
{
"text": "{\r\n [P in K]: T[P];\r\n}",
"complexTypes": [
"K",
"T",
"P"
]
}
]
}
],
"pluginConfigs": []
}

6

package.json
{
"name": "@capacitor-community/admob",
"version": "7.0.0-0",
"version": "7.0.0",
"description": "A native plugin for AdMob",

@@ -10,3 +10,3 @@ "main": "dist/plugin.cjs.js",

"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},

@@ -53,3 +53,3 @@ "files": [

"@capacitor/core": "^7.0.0",
"@capacitor/docgen": "^0.3.0",
"@capacitor/docgen": "github:rdlabo/capacitor-docgen#feat/support_extends_build",
"@capacitor/ios": "^7.0.0",

@@ -56,0 +56,0 @@ "@ionic/eslint-config": "^0.4.0",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc