Skip to content

Commit 6c6ba39

Browse files
committed
chore
1 parent 1e72456 commit 6c6ba39

File tree

1 file changed

+18
-50
lines changed

1 file changed

+18
-50
lines changed

README.md

Lines changed: 18 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ Initialize AdMob with <a href="#admobinitializationoptions">AdMobInitializationO
242242
| ------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
243243
| **`options`** | <code><a href="#admobinitializationoptions">AdMobInitializationOptions</a></code> | <a href="#admobinitializationoptions">AdMobInitializationOptions</a> |
244244

245-
**Since:** 1.1.2
246-
247245
--------------------
248246

249247

@@ -257,8 +255,6 @@ Confirm requestTrackingAuthorization status (iOS &gt;14)
257255

258256
**Returns:** <code>Promise&lt;<a href="#trackingauthorizationstatusinterface">TrackingAuthorizationStatusInterface</a>&gt;</code>
259257

260-
**Since:** 3.1.0
261-
262258
--------------------
263259

264260

@@ -274,8 +270,6 @@ Show a banner Ad
274270
| ------------- | ----------------------------------------------------------- | ---------------------------------- |
275271
| **`options`** | <code><a href="#banneradoptions">BannerAdOptions</a></code> | <a href="#adoptions">AdOptions</a> |
276272

277-
**Since:** 1.1.2
278-
279273
--------------------
280274

281275

@@ -287,8 +281,6 @@ hideBanner() => Promise<void>
287281

288282
Hide the banner, remove it from screen, but can show it later
289283

290-
**Since:** 1.1.2
291-
292284
--------------------
293285

294286

@@ -300,8 +292,6 @@ resumeBanner() => Promise<void>
300292

301293
Resume the banner, show it after hide
302294

303-
**Since:** 1.1.2
304-
305295
--------------------
306296

307297

@@ -313,8 +303,6 @@ removeBanner() => Promise<void>
313303

314304
Destroy the banner, remove it from screen.
315305

316-
**Since:** 1.1.2
317-
318306
--------------------
319307

320308

