InteractiveAdvertisingBureau / openrtb2.x

OpenRTB 2.x specification, from 2.6 onward
73 stars 49 forks source link

Logical expression on restrictions #92

Open aaicoder opened 8 months ago

aaicoder commented 8 months ago

Sometimes we need logical expression on acat, bcat, badv, battr, etc on block/allow related fields, For example, IF advertiser = X THEN allow_category = A ELSE block_category = [B, C], such logic is difficult to be expressed in existing structure of block/allow fields. Don't find such use cases can be addressed by 3.x either.

One solution is to use vendor specified cattax to express a logical value on other cattax, but this seems overloading cattax when there are many logical expression to support. Another solution is to use new extension to support logical expression. Wantted to hear what the community and IAB working group think for such use cases.

aaicoder commented 8 months ago

Submitted same issue to 3.x as well to get attention on it.