Class: DfpApi::V201302::ContentService::ContentService

Inherits:
AdsCommon::SavonService
  • Object
show all
Defined in:
lib/dfp_api/v201302/content_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ ContentService

Returns a new instance of ContentService.



15
16
17
18
# File 'lib/dfp_api/v201302/content_service.rb', line 15

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

Instance Method Details

#get_content_by_statement(*args, &block) ⇒ Object



20
21
22
# File 'lib/dfp_api/v201302/content_service.rb', line 20

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

#get_content_by_statement_and_custom_targeting_value(*args, &block) ⇒ Object



24
25
26
# File 'lib/dfp_api/v201302/content_service.rb', line 24

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