Class: AdWords::V200909::AdGroupAdService::Ad

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

Overview

Ad

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V200909::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • ad_Type - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil) ⇒ Ad

Returns a new instance of Ad.



1655
1656
1657
1658
1659
1660
1661
1662
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1655

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @ad_Type = ad_Type
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1653
1654
1655
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1653

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1651
1652
1653
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1651

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1652
1653
1654
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1652

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1650
1651
1652
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1650

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



1648
1649
1650
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1648

def id
  @id
end

#urlObject

Returns the value of attribute url.



1649
1650
1651
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1649

def url
  @url
end