Class: AdWords::V201003::AdGroupService::AdGroup

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

Overview

AdGroup

  • id - SOAP::SOAPLong

  • campaignId - SOAP::SOAPLong

  • campaignName - SOAP::SOAPString

  • name - SOAP::SOAPString

  • status - AdWords::V201003::AdGroupService::AdGroupStatus

  • bids - AdWords::V201003::AdGroupService::AdGroupBids

  • stats - AdWords::V201003::AdGroupService::Stats

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, campaignId = nil, campaignName = nil, name = nil, status = nil, bids = nil, stats = nil) ⇒ AdGroup

Returns a new instance of AdGroup.



971
972
973
974
975
976
977
978
979
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 971

def initialize(id = nil, campaignId = nil, campaignName = nil, name = nil, status = nil, bids = nil, stats = nil)
  @id = id
  @campaignId = campaignId
  @campaignName = campaignName
  @name = name
  @status = status
  @bids = bids
  @stats = stats
end

Instance Attribute Details

#bidsObject

Returns the value of attribute bids.



968
969
970
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 968

def bids
  @bids
end

#campaignIdObject

Returns the value of attribute campaignId.



964
965
966
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 964

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.



965
966
967
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 965

def campaignName
  @campaignName
end

#idObject

Returns the value of attribute id.



963
964
965
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 963

def id
  @id
end

#nameObject

Returns the value of attribute name.



966
967
968
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 966

def name
  @name
end

#statsObject

Returns the value of attribute stats.



969
970
971
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 969

def stats
  @stats
end

#statusObject

Returns the value of attribute status.



967
968
969
# File 'lib/adwords4r/v201003/AdGroupService.rb', line 967

def status
  @status
end