embulk-input-google_adwords 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: 65cd09fea336300d023ad6c3dea7a395c988a05c7aeabc956e65f43a2215d104
4
- data.tar.gz: 22637169c16dfafd9fcc7e3364b5f089a2705f68e322080c1bd9230e4012f781
3
+ metadata.gz: d15cef9d4d420c209b601cab893a0ba5cdd6ec2733c78d8a91f591099e2a217a
4
+ data.tar.gz: f5bea206fc74d79ce39b19c52276728d6cc3f7f9dde01be764691b5fe81d8c47
5
5
  SHA512:
6
- metadata.gz: db84b6a0f5f49f2a5a1d5b69b2bccab96487ba5e58df35a652cb50c53fd528c4694000602eed9764646733ce71476214c2f100b8bb5ee36039bf8aee1ac09a23
7
- data.tar.gz: 06f6b69c63d5c73322890e3795630f73540cf1686d3b1c4a8d75633bac5eb1963042392bd653c1ccbc23b1563c76cbaa8170f19a57c04eb8791061b174f8e98f
6
+ metadata.gz: 5dbac08d5c92401aeb8fdeb0ab969bb985212264e232990c47206ea073158aa0a55daf373704830180890481eb4c0f0ee30f37b56d4b023378d270cd19f3c273
7
+ data.tar.gz: 28af42ecd913a46c18f464e107b38a1b2d824e254af062f3ab5871aed3419eb9563c9cc82afa4c2210563f69feab57c8339527765c0c7c7887dc2a1554d47650
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Google AdWords input plugin for Embulk
2
2
 
3
3
  Embulk input plugin for Google AdWords reports.
4
+ This updates to google adwords library version: v201809
4
5
 
5
6
  ## Configuration
6
7
  ### Authentication
@@ -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.1.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 = :v201705
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, 'CSV').each_line do |line|
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.1.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: 2019-11-20 00:00:00.000000000 Z
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