• Resolved gabu69

    (@gabu69)


    Just noticed theres a huge problem when an ad is inserter after a Twitter or Instagram embed (haven′t tested with other embeds, but so far seems its with this ifreme ones)

    For example im testing it in this page:
    bit.ly/23dAWGg

    My middle ad should be displayed after the instagram embed on 4. No la presiones para que se arregle rápido

    Look up the code for class=’code-block code-block-1′ and it′s simply not being displayed in the browser

    How can I fix this?

    https://www.ads-software.com/plugins/ad-inserter/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter gabu69

    (@gabu69)

    It gets added in between the blockquotes of the instagram embed

    <h2> 4. No la presiones para que se arregle rápido</h2>
    <blockquote class="instagram-media"  data-instgrm-version="6" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:500px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"><div style="padding:8px;">
    <div style=" background:#F8F8F8; line-height:0; margin-top:40px; padding:50% 0; text-align:center; width:100%;">
    <div style=" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAGFBMVEUiIiI9PT0eHh4gIB4hIBkcHBwcHBwcHBydr+JQAAAACHRSTlMABA4YHyQsM5jtaMwAAADfSURBVDjL7ZVBEgMhCAQBAf//42xcNbpAqakcM0ftUmFAAIBE81IqBJdS3lS6zs3bIpB9WED3YYXFPmHRfT8sgyrCP1x8uEUxLMzNWElFOYCV6mHWWwMzdPEKHlhLw7NWJqkHc4uIZphavDzA2JPzUDsBZziNae2S6owH8xPmX8G7zzgKEOPUoYHvGz1TBCxMkd3kwNVbU0gKHkx+iZILf77IofhrY1nYFnB/lQPb79drWOyJVa/DAvg9B/rLB4cC+Nqgdz/TvBbBnr6GBReqn/nRmDgaQEej7WhonozjF+Y2I/fZou/qAAAAAElFTkSuQmCC); display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px; width:44px;"></div>
    </div>
    <p style=" margin:8px 0 0 0; padding:0 4px;"> <a href="https://www.instagram.com/p/12I-oKg30p/" style=" color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;" target="_blank">"Oh wow !! be careful !" – Every old relative online</a></p><div class='code-block code-block-1' style='text-align:center;margin-left:auto;margin-right:auto;margin-top:8px;margin-bottom:8px;'><strong><div class="full-adsense" style="text-align:center;"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <ins class="adsbygoogle"
         style="display:inline-block;width:336px;height:280px"
         data-ad-client="ca-pub-"
         data-ad-slot="">
         data_ad_region = "test"</ins>
    <script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div></strong></div>
    <p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;">A photo posted by Christian LeBlanc (@christian_leblanc) on <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2015-04-24T05:28:21+00:00">Apr 23, 2015 at 10:28pm PDT</time></p>
    </div>
    </blockquote>
    Thread Starter gabu69

    (@gabu69)

    Seems its getting the code inside the instagram embed code:
    https://paste.ee/p/BEHow

    Plugin Author Spacetime

    (@spacetime)

    What settings are you using?

    Thread Starter gabu69

    (@gabu69)

    This settings
    https://i.imgur.com/28cIgKv.png

    I checked with google chrome throttling to see how it was rendering before its hidded and this is how it happens:
    https://imgur.com/MvYxAhy

    So its pretty much counting the paragraph inside the iframe for twitter and instagram and who knows if any other embed, when the JS is finished and its hidding that content inside the iframe, the ad-block is being hidden

    :s

    What you think?

    Plugin Author Spacetime

    (@spacetime)

    I see.
    It seems the plugin does what it is supposed to do.
    It inserts the code after paragraph 15.

    However, this paragraph is inside blockquote tag so it gets replaced by the javascript.

    I’ll try to add support for such cases.

    Thread Starter gabu69

    (@gabu69)

    Thanks a lot for the fast reply, do you know any quick workaround for the moment?

    Plugin Author Spacetime

    (@spacetime)

    Try to set block to skip paragraphs that contain instagram.

    Thread Starter gabu69

    (@gabu69)

    Alright thx…

    That will be tricky if lets say the Ad block is set on a relative position like .4-.6 where we cant really calculate if theres gonna be instagram or well happens as well with twitter

    Sorry to hassle you about it a lot but you think in any new update there will be a solution for this? Cause it will be not working a lot in some articles and not just for me but for many people who ad this type of embeds

    Thanks and sorry for the hassle

    Plugin Author Spacetime

    (@spacetime)

    No, this should work in all cases.
    Simply set the block to skip paragraphs that contain word “instagram” (and some other if necessary)

    I’m already investigating possible solutions.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[BUG]: When an adsense ad is inserter after a twitter, instagram or embeds’ is closed to new replies.