@capacitor-community/admob 7.0.2 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +22 -10
  2. package/dist/docs.json +253 -97
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -1084,10 +1084,14 @@ addListener(eventName: RewardInterstitialAdPluginEvents.Showed, listenerFunc: ()
1084
1084
 
1085
1085
  This interface extends <a href="#adoptions">AdOptions</a>
1086
1086
 
1087
- | Prop | Type | Description | Default | Since |
1088
- | -------------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | ----- |
1089
- | **`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 |
1090
- | **`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 |
1087
+ | Prop | Type | Description | Default | Since |
1088
+ | --------------- | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | ----- |
1089
+ | **`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 |
1090
+ | **`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 |
1091
+ | **`adId`** | <code>string</code> | The ad unit ID that you want to request | | 1.1.2 |
1092
+ | **`isTesting`** | <code>boolean</code> | You can use test mode of ad. | <code>false</code> | 1.1.2 |
1093
+ | **`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 |
1094
+ | **`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 |
1091
1095
 
1092
1096
 
1093
1097
  #### PluginListenerHandle
@@ -1154,9 +1158,13 @@ https://developers.google.com/android/reference/com/google/android/gms/ads/AdErr
1154
1158
 
1155
1159
  #### RewardAdOptions
1156
1160
 
1157
- | Prop | Type | Description |
1158
- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1159
- | **`ssv`** | <code><a href="#atleastone">AtLeastOne</a>&lt;{ /** * An optional UserId to pass to your SSV callback function. */ userId: string; /** * An optional custom set of data to pass to your SSV callback function. */ customData: string; }&gt;</code> | If you have enabled SSV in your AdMob Application. You can provide customData or a userId be passed to your callback to do further processing on. *Important* You *HAVE* to define one of them. |
1161
+ | Prop | Type | Description | Default | Since |
1162
+ | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |
1163
+ | **`ssv`** | <code><a href="#atleastone">AtLeastOne</a>&lt;{ /** * An optional UserId to pass to your SSV callback function. */ userId: string; /** * An optional custom set of data to pass to your SSV callback function. */ customData: string; }&gt;</code> | If you have enabled SSV in your AdMob Application. You can provide customData or a userId be passed to your callback to do further processing on. *Important* You *HAVE* to define one of them. | | |
1164
+ | **`adId`** | <code>string</code> | The ad unit ID that you want to request | | 1.1.2 |
1165
+ | **`isTesting`** | <code>boolean</code> | You can use test mode of ad. | <code>false</code> | 1.1.2 |
1166
+ | **`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 |
1167
+ | **`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 |
1160
1168
 
1161
1169
 
1162
1170
  #### AdMobRewardItem
@@ -1172,9 +1180,13 @@ https://developers.google.com/admob/android/rewarded-video-adapters?hl=en
1172
1180
 
1173
1181
  #### RewardInterstitialAdOptions
1174
1182
 
1175
- | Prop | Type | Description |
1176
- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1177
- | **`ssv`** | <code><a href="#atleastone">AtLeastOne</a>&lt;{ /** * An optional UserId to pass to your SSV callback function. */ userId: string; /** * An optional custom set of data to pass to your SSV callback function. */ customData: string; }&gt;</code> | If you have enabled SSV in your AdMob Application. You can provide customData or a userId be passed to your callback to do further processing on. *Important* You *HAVE* to define one of them. |
1183
+ | Prop | Type | Description | Default | Since |
1184
+ | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |
1185
+ | **`ssv`** | <code><a href="#atleastone">AtLeastOne</a>&lt;{ /** * An optional UserId to pass to your SSV callback function. */ userId: string; /** * An optional custom set of data to pass to your SSV callback function. */ customData: string; }&gt;</code> | If you have enabled SSV in your AdMob Application. You can provide customData or a userId be passed to your callback to do further processing on. *Important* You *HAVE* to define one of them. | | |
1186
+ | **`adId`** | <code>string</code> | The ad unit ID that you want to request | | 1.1.2 |
1187
+ | **`isTesting`** | <code>boolean</code> | You can use test mode of ad. | <code>false</code> | 1.1.2 |
1188
+ | **`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 |
1189
+ | **`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 |
1178
1190
 
1179
1191
 
1180
1192
  #### AdMobRewardInterstitialItem
package/dist/docs.json CHANGED
@@ -4,6 +4,13 @@
4
4
  "slug": "admobplugin",
5
5
  "docs": "",
6
6
  "tags": [],
7
+ "extends": [
8
+ "BannerDefinitions",
9
+ "RewardDefinitions",
10
+ "RewardInterstitialDefinitions",
11
+ "InterstitialDefinitions",
12
+ "AdmobConsentDefinitions"
13
+ ],
7
14
  "methods": [
8
15
  {
9
16
  "name": "initialize",
@@ -1115,20 +1122,7 @@
1115
1122
  "slug": "addlistenerrewardinterstitialadplugineventsshowed-"
1116
1123
  }
1117
1124
  ],
1118
- "properties": [],
1119
- "importObject": [
1120
- "BannerDefinitions",
1121
- "AdmobConsentDefinitions",
1122
- "InterstitialDefinitions",
1123
- "RewardDefinitions",
1124
- "RewardInterstitialDefinitions",
1125
- "TrackingAuthorizationStatusInterface",
1126
- "AdMobDefinitions",
1127
- "AdMobInitializationOptions",
1128
- "MaxAdContentRating",
1129
- "ApplicationMutedOptions",
1130
- "ApplicationVolumeOptions"
1131
- ]
1125
+ "properties": []
1132
1126
  },
