Class: AdWords::V201008::AdGroupAdService::DeprecatedAd

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

Overview

DeprecatedAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201008::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • name - SOAP::SOAPString

  • type - AdWords::V201008::AdGroupAdService::DeprecatedAdType

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, name = nil, type = nil) ⇒ DeprecatedAd

Returns a new instance of DeprecatedAd.



1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1855

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1851
1852
1853
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1851

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1848
1849
1850
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1848

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1849
1850
1851
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1849

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1847
1848
1849
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1847

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



1845
1846
1847
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1845

def id
  @id
end

#nameObject

Returns the value of attribute name.



1852
1853
1854
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1852

def name
  @name
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1850
1851
1852
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1850

def trademarkDisapproved
  @trademarkDisapproved
end

#typeObject

Returns the value of attribute type.



1853
1854
1855
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1853

def type
  @type
end

#urlObject

Returns the value of attribute url.



1846
1847
1848
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1846

def url
  @url
end