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

Publisher Ads support for initial test sites #6

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Conversation

petemill
Copy link
Member

@petemill petemill commented Jan 30, 2020

  • Individual ad-slot detection strategy for each site, with some shared utilities
  • Shared one-best-on-page Slot Filtering strategy
  • Rendering of a BatAd via shadow DOM
  • Fetching of ad creative via communication with Brave extension

TODO:

  • Fetch ads via chrome.braveRewards, once the API exists in brave-core
  • Only inject scripts if brave-ads are on
  • Only inject scripts if shields are up
  • Figure out if we can only inject scripts, or only perform ad slot detection if site is opted-in for pub-ads

@petemill petemill self-assigned this Jan 30, 2020
@petemill petemill force-pushed the pub-ads branch 2 times, most recently from 3a74c64 to dadcde2 Compare January 30, 2020 09:14
- Individual ad-slot detection strategy for each site, with some shared utilities
- Shared one-best-on-page Slot Filtering strategy
- Rendering of a BatAd via shadow DOM
- Fetching of ad creative via communication with Brave extension (TODO: change to chrome.braveRewards call)
…king on ad, and hide category if no category data
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

1 participant