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

Add support for niche targeting #865

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ericholscher
Copy link
Member

This adds support for setting a threshold of distance,
so flights outside of that distance are not shown.

This has a few limitations,
but could be a good first step for testing out a niche targeted flight,
and see what it's CTR looks like.

This adds support for setting a threshold of distance,
so flights outside of that distance are not shown.

This has a few limitations,
but could be a good first step for testing out a niche targeted flight,
and see what it's CTR looks like.
@ericholscher ericholscher requested a review from a team as a code owner April 3, 2024 23:40
Copy link
Collaborator

@davidfischer davidfischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the INSTALLED_APPS check should be in the constructor. We can store a niche_weights=None in the constructor and only fill it out if there's any candidate flights with niche_targeting. We want to avoid doing this unless there's flights using the targeting. I'm really worried about this ballooning our time to ad.

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

Successfully merging this pull request may close these issues.

None yet

2 participants