applyDynamicPrice

fun AdManagerAdRequest.Builder.applyDynamicPrice(ad: NimbusResponse, mapping: Mapping = ad.defaultMapping): AdManagerAdRequest.Builder

Applies Dynamic Price targeting to an AdManagerAdRequest.

Parameters

ad

a winning bid from Nimbus to use for Dynamic Price

mapping

the mapping from the bid price to a line item bucket


fun NimbusResponse.applyDynamicPrice(request: AdManagerAdRequest.Builder, mapping: Mapping = defaultMapping)

Applies Dynamic Price targeting to an AdManagerAdRequest.

Parameters

request

the target request for the Dynamic Price bid

mapping

the mapping from the bid price to a line item bucket