Open Bug 1966382 Opened 1 year ago Updated 11 months ago

[meta] newtab Contextual Ads

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

People

(Reporter: thecount, Unassigned)

References

Details

(Keywords: meta)

Attachments

(1 file)

Because there are no contextual ads currently in inventory, we can only test that the ads IAB category format is sent to the ads server.

To test that the IAB ad category is sent to the ads server:

  1. Set your region and locale to US or another region that can see ads.
  2. Set "browser.newtabpage.activity-stream.discoverystream.sections.contextualAds.enabled" to true
  3. Set "browser.newtabpage.activity-stream.discoverystream.sections.enabled" to true
  4. Set "browser.newtabpage.activity-stream.asrouter.devtoolsEnabled" to true
  5. Go to about:newtab#devtools
  6. Refresh cache
  7. Set system time to 1 hour into the future
  8. Open the multi process browser toolbox. Watch the network tab.
  9. Click "trigger system tick"

Expected:

You should see 2 requests going out to ads.mozilla.org, we only care about one of them. One is for topsites, the other for stories, we care about the stories one. From the list of calls there is no way to know which is which until you click on the request tab. So check the request tab for each of them, and you're looking for something like the attached screenshot:

Depends on: 1966388
Depends on: 1966391
Depends on: 1966392
Duplicate of this bug: 1943680
Attached image image.png
Depends on: 1974908
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: