googleads-mobile-android-mediation icon indicating copy to clipboard operation
googleads-mobile-android-mediation copied to clipboard

Wrong impression tracking for Custom Event

Open RomanDorofeyev opened this issue 1 year ago • 4 comments

When using Custom event implementation we got impression callback together with loaded Is there is a “hidden” logic in Google Ads SDK that is calls impression callback at the same time with the loaded callback (or even before loaded)? Easy to reproduce: just remove banner insertion and request the ad. Google Ads SDK triggers impression callback once the ad provider notify about adLoaded event even without adding it to view hierarchy Screenshot 2023-11-03 at 12 52 06

RomanDorofeyev avatar Nov 03 '23 11:11 RomanDorofeyev

@RomanDorofeyev

It is expected that the two events occurred at the same time if you load a banner on the screen. When the ad is loaded the OnAdLoaded event is fired, and when it is visible (usually immediately after load) the OnAdImpression is fired.

NVentimiglia avatar Nov 16 '23 21:11 NVentimiglia

@NVentimiglia thank you for your response, but I do not think you read my message

Google Ads SDK triggers impression callback once the ad provider notify about adLoaded event even without adding it to view hierarchy

RomanDorofeyev avatar Dec 06 '23 11:12 RomanDorofeyev

Hi @RomanDorofeyev

That is correct, adLoaded is triggered once the SDK receives an ad response and this may before the ad is rendered in view.

NVentimiglia avatar Jan 17 '24 00:01 NVentimiglia

Hey @NVentimiglia Here is a note from Google docs. And it works as described for Google ads, but doesn't work this way for 3rd party networks integrated via custom adapter.

Google Ad Manager counts mobile app impressions in alignment with industry standards. A mobile app impression is counted when one or more pixels of the ad creative is visible on a device's screen. Currently, Ad Exchange creatives, some Ad Manager creative formats, and Open Bidding use this methodology.

RomanDorofeyev avatar Jan 17 '24 08:01 RomanDorofeyev