Skip to content

Feature Request: Support for custom targeting / AdRequest extras (for Prebid / header bidding integration with GAM) #134

Description

@bradleysmaskell

In our app we do client-side header bidding with Prebid Mobile (Amazon TAM + a couple others) to fetch bids, then pass the targeting keywords (hb_pb, hb_bidder, etc.) into the GAM AdRequest so line items can pick them up server-side. This has been working great with native GMA views, but basic-ads builds the AdRequest internally without any way to inject those extras.

Would love an optional way to supply custom targeting, something like:

rememberBannerAd(
            adUnitId = adUnitId,
            adSize = BasicAdSize(size.width, size.height)
            customTargeting: adParameters.customTargeting // passed in to the GAD request
        )
)

And then it gets added via addCustomTargeting on Android and customTargeting on iOS before loading.

Interested to know your thoughts. Also would be happy to open a PR and implement.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions