Investigate why ads_hidden is sometimes unequal to ads_loaded
Categories
(Firefox :: Search, defect, P2)
Tracking
()
People
(Reporter: jteow, Assigned: jteow)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr115+
|
Details | Review |
Blocked ads should have the same number of loaded ads as ad blockers hide them from users.
Data Science let us know that in a sample of data, they found 2.5% of the time, ads_hidden (when it had a non-zero number) had a number lower than ads_loaded for the corresponding component.
In that sample, it only happened with ad_link and ad_sidebar.
We should investigate 1) which search provider this is happening with, and 2) why this is happening.
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
One reason for the discrepancy is because we're not properly categorizing one of the ads in one of the providers, so it falls back to the default ad type, ad_link which will use the anchor itself to see if it is hidden. In this case, the anchor is indeed hidden even if the ad is actually shown to the user.
| Assignee | ||
Comment 4•2 years ago
•
|
||
Cristian, I've added a changes to Remote Settings Stage - Preview to search-telemetry-v2. Could you validate that the proposed change is working properly?
The steps to reproduce are hard because this type of ad won't always show up if you do a search so I've had to be persistent (e.g. search a term that has a high likelihood of showing ads over and over again) and/or clear cookies.
Here is what works for me:
- On Google, search "shop shoes" or "shop candles" in US/Canada/UK (to be clear, I've only tested these locales, it probably shows up in all locales).
- Look at the ad at the top: Keep submitting that search (or clear cookies if you stop seeing ads) until you see an ad that has a fixed number of images across the top. It looks like a carousel because products will be inside boxes, but isn't a carousel because it won't have arrows that scroll to show more images to load.
- In the logs, one of the entries should be:
"Counting ad:" ({type:"ad_image_row", adsLoaded:n, adsVisible:n, adsHidden:0})wherenis the number of images.
Comment 5•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 6•2 years ago
•
|
||
There's an issue with syncing with records on Remote Setting Stage that isn't because of this patch which might affect QA, but the fix should be in Nightly shortly.
| Assignee | ||
Comment 7•2 years ago
|
||
We're moving the Remote Settings change to Bug 1856647.
Search telemetry v2 on production was not changed in this bug.
Comment 8•2 years ago
|
||
Marking the issue as verified fixed using RS stage-preview and Fx 120.0a1.
After a number of searches and cookie clears I've managed to trigger "ad_image_row" ad type. They're registered in glean as well as browser console whenever triggered.
| Assignee | ||
Comment 9•2 years ago
|
||
Thanks for verifying it Cristian.
I've reverted the change on Stage because of the miscount you found. It doesn't make sense to commit it when we know its flawed.
| Assignee | ||
Comment 10•2 years ago
|
||
Comment on attachment 9353463 [details]
Bug 1853004 - Add ad_image_row to ad components - r?standard8!
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: A Remote Settings change to
search-telemetry-v2.jsonis causing issues withtest_search_telemetry_config_validation.json ESR because when the test checkssearch-telemetry-v2.json, it will find a value inside"type"that is missing from the list of allowable strings. - User impact if declined: None, but the unit test
test_search_telemetry_config_validation.jswill continue to fail. - Fix Landed on Version:
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It only changes documentation and a JSON file used in
test_search_telemetry_config_validation.js.
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Comment on attachment 9353463 [details]
Bug 1853004 - Add ad_image_row to ad components - r?standard8!
Approved for 115.5esr
Comment 12•2 years ago
|
||
| uplift | ||
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Comment on attachment 9353463 [details]
Bug 1853004 - Add ad_image_row to ad components - r?standard8!
Approved for 119.0.1
Comment 14•2 years ago
|
||
| uplift | ||
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Issue is verified fixed using the latest Fx 115.5ESR and 119.0.1 builds on Windows 10 and Ubuntu 20. ad_image_row is correctly registered in SERP telemetry logs.
Description
•