-
Notifications
You must be signed in to change notification settings - Fork 556
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 edition targeting to liveblog top sponsorship #27279
Add edition targeting to liveblog top sponsorship #27279
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks in order to me and tested locally with some println's
val hasEditionTargeting = targeting.editions.nonEmpty | ||
|
||
isLiveblogTopSlot && isLiveblogContentType && targetsOnlyAllowedSections && isMobileBreakpoint && isSponsorship && hasEditionTargeting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it right to assume its looking at the targeting data received from GAM at this point?
Seen on ADMIN-PROD (created by @Jakeii and merged by @dskamiotis 12 minutes and 1 second ago)
|
Seen on FRONTS-PROD (created by @Jakeii and merged by @dskamiotis 12 minutes and 11 seconds ago)
|
What does this change?
Only set
hasLiveblogTopSponsorship
if the sponsorship/line-item has edition targeting and it matches