{"id":32477029,"url":"https://github.com/cap-go/capacitor-admob","last_synced_at":"2026-04-02T18:55:08.104Z","repository":{"id":318729269,"uuid":"1073116309","full_name":"Cap-go/capacitor-admob","owner":"Cap-go","description":"Capacitor plugin to bridge AdMob SDKs for iOS and Android","archived":false,"fork":false,"pushed_at":"2026-01-31T23:04:01.000Z","size":699,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-01T10:27:23.275Z","etag":null,"topics":["capacitor","capacitor-plugin"],"latest_commit_sha":null,"homepage":"https://capgo.app","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cap-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"Cap-go","patreon":null,"open_collective":"capgo","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2025-10-09T16:33:38.000Z","updated_at":"2026-01-31T23:04:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"7abf3e61-1a65-454b-97e7-328af4029047","html_url":"https://github.com/Cap-go/capacitor-admob","commit_stats":null,"previous_names":["cap-go/capacitor-admob"],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/Cap-go/capacitor-admob","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-admob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-admob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-admob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-admob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cap-go","download_url":"https://codeload.github.com/Cap-go/capacitor-admob/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap-go%2Fcapacitor-admob/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29641943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T03:21:14.183Z","status":"ssl_error","status_checked_at":"2026-02-20T03:18:24.455Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["capacitor","capacitor-plugin"],"created_at":"2025-10-26T22:49:18.841Z","updated_at":"2026-02-20T05:05:47.967Z","avatar_url":"https://github.com/Cap-go.png","language":"Kotlin","funding_links":["https://github.com/sponsors/Cap-go","https://opencollective.com/capgo"],"categories":[],"sub_categories":[],"readme":"# @capgo/capacitor-admob\n \u003ca href=\"https://capgo.app/\"\u003e\u003cimg src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch2\u003e\u003ca href=\"https://capgo.app/?ref=plugin_admob\"\u003e ➡️ Get Instant updates for your App with Capgo\u003c/a\u003e\u003c/h2\u003e\n  \u003ch2\u003e\u003ca href=\"https://capgo.app/consulting/?ref=plugin_admob\"\u003e Missing a feature? We’ll build the plugin for you 💪\u003c/a\u003e\u003c/h2\u003e\n\u003c/div\u003e\nAdMob SDK bridge for Capacitor apps\n\n## Documentation\n\nThe most complete doc is available here: https://capgo.app/docs/plugins/admob/\n\n## Compatibility\n\n| Plugin version | Capacitor compatibility | Maintained |\n| -------------- | ----------------------- | ---------- |\n| v8.\\*.\\*       | v8.\\*.\\*                | ✅          |\n| v7.\\*.\\*       | v7.\\*.\\*                | On demand   |\n| v6.\\*.\\*       | v6.\\*.\\*                | ❌          |\n| v5.\\*.\\*       | v5.\\*.\\*                | ❌          |\n\n\u003e **Note:** The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.\n\n## Install\n\n```bash\nnpm install @capgo/capacitor-admob\nnpx cap sync\n```\n\n## API\n\n\u003cdocgen-index\u003e\n\n* [`start()`](#start)\n* [`configure(...)`](#configure)\n* [`configRequest(...)`](#configrequest)\n* [`adCreate(...)`](#adcreate)\n* [`adIsLoaded(...)`](#adisloaded)\n* [`adLoad(...)`](#adload)\n* [`adShow(...)`](#adshow)\n* [`adHide(...)`](#adhide)\n* [`trackingAuthorizationStatus()`](#trackingauthorizationstatus)\n* [`requestTrackingAuthorization()`](#requesttrackingauthorization)\n* [`addListener(string, ...)`](#addlistenerstring-)\n* [`getPluginVersion()`](#getpluginversion)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n* [Enums](#enums)\n\n\u003c/docgen-index\u003e\n\n\u003cdocgen-api\u003e\n\u003c!--Update the source file JSDoc comments and rerun docgen to update the docs below--\u003e\n\nAdMob Plus Plugin interface for displaying Google AdMob ads in Capacitor apps.\n\n### start()\n\n```typescript\nstart() =\u003e Promise\u003cvoid\u003e\n```\n\nInitialize and start the AdMob SDK.\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### configure(...)\n\n```typescript\nconfigure(config: AdMobConfig) =\u003e Promise\u003cvoid\u003e\n```\n\nConfigure AdMob settings.\n\n| Param        | Type                                                | Description                       |\n| ------------ | --------------------------------------------------- | --------------------------------- |\n| **`config`** | \u003ccode\u003e\u003ca href=\"#admobconfig\"\u003eAdMobConfig\u003c/a\u003e\u003c/code\u003e | - Configuration options for AdMob |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### configRequest(...)\n\n```typescript\nconfigRequest(requestConfig: RequestConfig) =\u003e Promise\u003cvoid\u003e\n```\n\nConfigure ad request settings.\n\n| Param               | Type                                                    | Description                     |\n| ------------------- | ------------------------------------------------------- | ------------------------------- |\n| **`requestConfig`** | \u003ccode\u003e\u003ca href=\"#requestconfig\"\u003eRequestConfig\u003c/a\u003e\u003c/code\u003e | - Request configuration options |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### adCreate(...)\n\n```typescript\nadCreate\u003cO extends MobileAdOptions\u003e(opts: O) =\u003e Promise\u003cvoid\u003e\n```\n\nCreate a new ad instance.\n\n| Param      | Type           | Description                                         |\n| ---------- | -------------- | --------------------------------------------------- |\n| **`opts`** | \u003ccode\u003eO\u003c/code\u003e | - Options for creating the ad, including ad unit ID |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### adIsLoaded(...)\n\n```typescript\nadIsLoaded(opts: { id: number; }) =\u003e Promise\u003cboolean\u003e\n```\n\nCheck if an ad is loaded and ready to be shown.\n\n| Param      | Type                         | Description                   |\n| ---------- | ---------------------------- | ----------------------------- |\n| **`opts`** | \u003ccode\u003e{ id: number; }\u003c/code\u003e | - Object containing the ad ID |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;boolean\u0026gt;\u003c/code\u003e\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### adLoad(...)\n\n```typescript\nadLoad(opts: { id: number; }) =\u003e Promise\u003cvoid\u003e\n```\n\nLoad an ad.\n\n| Param      | Type                         | Description                   |\n| ---------- | ---------------------------- | ----------------------------- |\n| **`opts`** | \u003ccode\u003e{ id: number; }\u003c/code\u003e | - Object containing the ad ID |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### adShow(...)\n\n```typescript\nadShow(opts: { id: number; }) =\u003e Promise\u003cvoid\u003e\n```\n\nShow a loaded ad.\n\n| Param      | Type                         | Description                   |\n| ---------- | ---------------------------- | ----------------------------- |\n| **`opts`** | \u003ccode\u003e{ id: number; }\u003c/code\u003e | - Object containing the ad ID |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### adHide(...)\n\n```typescript\nadHide(opts: { id: number; }) =\u003e Promise\u003cvoid\u003e\n```\n\nHide a currently displayed ad.\n\n| Param      | Type                         | Description                   |\n| ---------- | ---------------------------- | ----------------------------- |\n| **`opts`** | \u003ccode\u003e{ id: number; }\u003c/code\u003e | - Object containing the ad ID |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### trackingAuthorizationStatus()\n\n```typescript\ntrackingAuthorizationStatus() =\u003e Promise\u003c{ status: TrackingAuthorizationStatus | false; }\u003e\n```\n\nGet the current tracking authorization status (iOS only).\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ status: false | \u003ca href=\"#trackingauthorizationstatus\"\u003eTrackingAuthorizationStatus\u003c/a\u003e; }\u0026gt;\u003c/code\u003e\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### requestTrackingAuthorization()\n\n```typescript\nrequestTrackingAuthorization() =\u003e Promise\u003c{ status: TrackingAuthorizationStatus | false; }\u003e\n```\n\nRequest tracking authorization from the user (iOS only).\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ status: false | \u003ca href=\"#trackingauthorizationstatus\"\u003eTrackingAuthorizationStatus\u003c/a\u003e; }\u0026gt;\u003c/code\u003e\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener(string, ...)\n\n```typescript\naddListener(eventName: string, listenerFunc: (event: any) =\u003e void) =\u003e Promise\u003cPluginListenerHandle\u003e \u0026 PluginListenerHandle\n```\n\nAdd a listener for ad events.\n\n| Param              | Type                                 | Description                                  |\n| ------------------ | ------------------------------------ | -------------------------------------------- |\n| **`eventName`**    | \u003ccode\u003estring\u003c/code\u003e                  | - The name of the event to listen for        |\n| **`listenerFunc`** | \u003ccode\u003e(event: any) =\u0026gt; void\u003c/code\u003e | - The function to call when the event occurs |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;\u003ca href=\"#pluginlistenerhandle\"\u003ePluginListenerHandle\u003c/a\u003e\u0026gt; \u0026 \u003ca href=\"#pluginlistenerhandle\"\u003ePluginListenerHandle\u003c/a\u003e\u003c/code\u003e\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### getPluginVersion()\n\n```typescript\ngetPluginVersion() =\u003e Promise\u003c{ version: string; }\u003e\n```\n\nGet the native Capacitor plugin version.\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ version: string; }\u0026gt;\u003c/code\u003e\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | \u003ccode\u003e() =\u0026gt; Promise\u0026lt;void\u0026gt;\u003c/code\u003e |\n\n\n### Type Aliases\n\n\n#### AdMobConfig\n\nConfiguration options for AdMob.\n\n\u003ccode\u003e{ /** Whether the app should be muted */ appMuted?: boolean; /** The app volume (0.0 to 1.0) */ appVolume?: number; }\u003c/code\u003e\n\n\n#### RequestConfig\n\nConfiguration for ad requests.\n\n\u003ccode\u003e{ /** Maximum ad content rating */ maxAdContentRating?: \u003ca href=\"#maxadcontentrating\"\u003eMaxAdContentRating\u003c/a\u003e; /** Whether to use the same app key */ sameAppKey?: boolean; /** Tag for child-directed treatment (true, false, or null for unspecified) */ tagForChildDirectedTreatment?: boolean | null; /** Tag for under age of consent (true, false, or null for unspecified) */ tagForUnderAgeOfConsent?: boolean | null; /** Array of test device IDs */ testDeviceIds?: string[]; }\u003c/code\u003e\n\n\n#### MobileAdOptions\n\nBase options for mobile ads.\n\n\u003ccode\u003e{ /** The ad unit ID from AdMob */ adUnitId: string; }\u003c/code\u003e\n\n\n### Enums\n\n\n#### MaxAdContentRating\n\n| Members           | Value             | Description        |\n| ----------------- | ----------------- | ------------------ |\n| **`G`**           | \u003ccode\u003e'G'\u003c/code\u003e  | General Audiences  |\n| **`MA`**          | \u003ccode\u003e'MA'\u003c/code\u003e | Mature Audiences   |\n| **`PG`**          | \u003ccode\u003e'PG'\u003c/code\u003e | Parental Guidance  |\n| **`T`**           | \u003ccode\u003e'T'\u003c/code\u003e  | Teen               |\n| **`UNSPECIFIED`** | \u003ccode\u003e''\u003c/code\u003e   | Unspecified rating |\n\n\n#### TrackingAuthorizationStatus\n\n| Members             | Value          | Description                                                |\n| ------------------- | -------------- | ---------------------------------------------------------- |\n| **`notDetermined`** | \u003ccode\u003e0\u003c/code\u003e | User has not yet received an authorization request         |\n| **`restricted`**    | \u003ccode\u003e1\u003c/code\u003e | User restricted, device is unable to provide authorization |\n| **`denied`**        | \u003ccode\u003e2\u003c/code\u003e | User denied authorization                                  |\n| **`authorized`**    | \u003ccode\u003e3\u003c/code\u003e | User authorized access                                     |\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-go%2Fcapacitor-admob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcap-go%2Fcapacitor-admob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-go%2Fcapacitor-admob/lists"}