setPrebidAdParam

fun setPrebidAdParam(gfpPrebidAdParam: GfpPrebidAdParam): <Error class: unknown class>

Sets targeting and render state produced by a Prebid Mobile SDK demand fetch.


fun setPrebidAdParam(configId: String, targetingKeywords: Map<String, String>): <Error class: unknown class>

Convenience setter for targeting-only Prebid integrations.

Prebid SDK-rendered integrations must instead pass the response-carrying parameter created by the optional Prebid mediation module to setPrebidAdParam. If a targeting-only parameter is selected for SDK rendering, the Prebid adapter reports no-fill instead of starting another auction.

Parameters

configId

Prebid Server stored impression id associated with the demand fetch.

targetingKeywords

targeting keywords forwarded to the GFP server as the provider AAP parameter.


fun setPrebidAdParam(configId: String, targetingKeywords: Map<String, String>, providerType: ProviderType): <Error class: unknown class>

Convenience setter for a targeting-only Prebid integration with a specific AAP provider.

If the provider is not specified, ProviderType.MAGNITE is used for backward-compatible behavior. If a targeting-only parameter is selected for SDK rendering, the Prebid adapter reports no-fill instead of starting another auction.

Parameters

configId

Prebid Server stored impression id associated with the demand fetch.

targetingKeywords

targeting keywords forwarded to the GFP server as the provider AAP parameter.

providerType

provider whose ProviderType.paramKey is used for the AAP entry.