From 2988d4d4a4e928d8ca32d3b081ac074189763057 Mon Sep 17 00:00:00 2001 From: Roy Bregman Date: Wed, 17 Jul 2019 10:47:34 +0300 Subject: [PATCH] feat(FEC-9108): adding QoE of ads to kava --- flow-typed/types/ad-options.js | 1 + src/ads/ad.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/flow-typed/types/ad-options.js b/flow-typed/types/ad-options.js index 26ea6a357..58847b5ff 100644 --- a/flow-typed/types/ad-options.js +++ b/flow-typed/types/ad-options.js @@ -14,4 +14,5 @@ declare type PKAdOptions = { height: number; bitrate: number; bumper: boolean; + advertiserName?: string; }; diff --git a/src/ads/ad.js b/src/ads/ad.js index aff9b66d6..b1b5c418e 100644 --- a/src/ads/ad.js +++ b/src/ads/ad.js @@ -15,6 +15,7 @@ class Ad { _duration: ?number; _clickThroughUrl: ?string; _posterUrl: ?string; + _advertiserName: ?string; _skipOffset: ?number; _linear: boolean; _width: number; @@ -32,6 +33,7 @@ class Ad { this._duration = options.duration; this._clickThroughUrl = options.clickThroughUrl; this._posterUrl = options.posterUrl; + this._advertiserName = options.advertiserName; this._skipOffset = options.skipOffset; this._linear = options.linear; this._width = options.width || 0;