Iframes/JavaScript Tag ads problem | WordPress.org

[ad_1]

Hello,

We use Ad Inserter Pro for some years with no problems but now there’s an issue with Iframes/JavaScript Tag ads.

A customer send us Iframes/JavaScript Tag codes for their ads and they have worked with no problem for the last two years until now.

The ads are show in the preview in Ad Inserter Pro but in the website are not shown, there is a “white box” instead (sometimes, the ad is shown).

We have used both codes IframesTag and JavaScript Tag with the same result. If we create an html file with the code, the ad is shown, so there is no problem with the code.

The banners are from Kawasaki and are added to the website inside the articles, at the end and in the sidebar.

The codes are like this:

<ins class="dcmads" style="display:inline-block;width:300px;height:600px"
    data-dcm-placement="XXXXXXXXXXXXX"
    data-dcm-rendering-mode="iframe"
    data-dcm-https-only
    data-dcm-gdpr-applies="gdpr=${GDPR}"
    data-dcm-gdpr-consent="gdpr_consent=${GDPR_CONSENT_755}"
    data-dcm-addtl-consent="addtl_consent=${ADDTL_CONSENT}"
    data-dcm-ltd='false'
    data-dcm-resettable-device-id=''
    data-dcm-app-id=''>
  <script src="https://www.googletagservices.com/dcm/dcmads.js"></script>
</ins>

We are checking the issue with our WP Theme support but we need to know if someone has had the same issue in order to discard and Ad Inserter Pro problem.

Thank you,

  • This topic was modified 47 minutes ago by Dani.

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer