embulk-input-google_adwords 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/embulk-input-google_adwords.gemspec +1 -1
- data/lib/embulk/input/google_adwords.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d15cef9d4d420c209b601cab893a0ba5cdd6ec2733c78d8a91f591099e2a217a
|
4
|
+
data.tar.gz: f5bea206fc74d79ce39b19c52276728d6cc3f7f9dde01be764691b5fe81d8c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dbac08d5c92401aeb8fdeb0ab969bb985212264e232990c47206ea073158aa0a55daf373704830180890481eb4c0f0ee30f37b56d4b023378d270cd19f3c273
|
7
|
+
data.tar.gz: 28af42ecd913a46c18f464e107b38a1b2d824e254af062f3ab5871aed3419eb9563c9cc82afa4c2210563f69feab57c8339527765c0c7c7887dc2a1554d47650
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-input-google_adwords"
|
4
|
-
spec.version = "0.
|
4
|
+
spec.version = "0.2.0"
|
5
5
|
spec.authors = ["topdeveloper"]
|
6
6
|
spec.summary = "Google Adwords input plugin for Embulk"
|
7
7
|
spec.description = "Loads records from Google Adwords."
|
@@ -107,7 +107,7 @@ module Embulk
|
|
107
107
|
return task_report
|
108
108
|
end
|
109
109
|
|
110
|
-
API_VERSION = :
|
110
|
+
API_VERSION = :v201809
|
111
111
|
|
112
112
|
def query_report_results(query, &block)
|
113
113
|
# AdwordsApi::Api
|
@@ -119,8 +119,8 @@ module Embulk
|
|
119
119
|
# Allowing rows with zero impressions to show is not supported with AWQL.
|
120
120
|
adwords.include_zero_impressions = false
|
121
121
|
|
122
|
-
report_utils.get_stream_helper_with_awql(query, '
|
123
|
-
row = line.split("
|
122
|
+
report_utils.get_stream_helper_with_awql(query, 'TSV').each_line do |line|
|
123
|
+
row = line.split("\t")
|
124
124
|
block.call row
|
125
125
|
end
|
126
126
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-google_adwords
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- topdeveloper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-adwords-api
|