Class: AdwordsApi::V200909::AdGroupService::AdGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v200909/AdGroupService.rb

Overview

AdGroup

  • id - SOAP::SOAPLong

  • campaignId - SOAP::SOAPLong

  • campaignName - SOAP::SOAPString

  • name - SOAP::SOAPString

  • status - AdwordsApi::V200909::AdGroupService::AdGroupStatus

  • bids - AdwordsApi::V200909::AdGroupService::AdGroupBids

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



834
835
836
837
838
839
840
841
842
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 834

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.



831
832
833
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 831

def bids
  @bids
end

#campaignIdObject

Returns the value of attribute campaignId.



827
828
829
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 827

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.



828
829
830
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 828

def campaignName
  @campaignName
end

#idObject

Returns the value of attribute id.



826
827
828
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 826

def id
  @id
end

#nameObject

Returns the value of attribute name.



829
830
831
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 829

def name
  @name
end

#statsObject

Returns the value of attribute stats.



832
833
834
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 832

def stats
  @stats
end

#statusObject

Returns the value of attribute status.



830
831
832
# File 'lib/adwords_api/v200909/AdGroupService.rb', line 830

def status
  @status
end