embulk-input-google_adwords 0.3.6 → 0.3.7

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: 52c8e7b6619a6c99006104eedf81fc7cce988aaf4c3ed85b8caa24cf3890fe0a
4
- data.tar.gz: fc5dda6620f360f87e3902231a6c75ae4f57f0920ccb1caa751c5f553cc1c79d
3
+ metadata.gz: 7186924c84d08d9e824e9b5be1021c6c562810b9b6eb10dbeb426ec5b6e1ff3e
4
+ data.tar.gz: b9e330ff3798ebc31a316602af870a12a309ba381c4df98d612debe099f7838f
5
5
  SHA512:
6
- metadata.gz: 71aba53e7bc13d72188ac42d079b36fcc7eeaf77622e0cb1c4364d03fe40c0ebf9197c00e951ac31bc19b66f68e8dda4161542342b652f699cc9b661c13d7cc3
7
- data.tar.gz: 819a59d04e0bd999a1eee11dbdb9689f124b45414706046b2407fcfd249892f39d68089abd69ca9e4ea53ef588631c5637305fe4330195a106283b1b95f8ba5a
6
+ metadata.gz: 98ef50574d211c0f4eaa5bfc672d6af39409bd3a19d927e80a11adeadd53c45fbbe93e51c497f269e5114374faf57e163bd915089da98b6ffbc963de09de301c
7
+ data.tar.gz: b0d45509ada7f010900b8bb25e7ca68eeb5e7e574b2005771abad26b36a2713083d95367e84c75ca3e3c798ee1c3d2084e25985059acc29175786eb97aa7eb32
@@ -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.3.6"
4
+ spec.version = "0.3.7"
5
5
  spec.authors = ["Angelos Alexopoulos, alexopoulos7@gmail.com"]
6
6
  spec.summary = "Google Adwords input plugin for Embulk"
7
7
  spec.description = "Loads records from Google Adwords."
@@ -39,6 +39,7 @@ module Embulk
39
39
  "skip_report_summary" => true
40
40
  }
41
41
  },
42
+ "request_timeout" =>config.param("request_timeout": int, default:60*60*2) # default 2 hours
42
43
  "report_type" => config.param("report_type", :string),
43
44
  "fields" => config.param("fields", :array),
44
45
  "conditions" => config.param("conditions", :array, default: []),
@@ -85,7 +86,7 @@ module Embulk
85
86
  query << " DURING " + task["daterange"] unless task["daterange"].empty?
86
87
 
87
88
  begin
88
- Timeout::timeout(5) do
89
+ Timeout::timeout(task["request_timeout"]) do
89
90
  query_report_results(query) do |row|
90
91
  page_builder.add row
91
92
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-google_adwords
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angelos Alexopoulos, alexopoulos7@gmail.com