Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bidding logic v3 return values #128

Open
typerat opened this issue Oct 22, 2024 · 1 comment
Open

Bidding logic v3 return values #128

typerat opened this issue Oct 22, 2024 · 1 comment

Comments

@typerat
Copy link

typerat commented Oct 22, 2024

The generateBid function returns both an ad and a render URI in v3. What's the purpose of providing the URI separately, when it is already contained in the ad?
Is it possible/allowed to override the ad's URI in this way?

@cshmerling
Copy link
Contributor

At the very least, the purpose of updating the return type for the bidding logic was to make it consistent with the requirements for generateBid in B&A. It would not be possible to modify the ad's URI at this point as the system will validate the render URL being present in the custom audience.

As for the design choice as to why they are returned this way, I'll have to dig up the reasoning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants