Renaming Custom Event Adapters - pubnative/pubnative-hybid-ios-sdk GitHub Wiki

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.

What does it mean to you as a Publisher?

If you are integration the SDK from scratch

You have to worry about nothing. Just follow steps in Wiki and you'll be fine.

If you are an existing publisher

You have 2 options:

  1. 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
  1. 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