react-gpt
react-gpt copied to clipboard
Support for googletag.PassbackSlot
Do you have plans to add support for passback tags for third-party ad networks?
None right now, but this seems like a feature that wouldn't be difficult to add: https://support.google.com/dfp_premium/answer/2811375?hl=en
Maybe by adding the following props to Bling
:
<Bling
passbackUrl={`// String (required) URL`}
passbackPageUrl={`// String (optional) URL`}
passbackTargeting={
// Array (optional)
[{"color": "red"}, {"sport": ["rugby", "rowing"]}] (like existing `targeting` prop)
}
passbackClickUrl={`// String (optional)`}
/>
Or with an optional passback
object prop
<Bling passback={{
url: string,
pageUrl: string,
targeting: array
clickUrl: string
}} />
Which API looks better of the above 2?
The second one looks better.