Skip to content

Commit 3acd7d1

Browse files
committed
chore: update docs to use the new large anchored adaptive banner
1 parent 0035714 commit 3acd7d1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

RNGoogleMobileAdsExample/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class CollapsibleBannerTest implements AutoExecutableTest {
270270
<View ref={onMount}>
271271
<BannerAd
272272
unitId={TestIds.ADAPTIVE_BANNER}
273-
size={BannerAdSize.ANCHORED_ADAPTIVE_BANNER}
273+
size={BannerAdSize.LARGE_ANCHORED_ADAPTIVE_BANNER}
274274
requestOptions={{
275275
networkExtras: {
276276
collapsible: 'top',

docs/displaying-ads.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ function App() {
432432
});
433433

434434
return (
435-
<BannerAd ref={bannerRef} unitId={adUnitId} size={BannerAdSize.ANCHORED_ADAPTIVE_BANNER} />
435+
<BannerAd ref={bannerRef} unitId={adUnitId} size={BannerAdSize.LARGE_ANCHORED_ADAPTIVE_BANNER} />
436436
);
437437
}
438438
```
@@ -479,7 +479,7 @@ function App() {
479479
return (
480480
<BannerAd
481481
unitId={adUnitId}
482-
size={BannerAdSize.ANCHORED_ADAPTIVE_BANNER}
482+
size={BannerAdSize.LARGE_ANCHORED_ADAPTIVE_BANNER}
483483
requestOptions={{
484484
networkExtras: {
485485
collapsible: 'bottom',

0 commit comments

Comments
 (0)