Class: AdManagerApi::V202402::ForecastService::ForecastService

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

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ ForecastService

Returns a new instance of ForecastService.



15
16
17
18
# File 'lib/ad_manager_api/v202402/forecast_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

#get_availability_forecast(*args, &block) ⇒ Object



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

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

#get_availability_forecast_by_id(*args, &block) ⇒ Object



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

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

#get_availability_forecast_by_id_to_xml(*args) ⇒ Object



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

def get_availability_forecast_by_id_to_xml(*args)
  return get_soap_xml('get_availability_forecast_by_id', args)
end

#get_availability_forecast_to_xml(*args) ⇒ Object



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

def get_availability_forecast_to_xml(*args)
  return get_soap_xml('get_availability_forecast', args)
end

#get_delivery_forecast(*args, &block) ⇒ Object



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

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

#get_delivery_forecast_by_ids(*args, &block) ⇒ Object



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

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

#get_delivery_forecast_by_ids_to_xml(*args) ⇒ Object



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

def get_delivery_forecast_by_ids_to_xml(*args)
  return get_soap_xml('get_delivery_forecast_by_ids', args)
end

#get_delivery_forecast_to_xml(*args) ⇒ Object



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

def get_delivery_forecast_to_xml(*args)
  return get_soap_xml('get_delivery_forecast', args)
end

#get_traffic_data(*args, &block) ⇒ Object



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

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

#get_traffic_data_to_xml(*args) ⇒ Object



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

def get_traffic_data_to_xml(*args)
  return get_soap_xml('get_traffic_data', args)
end