Skip to content

Commit

Permalink
Update android-sdk-integration-gam-original-api.md
Browse files Browse the repository at this point in the history
doc: small change
  • Loading branch information
YuriyVelichkoPI authored Nov 21, 2024
1 parent a7fb3f3 commit 7fed9b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ For activation for the interstitial ad unit, you should set `activatePrebidImpre

```java
Interstitial adUnit = InterstitialAdUnit(CONFIG_ID, WIDTH, HEIGTH);
adUnit.activatePrebidImpressionTracker(true);
adUnit.activatePrebidImpressionTracker();
```

After the invocation of `activatePrebidImpressionTracker(),` the Prebid SDK will start analyzing the View Hierarchy and track the viewability of the ad view. Once the ad view is viewable for the user for at least 1 pixel for 1 second, the SDK will track an impression event for the presented ad. The SDK will stop analyzing the View Hierarchy once the caller object of `activatePrebidImpressionTracker()` is destroyed.
Expand Down

0 comments on commit 7fed9b8

Please sign in to comment.