yt 0.28.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -2
- data/README.md +1 -1
- data/lib/yt/models/video_group.rb +18 -0
- data/lib/yt/version.rb +1 -1
- data/spec/requests/as_content_owner/video_group_spec.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7bed4a0e8693604b4109a3b0064550dfd23e54eb
|
|
4
|
+
data.tar.gz: f8d51f01edda1efd6cf2c1f44fced8f90e044b33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3d3f337b66c29dcb4d4babb0df898fb806cfa5942a0c529214ea24c72b015c670f52ce4df9ed487801e8e1415a864f5e7142e183f5a7685126ab39b3c203986
|
|
7
|
+
data.tar.gz: 0ab710c94cb9f99fd13eabd6f0d3bb846f807afa1e93e2095b84c06c22ea14bdc598b3cdcf57b6417ba0b1e2705a4febb3545164027e88b0ea950e6249a58c1e
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ For more information about changelogs, check
|
|
|
6
6
|
[Keep a Changelog](http://keepachangelog.com) and
|
|
7
7
|
[Vandamme](http://tech-angels.github.io/vandamme).
|
|
8
8
|
|
|
9
|
+
## 0.28.1 - 2016-10-24
|
|
10
|
+
|
|
11
|
+
* [FEATURE] New `card impressions` report for video groups.
|
|
12
|
+
* [FEATURE] New `card clicks` report for video groups.
|
|
13
|
+
* [FEATURE] New `card click rate` report for video groups.
|
|
14
|
+
* [FEATURE] New `card teaser impressions` report for video groups.
|
|
15
|
+
* [FEATURE] New `card teaser clicks` report for video groups.
|
|
16
|
+
* [FEATURE] New `card teaser click rate` report for video groups.
|
|
17
|
+
|
|
9
18
|
## 0.28.0 - 2016-10-18
|
|
10
19
|
|
|
11
20
|
**How to upgrade**
|
|
@@ -15,8 +24,10 @@ then you must replace that code with `.estimated_revenue` and
|
|
|
15
24
|
`.ad_impressions` since those metrics will no longer be supported by
|
|
16
25
|
YouTube API as of [November 4, 2016](https://developers.google.com/youtube/analytics/revision_history#august-10-2016).
|
|
17
26
|
|
|
18
|
-
* [
|
|
19
|
-
* [
|
|
27
|
+
* [REMOVAL] Remove `#earnings` method for channels, playlists, videos and video groups
|
|
28
|
+
* [REMOVAL] Remove `#impressions` method for channels, videos and video groups
|
|
29
|
+
* [FEATURE] Add `#estimated_revenue` method for channels, videos and video groups
|
|
30
|
+
* [FEATURE] Add `#ad_impressions` method for channels, videos and video groups
|
|
20
31
|
|
|
21
32
|
## 0.27.0 - 2016-10-07
|
|
22
33
|
|
data/README.md
CHANGED
|
@@ -44,7 +44,7 @@ To install on your system, run
|
|
|
44
44
|
|
|
45
45
|
To use inside a bundled Ruby project, add this line to the Gemfile:
|
|
46
46
|
|
|
47
|
-
gem 'yt', '~> 0.
|
|
47
|
+
gem 'yt', '~> 0.28.0'
|
|
48
48
|
|
|
49
49
|
Since the gem follows [Semantic Versioning](http://semver.org),
|
|
50
50
|
indicating the full version in your Gemfile (~> *major*.*minor*.*patch*)
|
|
@@ -89,6 +89,24 @@ module Yt
|
|
|
89
89
|
# @macro report_by_day_and_state
|
|
90
90
|
has_report :annotation_close_rate, Float
|
|
91
91
|
|
|
92
|
+
# @macro report_by_day_and_state
|
|
93
|
+
has_report :card_impressions, Integer
|
|
94
|
+
|
|
95
|
+
# @macro report_by_day_and_state
|
|
96
|
+
has_report :card_clicks, Integer
|
|
97
|
+
|
|
98
|
+
# @macro report_by_day_and_state
|
|
99
|
+
has_report :card_click_rate, Float
|
|
100
|
+
|
|
101
|
+
# @macro report_by_day_and_state
|
|
102
|
+
has_report :card_teaser_impressions, Integer
|
|
103
|
+
|
|
104
|
+
# @macro report_by_day_and_state
|
|
105
|
+
has_report :card_teaser_clicks, Integer
|
|
106
|
+
|
|
107
|
+
# @macro report_by_day_and_state
|
|
108
|
+
has_report :card_teaser_click_rate, Float
|
|
109
|
+
|
|
92
110
|
# @macro report_by_day_and_country
|
|
93
111
|
has_report :estimated_revenue, Float
|
|
94
112
|
|
data/lib/yt/version.rb
CHANGED
|
@@ -58,6 +58,9 @@ describe Yt::VideoGroup, :partner do
|
|
|
58
58
|
subscribers_lost: Integer,
|
|
59
59
|
videos_added_to_playlists: Integer, videos_removed_from_playlists: Integer,
|
|
60
60
|
average_view_duration: Integer,
|
|
61
|
+
card_impressions: Integer, card_clicks: Integer,
|
|
62
|
+
card_click_rate: Float, card_teaser_impressions: Integer,
|
|
63
|
+
card_teaser_clicks: Integer, card_teaser_click_rate: Float,
|
|
61
64
|
average_view_percentage: Float, annotation_clicks: Integer,
|
|
62
65
|
annotation_click_through_rate: Float,
|
|
63
66
|
annotation_close_rate: Float, estimated_revenue: Float, ad_impressions: Integer,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.28.
|
|
4
|
+
version: 0.28.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Claudio Baccigalupo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-10-
|
|
11
|
+
date: 2016-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|