GfpPrebidAdParam

Prebid targeting parameter obtained from a single Prebid Mobile SDK demand fetch.

Targeting keywords are forwarded to the GFP server as a provider AAP parameter so the ad-decision can take the Prebid bid into account. configId associates the targeting with its Prebid request configuration and is not sent to the server.

The targeting map is intentionally not filtered by key. Every non-blank entry returned by Prebid is serialized so optional Prebid AAP fields such as hb_cache_id are forwarded when the Prebid Server includes them.

Prebid-rendered integrations must also retain the winning SDK response returned by that same fetch. The optional Prebid mediation module stores that response as process-local render state; this class stays independent of the optional Prebid SDK dependency. The public constructors are targeting-only; use the optional module's factory when SDK rendering is required.

Constructors

Link copied to clipboard
constructor(@NonNull configId: String, @NonNull targetingKeywords: Map<String, String>)
constructor(@NonNull configId: String, @NonNull targetingKeywords: Map<String, String>, @NonNull providerType: ProviderType)
constructor(@NonNull configId: String, @NonNull targetingKeywords: Map<String, String>, @NonNull providerType: ProviderType, @Nullable renderPayload: Any)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Returns the targeting keywords as a "key:value,key:value,..." string suitable for a provider AAP parameter.
Link copied to clipboard
open fun toString(): String