1133
1127
  "interfaces": [
1134
1128
  {
@@ -1136,6 +1130,7 @@
1136
1130
  "slug": "admobinitializationoptions",
1137
1131
  "docs": "",
1138
1132
  "tags": [],
1133
+ "extends": [],
1139
1134
  "methods": [],
1140
1135
  "properties": [
1141
1136
  {
@@ -1224,19 +1219,6 @@
1224
1219
  ],
1225
1220
  "type": "MaxAdContentRating"
1226
1221
  }
1227
- ],
1228
- "importObject": [
1229
- "BannerDefinitions",
1230
- "AdmobConsentDefinitions",
1231
- "InterstitialDefinitions",
1232
- "RewardDefinitions",
1233
- "RewardInterstitialDefinitions",
1234
- "TrackingAuthorizationStatusInterface",
1235
- "AdMobDefinitions",
1236
- "AdMobPlugin",
1237
- "MaxAdContentRating",
1238
- "ApplicationMutedOptions",
1239
- "ApplicationVolumeOptions"
1240
1222
  ]
1241
1223
  },
1242
1224
  {
@@ -1249,6 +1231,7 @@
1249
1231
  "name": "url"
1250
1232
  }
1251
1233
  ],
1234
+ "extends": [],
1252
1235
  "methods": [],
1253
1236
  "properties": [
1254
1237
  {
@@ -1258,14 +1241,14 @@
1258
1241
  "complexTypes": [],
1259
1242
  "type": "'authorized' | 'denied' | 'notDetermined' | 'restricted'"
1260
1243
  }
1261
- ],
1262
- "importObject": []
1244
+ ]
1263
1245
  },
1264
1246
  {
1265
1247
  "name": "ApplicationMutedOptions",
1266
1248
  "slug": "applicationmutedoptions",
1267
1249
  "docs": "",
1268
1250
  "tags": [],
1251
+ "extends": [],
1269
1252
  "methods": [],
1270
1253
  "properties": [
1271
1254
  {
@@ -1284,19 +1267,6 @@
1284
1267
  "complexTypes": [],
1285
1268
  "type": "boolean | undefined"
1286
1269
  }
1287
- ],
1288
- "importObject": [
1289
- "BannerDefinitions",
1290
- "AdmobConsentDefinitions",
1291
- "InterstitialDefinitions",
1292
- "RewardDefinitions",
1293
- "RewardInterstitialDefinitions",
1294
- "TrackingAuthorizationStatusInterface",
1295
- "AdMobDefinitions",
1296
- "AdMobPlugin",
1297
- "AdMobInitializationOptions",
1298
- "MaxAdContentRating",
1299
- "ApplicationVolumeOptions"
1300
1270
  ]
1301
1271
  },
