Releases: criteo/android-publisher-sdk
Releases · criteo/android-publisher-sdk
v4.2.0
v3.10.2
v4.1.0
- Features
- Add a constructor without
NativeAdUnit
inCriteoNativeLoader
for InHouse integration - Add API to collect different levels of signals which will be used to bid based on context
- Add
Criteo.Builder#debugLogsEnabled
to enable useful logs to troubleshoot the SDK
- Add a constructor without
v4.0.0
-
Breaking changes
- Remove
Context
parameter fromCriteoInterstitial
constructor - Remove
Parcelable
implementation fromAdSize
class - Move
CriteoInterstitialAdDisplayListener#onAdFailedToDisplay(CriteoErrorCode)
to
CriteoInterstitialAdListener#onAdFailedToReceive(CriteoErrorCode)
. This callback is fired
when an error happens after requesting an interstitial ad. - Move
CriteoInterstitialAdDisplayListener#onAdReadyToDisplay()
to
CriteoInterstitialAdListener#onAdReceived(CriteoInterstitial)
. This callback is fired when an
interstitial ad is ready to be displayed. - Provide default implementation in interstitial listener. Java 8 is required, see
https://developer.android.com/studio/write/java8-support. - Remove the deprecated
Criteo#init
method.Criteo.Builder#init
should be used instead. - Update InHouse API:
- Replace
Criteo#getBidResponse(AdUnit)
method byCriteo#loadBid(AdUnit, BidResponseListener)
- Rename
BidResponse
toBid
- Remove
BidResponse#isBidSuccess()
method, bid is a success whenBid
object is not null - Remove
BidResponse#getBidToken()
method andBidToken
class, theloadAd
methods (inCriteoBannerView
,
CriteoInterstitial
,CriteoNativeLoader
) take aBid
object instead
- Replace
- Update AppBidding API:
- Replace
Criteo#setBidsForAdUnit(Object, AdUnit)
method byCriteo#enrichAdObjectWithBid(Object, Bid)
- Use
Criteo#loadBid(AdUnit, BidResponseListener)
method to provideBid
object
- Replace
- Make
CriteoNativeAdListener
an interface instead of an abstract class - Replace
View
parameter by aCriteoBannerView
inCriteoBannerAdListener#onAdReceived
- Remove
CriteoBannerAdListener#onAdClosed
- Remove
CriteoBannerAdListener#onAdOpened
- Remove
-
Features
- CriteoBannerView is now a custom view that can be included directly in a layout file.
- Add live bidding: Load a fresh bid within a pre-determined time budget and use any valid cached bid as a fallback.
- Add
Criteo#getVersion()
method returning the version of the SDK at runtime.
v3.10.1
v3.10.0
- Features
- MoPub Header-Bidding: Handle subclasses of
MoPubView
andMoPubInterstitial
- Server Side bidding:
loadAdWithDisplayData
added toCriteoBannerView
&CriteoInterstitial
- MoPub Header-Bidding: Handle subclasses of
- Bug fixes
- Fix wrong interstitial orientation when user starts the application in landscape
v3.9.0
v3.8.0
- Features
- Provide legal privacy text for native in
CriteoNativeAd#getLegalText
- Artifacts are now delivered through
JCenter
repository instead of a custom one: from this
version, the linemaven { url "https://pubsdk-bin.criteo.com/publishersdk/android" }
can be
removed.
- Provide legal privacy text for native in