Class: AdWords::V200909::AdGroupAdService::AdGroupAd

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

Overview

AdGroupAd

  • adGroupId - SOAP::SOAPLong

  • ad - AdWords::V200909::AdGroupAdService::Ad

  • status - AdWords::V200909::AdGroupAdService::AdGroupAdStatus

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



1962
1963
1964
1965
1966
1967
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1962

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.



1958
1959
1960
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1958

def ad
  @ad
end

#adGroupIdObject

Returns the value of attribute adGroupId.



1957
1958
1959
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1957

def adGroupId
  @adGroupId
end

#statsObject

Returns the value of attribute stats.



1960
1961
1962
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1960

def stats
  @stats
end

#statusObject

Returns the value of attribute status.



1959
1960
1961
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1959

def status
  @status
end