CloudServices/Roadmaps/Campaign-Manager: Difference between revisions

Jump to navigation Jump to search
Line 36: Line 36:


== Client API ==
== Client API ==
=== /campaigns ===
=== /announcements ===
  GET /campaigns/<channel>/<version>/<platform>
  GET /announcements/<channel>/<version>/<platform>
  Accept-Language: <comma-separated list of acceptable languages>
  Accept-Language: <comma-separated list of acceptable languages>


Line 92: Line 92:


=== Campaign Format ===
=== Campaign Format ===
  {"snippets": [{
  {"announce": [{
     "id": "12345678",                                              // a numeric ID, tracked by the client to ensure we don't display campaigns multiple times
     "id": "12345678",                                              // a numeric ID, tracked by the client to ensure we don't display campaigns multiple times
     "url": "https://campaigns.mozilla.org/en_US/9j2q98fdqjdaff3ar", // redirector URL, in order to track click-throughs
     "url": "https://campaigns.mozilla.org/en_US/9j2q98fdqjdaff3ar", // redirector URL, in order to track click-throughs
Confirmed users
1,022

edits

Navigation menu