1302
1272
  {
@@ -1304,6 +1274,7 @@
1304
1274
  "slug": "applicationvolumeoptions",
1305
1275
  "docs": "",
1306
1276
  "tags": [],
1277
+ "extends": [],
1307
1278
  "methods": [],
1308
1279
  "properties": [
1309
1280
  {
@@ -1322,19 +1293,6 @@
1322
1293
  "complexTypes": [],
1323
1294
  "type": "0 | 1 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | undefined"
1324
1295
  }
1325
- ],
1326
- "importObject": [
1327
- "BannerDefinitions",
1328
- "AdmobConsentDefinitions",
1329
- "InterstitialDefinitions",
1330
- "RewardDefinitions",
1331
- "RewardInterstitialDefinitions",
1332
- "TrackingAuthorizationStatusInterface",
1333
- "AdMobDefinitions",
1334
- "AdMobPlugin",
1335
- "AdMobInitializationOptions",
1336
- "MaxAdContentRating",
1337
- "ApplicationMutedOptions"
1338
1296
  ]
1339
1297
  },
1340
1298
  {
@@ -1342,6 +1300,9 @@
1342
1300
  "slug": "banneradoptions",
1343
1301
  "docs": "This interface extends AdOptions",
1344
1302
  "tags": [],
1303
+ "extends": [
1304
+ "AdOptions"
1305
+ ],
1345
1306
  "methods": [],
1346
1307
  "properties": [
1347
1308
  {
@@ -1379,12 +1340,79 @@
1379
1340
  "BannerAdPosition"
1380
1341
  ],
1381
1342
  "type": "BannerAdPosition"
1343
+ },
1344
+ {
1345
+ "name": "adId",
1346
+ "tags": [
1347
+ {
1348
+ "text": "https ://support.google.com/admob/answer/7356431?hl=en",
1349
+ "name": "see"
1350
+ },
1351
+ {
1352
+ "text": "1.1.2",
1353
+ "name": "since"
1354
+ }
1355
+ ],
1356
+ "docs": "The ad unit ID that you want to request",
1357
+ "complexTypes": [],
1358
+ "type": "string"
1359
+ },
1360
+ {
1361
+ "name": "isTesting",
1362
+ "tags": [
1363
+ {
1364
+ "text": "false",
1365
+ "name": "default"
1366
+ },
1367
+ {
1368
+ "text": "1.1.2",
1369
+ "name": "since"
1370
+ }
1371
+ ],
1372
+ "docs": "You can use test mode of ad.",
1373
+ "complexTypes": [],
1374
+ "type": "boolean | undefined"
1375
+ },
1376
+ {
1377
+ "name": "margin",
1378
+ "tags": [
1379
+ {
1380
+ "text": "0",
1381
+ "name": "default"
1382
+ },
1383
+ {
1384
+ "text": "1.1.2",
1385
+ "name": "since"
1386
+ }
1387
+ ],
1388
+ "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.",
1389
+ "complexTypes": [],
1390
+ "type": "number | undefined"
1391
+ },
1392
+ {
1393
+ "name": "npa",
1394
+ "tags": [
1395
+ {
1396
+ "text": "https ://developers.google.com/admob/ios/eu-consent",
1397
+ "name": "see"
1398
+ },
1399
+ {
1400
+ "text": "https ://developers.google.com/admob/android/eu-consent",
1401
+ "name": "see"
1402
+ },
1403
+ {
1404
+ "text": "false",
1405
+ "name": "default"
1406
+ },
1407
+ {
1408
+ "text": "1.2.0",
1409
+ "name": "since"
1410
+ }
1411
+ ],
1412
+ "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",
1413
+ "complexTypes": [],
1414
+ "type": "boolean | undefined"
1382
1415
  }
1383
- ],
1384
- "importObject": [
1385
- "AdOptions",
1386
- "BannerAdPosition",
1387
- "BannerAdSize"
1388
1416
  ]
1389
1417
  },
