Class: AdWords::V201003::AdGroupAdService::AdGroupAd

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v201003/AdGroupAdService.rb

Overview

AdGroupAd

  • adGroupId - SOAP::SOAPLong

  • ad - AdWords::V201003::AdGroupAdService::Ad

  • status - AdWords::V201003::AdGroupAdService::AdGroupAdStatus

  • stats - AdWords::V201003::AdGroupAdService::AdStats

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adGroupId = nil, ad = nil, status = nil, stats = nil) ⇒ AdGroupAd

Returns a new instance of AdGroupAd.



2246
2247
2248
2249
2250
2251
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2246

def initialize(adGroupId = nil, ad = nil, status = nil, stats = nil)
  @adGroupId = adGroupId
  @ad = ad
  @status = status
  @stats = stats
end

Instance Attribute Details

#adObject

Returns the value of attribute ad.



2242
2243
2244
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2242

def ad
  @ad
end

#adGroupIdObject

Returns the value of attribute adGroupId.



2241
2242
2243
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2241

def adGroupId
  @adGroupId
end

#statsObject

Returns the value of attribute stats.



2244
2245
2246
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2244

def stats
  @stats
end

#statusObject

Returns the value of attribute status.



2243
2244
2245
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2243

def status
  @status
end