Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@advertol/service-google-dfp
Advanced tools
Google DFP/Ad Manager service.
npm install @advertol/service-google-dfp --save
<!doctype html>
<html>
<head>
<script async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script>
window.googletag = window.googletag || {};
window.googletag.cmd = window.googletag.cmd || [];
</script>
</head>
<body>
<div id="zone-becky"></div>
</body>
</html>
import advertol from '@advertol/core';
import GoogleDfpService from '@advertol/service-google-dfp';
const instance = advertol({
// …
service: [
new GoogleDfpService({
slots: {
'becky': () => window.googletag.defineSlot('/0/becky', ['fluid'], 'zone-becky').addService(window.googletag.pubads())
}
})
]
});
instance.resolve();
Type: Object
Service slots.
Each object property has:
googletag.defineSlot
or googletag.defineOutOfPageSlot
instanceType: Function
Define additional initialization logic.
Type: Function
Refresh slots.
By default, it calls refresh
method.
Type: googletag.Slot[]
List of slots to refresh.
Tested in IE9+ and all modern browsers.
For automated tests, run npm run test:automated
(append :watch
for watcher support).
MIT © Ivan Nikolić
FAQs
Google DFP/Ad Manager service.
The npm package @advertol/service-google-dfp receives a total of 429 weekly downloads. As such, @advertol/service-google-dfp popularity was classified as not popular.
We found that @advertol/service-google-dfp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.