• Resolved wpmhweb

    (@wppit)


    How do I prevent ad blocks that I want only to show on AMP pages from appearing in normal pages?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    if the block is properly configured (i.e. using AMP separator), the AMP code is inserted only on AMP pages.
    https://adinserter.pro/documentation/amp-pages

    Thread Starter wpmhweb

    (@wppit)

    @spacetime I read the documenation, but it’s rather confusing. I have regular blocks of ads configure in a way that only works when for regular pages, if I add the AMP code, it will not work. So, i created a different ad block that will only appear from AMP pages. The problem is that when I select AMP pages, the code will appear in the regular page as well as in AMP pages, but the ad itself will only load in the AMP page.

    Plugin Author Spacetime

    (@spacetime)

    Can you please clarify what in the documenation is confusing?
    Maybe we can make it more clear.

    There is nothing to select for AMP pages.
    You only need to use the AMP separator (shortcode).
    The code that you will put below the AMP separator will be inserted only on AMP pages.

    Check also examples for AdSense:
    https://adinserter.pro/documentation/adsense-ads#amp

    Thread Starter wpmhweb

    (@wppit)

    @spacetime Let me see if understand correctly, you are saying at even if I am creating an ad block that with only AMP code (and the block does not contain an ad code for regular pages), I still have to add the [ADINSERTER AMP] separator to show only in the AMP pages?

    Plugin Author Spacetime

    (@spacetime)

    Correct.

    Thread Starter wpmhweb

    (@wppit)

    @spacetime well, that makes sense, I’ll try that. Thanks,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Prevent AMP code block from appear in regular links?’ is closed to new replies.