Skip to content

feat(ads-client): add reason parameter to report_ad per MARS /v1/t spec#7268

Draft
Almaju wants to merge 1 commit intomozilla:mainfrom
Almaju:ads-client-report-ad
Draft

feat(ads-client): add reason parameter to report_ad per MARS /v1/t spec#7268
Almaju wants to merge 1 commit intomozilla:mainfrom
Almaju:ads-client-report-ad

Conversation

@Almaju
Copy link
Contributor

@Almaju Almaju commented Mar 12, 2026

The /v1/t tracking endpoint requires a reason query parameter for report interactions. Add MozAdsReportReason enum with Inappropriate, NotInterested, and SeenTooManyTimes variants and thread it through the full stack, appending it to the callback URL before the request.

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

The /v1/t tracking endpoint requires a `reason` query parameter for
report interactions. Add MozAdsReportReason enum with Inappropriate,
NotInterested, and SeenTooManyTimes variants and thread it through
the full stack, appending it to the callback URL before the request.
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.

1 participant