1390
1418
  {
@@ -1392,6 +1420,7 @@
1392
1420
  "slug": "pluginlistenerhandle",
1393
1421
  "docs": "",
1394
1422
  "tags": [],
1423
+ "extends": [],
1395
1424
  "methods": [],
1396
1425
  "properties": [
1397
1426
  {
@@ -1401,17 +1430,6 @@
1401
1430
  "complexTypes": [],
1402
1431
  "type": "() => Promise<void>"
1403
1432
  }
1404
- ],
1405
- "importObject": [
1406
- "CapacitorException",
1407
- "CapacitorGlobal",
1408
- "RegisterPlugin",
1409
- "PluginImplementations",
1410
- "Plugin",
1411
- "PermissionState",
1412
- "PluginResultData",
1413
- "PluginResultError",
1414
- "PluginCallback"
1415
1433
  ]
1416
1434
  },
1417
1435
  {
@@ -1419,6 +1437,7 @@
1419
1437
  "slug": "admobbannersize",
1420
1438
  "docs": "When notice listener of OnAdLoaded, you can get banner size.",
1421
1439
  "tags": [],
1440
+ "extends": [],
1422
1441
  "methods": [],
1423
1442
  "properties": [
1424
1443
  {
@@ -1435,14 +1454,14 @@
1435
1454
  "complexTypes": [],
1436
1455
  "type": "number"
1437
1456
  }
1438
- ],
1439
- "importObject": []
1457
+ ]
1440
1458
  },
1441
1459
  {
1442
1460
  "name": "AdMobError",
1443
1461
  "slug": "admoberror",
1444
1462
  "docs": "For more information\r\nhttps://developers.google.com/android/reference/com/google/android/gms/ads/AdError",
1445
1463
  "tags": [],
1464
+ "extends": [],
1446
1465
  "methods": [],
1447
1466
  "properties": [
1448
1467
  {
@@ -1459,14 +1478,14 @@
1459
1478
  "complexTypes": [],
1460
1479
  "type": "string"
1461
1480
  }
1462
- ],
1463
- "importObject": []
1481
+ ]
1464
1482
  },
1465
1483
  {
1466
1484
  "name": "AdmobConsentInfo",
1467
1485
  "slug": "admobconsentinfo",
1468
1486
  "docs": "",
1469
1487
  "tags": [],
1488
+ "extends": [],
1470
1489
  "methods": [],
1471
1490
  "properties": [
1472
1491
  {
@@ -1495,9 +1514,6 @@
1495
1514
  "complexTypes": [],
1496
1515
  "type": "boolean | undefined"
1497
1516
  }
1498
- ],
1499
- "importObject": [
1500
- "AdmobConsentStatus"
1501
1517
  ]
1502
1518
  },
1503
1519
  {
@@ -1505,6 +1521,7 @@
1505
1521
  "slug": "admobconsentrequestoptions",
1506
1522
  "docs": "",
1507
1523
  "tags": [],
1524
+ "extends": [],
1508
1525
  "methods": [],
1509
1526
  "properties": [
1510
1527
  {
@@ -1549,9 +1566,6 @@
1549
1566
  "complexTypes": [],
1550
1567
  "type": "boolean | undefined"
1551
1568
  }
1552
- ],
1553
- "importObject": [
1554
- "AdmobConsentDebugGeography"
1555
1569
  ]
1556
1570
  },
1557
1571
  {
@@ -1559,6 +1573,7 @@
1559
1573
  "slug": "adloadinfo",
1560
1574
  "docs": "",
1561
1575
  "tags": [],
1576
+ "extends": [],
1562
1577
  "methods": [],
1563
1578
  "properties": [
1564
1579
  {
@@ -1568,14 +1583,14 @@
1568
1583
  "complexTypes": [],
1569
1584
  "type": "string"
1570
1585
  }
1571
- ],
1572
- "importObject": []
1586
+ ]
1573
1587
  },
