Add Adsense Automatic #957
This commit is contained in:
parent
0d7ed9e34d
commit
afd04a7d3d
|
|
@ -1804,6 +1804,26 @@ tarteaucitron.services.adsense = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// google adsense automatic
|
||||||
|
tarteaucitron.services.adsenseauto = {
|
||||||
|
"key": "adsenseauto",
|
||||||
|
"type": "ads",
|
||||||
|
"name": "Google Adsense Automatic",
|
||||||
|
"uri": "https://adssettings.google.com/",
|
||||||
|
"needConsent": true,
|
||||||
|
"readmoreLink": "https://policies.google.com/technologies/partner-sites",
|
||||||
|
"cookies": ['__gads'],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
if (tarteaucitron.user.adsensecapub === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=' + tarteaucitron.user.adsensecapub, '', '', '', 'crossorigin', 'anonymous');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// Google Adsense Search
|
// Google Adsense Search
|
||||||
tarteaucitron.services.adsensesearch = {
|
tarteaucitron.services.adsensesearch = {
|
||||||
"key": "adsensesearch",
|
"key": "adsensesearch",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue