-
Notifications
You must be signed in to change notification settings - Fork 4
Renaming Custom Event Adapters
Can Soykarafakılı edited this page Jul 9, 2021
·
3 revisions
In HyBid iOS SDK v:1.4.9 we have renamed Custom Event Adapters (MoPub Header Bidding, GAM (DFP) Header Bidding and GAD (AdMob) Mediation) in order to eliminate confusion and provide a clearer approach.
You have to worry about nothing. Just follow steps in Wiki and you'll be fine.
You have 2 options:
- You can create a new class that is named as the old Custom Event Adapter's name (i.e:
HyBidMoPubBannerCustomEvent) and is a subclass of the renamed version of that Custom Event Adapter (i.e:HyBidMoPubHeaderBiddingBannerCustomEvent). Let us explain this in a bit more detail by using MoPub Header Bidding Banner Custom Event Adapter as an example:
Swift:
// HyBidMoPubBannerCustomEvent.swift
import UIKit
class HyBidMoPubBannerCustomEvent: HyBidMoPubHeaderBiddingBannerCustomEvent {
}Objective-C:
// HyBidMoPubBannerCustomEvent.h
#import "HyBidMoPubHeaderBiddingBannerCustomEvent.h"
@interface HyBidMoPubBannerCustomEvent : HyBidMoPubHeaderBiddingBannerCustomEvent
@end- Or you can edit all of your line items and rename the class information to use the newly named custom event adapters. You can refresh your memory on how to do that for the desired network: MoPub Header Bidding, GAM (DFP) Header Bidding, GAD (AdMob) Mediation