Google Ad Manager Integration
Google Ad Manager integration allows you to serve HighVibes Media ads through your existing GAM setup. This method is perfect for publishers who already use GAM for ad management and want to add HighVibes Media as a demand source.
Best For:
- Publishers already using Google Ad Manager
- Existing GAM workflows and reporting
- Advanced ad trafficking and targeting
- Integration with existing ad stack
Integration Scripts
Section titled “Integration Scripts”Use this for standard banner ads or in-page creatives with dimensions.
<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, gc: "%%CLICK_URL_UNESC%%"});</script>Important: Replace IDs with your actual siteId and pageId values.
Use this ONLY for out-of-page units such as interstitials, pop-ups, or floating ads.
<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, gc: "%%CLICK_URL_UNESC%%", gi: "%%VIEW_URL_UNESC%%"});</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 |
gc | String | Yes | GAM click tracking macro: "%%CLICK_URL_UNESC%%" |
gi | String | Out-of-page only | GAM impression tracking macro: "%%VIEW_URL_UNESC%%" |
How It Works
Section titled “How It Works”The HighVibes Media script integrates seamlessly with Google Ad Manager through third-party creatives. GAM macros automatically handle click and impression tracking, ensuring accurate reporting in both GAM and HighVibes Media dashboards.
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 Creative Type
Section titled “Step 2: Choose Your Creative Type”Select the appropriate script based on your GAM creative setup:
- Standard Banner Ads: Use for in-page display ads with dimensions
- Out-of-Page Creatives: Use for interstitials, pop-ups, or floating ads
Step 3: Add Script to GAM Creative
Section titled “Step 3: Add Script to GAM Creative”Copy the appropriate script from the tabs below and paste it into the code snippet field when creating your third-party creative in GAM.
Step 4: Disable SafeFrame
Section titled “Step 4: Disable SafeFrame”SafeFrame can prevent the script from executing correctly, blocking impression/click tracking.
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Ads not displaying:
- Verify SafeFrame is disabled in the creative settings
- Check that
siteIdandpageIdare correct - Ensure the creative is properly targeted and has sufficient priority
Tracking issues:
- Verify GAM macros (
%%CLICK_URL_UNESC%%,%%VIEW_URL_UNESC%%) are included - Check that you’re using the correct script version for your creative type
- Monitor GAM reports for delivery and click tracking
Console Error: “missing params”:
- Verify
siteIdandpageIdvalues are correct in the script - Ensure the script format is exactly as provided (no extra spaces or characters)
© 2026 HighVibes Media GmbH