Class: DfpApi::V201308::NetworkService::NetworkService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/dfp_api/v201308/network_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ NetworkService

Returns a new instance of NetworkService.



15
16
17
18
# File 'lib/dfp_api/v201308/network_service.rb', line 15

def initialize(config, endpoint)
  namespace = 'https://www.google.com/apis/ads/publisher/v201308'
  super(config, endpoint, namespace, :v201308)
end

Instance Method Details

#get_all_networks(*args, &block) ⇒ Object



20
21
22
# File 'lib/dfp_api/v201308/network_service.rb', line 20

def get_all_networks(*args, &block)
  return execute_action('get_all_networks', args, &block)
end

#get_current_network(*args, &block) ⇒ Object



24
25
26
# File 'lib/dfp_api/v201308/network_service.rb', line 24

def get_current_network(*args, &block)
  return execute_action('get_current_network', args, &block)
end

#make_test_network(*args, &block) ⇒ Object



28
29
30
# File 'lib/dfp_api/v201308/network_service.rb', line 28

def make_test_network(*args, &block)
  return execute_action('make_test_network', args, &block)
end

#update_network(*args, &block) ⇒ Object



32
33
34
# File 'lib/dfp_api/v201308/network_service.rb', line 32

def update_network(*args, &block)
  return execute_action('update_network', args, &block)
end