Class: AdWords::V13::TrafficEstimatorService::CampaignRequest

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

Overview

CampaignRequest

  • adGroupRequests - AdWords::V13::TrafficEstimatorService::AdGroupRequest

  • geoTargeting - AdWords::V13::TrafficEstimatorService::GeoTarget

  • id - SOAP::SOAPInt

  • languageTargeting - AdWords::V13::TrafficEstimatorService::LanguageTarget

  • networkTargeting - AdWords::V13::TrafficEstimatorService::NetworkTarget

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adGroupRequests = [], geoTargeting = nil, id = nil, languageTargeting = nil, networkTargeting = nil) ⇒ CampaignRequest

Returns a new instance of CampaignRequest.



114
115
116
117
118
119
120
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 114

def initialize(adGroupRequests = [], geoTargeting = nil, id = nil, languageTargeting = nil, networkTargeting = nil)
  @adGroupRequests = adGroupRequests
  @geoTargeting = geoTargeting
  @id = id
  @languageTargeting = languageTargeting
  @networkTargeting = networkTargeting
end

Instance Attribute Details

#adGroupRequestsObject

Returns the value of attribute adGroupRequests.



108
109
110
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 108

def adGroupRequests
  @adGroupRequests
end

#geoTargetingObject

Returns the value of attribute geoTargeting.



109
110
111
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 109

def geoTargeting
  @geoTargeting
end

#idObject

Returns the value of attribute id.



110
111
112
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 110

def id
  @id
end

#languageTargetingObject

Returns the value of attribute languageTargeting.



111
112
113
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 111

def languageTargeting
  @languageTargeting
end

#networkTargetingObject

Returns the value of attribute networkTargeting.



112
113
114
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 112

def networkTargeting
  @networkTargeting
end