Class: AdWords::V201008::TrafficEstimatorService::CampaignEstimate

Inherits:
Estimate
  • Object
show all
Defined in:
lib/adwords4r/v201008/TrafficEstimatorService.rb

Overview

CampaignEstimate

  • estimate_Type - SOAP::SOAPString

  • campaignId - SOAP::SOAPLong

  • adGroupEstimates - AdWords::V201008::TrafficEstimatorService::AdGroupEstimate

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(estimate_Type = nil, campaignId = nil, adGroupEstimates = []) ⇒ CampaignEstimate

Returns a new instance of CampaignEstimate.



1309
1310
1311
1312
1313
# File 'lib/adwords4r/v201008/TrafficEstimatorService.rb', line 1309

def initialize(estimate_Type = nil, campaignId = nil, adGroupEstimates = [])
  @estimate_Type = estimate_Type
  @campaignId = campaignId
  @adGroupEstimates = adGroupEstimates
end

Instance Attribute Details

#adGroupEstimatesObject

Returns the value of attribute adGroupEstimates.



1307
1308
1309
# File 'lib/adwords4r/v201008/TrafficEstimatorService.rb', line 1307

def adGroupEstimates
  @adGroupEstimates
end

#campaignIdObject

Returns the value of attribute campaignId.



1306
1307
1308
# File 'lib/adwords4r/v201008/TrafficEstimatorService.rb', line 1306

def campaignId
  @campaignId
end

#estimate_TypeObject

Returns the value of attribute estimate_Type.



1305
1306
1307
# File 'lib/adwords4r/v201008/TrafficEstimatorService.rb', line 1305

def estimate_Type
  @estimate_Type
end