Follow these steps to get started using Freestar's header bidding technology for AMP.
Overview
Freestar currently offers two types of AMP setups. The installation will differ slightly depending on your implementation type:
| Implementation Type | Used by |
|---|---|
| Fully Managed | Publishers that require a white-glove approach to their AMP monetization. Freestar manages the AMP setup within our Google Ad Manager account. |
| Real-Time-Config (RTC) | Publishers who wish to stay in their own Google Ad Manager account, utilizing Freestar's unique sever side demand. |
Download the Freestar AMP ad code
- Login to your Freestar Dashboard.
- Select Site Configuration in the left-hand menu.
- Select AMP Config .
- In the dropdown menu, select your domain.
Installation
Required. Place these scripts in the <head> of each AMP page alongside your existing scripts. Omit any duplicate scripts.
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
Duplicating components will result in AMP validation errors.
Placement Scripts
Include the following scripts if you use the Sticky Footer or Flying Carpet component.
Sticky Footer
<script async custom-element="amp-sticky-ad" src="https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"></script>
Flying Carpet
<script async custom-element="amp-fx-flying-carpet" src="https://cdn.ampproject.org/v0/amp-fx-flying-carpet-0.1.js"></script>
Consent & Compliance
To comply with GDPR and CCPA, AMP pages require a Consent Management Platform (CMP). Include the following scripts to use the Freestar / Sourcepoint AMP CMP solution. More information about the Sourepoint AMP CMP solution here.
<script async custom-element="amp-consent" src="https://cdn.ampproject.org/v0/amp-consent-0.1.js"></script>
<script async custom-element="amp-geo" src="https://cdn.ampproject.org/v0/amp-geo-0.1.js"></script>
If you already have an AMP CMP in place, please speak with your Freestar Point of Contact to ensure compliance with the current privacy standards.
Consent blocking meta-tag
Required. Include the
Insert the tag in the
amp-consent-blocking meta tag if you use the type attribute on your CMP integration.Insert the tag in the
<head>, alongside your existing meta tags.<meta name="amp-consent-blocking" content="amp-ad,amp-iframe" />
What's Next