Class: AdManagerApi::V202408::CreativeSetService::CreativeSetService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/ad_manager_api/v202408/creative_set_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ CreativeSetService

Returns a new instance of CreativeSetService.



15
16
17
18
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 15

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

Instance Method Details

#create_creative_set(*args, &block) ⇒ Object



20
21
22
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 20

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

#create_creative_set_to_xml(*args) ⇒ Object



24
25
26
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 24

def create_creative_set_to_xml(*args)
  return get_soap_xml('create_creative_set', args)
end

#get_creative_sets_by_statement(*args, &block) ⇒ Object



28
29
30
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 28

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

#get_creative_sets_by_statement_to_xml(*args) ⇒ Object



32
33
34
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 32

def get_creative_sets_by_statement_to_xml(*args)
  return get_soap_xml('get_creative_sets_by_statement', args)
end

#update_creative_set(*args, &block) ⇒ Object



36
37
38
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 36

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

#update_creative_set_to_xml(*args) ⇒ Object



40
41
42
# File 'lib/ad_manager_api/v202408/creative_set_service.rb', line 40

def update_creative_set_to_xml(*args)
  return get_soap_xml('update_creative_set', args)
end