Class: AdWords::V201008::CampaignService::FrequencyCap

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

Overview

FrequencyCap

  • impressions - SOAP::SOAPLong

  • timeUnit - AdWords::V201008::CampaignService::TimeUnit

  • level - AdWords::V201008::CampaignService::Level

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(impressions = nil, timeUnit = nil, level = nil) ⇒ FrequencyCap

Returns a new instance of FrequencyCap.



41
42
43
44
45
# File 'lib/adwords4r/v201008/CampaignService.rb', line 41

def initialize(impressions = nil, timeUnit = nil, level = nil)
  @impressions = impressions
  @timeUnit = timeUnit
  @level = level
end

Instance Attribute Details

#impressionsObject

Returns the value of attribute impressions.



37
38
39
# File 'lib/adwords4r/v201008/CampaignService.rb', line 37

def impressions
  @impressions
end

#levelObject

Returns the value of attribute level.



39
40
41
# File 'lib/adwords4r/v201008/CampaignService.rb', line 39

def level
  @level
end

#timeUnitObject

Returns the value of attribute timeUnit.



38
39
40
# File 'lib/adwords4r/v201008/CampaignService.rb', line 38

def timeUnit
  @timeUnit
end