AMP

AMP

new AMP(options)

Prepare AMP Ads Markup for google AdSense.

Source:

Prepare AMP Ads Markup for google AdSense. Required JavaScript Library must be included in <head></head> part of publisher document.

Parameters:
Name Type Description
options Object

Options object for AMP Custom Element

Classes

AMP
Prepare AMP Ads Markup for google AdSense.

Methods

markup() → {String}

Source:
Returns:

HtmlMarkup of ad-block if amp info available in manifest.json, empty otherwise.

Type
String