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
{{ message }}
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: Documentation/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,11 @@ For more information on how to get the config app id from launch check this [doc
15
15
16
16
## Configuration
17
17
To enable advertising identifier features in the sample app, follow these steps:
18
-
1. Update the value for key `gms_ads_app_id` located in the `secrets.xml` at [aepsdk-sample-app-android/Sample-App/app/src/main/res/values](../Sample-App/app/src/main/res/values/secrets.xml) with a valid Google AdMob app ID.
18
+
1. Set your `ENVIRONMENT_FILE_ID` in MainApp.java.
19
+
2. Update the value for key `gms_ads_app_id` located in the `secrets.xml` at [aepsdk-sample-app-android/Sample-App/app/src/main/res/values](../Sample-App/app/src/main/res/values/secrets.xml) with a valid Google AdMob app ID.
19
20
- See Google's [quick start reference](https://developers.google.com/admob/android/quick-start) on how to get your AdMob app ID. See step 3 of the [Configure your app](https://developers.google.com/admob/android/quick-start#import_the_mobile_ads_sdk) section for a free public test app ID from Google.
20
21
- Any real key values in the `secrets.xml` file should **not** be committed to the repository.
21
-
2. Uncomment the implemention code using [find and replace](https://www.jetbrains.com/help/idea/finding-and-replacing-text-in-project.html#replace_search_string_in_project) to replace all instances of:
22
+
3. Uncomment the implemention code using [find and replace](https://www.jetbrains.com/help/idea/finding-and-replacing-text-in-project.html#replace_search_string_in_project) to replace all instances of:
22
23
```java
23
24
/* Ad ID implementation
24
25
```
@@ -29,7 +30,7 @@ with:
29
30
Find and replace default shortcuts in Android Studio:
30
31
[<img src="./assets/find-and-replace-shortcuts.png" alt="Default shortcuts for find and replace" width="500"/>](./assets/find-and-replace-shortcuts.png)
31
32
32
-
3. Sync Project with Gradle files using: File -> Sync Project with Gradle Files
33
+
4. Sync Project with Gradle files using: File -> Sync Project with Gradle Files
33
34
34
35
The app should now be properly configured to use advertising identifier features.
0 commit comments