adops_report_scrapper 0.2.50 → 0.2.51

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6de3a02d1e5051fd19615c6fc6d5d1432aa742b2
4
- data.tar.gz: d089277a918fd20d197ce5da57baff7f79943678
3
+ metadata.gz: 95e4a8a2a1ff8e87d7e6c2fe7f05d845d53731d6
4
+ data.tar.gz: 59fe2e9878044d575507c5df23c80da4f5a9e2c2
5
5
  SHA512:
6
- metadata.gz: d5b91562fda2dfbb33607036b95fc1ded53f1dbf0cc5f42a86c7678aba3b9a96ecb6858ee4e8e1cf3e81c5f6fe057c46cc82deb0b9c05211ad1bfe80c3fea9e2
7
- data.tar.gz: 2a90422537362a8b65543842847ab18b3b18f2f94ce4cdc4ac870b2d82fba76019f211f0c5d294ca73404fbc9f9fab643da72719375b7277f00a43c384b0dcec
6
+ metadata.gz: 35dbceaabb5e8d29f75aa9108601f89fbb614fde425cf235f13c078c35b66de22abdea7262443fc1ef675d7326f8971fea4387d708dbb32938bb73a9a75e7175
7
+ data.tar.gz: f4b2165bc6b0b2c6b6cbde4a84b5a9674d8277fa9e028272fd00ea8fc17837a2e7a2eda1fe7324f460af653ad7a48d6aefdef7df1f71ad33abed51e6cf726109
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.2.51
4
+ add device breakdown for springserve
5
+
3
6
  ## 0.2.50
4
7
  fix for lkqd recent ui update
5
8
  add device breakdown for lkqd
data/Rakefile CHANGED
@@ -203,7 +203,7 @@ end
203
203
 
204
204
  desc 'Collect anyclip data'
205
205
  task :anyclip do
206
- save_as_csv :anyclip, :anyclip
206
+ save_as_csv :anyclip, :springserve
207
207
  end
208
208
 
209
209
  desc 'Collect adsupplybuyer data'
@@ -22,7 +22,7 @@ class AdopsReportScrapper::SpringserveClient < AdopsReportScrapper::BaseClient
22
22
 
23
23
  headers = { content_type: :json, accept: :json, authorization: token }
24
24
 
25
- response = RestClient.post "https://video.springserve.com/api/v0/report", { timezone: 'America/New_York', date_range: 'Yesterday', interval: 'cumulative', dimensions: ['country', 'supply_tag_id'], account_id: @account_id }.to_json, headers
25
+ response = RestClient.post "https://video.springserve.com/api/v0/report", { timezone: 'America/New_York', date_range: 'Yesterday', interval: 'cumulative', dimensions: ['country', 'supply_tag_id', 'device_id'], account_id: @account_id }.to_json, headers
26
26
  data = JSON.parse response
27
27
  header = data[0].keys
28
28
  @data = [header]
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.50"
2
+ VERSION = "0.2.51"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adops_report_scrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.50
4
+ version: 0.2.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou