Class: AdWords::V200909::AdGroupAdService::ImageAd

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

Overview

ImageAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

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

  • disapprovalReasons - SOAP::SOAPString

  • ad_Type - SOAP::SOAPString

  • image - AdWords::V200909::AdGroupAdService::Image

  • name - 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, image = nil, name = nil) ⇒ ImageAd

Returns a new instance of ImageAd.



1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1829

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1825
1826
1827
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1825

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1823
1824
1825
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1823

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1824
1825
1826
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1824

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1822
1823
1824
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1822

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



1820
1821
1822
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1820

def id
  @id
end

#imageObject

Returns the value of attribute image.



1826
1827
1828
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1826

def image
  @image
end

#nameObject

Returns the value of attribute name.



1827
1828
1829
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1827

def name
  @name
end

#urlObject

Returns the value of attribute url.



1821
1822
1823
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1821

def url
  @url
end