@advertol/service-google-dfp
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -5,2 +5,8 @@ # Changelog | ||
## [1.2.0][] - 2023-09-14 | ||
### Added | ||
* Zone display override option | ||
## [1.1.2][] - 2023-03-27 | ||
@@ -22,4 +28,7 @@ | ||
[Unreleased]: https://github.com/niksy/advertol-service-google-dfp/compare/v1.1.2...HEAD | ||
[1.1.2]: https://github.com/niksy/advertol-service-google-dfp/compare/v1.0.0...v1.1.2 | ||
[1.0.0]: https://github.com/niksy/advertol-service-google-dfp/tree/v1.0.0 | ||
[Unreleased]: https://github.com/niksy/advertol-service-google-dfp/compare/v1.2.0...HEAD | ||
[1.2.0]: https://github.com/niksy/advertol-service-google-dfp/tree/v1.2.0 |
@@ -50,4 +50,7 @@ 'use strict'; | ||
_options$refreshZones = _options.refreshZones, | ||
refreshZones = _options$refreshZones === void 0 ? _this.refreshZones : _options$refreshZones; | ||
refreshZones = _options$refreshZones === void 0 ? _this.refreshZones : _options$refreshZones, | ||
_options$displayZone = _options.displayZone, | ||
displayZone = _options$displayZone === void 0 ? _this.displayZone : _options$displayZone; | ||
_this.refreshZones = refreshZones.bind(_assertThisInitialized(_this)); | ||
_this.displayZone = displayZone.bind(_assertThisInitialized(_this)); | ||
zones.forEach(function (_ref) { | ||
@@ -54,0 +57,0 @@ var id = _ref.id, |
@@ -46,4 +46,7 @@ import { Service } from '@advertol/core'; | ||
_options$refreshZones = _options.refreshZones, | ||
refreshZones = _options$refreshZones === void 0 ? _this.refreshZones : _options$refreshZones; | ||
refreshZones = _options$refreshZones === void 0 ? _this.refreshZones : _options$refreshZones, | ||
_options$displayZone = _options.displayZone, | ||
displayZone = _options$displayZone === void 0 ? _this.displayZone : _options$displayZone; | ||
_this.refreshZones = refreshZones.bind(_assertThisInitialized(_this)); | ||
_this.displayZone = displayZone.bind(_assertThisInitialized(_this)); | ||
zones.forEach(function (_ref) { | ||
@@ -50,0 +53,0 @@ var id = _ref.id, |
{ | ||
"name": "@advertol/service-google-dfp", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Google DFP/Ad Manager service.", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs.js", |
@@ -81,2 +81,10 @@ # @advertol/service-google-dfp | ||
#### displayZone({element, id}) | ||
Type: `Function` | ||
Display zone by ID. | ||
By default, it calls [`display`][googletag-display] method. | ||
##### slots | ||
@@ -117,1 +125,2 @@ | ||
[googletag-refresh]: https://developers.google.com/doubleclick-gpt/reference#googletag.PubAdsService_refresh | ||
[googletag-display]: https://developers.google.com/doubleclick-gpt/reference#googletag.PubAdsService_display |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47566
466
125