naver-searchad-api 1.0.0 → 1.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
- SHA1:
3
- metadata.gz: 5bf06dd7e932866d9546a85a7a17a918a7b1557d
4
- data.tar.gz: 639234cb20d1a43cc85f1136238cc7c534159eed
2
+ SHA256:
3
+ metadata.gz: dbbdb4eb119c7be44c31a6f42660d10e7918bdbf3eaec33c383c8e510aeeb971
4
+ data.tar.gz: be943907d5d92d569d639ada5b725573159aff42c1620a659a5f5e1b804dd12a
5
5
  SHA512:
6
- metadata.gz: da1b360b1c7eeddc756659ed0660fb7e35188b086e03618ad9f2c0ba0833d2d9dc4e1e80d85134124b16c361a9f036348aaf40f73253bb899584e0782fa036bb
7
- data.tar.gz: ecf8ae4636a93cad7af1ed3f609412bda826d1056611cd21324318e19de5b697a731afac93ce5122bca7680b70aceb490f2375d1ba829347b3001f9d5aa7bae3
6
+ metadata.gz: 72624784a5d9a4e14af4430171687c2a7b8db6ce77edc4881ab07cb09c36d3ba402828e05bb133cba597815fb79bb4760986c026171d1ccdcb9e5993b13b94bc
7
+ data.tar.gz: 0620d07f41497fc6744e7fa5e458b55792692801b32f4b26abeaa56f4ac4b9493dd7d8a51ea9485aa910acf2d55543f177bb06e2a2a8d17985d7b45136152d98
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'ncc/')
10
+ super('https://api.searchad.naver.com/', 'ncc/')
11
11
  end
12
12
 
13
13
  def list_ads(ad_ids, options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'ncc/')
10
+ super('https://api.searchad.naver.com/', 'ncc/')
11
11
  end
12
12
 
13
13
  def list_ad_keywords_by_ids(ad_keyword_ids, options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'ncc/')
10
+ super('https://api.searchad.naver.com/', 'ncc/')
11
11
  end
12
12
 
13
13
  def list_adgroups(options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'billing/')
10
+ super('https://api.searchad.naver.com/', 'billing/')
11
11
  end
12
12
 
13
13
  def get_bizmoney(options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'ncc/')
10
+ super('https://api.searchad.naver.com/', 'ncc/')
11
11
  end
12
12
 
13
13
  def list_channels(options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'ncc/')
10
+ super('https://api.searchad.naver.com/', 'ncc/')
11
11
  end
12
12
 
13
13
  def list_campaigns(options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', 'ncc/')
10
+ super('https://api.searchad.naver.com/', 'ncc/')
11
11
  end
12
12
 
13
13
  def list_labels(options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', '')
10
+ super('https://api.searchad.naver.com/', '')
11
11
  end
12
12
 
13
13
  def list_stats(options: nil, &block)
@@ -7,7 +7,7 @@ module Naver
7
7
  class Service < Naver::Searchad::Api::Core::BaseService
8
8
 
9
9
  def initialize
10
- super('https://api.naver.com/', '')
10
+ super('https://api.searchad.naver.com/', '')
11
11
  end
12
12
 
13
13
  def get_stat_by_id(id,
@@ -8,7 +8,7 @@ module Naver
8
8
  class Service < Naver::Searchad::Api::Core::BaseService
9
9
 
10
10
  def initialize
11
- super('https://api.naver.com/', '')
11
+ super('https://api.searchad.naver.com/', '')
12
12
  end
13
13
 
14
14
  def download_report(download_url, file_path, options: {}, &block)
@@ -21,18 +21,18 @@ module Naver
21
21
  end
22
22
 
23
23
  def get_stat_report(report_job_id, options: {}, &block)
24
- command = make_command(:get, '/stat-reports/{report_job_id}', options)
24
+ command = make_command(:get, 'stat-reports/{report_job_id}', options)
25
25
  command.params['report_job_id'] = report_job_id
26
26
  execute_command(command, &block)
27
27
  end
28
28
 
29
29
  def list_stat_reports(options: {}, &block)
30
- command = make_command(:get, '/stat-reports', options)
30
+ command = make_command(:get, 'stat-reports', options)
31
31
  execute_command(command, &block)
32
32
  end
33
33
 
34
34
  def create_stat_report(type, date, options: {}, &block)
35
- command = make_command(:post, '/stat-reports', options)
35
+ command = make_command(:post, 'stat-reports', options)
36
36
  command.request_object = {
37
37
  'reportTp' => type,
38
38
  'statDt' => date
@@ -41,12 +41,12 @@ module Naver
41
41
  end
42
42
 
43
43
  def delete_stat_reports(options: {}, &block)
44
- command = make_command(:delete, '/stat-reports', options)
44
+ command = make_command(:delete, 'stat-reports', options)
45
45
  execute_command(command, &block)
46
46
  end
47
47
 
48
48
  def delete_stat_report(report_job_id, options: {}, &block)
49
- command = make_command(:delete, '/stat-reports/{report_job_id}', options)
49
+ command = make_command(:delete, 'stat-reports/{report_job_id}', options)
50
50
  command.params['report_job_id'] = report_job_id
51
51
  execute_command(command, &block)
52
52
  end
@@ -1,7 +1,7 @@
1
1
  module Naver
2
2
  module Searchad
3
3
  module Api
4
- VERSION = '1.0.0'
4
+ VERSION = '1.1.1'
5
5
 
6
6
  OS_VERSION = begin
7
7
  if RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/
@@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
25
25
  spec.add_runtime_dependency 'addressable', '~> 2.5'
26
26
 
27
- spec.add_development_dependency 'bundler', '~> 1.14'
28
27
  spec.add_development_dependency 'rake', '~> 10.0'
29
28
  spec.add_development_dependency 'rspec', '~> 3.0'
30
29
  spec.add_development_dependency 'simplecov', '~> 0.14'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naver-searchad-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Min Kim
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -44,20 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2.5'
47
- - !ruby/object:Gem::Dependency
48
- name: bundler
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '1.14'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '1.14'
61
47
  - !ruby/object:Gem::Dependency
62
48
  name: rake
63
49
  requirement: !ruby/object:Gem::Requirement
@@ -157,7 +143,7 @@ homepage: https://github.com/forward3d/naver-searchad-api
157
143
  licenses:
158
144
  - MIT
159
145
  metadata: {}
160
- post_install_message:
146
+ post_install_message:
161
147
  rdoc_options: []
162
148
  require_paths:
163
149
  - lib
@@ -172,9 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
158
  - !ruby/object:Gem::Version
173
159
  version: '0'
174
160
  requirements: []
175
- rubyforge_project:
176
- rubygems_version: 2.6.14
177
- signing_key:
161
+ rubygems_version: 3.3.7
162
+ signing_key:
178
163
  specification_version: 4
179
164
  summary: Naver Searchad API ruby client
180
165
  test_files: []