AMP handles advertising code with It's custom tag amp-ad. You can find the official full documentation about it here.
In this page we created an example of AdSense. You can check it out بواسطة going down on this page.
The official AMP documentation states that you need to include amp-ad script tag, It is outdated and you DO NOT need to put that script tag.
amp-ad requires width and height values. Select an ad network via the type argument.
Optionally amp-ad supports a child element with the placeholder attribute. If supported بواسطة the ad network, this element is shown until the ad is available for viewing.
amp-ad supports a child element with the fallback attribute. If supported بواسطة the ad network, this element is shown if no ad is available for this slot.
شكرا لكم لمحاولة AMP!
حالفك الحظ! ليس لدينا أي إعلان لتظهر لك!
عنوان: Lipsum شارع أبجد
طريقة PO 60009 دولور / ألاسكا
هاتف: +1 234 56 78
فاكس: +1 876 54 32
البريد الإلكتروني: amp@mobius.studio