diff --git a/3p/integration-lib.js b/3p/integration-lib.js index bd48df027bc2..5076d6ed8440 100644 --- a/3p/integration-lib.js +++ b/3p/integration-lib.js @@ -48,7 +48,6 @@ const AMP_EMBED_ALLOWED = { myua: true, mywidget: true, nativery: true, - lentainform: true, opinary: true, outbrain: true, plista: true, diff --git a/3p/integration.js b/3p/integration.js index 908c601391cb..99d75510a309 100644 --- a/3p/integration.js +++ b/3p/integration.js @@ -158,7 +158,6 @@ import {ketshwa} from '#ads/vendors/ketshwa'; import {kiosked} from '#ads/vendors/kiosked'; import {kixer} from '#ads/vendors/kixer'; import {kuadio} from '#ads/vendors/kuadio'; -import {lentainform} from '#ads/vendors/lentainform'; import {ligatus} from '#ads/vendors/ligatus'; import {lockerdome} from '#ads/vendors/lockerdome'; import {logly} from '#ads/vendors/logly'; @@ -448,7 +447,6 @@ register('ketshwa', ketshwa); register('kiosked', kiosked); register('kixer', kixer); register('kuadio', kuadio); -register('lentainform', lentainform); register('ligatus', ligatus); register('lockerdome', lockerdome); register('logly', logly); diff --git a/3p/vendors/lentainform.js b/3p/vendors/lentainform.js deleted file mode 100644 index 88b18c1081e4..000000000000 --- a/3p/vendors/lentainform.js +++ /dev/null @@ -1,12 +0,0 @@ -// src/polyfills.js must be the first import. -import '#3p/polyfills'; - -import {register} from '#3p/3p'; -import {draw3p, init} from '#3p/integration-lib'; - -import {lentainform} from '#ads/vendors/lentainform'; - -init(window); -register('lentainform', lentainform); - -window.draw3p = draw3p; diff --git a/ads/_config.js b/ads/_config.js index 97a05243f224..81fb78ac60c1 100755 --- a/ads/_config.js +++ b/ads/_config.js @@ -743,15 +743,6 @@ const adConfig = jsonConfiguration({ 'kuadio': {}, - 'lentainform': { - renderStartImplemented: true, - preconnect: [ - 'https://jsc.lentainform.com', - 'https://servicer.lentainform.com', - 'https://s-img.lentainform.com', - ], - }, - 'ligatus': { prefetch: 'https://ssl.ligatus.com/render/ligrend.js', renderStartImplemented: true, diff --git a/ads/vendors/lentainform.js b/ads/vendors/lentainform.js deleted file mode 100644 index 7e012cc01fc7..000000000000 --- a/ads/vendors/lentainform.js +++ /dev/null @@ -1,39 +0,0 @@ -import {loadScript, validateData} from '#3p/3p'; - -/** - * @param {!Window} global - * @param {!Object} data - */ -export function lentainform(global, data) { - validateData(data, ['publisher', 'widget', 'container'], ['url', 'options']); - - const scriptRoot = document.createElement('div'); - scriptRoot.id = data.container; - - document.body.appendChild(scriptRoot); - - const publisherStr = data.publisher.replace(/[^a-zA-Z0-9]/g, ''); - - const url = - `https://jsc.lentainform.com/${encodeURIComponent(publisherStr[0])}/` + - `${encodeURIComponent(publisherStr[1])}/` + - `${encodeURIComponent(data.publisher)}.` + - `${encodeURIComponent(data.widget)}.js?t=` + - Math.floor(Date.now() / 36e5); - - global.uniqId = ( - '00000' + Math.round(Math.random() * 100000).toString(16) - ).slice(-5); - window['ampOptions' + data.widget + '_' + global.uniqId] = data.options; - - global.context.observeIntersection(function (changes) { - /** @type {!Array} */ (changes).forEach(function (c) { - window['intersectionRect' + data.widget + '_' + global.uniqId] = - c.intersectionRect; - window['boundingClientRect' + data.widget + '_' + global.uniqId] = - c.boundingClientRect; - }); - }); - - loadScript(global, data.url || url); -} diff --git a/ads/vendors/lentainform.md b/ads/vendors/lentainform.md deleted file mode 100644 index ef5acac84e51..000000000000 --- a/ads/vendors/lentainform.md +++ /dev/null @@ -1,32 +0,0 @@ -# Lentainform - -## Example - -### Basic - -```html - - -``` - -## Configuration - -For details on the configuration semantics, please contact the ad network or refer to their documentation. - -### Required parameters - -- `data-publisher` -- `data-widget` -- `data-container` - -### Optional parameters - -- `data-url` -- `data-options` diff --git a/examples/amp-ad/ads.amp.esm.html b/examples/amp-ad/ads.amp.esm.html index 5408d4685971..acf9a3d07bf1 100644 --- a/examples/amp-ad/ads.amp.esm.html +++ b/examples/amp-ad/ads.amp.esm.html @@ -182,7 +182,6 @@ - @@ -1444,14 +1443,6 @@

Kuadio

data-widget-id="78a32765-30f1-4ac1-a3e7-b42ebc6df88a"> -

Lentainform

- - -

Ligatus

kiosked - @@ -1288,11 +1287,6 @@

Kuadio

data-widget-id="78a32765-30f1-4ac1-a3e7-b42ebc6df88a"> -

Lentainform

- - -

Ligatus

diff --git a/extensions/amp-ad/amp-ad.md b/extensions/amp-ad/amp-ad.md index 170ba5536bdf..5625cd5c0de3 100644 --- a/extensions/amp-ad/amp-ad.md +++ b/extensions/amp-ad/amp-ad.md @@ -533,7 +533,6 @@ See [amp-ad rules](validator-amp-ad.protoascii) in the AMP validator specificati - [Idealmedia](../../ads/vendors/idealmedia.md) - [Insticator](../../ads/vendors/insticator.md) - [Jubna](../../ads/vendors/jubna.md) -- [Lentainform](../../ads/vendors/lentainform.md) - [Mgid](../../ads/vendors/mgid.md) - [Myua](../../ads/vendors/myua.md) - [Outbrain](../../ads/vendors/outbrain.md)