RuleIn force

Roku Advertising Framework

Apps that include video advertising must follow Roku's advertising requirements and integrate the Roku Advertising Framework. U.S. non-child-directed apps must call enableAdMeasurements and pass content metadata.

In force (criteria 1.1 and RAF 1.1–1.4)

What the rule is

If your app includes video advertising, certification criterion 1.1 requires you to follow Roku's advertising requirements and integrate RAF without disabling it.

Measurement beacons must be fired client-side through RAF. U.S. non-child-directed apps must call enableAdMeasurements() and pass content metadata with setContentGenre, setContentId, and setContentLength. Client-side ads must show the standard Roku-branded ad-count label.

Replays of live broadcast streams are exempt from RAF 1.1 unless new ads are inserted. Ad-supported apps must provide an app-ads.txt URL when submitting.

Who it affects

Roku apps that include video advertising.

How to fix it

  1. Integrate RAF, keep it enabled, and fire measurement beacons through RAF.
  2. For U.S. apps that are not child-directed, call enableAdMeasurements() and set the required content metadata.
  3. Show the standard Roku ad-count label for client-side ads, and include an app-ads.txt URL with your submission.

Check your app

Run this in your project folder or zip. It checks this rule on your machine, and nothing about your project is uploaded.

npx roku-preflight check --only raf

Official source