Closed Bug 1923238 Opened 2 years ago Closed 2 years ago

[Unified Ads API Integr] change endpoint hit for unified ads DELETE request

Categories

(Firefox :: New Tab Page, defect)

defect

Tracking

()

VERIFIED FIXED
133 Branch
Tracking Status
firefox132 --- verified
firefox133 --- verified

People

(Reporter: thecount, Assigned: thecount)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt])

Attachments

(1 file, 2 external files)

Right now we are hitting "v1/ads" with a DELETE request, and it should be a DELETE request to "v1/delete_user"

To test:

  1. Ensure you can see spocs on newtab and Parent brocess Browser Toolbox.
  2. Set browser.newtabpage.activity-stream.unifiedAds.spocs.enabled to true
  3. Turn off sponsored topsites.
  4. Turn off sponsored stories.
    Expected: should see a DELETE newtwork request to delete_user, it should be a 200, that matches this screenshot:
Attached image image.png —
Assignee: nobody → sdowne
Status: NEW → ASSIGNED
Pushed by sdowne@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d36311fb9eb9 Newtab change endpoint hit for unified ads DELETE request r=home-newtab-reviewers,maxx
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Attachment #9429995 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: This would impact the timeline for unified ads experiments which delays the feature being released to users
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Steps outlined in bug comment: https://bugzilla.mozilla.org/show_bug.cgi?id=1923238#c1
  • Risk associated with taking this patch: Low
  • Explanation of risk level: All code related to this experiment (and this one line change) are behind prefs. This code will only be exposed to users in the experiment branch of the unified ads experiment
  • String changes made/needed: No
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9429995 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

I have verified that the DELETE request is successfully sent when both checkboxes are unchecked on the latest Nightly 133.0a1 (Build ID 20241013211859) and latest Beta 132.0b6 (Build ID 20241011091831) using Windows 10, macOS 14.5, Ubuntu 24.04

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: