{"id":482,"date":"2019-08-22T08:03:12","date_gmt":"2019-08-22T08:03:12","guid":{"rendered":"http:\/\/adsforwp.com\/docs\/?post_type=ht_kb&#038;p=482"},"modified":"2019-08-22T08:11:46","modified_gmt":"2019-08-22T08:11:46","slug":"how-to-enable-ads-on-amp-using-official-amp-plugin","status":"publish","type":"ht_kb","link":"https:\/\/adsforwp.com\/docs\/article\/how-to-enable-ads-on-amp-using-official-amp-plugin\/","title":{"rendered":"How to enable ads on AMP using official AMP plugin"},"content":{"rendered":"\n<p> If you want to display Ads using AMP by Automatic plugin then you need to follow below steps:  <\/p>\n\n\n\n<p><strong>Step 1<\/strong> &#8211; First, you need to install and activated <a href=\"https:\/\/wordpress.org\/plugins\/ads-for-wp\/\">AdsforWP<\/a> plugin<\/p>\n\n\n\n<p><strong>Step 2<\/strong> &#8211; After installing the plugin in the dashboard, we go to the left-hand side in the Menu bar go to the <strong>Ads&nbsp;<\/strong>option panel. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Side-Menu-bar.png\"><img loading=\"lazy\" decoding=\"async\" width=\"158\" height=\"213\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Side-Menu-bar.png\" alt=\"\" class=\"wp-image-80\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Side-Menu-bar.png 158w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Side-Menu-bar-37x50.png 37w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Side-Menu-bar-45x60.png 45w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Side-Menu-bar-74x100.png 74w\" sizes=\"auto, (max-width: 158px) 100vw, 158px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 3<\/strong> &#8211; First, we request you to click on the <strong>Add New Ad&nbsp;<\/strong>button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770.png\"><img loading=\"lazy\" decoding=\"async\" width=\"543\" height=\"207\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770.png\" alt=\"\" class=\"wp-image-72\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770.png 543w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770-300x114.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770-50x19.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770-60x23.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Add-New-Ad-e1555927224770-100x38.png 100w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 4 <\/strong>&#8211;  You need to add <strong>&#8220;Add Type<\/strong>&#8221; like below the screenshot.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type.png\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"437\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type.png\" alt=\"\" class=\"wp-image-71\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type.png 751w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type-300x175.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type-50x29.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type-60x35.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Ad-Type-100x58.png 100w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/a><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Ad Type:<\/strong>&nbsp;First, we request you to click on Add New Ad and select the ad type.<br><strong>For eg:&nbsp;<\/strong>I\u2019ve selected the Adsense which you can see in the below screenshot. However, our plugin is compatible with so many ads type which you can select as per your needs.<\/li><li><strong>AdSense Type:<\/strong>&nbsp;Then it will ask you to select the Adsense type whether you want to display the Manually place Ads (Normal), Auto Ads, or Sticky Ads.<\/li><li><strong>Data AD Client<\/strong>: It is nothing but your Adsense Publisher ID<\/li><li><strong>Data AD Slot<\/strong>: It is a unique advertisement slot Id which can be found in the Adsense Ad Code.<\/li><li><strong>AD Size<\/strong>: It can be anything depending on your choice.<\/li><li><strong>Responsive:<\/strong>&nbsp;Once you enable this option Ad will be shown into responsive.<\/li><\/ul>\n\n\n\n<p><strong>Step 5 <\/strong>&#8211;  In Display type, you\u2019ll see the number of display type but only AMP by Automatic we are providing three option like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"466\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-1024x466.png\" alt=\"\" class=\"wp-image-486\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-1024x466.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-300x137.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-768x350.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-50x23.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-60x27.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3-100x46.png 100w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/08\/3.png 1041w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Position:<\/strong>&nbsp;In this option, you\u2019ll see two Position\u2019s in which you can display the ad\u2019s by selecting&nbsp;1.)&nbsp;50% of the content&nbsp;&nbsp;2.)&nbsp;The number of paragraph option in which It asks you to enter the paragraph number to display the ads.<\/li><li><strong>Alignment:&nbsp;<\/strong>This option allows you to select the alignment option of the ad.<\/li><li><strong>Margin:&nbsp;<\/strong>You can also set the margins of the ads as per your taste.<\/li><\/ul>\n\n\n\n<p><strong>Step 6<\/strong> &#8211; After selecting the Ad type, you need to set the Placement of the Ads whether you want to show the Ads on specific Posts\/Pages or all posts, etc. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1074\" height=\"268\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28.png\" alt=\"\" class=\"wp-image-101\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28.png 1074w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28-300x75.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28-768x192.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28-1024x256.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28-50x12.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28-60x15.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/04\/Desktop-2019-04-22-15-48-28-100x25.png 100w\" sizes=\"auto, (max-width: 1074px) 100vw, 1074px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><strong>For eg:<\/strong>&nbsp;If you want to show the Ads only for Posts then you need to set the placement like \u201c<strong>Post type&nbsp; \u2014&gt; Equals to \u2014&gt; Post<\/strong>\u201d<\/p>\n\n\n\n<p>Same you can follow this for pages as well \u201c<strong>Post type&nbsp; \u2014&gt; Equals to \u2014&gt; Page<\/strong>\u201d<\/p>\n\n\n\n<p>If you want to set the Ad only for Single Page\/Post then you need to set like this \u201c<strong>Post&nbsp; \u2014&gt; Equals to \u2014&gt; Post name<\/strong>\u201d or \u201c<strong>Page\u2014&gt; Equals to \u2014&gt; Page name<\/strong>\u201d<\/p>\n\n\n\n<p>Once you are finished with all the sections then you can publish it and your ads will appear<\/p>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other Ad company which isn\u2019t listed in our plugin then you can request us we will surely implement it as soon as possible.<\/p>\n\n\n\n<p><strong>Just contact us&nbsp;<a href=\"http:\/\/www.adsforwp.com\/contact\/\">here&nbsp;<\/a>and we are always available for you.<\/strong><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to display Ads using AMP by Automatic plugin then you need to follow below steps: Step 1 &#8211; First, you need to install and activated AdsforWP plugin Step 2 &#8211; After installing the plugin in the dashboard, we go to the left-hand side in the Menu bar&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[18],"ht-kb-tag":[],"class_list":["post-482","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/comments?post=482"}],"version-history":[{"count":9,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/482\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/482\/revisions\/492"}],"wp:attachment":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/media?parent=482"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=482"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}