Direct Integration
Direct Integration is the simplest and fastest way to start displaying ads with HighVibes Media. This method requires minimal technical setup and can be implemented in minutes.
Best For:
- Publishers without existing ad management systems
- Quick testing and proof of concept
- Fast go-live scenarios
- Simple websites with basic ad requirements
Integration Scripts
Section titled “Integration Scripts”Use this for most implementations - automatically works on desktop, mobile, and tablet.
<script>!function(e){const i=window,t=e&&e.pageId,s=document;if(t&&e.siteId){const n=i.HIGHVIBES_=i.HIGHVIBES_||[];if(n.push({id:t,config:{...e},initialized:!1}),n.length>1)return;const r=s.getElementsByTagName("script")[0],a=s.createElement("script");a.async=!0,a.src="https://static.highvibes.media/libs/eqv/hvm-integration.js",r.parentNode.insertBefore(a,r)}else console.error("missing params")}({ siteId: 123456, pageId: 654321});</script>Important: Replace IDs with your actual siteId and pageId values.
Use this to show ads exclusively on mobile devices (phones and tablets).
<script>!function(e){const i=window,t=e&&e.pageId,s=document;if(t&&e.siteId){const n=i.HIGHVIBES_=i.HIGHVIBES_||[];if(n.push({id:t,config:{...e},initialized:!1}),n.length>1)return;const r=s.getElementsByTagName("script")[0],a=s.createElement("script");a.async=!0,a.src="https://static.highvibes.media/libs/eqv/hvm-integration.js",r.parentNode.insertBefore(a,r)}else console.error("missing params")}({ siteId: 123456, pageId: 654321, deviceType: "mobile"});</script>Use this to show ads exclusively on desktop devices.
<script>!function(e){const i=window,t=e&&e.pageId,s=document;if(t&&e.siteId){const n=i.HIGHVIBES_=i.HIGHVIBES_||[];if(n.push({id:t,config:{...e},initialized:!1}),n.length>1)return;const r=s.getElementsByTagName("script")[0],a=s.createElement("script");a.async=!0,a.src="https://static.highvibes.media/libs/eqv/hvm-integration.js",r.parentNode.insertBefore(a,r)}else console.error("missing params")}({ siteId: 123456, pageId: 654321, deviceType: "desktop"});</script>Configuration Parameters
Section titled “Configuration Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
siteId | Number | Yes | Your unique site identifier provided by HighVibes Media |
pageId | Number | Yes | Unique identifier for the specific page or page type |
deviceType | String | No | Target specific devices: "mobile", "desktop", or omit for all devices |
How It Works
Section titled “How It Works”The HighVibes Media ad tag is a lightweight JavaScript snippet that automatically detects optimal ad opportunities on your page and displays relevant advertisements. The script loads asynchronously to ensure it doesn’t impact your site’s performance.
Implementation Guide
Section titled “Implementation Guide”Step 1: Get Your Credentials
Section titled “Step 1: Get Your Credentials”Contact your HighVibes Media account manager to receive your unique:
siteId- Your website’s unique identifierpageId- Specific identifier for each page type
Step 2: Choose Your Integration Method
Section titled “Step 2: Choose Your Integration Method”Select the appropriate script based on your targeting needs:
Default (Recommended): Works on all devices and automatically optimizes for the user’s device Device-Specific: Use when you want to control ad display on specific device types only
Step 3: Add the Script to Your Page
Section titled “Step 3: Add the Script to Your Page”Place the script in your HTML <head> section for optimal performance, or in the <body> if preferred.
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Ads not displaying:
- Verify your
siteIdandpageIdare correct - Check browser console for error messages
- Ensure the script is placed correctly in your HTML
Console Error: “missing params”:
- This means either
siteIdorpageIdis missing or invalid - Double-check your parameter values with your account manager
Multiple scripts causing issues:
- We support single integration only - use only one script per page
- If you need device-specific targeting, implement conditional logic to load the appropriate script
- Maximum of one mobile script OR one desktop script OR one default script per page
© 2026 HighVibes Media GmbH