Class: AdWords::V200909::CampaignService::FrequencyCap

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

Overview

FrequencyCap

  • impressions - SOAP::SOAPLong

  • timeUnit - AdWords::V200909::CampaignService::TimeUnit

  • level - AdWords::V200909::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.



28
29
30
31
32
# File 'lib/adwords4r/v200909/CampaignService.rb', line 28

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.



24
25
26
# File 'lib/adwords4r/v200909/CampaignService.rb', line 24

def impressions
  @impressions
end

#levelObject

Returns the value of attribute level.



26
27
28
# File 'lib/adwords4r/v200909/CampaignService.rb', line 26

def level
  @level
end

#timeUnitObject

Returns the value of attribute timeUnit.



25
26
27
# File 'lib/adwords4r/v200909/CampaignService.rb', line 25

def timeUnit
  @timeUnit
end