Add Google Partners Badge

This commit is contained in:
Amauri CHAMPEAUX 2018-03-29 16:54:21 +02:00 committed by GitHub
parent 2baa55d3d2
commit a622e6d2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -673,6 +673,25 @@ tarteaucitron.services.adsense = {
}
};
// google partners badge
tarteaucitron.services.googlepartners = {
"key": "googlepartners",
"type": "ads",
"name": "Google Partners Badge",
"uri": "http://www.google.com/ads/preferences/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.addScript('https://apis.google.com/js/platform.js');
},
"fallback": function () {
"use strict";
var id = 'googlepartners';
tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
}
};
// google adsense search (form)
tarteaucitron.services.adsensesearchform = {
"key": "adsensesearchform",