Class: DfpApi::V201408::ProductTemplateService::ProductTemplateService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/dfp_api/v201408/product_template_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ ProductTemplateService

Returns a new instance of ProductTemplateService.



15
16
17
18
# File 'lib/dfp_api/v201408/product_template_service.rb', line 15

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

Instance Method Details

#create_product_templates(*args, &block) ⇒ Object



20
21
22
# File 'lib/dfp_api/v201408/product_template_service.rb', line 20

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

#get_product_templates_by_statement(*args, &block) ⇒ Object



24
25
26
# File 'lib/dfp_api/v201408/product_template_service.rb', line 24

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

#perform_product_template_action(*args, &block) ⇒ Object



28
29
30
# File 'lib/dfp_api/v201408/product_template_service.rb', line 28

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

#update_product_templates(*args, &block) ⇒ Object



32
33
34
# File 'lib/dfp_api/v201408/product_template_service.rb', line 32

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