Skip to content

Commit

Permalink
AdColony - 4.4.1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chauduyphanvu1 committed Nov 19, 2020
1 parent 627c008 commit bf6589b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AdColony/AdColonyAdapterConfiguration.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ + (void)updateInitializationParameters:(NSDictionary *)parameters {
#pragma mark - MPAdapterConfiguration

- (NSString *)adapterVersion {
return @"4.4.1.1.1";
return @"4.4.1.1.2";
}

- (NSString *)biddingToken {
Expand Down
6 changes: 6 additions & 0 deletions AdColony/AdColonyInterstitialCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ - (void)adColonyInterstitialDidClose:(AdColonyInterstitial * _Nonnull)interstiti
MPLogAdEvent([MPLogEvent adDidDisappearForAdapter:NSStringFromClass(self.class)],
[self getAdNetworkId]);
[self.delegate fullscreenAdAdapterAdDidDisappear:self];

// Signal that the fullscreen ad is closing and the state should be reset.
// `fullscreenAdAdapterAdDidDismiss:` was introduced in MoPub SDK 5.15.0.
if ([self.delegate respondsToSelector:@selector(fullscreenAdAdapterAdDidDismiss:)]) {
[self.delegate fullscreenAdAdapterAdDidDismiss:self];
}
}

- (void)adColonyInterstitialExpired:(AdColonyInterstitial * _Nonnull)interstitial {
Expand Down
6 changes: 6 additions & 0 deletions AdColony/AdColonyRewardedVideoCustomEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ - (void)adColonyInterstitialDidClose:(AdColonyInterstitial * _Nonnull)interstiti

MPLogAdEvent([MPLogEvent adDidDisappearForAdapter:NSStringFromClass(self.class)], [self getAdNetworkId]);
[self.delegate fullscreenAdAdapterAdDidDisappear:self];

// Signal that the fullscreen ad is closing and the state should be reset.
// `fullscreenAdAdapterAdDidDismiss:` was introduced in MoPub SDK 5.15.0.
if ([self.delegate respondsToSelector:@selector(fullscreenAdAdapterAdDidDismiss:)]) {
[self.delegate fullscreenAdAdapterAdDidDismiss:self];
}
}

- (void)adColonyInterstitialExpired:(AdColonyInterstitial * _Nonnull)interstitial {
Expand Down
3 changes: 3 additions & 0 deletions AdColony/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## Changelog
* 4.4.1.1.2
* Add support for `fullscreenAdAdapterAdDidDismiss:` to signal that the fullscreen ad is closing and the state should be reset. To use this adapter version, you need v5.15.0 of the MoPub iOS SDK at the minimum.

* 4.4.1.1.1
* Add functionality on AdColony banner adapters to forward contents of `adm` field in the bid request to AdColony Advanced Bidding requests.

Expand Down

0 comments on commit bf6589b

Please sign in to comment.