Class: AdManagerApi::V202402::AdRuleService::AdRuleService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/ad_manager_api/v202402/ad_rule_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ AdRuleService

Returns a new instance of AdRuleService.



15
16
17
18
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 15

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

Instance Method Details

#create_ad_rules(*args, &block) ⇒ Object



20
21
22
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 20

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

#create_ad_rules_to_xml(*args) ⇒ Object



24
25
26
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 24

def create_ad_rules_to_xml(*args)
  return get_soap_xml('create_ad_rules', args)
end

#create_ad_spots(*args, &block) ⇒ Object



28
29
30
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 28

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

#create_ad_spots_to_xml(*args) ⇒ Object



32
33
34
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 32

def create_ad_spots_to_xml(*args)
  return get_soap_xml('create_ad_spots', args)
end

#create_break_templates(*args, &block) ⇒ Object



36
37
38
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 36

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

#create_break_templates_to_xml(*args) ⇒ Object



40
41
42
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 40

def create_break_templates_to_xml(*args)
  return get_soap_xml('create_break_templates', args)
end

#get_ad_rules_by_statement(*args, &block) ⇒ Object



44
45
46
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 44

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

#get_ad_rules_by_statement_to_xml(*args) ⇒ Object



48
49
50
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 48

def get_ad_rules_by_statement_to_xml(*args)
  return get_soap_xml('get_ad_rules_by_statement', args)
end

#get_ad_spots_by_statement(*args, &block) ⇒ Object



52
53
54
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 52

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

#get_ad_spots_by_statement_to_xml(*args) ⇒ Object



56
57
58
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 56

def get_ad_spots_by_statement_to_xml(*args)
  return get_soap_xml('get_ad_spots_by_statement', args)
end

#get_break_templates_by_statement(*args, &block) ⇒ Object



60
61
62
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 60

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

#get_break_templates_by_statement_to_xml(*args) ⇒ Object



64
65
66
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 64

def get_break_templates_by_statement_to_xml(*args)
  return get_soap_xml('get_break_templates_by_statement', args)
end

#perform_ad_rule_action(*args, &block) ⇒ Object



68
69
70
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 68

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

#perform_ad_rule_action_to_xml(*args) ⇒ Object



72
73
74
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 72

def perform_ad_rule_action_to_xml(*args)
  return get_soap_xml('perform_ad_rule_action', args)
end

#update_ad_rules(*args, &block) ⇒ Object



76
77
78
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 76

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

#update_ad_rules_to_xml(*args) ⇒ Object



80
81
82
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 80

def update_ad_rules_to_xml(*args)
  return get_soap_xml('update_ad_rules', args)
end

#update_ad_spots(*args, &block) ⇒ Object



84
85
86
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 84

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

#update_ad_spots_to_xml(*args) ⇒ Object



88
89
90
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 88

def update_ad_spots_to_xml(*args)
  return get_soap_xml('update_ad_spots', args)
end

#update_break_templates(*args, &block) ⇒ Object



92
93
94
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 92

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

#update_break_templates_to_xml(*args) ⇒ Object



96
97
98
# File 'lib/ad_manager_api/v202402/ad_rule_service.rb', line 96

def update_break_templates_to_xml(*args)
  return get_soap_xml('update_break_templates', args)
end