Content.ad supports AMP (Accelerated Mobile Pages). You can create an AMP tag using the format below with parameters from the standard installation code.
Create a widget in your Content.ad account
Select a banner style for your widget. AMP requires fixed sizes. Use the format below inserting the appropriate parameters from the widget’s installation code and the size you selected.
AMP Tag Format
<amp-ad
width=[Width of Ad Widget]
height=[Height of Ad Widget]
type="contentad"
data-id="[Ad Widget GUID]"
data-d="[Ad Widget Domain ID]"
data-wid="[Ad Widget ID]">
</amp-ad>
Supported Widget Call Parameters
NOTE: all widget call parameters are required
- width
The width of the widget in pixels. - height
The height of the widget in pixels. - type
The type of AMP tag. Use “contentad”. - data-id
The unique identifier for your account (API Key). - data-wid
The unique identifier for your widget. - data-d
The unique identifier for your domain.
Example
<amp-ad
width=300
height=250
type="contentad"
data-id="821fb445-6e5e-47fd-9548-c91708f89a4a"
data-d="dGVzdGluZzMyMS5jb20="
data-wid="012345">
</amp-ad>
If you are experiencing problems, please contact support@content.ad