• Resolved Alex

    (@itutorialro)


    Hi,

    I’ve bought, installed and activated the Advanced AMP Ads Extension. The issue is that I’ve added a custom code for a ad to be shown below the post and it does not show (the ad space is not shown at all).

    What should I do?

    My website is: https://itutorial.ro

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Provide a link to an AMP page that is failing to display the ad so someone can take a look at it.

    I had a similar issue and it turned out I’d entered my AdSense code incorrectly. You might check that or something similar, if there is something similar.

    ??

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @itutorialro

    thank you so much for using our plugin.

    So you are trying to Add Custom Advertisement! Could you please share the Ad code here. I would like to test that Ad code to see why it’s not working.

    If you can share the Ad code, I will help you to fix this issue.

    Thread Starter Alex

    (@itutorialro)

    Hey @ampforwp,

    The code is: (please delete it from here after you see it)

    `<div id=”venus-69973″></div>
    <script type=”text/javascript”>
    var venus69973 = { blockId: “69973”, async: true };
    (function (w, d, o, t) {
    o.send = function () {
    (o.queue = o.queue || []).push(arguments);
    };
    var s = d.createElement(t);
    if (o.async) s.async = 1;
    s.src = “https://block.s2block.com/rotator/69973.js&#8221;;
    var i = d.getElementsByTagName(t)[0];
    i.parentNode.insertBefore(s, i);
    o.send(“pageview”);
    })(window, document, venus69973, “script”);
    </script>`

    Also, here are my settings ?n the plugin & extension: https://www.screencast.com/t/RioJGcFOc (AMP extension), https://www.screencast.com/t/8ackfNfU (plugin ad).

    Thanks and sorry for the delay!

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @itutorialro

    This Ad code is a script and scripts are not allowed in AMP. your custom Ad code must be AMP Compatible Code. This type of Ad Codes are not allowed in AMP.

    Hope it helps. Let me know if you have any more questions.

    Thread Starter Alex

    (@itutorialro)

    Oh, I understand…

    Thank you for your time!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Advanced AMP Ads issue’ is closed to new replies.