1574
1588
  {
1575
1589
  "name": "AdOptions",
1576
1590
  "slug": "adoptions",
1577
1591
  "docs": "",
1578
1592
  "tags": [],
1593
+ "extends": [],
1579
1594
  "methods": [],
1580
1595
  "properties": [
1581
1596
  {
@@ -1650,14 +1665,16 @@
1650
1665
  "complexTypes": [],
1651
1666
  "type": "boolean | undefined"
1652
1667
  }
1653
- ],
1654
- "importObject": []
1668
+ ]
1655
1669
  },
1656
1670
  {
1657
1671
  "name": "RewardAdOptions",
1658
1672
  "slug": "rewardadoptions",
1659
1673
  "docs": "",
1660
1674
  "tags": [],
1675
+ "extends": [
1676
+ "AdOptions"
1677
+ ],
1661
1678
  "methods": [],
1662
1679
  "properties": [
1663
1680
  {
@@ -1673,11 +1690,79 @@
1673
1690
  "AtLeastOne"
1674
1691
  ],
1675
1692
  "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 }>"
1693
+ },
1694
+ {
1695
+ "name": "adId",
1696
+ "tags": [
1697
+ {
1698
+ "text": "https ://support.google.com/admob/answer/7356431?hl=en",
1699
+ "name": "see"
1700
+ },
1701
+ {
1702
+ "text": "1.1.2",
1703
+ "name": "since"
1704
+ }
1705
+ ],
1706
+ "docs": "The ad unit ID that you want to request",
1707
+ "complexTypes": [],
1708
+ "type": "string"
1709
+ },
1710
+ {
1711
+ "name": "isTesting",
1712
+ "tags": [
1713
+ {
1714
+ "text": "false",
1715
+ "name": "default"
1716
+ },
1717
+ {
1718
+ "text": "1.1.2",
1719
+ "name": "since"
1720
+ }
1721
+ ],
1722
+ "docs": "You can use test mode of ad.",
1723
+ "complexTypes": [],
1724
+ "type": "boolean | undefined"
1725
+ },
1726
+ {
1727
+ "name": "margin",
1728
+ "tags": [
1729
+ {
1730
+ "text": "0",
1731
+ "name": "default"
1732
+ },
1733
+ {
1734
+ "text": "1.1.2",
1735
+ "name": "since"
1736
+ }
1737
+ ],
1738
+ "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.",
1739
+ "complexTypes": [],
1740
+ "type": "number | undefined"
1741
+ },
1742
+ {
1743
+ "name": "npa",
1744
+ "tags": [
1745
+ {
1746
+ "text": "https ://developers.google.com/admob/ios/eu-consent",
1747
+ "name": "see"
1748
+ },
1749
+ {
1750
+ "text": "https ://developers.google.com/admob/android/eu-consent",
1751
+ "name": "see"
1752
+ },
1753
+ {
1754
+ "text": "false",
1755
+ "name": "default"
1756
+ },
1757
+ {
1758
+ "text": "1.2.0",
1759
+ "name": "since"
1760
+ }
1761
+ ],
1762
+ "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",
1763
+ "complexTypes": [],
1764
+ "type": "boolean | undefined"
1676
1765
  }
1677
- ],
1678
- "importObject": [
1679
- "AdOptions",
1680
- "AtLeastOne"
1681
1766
  ]
1682
1767
  },
1683
1768
  {
@@ -1685,6 +1770,7 @@
1685
1770
  "slug": "admobrewarditem",
1686
1771
  "docs": "For more information\r\nhttps://developers.google.com/admob/android/rewarded-video-adapters?hl=en",
1687
1772
  "tags": [],
1773
+ "extends": [],
1688
1774
  "methods": [],
1689
1775
  "properties": [
1690
1776
  {
@@ -1701,14 +1787,16 @@
1701
1787
  "complexTypes": [],
1702
1788
  "type": "number"
1703
1789
  }
1704
- ],
1705
- "importObject": []
1790
+ ]
1706
1791
  },