@@ -331,8 +319,6 @@ addListener(eventName: BannerAdPluginEvents.SizeChanged, listenerFunc: (info: Ad
331319

332320
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
333321

334-
**Since:** 3.0.0
335-
336322
--------------------
337323

338324

@@ -351,8 +337,6 @@ Notice: request loaded Banner ad
351337

352338
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
353339

354-
**Since:** 3.0.0
355-
356340
--------------------
357341

358342

@@ -371,8 +355,6 @@ Notice: request failed Banner ad
371355

372356
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
373357

374-
**Since:** 3.0.0
375-
376358
--------------------
377359

378360

@@ -391,8 +373,6 @@ Notice: full-screen banner view will be presented in response to the user clicki
391373

392374
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
393375

394-
**Since:** 3.0.0
395-
396376
--------------------
397377

398378

@@ -411,8 +391,6 @@ Notice: The full-screen banner view will been dismissed.
411391

412392
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
413393

414-
**Since:** 3.0.0
415-
416394
--------------------
417395

418396

@@ -431,8 +409,6 @@ Unimplemented
431409

432410
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
433411

434-
**Since:** 3.0.0
435-
436412
--------------------
437413

438414

@@ -450,8 +426,6 @@ Prepare interstitial banner
450426

451427
**Returns:** <code>Promise&lt;<a href="#adloadinfo">AdLoadInfo</a>&gt;</code>
452428

453-
**Since:** 1.1.2
454-
455429
--------------------
456430

457431

@@ -463,8 +437,6 @@ showInterstitial() => Promise<void>
463437

464438
Show interstitial ad when it’s ready
465439

466-
**Since:** 1.1.2
467-
468440
--------------------
469441

470442

@@ -562,8 +534,6 @@ Prepare a reward video ad
562534

563535
**Returns:** <code>Promise&lt;<a href="#adloadinfo">AdLoadInfo</a>&gt;</code>
564536

565-
**Since:** 1.1.2
566-
567537
--------------------
568538

569539

@@ -577,8 +547,6 @@ Show a reward video ad
577547

578548
**Returns:** <code>Promise&lt;<a href="#admobrewarditem">AdMobRewardItem</a>&gt;</code>
579549

580-
**Since:** 1.1.2
581-
582550
--------------------
583551

584552

@@ -683,14 +651,14 @@ addListener(eventName: RewardAdPluginEvents.Showed, listenerFunc: () => void) =>
683651

684652
#### AdMobInitializationOptions
685653

686-
| Prop | Type | Description | Default | Since |
687-
| ---------------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |
688-
| **`requestTrackingAuthorization`** | <code>boolean</code> | Use or not requestTrackingAuthorization in iOS(&gt;14) | | 1.1.2 |
689-
| **`testingDevices`** | <code>string[]</code> | An Array of devices IDs that will be marked as tested devices if {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.initializeForTesting</a>} is true (Real Ads will be served to Testing devices but they will not count as 'real'). | | 1.2.0 |
690-
| **`initializeForTesting`** | <code>boolean</code> | If set to true, the devices on {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.testingDevices</a>} will be registered to receive test production ads. | <code>false</code> | 1.2.0 |
691-
| **`tagForChildDirectedTreatment`** | <code>boolean</code> | For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called tagForChildDirectedTreatment. | | 3.1.0 |
692-
| **`tagForUnderAgeOfConsent`** | <code>boolean</code> | When using this feature, a Tag For Users under the Age of Consent in Europe (TFUA) parameter will be included in all future ad requests. | | 3.1.0 |
693-
| **`maxAdContentRating`** | <code><a href="#maxadcontentrating">MaxAdContentRating</a></code> | WAs an app developer, you can indicate whether you want Google to treat your content as child-directed when you make an ad request. | | 3.1.0 |
654+
| Prop | Type | Description |
655+
| ---------------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
656+
| **`requestTrackingAuthorization`** | <code>boolean</code> | Use or not requestTrackingAuthorization in iOS(&gt;14) |
657+
| **`testingDevices`** | <code>string[]</code> | An Array of devices IDs that will be marked as tested devices if {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.initializeForTesting</a>} is true (Real Ads will be served to Testing devices but they will not count as 'real'). |
658+
| **`initializeForTesting`** | <code>boolean</code> | If set to true, the devices on {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.testingDevices</a>} will be registered to receive test production ads. |
659+
| **`tagForChildDirectedTreatment`** | <code>boolean</code> | For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called tagForChildDirectedTreatment. |
660+
| **`tagForUnderAgeOfConsent`** | <code>boolean</code> | When using this feature, a Tag For Users under the Age of Consent in Europe (TFUA) parameter will be included in all future ad requests. |
661+
| **`maxAdContentRating`** | <code><a href="#maxadcontentrating">MaxAdContentRating</a></code> | WAs an app developer, you can indicate whether you want Google to treat your content as child-directed when you make an ad request. |
694662

695663

696664
#### TrackingAuthorizationStatusInterface
@@ -704,10 +672,10 @@ addListener(eventName: RewardAdPluginEvents.Showed, listenerFunc: () => void) =>
704672

705673
This interface extends <a href="#adoptions">AdOptions</a>
706674

707-
| Prop | Type | Description | Default | Since |
708-
| -------------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | ----- |
709-
| **`adSize`** | <code><a href="#banneradsize">BannerAdSize</a></code> | Banner Ad Size, defaults to ADAPTIVE_BANNER. IT can be: ADAPTIVE_BANNER, SMART_BANNER, BANNER, MEDIUM_RECTANGLE, FULL_BANNER, LEADERBOARD | <code>ADAPTIVE_BANNER</code> | 3.0.0 |
710-
| **`position`** | <code><a href="#banneradposition">BannerAdPosition</a></code> | Set Banner Ad position. TOP_CENTER or CENTER or BOTTOM_CENTER | <code>TOP_CENTER</code> | 1.1.2 |
675+
| Prop | Type | Description |
676+
| -------------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
677+
| **`adSize`** | <code><a href="#banneradsize">BannerAdSize</a></code> | Banner Ad Size, defaults to ADAPTIVE_BANNER. IT can be: ADAPTIVE_BANNER, SMART_BANNER, BANNER, MEDIUM_RECTANGLE, FULL_BANNER, LEADERBOARD |
678+
| **`position`** | <code><a href="#banneradposition">BannerAdPosition</a></code> | Set Banner Ad position. TOP_CENTER or CENTER or BOTTOM_CENTER |
711679

712680

713681
#### PluginListenerHandle
@@ -747,12 +715,12 @@ https://developers.google.com/android/reference/com/google/android/gms/ads/AdErr
747715

748716
#### AdOptions
749717

750-
| Prop | Type | Description | Default | Since |
751-
| --------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |
752-
| **`adId`** | <code>string</code> | The ad unit ID that you want to request | | 1.1.2 |
753-
| **`isTesting`** | <code>boolean</code> | You can use test mode of ad. | <code>false</code> | 1.1.2 |
754-
| **`margin`** | <code>number</code> | Margin Banner. Default is 0px; If position is BOTTOM_CENTER, margin is be margin-bottom. If position is TOP_CENTER, margin is be margin-top. | <code>0</code> | 1.1.2 |
755-
| **`npa`** | <code>boolean</code> | The default behavior of the Google Mobile Ads SDK is to serve personalized ads. Set this to true to request Non-Personalized Ads | <code>false</code> | 1.2.0 |
718+
| Prop | Type | Description |
719+
| --------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
720+
| **`adId`** | <code>string</code> | The ad unit ID that you want to request |
721+
| **`isTesting`** | <code>boolean</code> | You can use test mode of ad. |
722+
| **`margin`** | <code>number</code> | Margin Banner. Default is 0px; If position is BOTTOM_CENTER, margin is be margin-bottom. If position is TOP_CENTER, margin is be margin-top. |
723+
| **`npa`** | <code>boolean</code> | The default behavior of the Google Mobile Ads SDK is to serve personalized ads. Set this to true to request Non-Personalized Ads |
756724

757725

758726
#### AdMobRewardItem

0 commit comments

Comments
 (0)