-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pbm native #247
Pbm native #247
Conversation
* Added Unittest cases for PBM Native * Test cases updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review PR #254
Also expose the new API for Objective-C
As I see you use |
#255 fixes modularisation issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iOS and Android versions have different API for a publisher
Can we align this ?
public var ext: AnyObject? | ||
|
||
public required init(minimumWidth: Int, minimumHeight: Int, required: Bool) { | ||
super.init(isRequired: required) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the publisher wants just exact width and height, but not mW and mH?
Can you provide an alternative Init method?
@objc public enum ImageAsset: Int { | ||
case Icon = 1 | ||
case Main = 3 | ||
case Custom = 500 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Custom can not be changed?
public var length: Int? | ||
public var ext: AnyObject? | ||
|
||
public required init(type: Int, required: Bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data has 12 fixed types and one custom type. Should not be using Int.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing support for MoPub ad resizing.
Hi @yoalex5,
Source code is in PUC, please check the latest release: https://github.com/prebid/prebid-universal-creative/releases |
Wei will complete the review for release
Implementation of PrebidNative for bannerNative DFP & mopub.
This is a banner native implementation as the creative is rendered as a universal creative served on a webview