• Resolved igobybus

    (@igobybus)


    We have widgets like ‘AMP widget below Header’, ‘AMP widget Above Footer’ .. here I can add widgets, can we place AdSense AdCodes here? using ‘custom HTML’ widget? or how to add AMP page AdSense code in widgets?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, yes, try using custom HTML widgets once. It will give the desired output you’re aiming for. Give it a try, and if you still have any concerns, let us know.

    Thread Starter igobybus

    (@igobybus)

    Hi, i have tried.. and the ads displaying. but one issue, i want to display a fixed sized ad. 300×50 mobile banner. created fixed size ad unit.. but it display responsive ad. same ad unit if i use in the default advertisement settings.. in AMP ( it has responsive off option).. it display fixed size banner. when i used the same code in other places, (widget, adinserter plugin) the fixed size or responsive off not working..

    please help. i want a fixed sixe banner on the header below widget of AMP.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, Could you please share the desired output reference or screenshot which you want to achieve so we can check accordingly and provide you a solution.

    Thread Starter igobybus

    (@igobybus)

    see the screenshot , the 320×50 banner size. https://ibb.co/LC2C1My

    its working fine , when I add it from the default Advertisement Settings in AMP. I disable responsive off. check the settings https://ibb.co/pj9PRg1. its fine working,

    when I use the same code , in widgets or in other places, the ads showing responsive, that is not showing 320×50, instead it shows different sizes..

    widget ad code https://ibb.co/JjRvMjt

    <amp-ad
         layout="fixed"
         width="320"
         height="50"
         type="adsense"
         data-ad-client="ca-pub-7833032692666778"
         data-ad-slot="3127410882">
    </amp-ad>
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, we are currently working on this concern and apologize for the delayed response. Could you please share the exported AMP optional panel settings with us? This will enable us to check it on our end and provide you with a prompt resolution.

    For your convenience, here is the reference tutorial: https://ampforwp.com/tutorials/article/how-to-import-and-export-the-amp-option-panel-settings

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can we add AMP AdSense Ads in Widgets?’ is closed to new replies.