Flying Carpet Integration
The following script must also be inserted in the head of the AMP page:
< script async custom-element = "amp-fx-flying-carpet" src = "https://cdn.ampproject.org/v0/amp-fx-flying-carpet-0.1.js" ></ script > |
Insert the following code snippet at the desired position for ad integration (styles have to be adapted by yourselves ):
< div class = "amp-flying-carpet-text-border" style = "background-color:black;color:#fff;text-align:center;font-size:small" >Advertisment</ div > |
If desired, the visible area of the ad can be changed using the value amp-fx-flying-carpet height= "300px".