embulk-input-facebook_ads_insights 0.1.0 → 0.1.1

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: 9a95ffb5c1715918ab989c3988984abaa53ac6ed
4
- data.tar.gz: 45e27f8b1df000e2bed559b7ed205d38321f4bc3
3
+ metadata.gz: 25294378cb92ec04eb4597bc4cf5bd88b42d0636
4
+ data.tar.gz: cd464ac63c44f3ada5fcd35ddb8efdf589a32e15
5
5
  SHA512:
6
- metadata.gz: 10f4fa7dc757c8d9e2c802183f9f90c783ea45dc1905defadd2084f5437e6c721e9c8e9a4b1c2620651f7f28046206c606f4be013a198499e81b67f68e184027
7
- data.tar.gz: 981eb32d412c7de15d8cd24e32571eeb20b7975249a7582be6bc7730798b4c6e2676317e5962f957d7eeae06fe56fda2dfa59ee87d7ecc01c6636a6ffee58c22
6
+ metadata.gz: b6c7466198ac7be783d6ec4b3cec622e21ca544f7abbd4753a396ddb59ce6789ce66d65a699e20709efb4d85a9043208274c5c434b981617fd6f8a3beb759cfa
7
+ data.tar.gz: 2351afd4f9099f36342757758c10ef45bc89dbbb13f336007d1b571b11191ed36f27b5dec8c44dcd21dc2c78bf52babfb5e22ebfb4f41e4e0c59eef69be7c641
data/build.gradle CHANGED
@@ -13,7 +13,7 @@ configurations {
13
13
  provided
14
14
  }
15
15
 
16
- version = "0.1.0"
16
+ version = "0.1.1"
17
17
 
18
18
  sourceCompatibility = 1.8
19
19
  targetCompatibility = 1.8
@@ -144,6 +144,6 @@ public class AdsInsightsAccessor
144
144
  private String extractBreakdown(String name)
145
145
  {
146
146
  JsonElement data = this.adsInsights.getRawResponseAsJsonObject().get(name);
147
- return data.isJsonNull() ? "" : data.toString();
147
+ return data.isJsonNull() ? "" : data.getAsString();
148
148
  }
149
149
  }
@@ -80,7 +80,7 @@ public class Client
80
80
  request.setDatePreset(pluginTask.getDatePreset().get().getEnum());
81
81
  }
82
82
  if (pluginTask.getFiltering().isPresent()) {
83
- request.setTimeRanges(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
83
+ request.setFiltering(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
84
84
  }
85
85
  if (pluginTask.getLevel().isPresent()) {
86
86
  request.setLevel(pluginTask.getLevel().get().getEnum());
@@ -123,7 +123,7 @@ public class Client
123
123
  request.setDatePreset(pluginTask.getDatePreset().get().getEnum());
124
124
  }
125
125
  if (pluginTask.getFiltering().isPresent()) {
126
- request.setTimeRanges(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
126
+ request.setFiltering(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
127
127
  }
128
128
  if (pluginTask.getLevel().isPresent()) {
129
129
  request.setLevel(pluginTask.getLevel().get().getEnum());
@@ -166,7 +166,7 @@ public class Client
166
166
  request.setDatePreset(pluginTask.getDatePreset().get().getEnum());
167
167
  }
168
168
  if (pluginTask.getFiltering().isPresent()) {
169
- request.setTimeRanges(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
169
+ request.setFiltering(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
170
170
  }
171
171
  if (pluginTask.getLevel().isPresent()) {
172
172
  request.setLevel(pluginTask.getLevel().get().getEnum());
@@ -209,7 +209,7 @@ public class Client
209
209
  request.setDatePreset(pluginTask.getDatePreset().get().getEnum());
210
210
  }
211
211
  if (pluginTask.getFiltering().isPresent()) {
212
- request.setTimeRanges(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
212
+ request.setFiltering(Util.stringifyToStringMaps(pluginTask.getFiltering().get()));
213
213
  }
214
214
  if (pluginTask.getLevel().isPresent()) {
215
215
  request.setLevel(pluginTask.getLevel().get().getEnum());
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-facebook_ads_insights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - naotaka nakane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-28 00:00:00.000000000 Z
11
+ date: 2019-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ files:
50
50
  - README.md
51
51
  - build.gradle
52
52
  - classpath/annotations-13.0.jar
53
- - classpath/embulk-input-facebook_ads_insights-0.1.0.jar
53
+ - classpath/embulk-input-facebook_ads_insights-0.1.1.jar
54
54
  - classpath/facebook-java-business-sdk-4.0.5.jar
55
55
  - classpath/gson-2.5.jar
56
56
  - classpath/guava-20.0.jar