adops_report_scrapper 0.2.46 → 0.2.48

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: f96d6cc2aff7da461195655ec5cb74c6b1a3a2b8
4
- data.tar.gz: e10f2ffe608c9e53b20028b8229198505fd8441b
3
+ metadata.gz: 77dcb0cc99bb8bb5bdf978fa8781d06b143bce84
4
+ data.tar.gz: 0cc87ee18b3097b304ac5d304d1cf99e8f44b8a8
5
5
  SHA512:
6
- metadata.gz: 3d8388cd2e5fe8bbf39cf6cbce9d334367082d13593d2925ea80fcd7f9362aa69818e7deb70cc892b12881c50369194e469f59acbc9d5e8f761b333f01a4bd4a
7
- data.tar.gz: c23b35f80ae4a05c2094c46bf42fff8b9421c27a17969104dcbf301e8ee72feb421c74329ac66b8453832bac7c2952ccf49c11ed1d4c3b7ee6e5734a60d80558
6
+ metadata.gz: 39fb1dbbcd3ca87af5137a7009357cc171693bbff3e57db2e4f36ba20b65eec0050d799024ea442a0828b09b4e37805fb3c4c2fbb6f9768089a896deadedf14b
7
+ data.tar.gz: e1db8a63a0643dc35f6400fa256b5694b54a1f54f5171a6a497ef9ae4740ec1839904e4fb66de613212d9b6fddbe78ba903d422e0c8014441e1dbdd1a69dd792
@@ -29,7 +29,7 @@ class AdopsReportScrapper::AdsupplybuyerClient < AdopsReportScrapper::BaseClient
29
29
  date_str = @date.strftime('%-m/%-d/%Y')
30
30
  time_zone_id = 'Eastern Standard Time'
31
31
 
32
- response = RestClient.post "https://ui.adsupply.com/PublicPortal/Advertiser/#{@login}/Report/Export", SqlCommandId: '', ExportToExcel: 'False', IsOLAP: 'False', DateFilter: date_str, TimeZoneId: time_zone_id, Grouping: '1', 'DimAdvertiser.Value': "#{@login}~", 'DimAdvertiser.IsActive': 'True', 'DimCampaign.Value': '', 'DimCampaign.IsActive': 'True', ApiKey: @secret
32
+ response = RestClient.post "https://ui.adsupply.com/PublicPortal/Advertiser/#{@login}/Report/Export", SqlCommandId: '', ExportToExcel: 'False', IsOLAP: 'False', DateFilter: date_str, TimeZoneId: time_zone_id, Grouping: '1', 'DimAdvertiser.Value': "#{@login}~", 'DimAdvertiser.IsActive': 'True', 'DimMedia.Value': '', 'DimMedia.IsActive': 'True', ApiKey: @secret
33
33
 
34
34
  data = JSON.parse response
35
35
  unless data[0]
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.46"
2
+ VERSION = "0.2.48"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adops_report_scrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.46
4
+ version: 0.2.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2017-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient