The Ad Slot add-on lets you show ads between the regular items of a content's playlist. Adding it to a content enables a new Ad Slot item in that content's playlist + Add menu. On the device, each Ad Slot item fetches a VAST ad and plays it in its place in the playlist.
Ads can come from one of two sources:
Source | What you need |
VAST URL | A VAST ad tag URL from any ad server. No integration needed. |
Place Exchange | A Place Exchange account, a Place Exchange integration in omma and one ad unit per device. |
1. Add the Ad Slot add-on to your content
Go to Contents and open the content you want to show ads in.
In the playlist toolbar, click Add-ons.
Click OPEN THE MARKETPLACE (or Add-on Marketplace at the top right, if the content already has other add-ons).
Pick Ad Slot and click SELECT.
The add-on now appears under Add-ons for this content.
Once the add-on is on the content, Ad Slot shows up in the playlist + Add menu.
2. Add an Ad Slot item to the playlist
Click Back to Content to return to the playlist.
Click + Add and choose Ad Slot.
In the Add VAST Ad dialog, leave Provider set to VAST URL and paste your ad tag into VAST URL.
If your ad server needs extra HTTP headers, click ADD HEADER and fill in a Key and Value for each one.
Click ADD. The Ad Slot item is added to the end of the playlist. Drag it to where the ad should play.
To change the URL or headers later, click EDIT VAST on the item. Like any other playlist item, an Ad Slot item supports Display Rules and Item Tags.
Place Exchange setup
For programmatic ads from Place Exchange, three things are needed before the Ad Slot item can request ads:
A Place Exchange integration in omma, made with your Place Exchange credentials.
A px_adunit_name attribute on every device that will show ads.
The integration picked in the Ad Slot add-on configuration of the content.
After that, add the Ad Slot item as in section 2, but choose Place Exchange as the provider.
Step 1: Add the Place Exchange integration
Go to Integrations, click NEW and choose Place Exchange.
Enter the Username and Password of your Place Exchange account and your Organization ID, then click Create.
To find your Organization ID, open Place Exchange and make sure you are in the correct organization. The 36-character UUID after orgs/ in the browser address is your Organization ID. For example, in https://app.placeexchange.com/orgs/00000000-0000-0000-0000-000000000000/... it is 00000000-0000-0000-0000-000000000000. The same instructions appear when you hover the help icon next to Organization ID.
The integration appears in the list.
Step 2: Map each device to its Place Exchange ad unit
Place Exchange sells ads per ad unit. Each device that will show ads must be linked to its ad unit through a device attribute.
Go to Devices and open a device that will show ads.
Under Attributes, click Add Attribute and start typing px in Name. Pick the predefined px_adunit_name key (Place Exchange Ad Unit name).
In Value, enter the device's ad unit name exactly as it appears on the Place Exchange panel, then click Save.
Repeat for every device that will show ads, each with its own ad unit name.
The ad request URL is built from this attribute, so a device without px_adunit_name cannot get Place Exchange ads.
Step 3: Pick the integration in the add-on configuration
Add the Ad Slot add-on to the content as in section 1, if you have not already.
Under Add-ons, click CONFIGURE on the Ad Slot card.
Under Integration, click Pick integration.
Select the Place Exchange integration from Step 1.
The configuration now shows the integration's Organization ID and Username, and the button changes to Change integration. Click DONE at the bottom of the dialog to save it to the content.
If the configuration shows "Integration … is in an unhealthy state", go to Integrations and refresh the integration's credentials.
Step 4: Add an Ad Slot item with the Place Exchange provider
Back in the playlist, click + Add and choose Ad Slot.
Open the Provider dropdown and choose Place Exchange.
VAST URL is filled in automatically with the Place Exchange ad request URL. Leave it as it is and click ADD.
The URL contains two placeholders that are filled in for each device when the ad is requested:
{{PX_ORG_ID}}: the Organization ID of the integration picked in Step 3.
{{device.attribute.px_adunit_name}}: the device's px_adunit_name attribute from Step 2.
Place the Ad Slot item where the ad should play in the playlist and publish the content as usual.
Troubleshooting
Symptom | What to check |
Ad Slot is missing from the + Add menu | The Ad Slot add-on is not added to this content. See section 1. |
"The selected integration has no linked datasource." when picking an integration | The integration has no datasource linked to it. Delete it and create it again under Integrations. |
"Integration … is in an unhealthy state" in the add-on configuration | The Place Exchange credentials are no longer valid. Refresh the integration under Integrations. |
"The previously configured integration no longer exists." | The picked integration was deleted. Click Pick integration and choose another one. |
Place Exchange ads don't play on a device | Check that the device has a px_adunit_name attribute matching an ad unit on the Place Exchange panel, and that the content's Ad Slot add-on has the integration picked. |
