Skip to content

Instantly share code, notes, and snippets.

View vaishalighuman's full-sized avatar

Vaishali Ghuman vaishalighuman

View GitHub Profile
STEP 1:
Add the following script tags in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 2:
Add the following div element, where you want to show the ad(300x250) in <body> tag
<div id="ub_300x250" style="text-align: center; margin: 20px;">
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 2:
Add the following script tag in the <head> to include amp-fx-flying-carpet component.
If already present, ignore this step.
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 2:
Add the following div element, where you want to show the ad in <body> tag
<div id="ub_420x500">
STEP 1:
Add the following script tags in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 3:
Add the following div element, where you want to show the ad(300x250) in <body> tag
<div id="ub_300x250" style="text-align: center; margin: 20px;">
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 2:
Add the following div element, where you want to show the ad in <body> tag
<div class="Unibots_Player" style="text-align: center; margin: 10px;">
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XLHB3D3MW5"></script>
<script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}gtag('js', new Date());
gtag('config', 'G-XLHB3D3MW5');
</script>
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 2:
Add the following div element, where you want to show the ad in <body> tag
<div id="ub_420x300">
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
<script async custom-element="amp-sticky-ad" src="https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"></script>
STEP 2:
Add the following script tag in the <head> to include amp-fx-flying-carpet component.
If already present, ignore this step.
STEP 1:
Add the following script tag in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
STEP 2:
Add the following div element, where you want to show the ad in <body> tag
<div id="ub_360x1200">
STEP 1:
Add the following script tags in the <head> to include amp-iframe component.
If already present, ignore this step.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XLHB3D3MW5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());