adops_report_scrapper 0.1.25 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b83d70d9b8f77f02bd8e9a931aa1f9c6f7f61a2
4
- data.tar.gz: 8909ff5d9a50439dfcf096217d751ebebbbc46d8
3
+ metadata.gz: defcaa84d95853d18aa293c263a5025e996f02ae
4
+ data.tar.gz: a9e4281cc7027bacb0ab08441abdc8ae54edc082
5
5
  SHA512:
6
- metadata.gz: 9f7804eedfbd3a53f23a33bc89be76cd6559d7943a868f1fd62f903006b1f8208d7781482253277a3eae809575254e79a81dfe1e3f5fbd20601cb00f0b97abc7
7
- data.tar.gz: 73323f7586b0e6a0ff38cff7eda26c2762f690cb0ff82c9b03a4deac327d4f472b79a9c48c275b6f052405bb884392b61e97280e34202e8876f359e99ebcc366
6
+ metadata.gz: 129e57018fbbea5c730ed8c12ec670a7da815b1503735a3a49364fcd4833d718a51087a462d1546f6c52b2a4b6c68844fcb2c12fc9ce49cf702aa5f6c33ae4be
7
+ data.tar.gz: 3ee4633f79ca500947d02c33ed28809115bf09977b0721e78d9178864fbd2438a1141aad48f33eb10e4f9836199385628e5d1e1047ac138340fde479855fed0c
@@ -68,7 +68,6 @@ class AdopsReportScrapper::SonobiClient < AdopsReportScrapper::BaseClient
68
68
  '__column_info' => '[{\"name\":\"_date\",\"label\":\"Date\",\"no_limit\":true,\"tip\":\"Shows+the+date+that+impressions+were+served+on\"},{\"name\":\"_placementid_name\",\"label\":\"Placement\",\"tip\":\"Shows+the+Placement+name+that+impressions+were+served+on\"},{\"name\":\"_siteid_name\",\"label\":\"Site\",\"tip\":\"Shows+the+name+of+the+site+that+impressions+were+served+on\"},{\"name\":\"_impression_count\",\"label\":\"Impressions\",\"format\":true,\"tip\":\"The+number+of+impressions+that+were+served\"},{\"name\":\"_impression_count_viewed\",\"label\":\"Viewable+Impressions\",\"format\":true,\"tip\":\"The+number+of+times+that+the+ad+was+viewed\"},{\"name\":\"_impression_count_clicked\",\"label\":\"Clicks\",\"format\":true,\"tip\":\"The+number+of+clicks+that+were+recorded\"},{\"name\":\"_unfilled_impressions\",\"label\":\"Unfilled+Impressions\",\"format\":true,\"tip\":\"The+number+of+impressions+could+not+be+served+due+to+ad+server+decisioning\"},{\"name\":\"_revenue\",\"label\":\"Revenue\",\"format\":\"currency\",\"pre\":\"$\",\"tip\":\"Gross+revenue+of+impressions+served\"},{\"name\":\"_ecpm\",\"label\":\"Delivered+CPM\",\"format\":\"currency\",\"pre\":\"$\",\"tip\":\"Average+CPM+of+impressions+served\"},{\"name\":\"_device_type\",\"label\":\"Device+Type\",\"tip\":\"Device+Types+include:+Desktop,+Mobile\"}]'
69
69
  }
70
70
 
71
- byebug
72
71
  response = @client.post('https://jetstream.sonobi.com/public/', cm: 'report.request', key: @key, code: @code, _report: report_body.to_json, _report_type: 'publisher_report', _report_origin: 'publisher_reporting', _range: 'custom', _range_start_date: date_str, _range_end_date: date_str)
73
72
  report = JSON.parse response.body
74
73
  report_id = report['package']['_reportid']
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.26"
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.1.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou