diff --git a/3p/integration.js b/3p/integration.js index 908c601391cb..95c8ee46dfce 100644 --- a/3p/integration.js +++ b/3p/integration.js @@ -287,7 +287,6 @@ import {wisteria} from '#ads/vendors/wisteria'; import {wpmedia} from '#ads/vendors/wpmedia'; import {wunderkind} from '#ads/vendors/wunderkind'; import {xlift} from '#ads/vendors/xlift'; -import {yahoo} from '#ads/vendors/yahoo'; import {yahoofedads} from '#ads/vendors/yahoofedads'; import {yahoojp} from '#ads/vendors/yahoojp'; import {yahoonativeads} from '#ads/vendors/yahoonativeads'; @@ -583,7 +582,6 @@ register('wisteria', wisteria); register('wunderkind', wunderkind); register('wpmedia', wpmedia); register('xlift', xlift); -register('yahoo', yahoo); register('yahoofedads', yahoofedads); register('yahoojp', yahoojp); register('yahoonativeads', yahoonativeads); diff --git a/3p/vendors/yahoo.js b/3p/vendors/yahoo.js deleted file mode 100644 index 2d0f5475c193..000000000000 --- a/3p/vendors/yahoo.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 {yahoo} from '#ads/vendors/yahoo'; - -init(window); -register('yahoo', yahoo); - -window.draw3p = draw3p; diff --git a/ads/_config.js b/ads/_config.js index 97a05243f224..d28321ae37d4 100755 --- a/ads/_config.js +++ b/ads/_config.js @@ -1492,11 +1492,6 @@ const adConfig = jsonConfiguration({ renderStartImplemented: true, }, - 'yahoo': { - prefetch: 'https://s.yimg.com/aaq/ampad/display.js', - preconnect: 'https://us.adserver.yahoo.com', - }, - 'yahoofedads': { renderStartImplemented: true, }, diff --git a/ads/vendors/yahoo.js b/ads/vendors/yahoo.js deleted file mode 100644 index 3ef287d28235..000000000000 --- a/ads/vendors/yahoo.js +++ /dev/null @@ -1,17 +0,0 @@ -import {validateData, writeScript} from '#3p/3p'; - -/** - * @param {!Window} global - * @param {!Object} data - */ -export function yahoo(global, data) { - if (data.sid) { - validateData(data, ['sid', 'site', 'sa']); - global.yadData = data; - writeScript(global, 'https://s.yimg.com/aaq/ampad/display.js'); - } else if (data.config) { - validateData(data, ['config']); - global.jacData = data; - writeScript(global, 'https://jac.yahoosandbox.com/amp/jac.js'); - } -} diff --git a/ads/vendors/yahoo.md b/ads/vendors/yahoo.md deleted file mode 100644 index 97eea2222b91..000000000000 --- a/ads/vendors/yahoo.md +++ /dev/null @@ -1,64 +0,0 @@ -# yahoo - -## Display ad - -```html - - -``` - -```html - - -``` - -### Configuration - -For configuration details, please contact https://advertising.yahoo.com/contact. - -Supported parameters: - -- `height` -- `width` -- `data-sid` -- `data-site` -- `data-sa` -- `data-config` -- `data-stylesheet` - -### Required Parameters: - -`data-config` - Config for ad call JAC -`data-sa` - Config for ad call DARLA - -### Optional parameters: - -`data-stylesheet` - stylesheet to use inside iframe - -### Configuration Details - -For JAC ads : Required -"adServer":{"1AS":{region":"US"}}, -"positions":{"FB":{alias:"1111111"},"sizes":["300x250"]}}, -"site":{name:{"autoblogAMP"}},"spaceId":"111111"} - -Alias, Sizes, SiteName and spaceId should be replaced by correct values. -NOTE: SiteName should be site name + "AMP" - -Optional -"params":{"name":"value"} diff --git a/examples/amp-ad/ads.amp.esm.html b/examples/amp-ad/ads.amp.esm.html index 5408d4685971..21b91f1cff58 100644 --- a/examples/amp-ad/ads.amp.esm.html +++ b/examples/amp-ad/ads.amp.esm.html @@ -290,7 +290,6 @@ - @@ -2354,14 +2353,6 @@

Xlift native ad

data-mediaid="mamastar"> -

Yahoo Display

- - -

Yahoo Native Ads

whopainfeed - @@ -2001,11 +2000,6 @@

Xlift native ad

-

Yahoo Display

- - -

Yahoo Native-Display Ads Federation

weborama - @@ -1267,14 +1266,6 @@

Xlift native ad

data-mediaid="mamastar"> -

Yahoo Display

- - -

YahooJP YDN

weborama | | -| | | | @@ -1268,14 +1267,6 @@ PASS | data-mediaid="mamastar"> | | -|

Yahoo Display

-| -| -| |

YahooJP YDN

| | | -| \ No newline at end of file +|