prebid / prebid-mobile-android

Prebid Mobile SDK for Android applications
Apache License 2.0
58 stars 82 forks source link

Support native multi-format in render&original API #621

Closed yangling1985 closed 3 weeks ago

yangling1985 commented 1 year ago

Hi, team,

I notice that multifomat is supported for original API: https://github.com/prebid/prebid-mobile-android/pull/610. Does it support or will support render API as well? thanks!

YuriyVelichkoPI commented 1 year ago

Hi @yangling1985 ! Multiformat is supported for Interstitial ad units in Rendering API.

Do you need the support of multiformat banner ad units as well?

yangling1985 commented 1 year ago

Thanks for your quick response, @YuriyVelichkoPI ! yes, we need Multiformat support on for Banner ad units in Rendering API.

BTW, can you share the doc/source code about Multiformat for Interstitial ad units in Rendering API?

YuriyVelichkoPI commented 1 year ago

Hi @yangling1985! Sorry for the late response.

You can find how to start multiformat bidding on each doc page for the rendering API. For example on the AdMob.

In order to make a multiformat bid request, set the respective values into the adUnitFormats parameter.

adUnit = MediationInterstitialAdUnit(
            activity,
            configId,
            EnumSet.of(AdUnitFormat.BANNER, AdUnitFormat.VIDEO),
            mediationUtils
        ) 
yangling1985 commented 1 year ago

np. thanks! @YuriyVelichkoPI

yangling1985 commented 1 year ago

Hi @YuriyVelichkoPI, for multiformat in render API, does prebid now supports banner competes with native: something like below? If yes, do you have an example of this? I did not find this in the demo app.

adUnit = BanerAdUnit(
            activity,
            configId,
            EnumSet.of(AdUnitFormat.BANNER, AdUnitFormat.NATIVE),
            mediationUtils
        ) 

I notice doc says: "Prebid multi-format ad units allow direct competition between banner, native, and/or video bids: " https://docs.prebid.org/dev-docs/show-multi-format-ads.html#how-multi-format-ads-work

YuriyVelichkoPI commented 1 year ago

Hi @yangling1985 ! No Prebid SDK does not support NATIVE for multiformat bidding in any API.

The doc that you shared relates to Prebid.js.

I can bump this request on the following Prebid Mobile committee so the team can prioritize implementation. Could you provide the following info to accelerate prioritization:

If you are already a part of the committee, feel free to raise an issue by yourself.

cc: @mmullin

yangling1985 commented 1 year ago

Hi, @YuriyVelichkoPI, I am from NewsBreak and already a part of the committee. About the resources to contribute to the development of this feature, do you have an rough estimation of the effort(like how many man day or man month), for Android and iOS separately?

YuriyVelichkoPI commented 1 year ago

I am from NewsBreak and am already a part of the committee.

Great! Looking forward to helping you with prebid integration.

do you have an rough estimation of the effort

I don't have an ETA right now, will prepare it early next week.

Few more questions to clarify requirements:

yangling1985 commented 1 year ago

yes. we are using GAM. But we prefer to fetch ads using GAM SDK built-in API for now and use Prebid SDK for other demands. in another way, we want to do client-side mediation on our own. In the future, we want put GAM as a prebid bid partner. actually we are pushing Google to support ORTB server-to-server integration. hopes that answered your questions.

Again, we are really looking forward to see the multi-format supports native for the Prebid mobile SDK so that we can just use one single ad unit(in-hence single one bid request) to support both native and banner ads. thanks in advance! @YuriyVelichkoPI

YuriyVelichkoPI commented 1 year ago

Thanks for the explanation @yangling1985 ! It will help to build a proper solution.

Support for such behavior is viable. But I need more details to design the solution and provide proper estimates.

Which kind of implementation of native ads do you use and need:

Also, do you need support for video assets?

YuriyVelichkoPI commented 1 year ago

cc: @alexsavelyev for viewability

yangling1985 commented 1 year ago

Thanks. @YuriyVelichkoPI. we are implementing native ads in the In-app layout way only.

YuriyVelichkoPI commented 1 year ago

Hi @yangling1985 ! What about video? Do you use native ads with video?

jsligh commented 4 weeks ago

@yangling1985 is this still an issue or do you still need this implementation?

yangling1985 commented 4 weeks ago

@jsligh thanks for checking. we are good now with the original API. please feel free to close this ticket.

YuriyVelichkoPI commented 3 weeks ago

SDK doesn't fully support multiformat in Rendering API yet.