Class: AdwordsApi::V201003::AdGroupAdService::Ad

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

Overview

Ad

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdwordsApi::V201003::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Ad.



1817
1818
1819
1820
1821
1822
1823
1824
1825
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1817

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1815
1816
1817
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1815

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1812
1813
1814
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1812

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1813
1814
1815
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1813

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1811
1812
1813
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1811

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



1809
1810
1811
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1809

def id
  @id
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1814
1815
1816
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1814

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1810
1811
1812
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1810

def url
  @url
end