1707
1792
  {
1708
1793
  "name": "RewardInterstitialAdOptions",
1709
1794
  "slug": "rewardinterstitialadoptions",
1710
1795
  "docs": "",
1711
1796
  "tags": [],
1797
+ "extends": [
1798
+ "AdOptions"
1799
+ ],
1712
1800
  "methods": [],
1713
1801
  "properties": [
1714
1802
  {
@@ -1724,11 +1812,79 @@
1724
1812
  "AtLeastOne"
1725
1813
  ],
1726
1814
  "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 }>"
1815
+ },
1816
+ {
1817
+ "name": "adId",
1818
+ "tags": [
1819
+ {
1820
+ "text": "https ://support.google.com/admob/answer/7356431?hl=en",
1821
+ "name": "see"
1822
+ },
1823
+ {
1824
+ "text": "1.1.2",
1825
+ "name": "since"
1826
+ }
1827
+ ],
1828
+ "docs": "The ad unit ID that you want to request",
1829
+ "complexTypes": [],
1830
+ "type": "string"
1831
+ },
1832
+ {
1833
+ "name": "isTesting",
1834
+ "tags": [
1835
+ {
1836
+ "text": "false",
1837
+ "name": "default"
1838
+ },
1839
+ {
1840
+ "text": "1.1.2",
1841
+ "name": "since"
1842
+ }
1843
+ ],
1844
+ "docs": "You can use test mode of ad.",
1845
+ "complexTypes": [],
1846
+ "type": "boolean | undefined"
1847
+ },
1848
+ {
1849
+ "name": "margin",
1850
+ "tags": [
1851
+ {
1852
+ "text": "0",
1853
+ "name": "default"
1854
+ },
1855
+ {
1856
+ "text": "1.1.2",
1857
+ "name": "since"
1858
+ }
1859
+ ],
1860
+ "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.",
1861
+ "complexTypes": [],
1862
+ "type": "number | undefined"
1863
+ },
1864
+ {
1865
+ "name": "npa",
1866
+ "tags": [
1867
+ {
1868
+ "text": "https ://developers.google.com/admob/ios/eu-consent",
1869
+ "name": "see"
1870
+ },
1871
+ {
1872
+ "text": "https ://developers.google.com/admob/android/eu-consent",
1873
+ "name": "see"
1874
+ },
1875
+ {
1876
+ "text": "false",
1877
+ "name": "default"
1878
+ },
1879
+ {
1880
+ "text": "1.2.0",
1881
+ "name": "since"
1882
+ }
1883
+ ],
1884
+ "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",
1885
+ "complexTypes": [],
1886
+ "type": "boolean | undefined"
1727
1887
  }
1728
- ],
1729
- "importObject": [
1730
- "AdOptions",
1731
- "AtLeastOne"
1732
1888
  ]
1733
1889
  },
1734
1890
  {
@@ -1736,6 +1892,7 @@
1736
1892
  "slug": "admobrewardinterstitialitem",
1737
1893
  "docs": "For more information\nhttps://developers.google.com/admob/android/rewarded-video-adapters?hl=en",
1738
1894
  "tags": [],
1895
+ "extends": [],
1739
1896
  "methods": [],
1740
1897
  "properties": [
1741
1898
  {
@@ -1752,8 +1909,7 @@
1752
1909
  "complexTypes": [],
1753
1910
  "type": "number"
1754
1911
  }
1755
- ],
1756
- "importObject": []
1912
+ ]
1757
1913
  }
1758
1914
  ],
1759
1915
  "enums": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor-community/admob",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "A native plugin for AdMob",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -49,7 +49,6 @@
49
49
  "@capacitor/android": "^7.0.0",
50
50
  "@capacitor/cli": "^7.0.0",
51
51
  "@capacitor/core": "^7.0.0",
52
- "@capacitor/docgen": "github:rdlabo/capacitor-docgen#feat/support_extends_build",
53
52
  "@capacitor/ios": "^7.0.0",
54
53
  "@ionic/eslint-config": "^0.4.0",
55
54
  "@ionic/prettier-config": "^4.0.0",
@@ -68,7 +67,8 @@
68
67
  "typescript": "~4.1.5"
69
68
  },
70
69
  "dependencies": {
71
- "@capacitor/core": "^7.0.0"
70
+ "@capacitor/core": "^7.0.0",
71
+ "@rdlabo/capacitor-docgen": "^0.4.1"
72
72
  },
73
73
  "lint-staged": {
74
74
  "*.{ts}": [