About ad groups

An ad group belongs to a campaign. While you use a campaign to define high-level goals like the objective, you use an ad group to define more detailed information like budget, placement, bidding details, and targeting details. The campaign specifies why you’re advertising and the ad group specifies how you’re advertising.

Ad groups are created on automatically on the backend when you create a campaign. This is true for both Ads API and the Ads Manager UI. Currently, each campaign contains only one ad group. In the future you’ll be able to create many ad groups for a single campaign.

Update an ad group

To update an ad group, make a PATCH Update ad groups call and use your body parameters to specify the targeting metadata. Include the unique identifier (uid) of the ad groups you want to update, along with their specific targeting metadata.

Targeting metadata typeDescription
ad group attributes
  • name - the name of the ad group
  • budget - the maximum value (in USD) that you want to spend, spread evenly across your ad group’s schedule. Minimum budget is 500.
  • start_at - the start date and time when your ads can begin delivering, in ISO 8601 format (e.g. 2025-08-01T00:00:00Z).
  • end_at - the end date and time when your ads can no longer deliver, in ISO 8601 format (e.g. 2025-08-01T00:00:00Z).
  • bid_strategy - Determines how much to bid in ad auctions. Can be auto_bid (optimized based on advertising objective) or max_bid (set a maximum bid amount). Defaults to auto_bid if not provided.
daypartsUse dayparts to control the days and hours during which your ads are eligible to serve, based on the local viewer’s timezone. Define a schedule array of time windows each specifying a day_of_week (MONDAY-SUNDAY), start_hour (0-23), and end_hour (1-24). An empty daypart schedule means ads are eligible to serve at all times. Use the optional timezone_source field to choose which time zone the schedule hours follow: user (default) follows each viewer’s local time zone, and account follows the account time zone associated with the campaign. If you omit timezone_source on create, it defaults to user. If you omit it on update, the existing selection is preserved.
location_targetingUse location targeting to include or exclude where your ads are served based on specific geographical regions. Each entry in the include or exclude arrays must include a type and a name. Supported types are:
  • country — currently, only United States is supported. Countries can be included but not excluded.
  • state_territory — a U.S. state name (e.g. Alabama). See Update ad groups for a full list of supported values.
  • metro_market — The geographic area centered around a major city, including the city and its surrounding suburbs and nearby towns. See Update ad groups for a full list of supported values.
  • postal_code — a postal/ZIP code string
audience_targeting

Use audience targeting to reach viewers based on demographic attributes and custom audiences. Targeting conditions are evaluated across categories (AND) or within a category (OR).

The included object supports the following targeting types:
  • age — age range segments
  • gender — male, female
  • household_income — household income range segments
  • demographics — a catch-all for segments that fall outside of age, gender, and household income, including Roku's automated content recognition (ACR) viewership data, purchase behavior, and more
  • custom_audiences — a list of first-party audience objects, each with a unique identifier (uid), name, and a type of either event_audiences (pixel/event-based) or file_audiences (CRM-uploaded)
Only custom_audiences can be excluded. All other targeting types are inclusion-only.Standard audiences must be assigned to their corresponding targeting category. For example, age segments belong under age, gender segments under gender, etc. You can identify a segment's category using the audience_category_uid field returned by the audiences/standard endpoint:
  • Age: XaciYJD4MhL
  • Gender: XacZSJhGvXY
  • Income: XacTRzV2goQ
  • Advanced Demographics: Xac0FyXWpg2
To see which audiences are available for a given ad account, make a call to the audiences/standard endpoint. Not all ad accounts have access to the same audiences.

Note: age, gender, household_income, and postal_code targeting are restricted when a campaign's special_advertising_categories includes credit, housing, or employment.

placementUse placement to specify where your ads are served. The apps array accepts two values:
  • roku — Ads serve on The Roku Channel, Roku's owned-and-operated streaming app, including on-demand and live TV content.
  • roku_audience_network — Ads serve across a curated network of third-party streaming apps on the Roku platform where Roku has bundled ad inventory. This includes 100+ apps across entertainment, sports, news, lifestyle, and more (e.g. ESPN, Hulu, Peacock, Tubi). The list of included apps is updated monthly and can be found in the Roku Ads Manager Help Center: Placements: App & Channels.
Both values can be used together. When auto_placement is set to true, Roku automatically determines the optimal mix across both placements.
impression_frequency_capsUse impression frequency caps to limit how often a unique household sees your ads within a rolling time window. Three fields are required:
  • frequency_unit_of_measure — the unit of time for the cap window. Currently, only days is supported.
  • frequency_value — the length of the window (e.g. 7 for a 7-day window).
  • max_impressions — the maximum number of times a household can see your ad within that window.
For example, a frequency_value of 7 and max_impressions of 3 means no household will see your ad more than 3 times in a 7-day period.
content_targetingUse content targeting to control the content environment your ads appear in. Two options are available:
  • exclude_mature_content — Set to true to prevent your ads from serving alongside mature or R-rated content.
  • genres — Target specific content categories to include or exclude using an array. Supported values are: Action/Adventure, Comedy, Drama, Educational, Holiday, Lifestyle, Music, News, Reality & Pop Culture, Romance, SciFi, and Sports.
optimization_goalUse an optimization goal to tell Roku what outcome to optimize for. Optimization goal options are: App installs, Leads, PageViews, Purchases, Reach, Sign-ups, and Subscriptions. Note: All optimization goals work for the Conversion campaign objective except Reach which only applies to the Awareness campaign objective.
event_group_uidThe unique identifier of an event group. Specify this to associate an ad group with a set of conversion events for attribution and optimization.
is_publishedSet to true to enable the ad group to begin delivering impressions. An ad group can only be published if required conditions are met, including an active payment method and an attached creative.

Gambling restrictions

The following business categories fall under Gambling and have different default targeting specifications than other categories:

  • Online Gambling
  • Brick-and-Mortar-Casino
  • Fantasy Sports
  • Lotteries and Scratchcards

The different default targeting specifications for these business categories are as follows:

Brick-and-Mortar-Casino: has a special gambling ad category applied to all campaigns that can't be removed.

Online Gambling, Fantasy Sports, and Lotteries and Scratchcards:

  • have a special gambling ad category applied to all campaigns that can't be removed.
  • have the 18-20 age audience segment automatically excluded.
  • have their audience libraries restricted to a 21-24 age audience segment instead of the standard 18-24.