prebid / prebid-mobile-android

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

Additional attribute VideoParameters for blocked creative attributes #776

Open andriiginting opened 3 months ago

andriiginting commented 3 months ago

similar request https://github.com/prebid/prebid-mobile-android/issues/756

Is your feature request related to a problem? Please describe. as stated in OpenRTB API Spec v2.5, we are required to send an array of integer for Blocked creative attributes

Describe the solution you'd like Based on OpenRTB API specification doc section Object: Video, one of the attributes is battr which indicates blocked creative attributes Add a new attribute in VideoParameters to send list of blocked creative attribute

Describe alternatives you've considered

Additional context I'm working in a news company and our partner asked to send this value through Prebid SDK

YuriyVelichkoPI commented 3 months ago

Hi @andriiginting !

Have you considered adding battr to the stored request? Are there conditions when it should be added explicitly on the client side?

Adding such a property is not a problem, but once hardcoded, it will be impossible to change without updating the app on the user's device.

andriiginting commented 3 months ago

Hi @andriiginting !

Have you considered adding battr to the stored request? Are there conditions when it should be added explicitly on the client side?

Adding such a property is not a problem, but once hardcoded, it will be impossible to change without updating the app on the user's device.

Do you have code documentation for the stored request?

we need to send the battr property along with VideoParameters. And there are no special conditions that need

YuriyVelichkoPI commented 3 months ago

Here is an intro docs page for stored requests.

https://docs.prebid.org/prebid-server/features/pbs-storedreqs.html

At the bottom, you can find the links to implementation details for GO/JAVA servers. They are pretty similar.

You should be able to put any config for imp into the impression level stored request on PBS. So, you should be able to add the battr to them. The configID property of the Prebid Ad Units in your app is basically an ID of the impression level stored configs on the PBS.