adops_report_scrapper 0.2.46 → 0.2.48
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77dcb0cc99bb8bb5bdf978fa8781d06b143bce84
|
4
|
+
data.tar.gz: 0cc87ee18b3097b304ac5d304d1cf99e8f44b8a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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', '
|
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]
|
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.
|
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
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|