Roku Events API Connector Setup Guide
This article describes how to set up the Roku Events API connector.
API Information
This connector uses the following vendor API:
- API Name: Roku API
- API Version: v1
- API Endpoint:
https://events.ads.rokuapi.net
- Documentation: Roku API
Batch Limits
This connector uses batched requests to support high-volume data transfers to the vendor. For more information, see Batched Actions. Requests are queued until one of the following thresholds is met or the profile is published:
- Max number of requests: 1,000
- Max time since oldest request: 10 minutes
- Max size of requests: 1 MB
Configuration
Go to the Connector Marketplace and add a new connector. For general instructions on how to add a connector, see About Connectors.
After adding the connector, configure the following settings:
- API Key
- To generate an API key, go to the settings page within the events tab of Roku Ads Manager.
- Event Group ID
- An event group is used to represent one online property such as a website or an app or channel. For more information about creating an event group ID, see Roku: Event Groups.
Actions
Action Name | AudienceStream | EventStream |
---|---|---|
Send Event | ✓ | ✓ |
Enter a name for the action and select the action type from the drop-down menu.
The following section describes how to set up parameters and options for each action.
Send Event
Parameters
Parameter | Description |
---|---|
Event Name | The type of event. Below are the events supported by Roku:
|
Event Parameters
Parameter | Description |
---|---|
Event Time | A UNIX timestamp in epoch seconds when the event occurred. |
Event Source | The source of the event. Sources include website , phone_call , and physical_store . For a full list of sources, see Roku: Events API. |
Event ID | An ID used by Roku to de-duplicate the same event sent from both server and browser. Verify the ID is unique to one pair of events sent from browser and server. |
Event Source URL | The page URL where the event originated. |
Referrer URL | The page URL where the user was directly before landing on the subject URL. |
Event Type | If unmapped, the connector will send conversion as the default. |
Opt Out | A value of true triggers the Limited Data Use flag. For more information, see Roku: Limited Data Use. |
User Data
Parameter | Description |
---|---|
Email (already SHA256 hashed) | Provide an email address already whitespace trimmed, lowercased, and SHA256 hashed. |
Email (apply SHA256 hash) | Provide a plain text email address and the connector will whitespace trim, lowercase, and hash this value using SHA256 hash. |
Phone Number (already SHA256 hashed) | Provide a phone number that contains only numeric characters, has been whitespace trimmed, and SHA256 hashed. Remove any leading zeros before hashing. |
Phone Number (apply SHA256 hash) | Provide a plain text phone number and the connector will remove all non-numeric characters and leading zeroes, whitespace trim, and hash this value using SHA256 hash. |
First Name (already SHA256 hashed) | Provide a first name already whitespace trimmed, lowercased, and SHA256 hashed. |
First Name (apply SHA256 hash) | Provide a plain text first name and the connector will whitespace trim, lowercase, and hash this value using SHA256 hash. |
Last Name (already SHA256 hashed) | Provide a last name already whitespace trimmed, lowercased, and SHA256 hashed. |
Last Name (apply SHA256 hash) | Provide a plain text last name and the connector will whitespace trim, lowercase, and hash this value using SHA256 hash. |
Birthdate (already SHA256 hashed) | Provide a birth date (yyyy-mm-dd) already whitespace trimmed, lowercased, and SHA256 hashed. |
Birthdate (apply SHA256 hash) | Provide a plain text birth date (yyyy-mm-dd) and the connector will whitespace trim, lowercase, and hash this value using SHA256 hash. |
Custom Data
Parameter | Description |
---|---|
Content Category | The category of the page or product in the request. |
Content IDs | The product IDs associated with the event. |
Content Name | The name of the page or product. |
Content Type | Either product or product_group , depending on the type of content IDs in the request. |
Product IDs | An array of product IDs. |
Product Quantity | An array of product quantities. |
Product Price | An array of product prices. |
Currency Code | Three letter currency code. For a list of supported currencies, see see Roku: Events API. |
Number of Items | The number of items when checkout was initiatied. |
Predicted LTV | The predicted lifetime value of a subscriber, as defined by the advertiser and expressed as an exact value. |
Search String | The string entered by the user for a search event. |
Status | The status of the order or service. |
Value | The total value of all products being purchased. |
Order ID | The order ID of a transaction. |
Purchase Type | Accepted purchase type values are first_time_purchase and repeat_purchase . |
Delivery Category | The type of delivery for a purchase event. Accepted values are in_store , curbside , and home_delivery . |
This page was last updated: June 18, 2025