You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [1. Initialize the Mobile Ads SDK](#1-initialize-the-mobile-ads-sdk)
22
22
- [2. Add your preferred ad format to the app](#2-add-your-preferred-ad-format-to-the-app)
@@ -58,7 +58,7 @@ To install `@nativescript/google-mobile-ads`, run the following command in the r
58
58
npm install @nativescript/google-mobile-ads
59
59
```
60
60
61
-
## Setup Admob for iOS
61
+
## Setup Mobile Ads for iOS
62
62
63
63
Update your `Info.plist` file at `App_Resources/iOS` with a `GADApplicationIdentifier` key with a string value of your AdMob app ID ([identified in the AdMob UI](https://support.google.com/admob/answer/7356431)).
64
64
@@ -76,7 +76,7 @@ Also add the `NSUserTrackingUsageDescription` key.
76
76
77
77
For more information about configuring the `Info.plist` and setting up your App ID, see [Update your Info.plist](https://developers.google.com/admob/ios/quick-start#update%5C_your%5C_infoplist).
78
78
79
-
## Setup Admob for Android
79
+
## Setup Mobile Ads for Android
80
80
81
81
Add AdMob App ID ([identified in the AdMob UI](https://support.google.com/admob/answer/7356431)) to the app's `AndroidManifest.xml` file, found at `App_Resources/Android/src/main`. Failure to do so will result in a crash on app launch. Add the ID by adding a `<meta-data>` tag with name `com.google.android.gms.ads.APPLICATION_ID`, as shown below. For `android:value` insert your own AdMob App ID in quotes.
82
82
@@ -169,14 +169,14 @@ export function loadBanner(args) {
169
169
170
170
#### Add Banner ad in NativeScript Angular
171
171
172
-
Register the `BannerAd` view by adding its `AdmobModule` to the `imports` array of the `@NgModule` decorator of the component where you want to use the view.
172
+
Register the `BannerAd` view by adding its `MobileAdsModule` to the `imports` array of the `@NgModule` decorator of the component where you want to use the view.
@@ -709,7 +709,7 @@ If the tags to enable the Child-directed setting and `tagForUnderAgeOfConsent`ar
709
709
710
710
This setting can be set via `RequestConfiguration.maxAdContentRating`:
711
711
712
-
AdMob ads returned for these requests have a content rating at or below that level. The possible values for this network extra are based on [digital content label classifications](https://support.google.com/admob/answer/7562142), and should be one of the following MaxAdContentRating objects:
712
+
Mobile ads returned for these requests have a content rating at or below that level. The possible values for this network extra are based on [digital content label classifications](https://support.google.com/admob/answer/7562142), and should be one of the following MaxAdContentRating objects:
0 commit comments