• Resolved topfgartenwelt

    (@topfgartenwelt)


    Dear Spacetime,

    I have a problem with the AMP ads. I get them working, but when I set the device detection for block 2 and 3 (containing the mobile ads) to “use server side detection only for mobile devices” the AMP Ads work, but I have a mess on my desktop version of the layout. There is suddenly an ad appearing before the post that also doesn’t disappear if I set the side detection back to client side server detection. I have to reset the whole plugin to get rid of it.

    The second problem is that the responsive ad expands to much in the width and is going under my social media buttons.

    Here you can see some images: Problems when activating the AMP Ads

    I’m using the official AMP Plugin for WordPress and i have set the priority of the plugin to 10. And I was working with [ADINSERTER AMP].

    What is causing that problem?

    Thanks a lot.
    Greetings Kathrin

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

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

    (@spacetime)

    Since you are using caching you can’t use server-side detection.
    And for AMP pages you can only use client-side show method.
    However, AMP pages are normally shown only on mobile devices so in most cases no device detection is needed.

    Responsive code tries to determine available width and then serves an ad that fits that width. Some themes resize themselves after the ad code measures the container so you may get a wider ad. Try to define ad width or use ad code with fixed ad size:
    https://adinserter.pro/documentation/adsense-ads#code-generator

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Ok, the responsive code doesn’t make any problems, when I don’t activate the server side device detection.

    So should I put the AMP Code into the plugin with the settings: client side device detection insert and hope that it is seen by several users?

    Greetings Kathrin

    Plugin Author Spacetime

    (@spacetime)

    No, client-side insertion can’t work on AMP pages.
    https://adinserter.pro/documentation/amp-pages

    Why do you need device detection on AMP pages?

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    I put the code for the mobile ad and the amp ad into the same block separated with [ADINSERTER AMP] and the block is set to client side device detection.

    I have no seperated AMP pages. My mobile pages are loaded as AMP or mobile version. It is always the same site.

    Is there a way to increase the space under the ad that there is more space between the ad and the text?

    Greetings Kathrin

    Plugin Author Spacetime

    (@spacetime)

    You can set margins easily in the preview window:
    https://adinserter.pro/documentation/code-preview

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    So I have put the AMP AD in the section of my theme panel and it works but than the mobile ads from ADInserter aren’t shown anymore? Why that? Why the mobile Ads are disappearing?

    Plugin Author Spacetime

    (@spacetime)

    I see all the blocks inserted according to the settings.

    You can use Log processing debugging function to diagnose insertions:
    https://adinserter.pro/documentation/debugging

    Make sure you don’t have cookie set.

    Currently you are creating cookie for all visitors. After the first page visited cookie is created and ads are not inserted until the cookie expires.

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Oh my God, I forgot to set flipboard and facebook on the whitelist. Thanks a lot!

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    I think it’s working now the AMP Ad comes from my theme panel and the mobile ads come from AdInserter and are blocked for facebook and flipboard.

    Thank you so much!!!!!

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    Would it be possible to give me the peace of code that makes a 10 px space at the bottom of the ad and text? I’m really unsecure about the options in the preview 🙁

    Thread Starter topfgartenwelt

    (@topfgartenwelt)

    I think I got it 🙂

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘AMP Ads’ is closed to new replies.