Skip to content

Commit

Permalink
feat/add_impression_callback_for_native_ads (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy-Hu authored Dec 30, 2022
1 parent f38e0a2 commit 389ff53
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ - (void)didFailToLoadNativeAdForAdUnitIdentifier:(NSString *)adUnitIdentifier wi
[self logCallback: __PRETTY_FUNCTION__];
}

- (void)didRecordImpressionForNativeAd:(MAAd *)ad
{
[self logCallback: __PRETTY_FUNCTION__];
}

- (void)didClickNativeAd:(MAAd *)ad
{
[self logCallback: __PRETTY_FUNCTION__];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ - (void)didFailToLoadNativeAdForAdUnitIdentifier:(NSString *)adUnitIdentifier wi
[self logCallback: __PRETTY_FUNCTION__];
}

- (void)didRecordImpressionForNativeAd:(MAAd *)ad
{
[self logCallback: __PRETTY_FUNCTION__];
}

- (void)didClickNativeAd:(MAAd *)ad
{
[self logCallback: __PRETTY_FUNCTION__];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ - (void)didFailToLoadNativeAdForAdUnitIdentifier:(NSString *)adUnitIdentifier wi
[self logCallback: __PRETTY_FUNCTION__];
}

- (void)didRecordImpressionForNativeAd:(MAAd *)ad
{
[self logCallback: __PRETTY_FUNCTION__];
}

- (void)didClickNativeAd:(MAAd *)ad
{
[self logCallback: __PRETTY_FUNCTION__];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ extension ALMAXManualNativeAdViewController: MANativeAdDelegate
logCallback()
}

func didRecordImpression(forNativeAd ad: MAAd)
{
logCallback()
}

func didClickNativeAd(_ ad: MAAd)
{
logCallback()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ extension ALMAXManualNativeLateBindingAdViewController: MANativeAdDelegate
logCallback()
}

func didRecordImpression(forNativeAd ad: MAAd)
{
logCallback()
}

func didClickNativeAd(_ ad: MAAd)
{
logCallback()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ extension ALMAXTemplateNativeAdViewController: MANativeAdDelegate
logCallback()
}

func didRecordImpression(forNativeAd ad: MAAd)
{
logCallback()
}

func didClickNativeAd(_ ad: MAAd)
{
logCallback()
Expand Down

0 comments on commit 389ff53

Please sign in to comment.