Posted in: Newspaper
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.
This forum is now closed to new posts
All existing content remains available to browse and search. For support, please email us at contact@tagdiv.com Our team is happy to help as soon as possible.
Hello,
We try to inject code into an ad slot. The Criteo Tag (Non adsens) in the “ARTICLE INLINE AD” slot.
The ad does not appear on the site (Empty and white space, like you can see in the screenshot) and can not be found on the source code of the pages in which it should appear.
We tried to inject the tag directly before the </ body> tag. The ad showed at the end of the page, why we think the problem comes from the theme.
SIte: https://observalgerie.com
Here is the code (placement Article Inline Ad):
<!– BEGIN 1257343 – obervalgerie – FR – CDB – PCK – In article sur desk –>
<div id=”criteo_1257343″>
<script type=”text/javascript”>
var passback2 = function(){
//– Create the script
var script = document.createElement(‘script’);
script.src = “https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”;
//– Creating the ins
var ins = document.createElement(‘ins’);
ins.className = “adsbygoogle”;
ins.setAttribute(‘data-ad-client’,’ca-pub-5637083728650188′);
ins.setAttribute(‘data-ad-slot’,’9804936550′); //set adslot
ins.setAttribute(‘data-ad-format’,’fluid’); //set ad-format
ins.setAttribute(‘data-ad-layout’,’in-article’); //set ad-layout
ins.style.display = ‘block’;
ins.style.textAlign = ‘center’;
//– Getting to the parent element
var parent = document.getElementById(‘criteo_1257343’); //set slotid
//– Append the script and the ins to the DOM
parent.appendChild(ins);
parent.appendChild(script);
(adsbygoogle=window.adsbygoogle || []).push({});
}
Criteo.events.push(function() {
Criteo.Passback.RenderAd(‘criteo_1257343’, passback2);
});
</script>
</div>
<!– END CRITEO TAG –>
Hi,
Does it appear in other theme panel ad spots? Are the other ads you have on the website the same or similar as this one? I see there are many ads that display, only the inline ad seems to be empty.
Also there seem to be many 400 errors regarding the doubleclick ads
– https://www.screencast.com/t/aKoKdE0AQU
Try to place that ad in a different spot, or switch ads around. Also try some suggestions mentioned in this guide
– https://code.tutsplus.com/tutorials/introduction-to-google-dfp-debugging-ad-delivery–cms-25045
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-advertisement | 1 year | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement". |
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| Cookie | Duration | Description |
|---|---|---|
| _ga | 2 years | This cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors. |
| _gat_gtag_UA_43963494_1 | 1 minute | This cookie is set by Google and is used to distinguish users. |
| _gid | 1 day | This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form. |
| Cookie | Duration | Description |
|---|---|---|
| IDE | 1 year 24 days | Used by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile. |
| test_cookie | 15 minutes | This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies. |
| VISITOR_INFO1_LIVE | 5 months 27 days | This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website. |
| YSC | session | This cookies is set by Youtube and is used to track the views of embedded videos. |
| Cookie | Duration | Description |
|---|---|---|
| CONSENT | 16 years 5 months 26 days 13 hours 25 minutes | No description |
| yt-remote-connected-devices | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |
| yt-remote-device-id | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |