MCPcopy Create free account
hub / github.com/ampproject/amphtml / getURL

Function getURL

ads/vendors/a9.js:97–104  ·  view source on GitHub ↗

* @param {!Object} data * @return {string}

(data)

Source from the content-addressed store, hash-verified

95 * @return {string}
96 */
97function getURL(data) {
98 let url = 'https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US';
99 if (data.regionurl && data.regionurl !== '') {
100 url = data.regionurl;
101 }
102
103 return url;
104}
105
106/**
107 * @param {!Window} global

Callers 2

loadRecTagFunction · 0.85
setParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected