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
Copy file name to clipboardExpand all lines: docs/ff-integrations/ads/admob.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ The **AdBanner** widget displays advertisement banners within your app. It can f
111
111
112
112
To display an **AdBanner** from AdMob, follow these steps:
113
113
114
-
### 1. Adding AdBanner widget
114
+
### Adding AdBanner widget
115
115
116
116
First, add the **AdBanner** widget from the **Base Elements**. Next, create a new Banner Ad unit in AdMob, then copy and paste its **unit ID** into FlutterFlow. The Ad unit ID is a unique identifier assigned to each ad created in AdMob.
117
117
@@ -147,7 +147,7 @@ While building your app, clicking on too many ads may cause your AdMob account t
147
147
</div>
148
148
<p></p>
149
149
150
-
### 2. Testing
150
+
### Testing AdBanner
151
151
152
152
Ads cannot be tested in Test or Run Mode. They can only be tested on a real device or emulator. To do this, you can use [Local run](../../testing-deployment-publishing/running-your-app/local-run.md) or [download the code](../../testing-deployment-publishing/exporting-code/ff-cli.md) and run it in your IDE.
153
153
@@ -179,7 +179,7 @@ On the first page, trigger the **Load Interstitial Ad** action as soon as the pa
179
179
180
180
Here are the step-by-step instructions:
181
181
182
-
### 1. Getting Ad Unit ID
182
+
### Getting Ad Unit ID
183
183
184
184
The Ad Unit ID is the unique identifier given to every ad on Admob. You can get this by creating a new Interstitial ad unit from your Admob account. You’ll need this ID when loading the ad.
185
185
@@ -211,7 +211,7 @@ To get the ad unit ID, go to the AdMob dashboard, select your app under **Apps**
211
211
</div>
212
212
<p></p>
213
213
214
-
### 2. Loading Ad on page load
214
+
### Loading Ad on Page Load
215
215
216
216
Always load the ad in advance before you intend to display it. This ensures the ad has enough time to fully load its content, whether it's an image or video, before being shown. The best place to do it is the **On Page Load**.
217
217
@@ -249,7 +249,7 @@ While building your app, clicking on too many ads may cause your AdMob account t
249
249
</div>
250
250
<p></p>
251
251
252
-
### 3. Display Ad
252
+
### Display Interstitial Ad
253
253
254
254
Now, you can display the ad using the **Show Interstitial Ad** action. This action returns `interstitialAdSuccess` (as an action output variable), which can be used to check if the user has dismissed the ad. If the ad is dismissed, load a new one and then proceed to navigate to the next page.
0 commit comments