Class: AdwordsApi::V201101::AdGroupAdService::ImageAd

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

Overview

ImageAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdwordsApi::V201101::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • image - AdwordsApi::V201101::AdGroupAdService::Image

  • name - SOAP::SOAPString

  • adToCopyImageFrom - SOAP::SOAPLong

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

Returns a new instance of ImageAd.



1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1866

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1861
1862
1863
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1861

def ad_Type
  @ad_Type
end

#adToCopyImageFromObject

Returns the value of attribute adToCopyImageFrom.



1864
1865
1866
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1864

def adToCopyImageFrom
  @adToCopyImageFrom
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1858
1859
1860
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1858

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1859
1860
1861
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1859

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1857
1858
1859
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1857

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



1855
1856
1857
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1855

def id
  @id
end

#imageObject

Returns the value of attribute image.



1862
1863
1864
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1862

def image
  @image
end

#nameObject

Returns the value of attribute name.



1863
1864
1865
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1863

def name
  @name
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1860
1861
1862
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1860

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1856
1857
1858
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1856

def url
  @url
end