Skip to content

Add missing GAMEventHandler callbacks for click and impression events#1252

Open
berkbtasdemir wants to merge 1 commit intoprebid:masterfrom
berkbtasdemir:add-GAMHandler-callback
Open

Add missing GAMEventHandler callbacks for click and impression events#1252
berkbtasdemir wants to merge 1 commit intoprebid:masterfrom
berkbtasdemir:add-GAMHandler-callback

Conversation

@berkbtasdemir
Copy link
Copy Markdown
Contributor

Summary

This PR implements missing GADBannerViewDelegate callback methods.

Changes

1. Implement Missing GADBannerViewDelegate Methods

Added bannerViewDidRecordImpression(_:) implementation

  • Implemented the GADBannerViewDelegate method in GAMBannerEventHandler.swift
  • Forwards impression events from Google Ad Manager to BannerViewDelegate.bannerViewDidDisplay(_:)
  • Added didDisplayAd() method to BannerEventInteractionDelegate protocol to support this flow
  • Implemented didDisplayAd() in BannerView to notify the delegate

Added bannerViewDidRecordClick(_:) implementation

  • Implemented the GADBannerViewDelegate method in GAMBannerEventHandler.swift
  • Forwards click events from Google Ad Manager to BannerViewDelegate.bannerViewWillLeaveApplication(_:)
  • Uses existing willLeaveApp() method in BannerEventInteractionDelegate

@berkbtasdemir berkbtasdemir force-pushed the add-GAMHandler-callback branch 2 times, most recently from 21ecbac to b6933fd Compare March 18, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant