Closed Bug 1846774 Opened 1 year ago Closed 1 year ago

Add support for ads API to record impressions and clicks

Categories

(Firefox :: Shopping, task, P2)

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: niklas, Assigned: fchasen)

References

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 file)

When the recommended is seen for a second and clicked, we should send an api call that these events happened.

The api calls are defined here.

The ad component is being created in bug 1840162

Whiteboard: [fidefe-shopping]
Severity: -- → S3
Type: enhancement → task
Priority: -- → P2
Blocks: 1840451
No longer blocks: shopping2023
Summary: Add support for recommended ad api calls → Add support for ads API to record impressions and clicks
  • Adds schemas for request and responses from the Shopping Events API
  • Adds sendImpressionEvent and sendInteractionEvent methods to the ShoppingProduct to send ad events to the API.
  • Splits out url tests from test_product.js
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Blocks: 1848408
Attachment #9347792 - Attachment description: Bug 1846774 - Add Shopping Events API. r=#shopping-reviewers → Bug 1846774 - Add Shopping Attribution API. r=#shopping-reviewers
Pushed by fchasen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/574f4d8ae48e Add Shopping Attribution API. r=shopping-reviewers,jhirsch,niklas
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch

Hi @Jared are these the telemetry events relate to the More to Consider card ? when displayed or clicked ? is it related to Bug 1849245 ?

Flags: needinfo?(jhirsch)

Hey, this bug covers is the API that is used to report to the fakespot backend when users click on ads. There's no need to verify anything here since ads were removed from 119 scope

Flags: needinfo?(jhirsch)
Blocks: 1845834
Blocks: 1859055
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: