Class: AdWords::V200909::AdGroupAdService::TemplateAd

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

Overview

TemplateAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

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

  • disapprovalReasons - SOAP::SOAPString

  • ad_Type - SOAP::SOAPString

  • templateId - SOAP::SOAPLong

  • adUnionId - AdWords::V200909::AdGroupAdService::AdUnionId

  • templateElements - AdWords::V200909::AdGroupAdService::TemplateElement

  • dimensions - AdWords::V200909::AdGroupAdService::Dimensions

  • name - SOAP::SOAPString

  • duration - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil, templateId = nil, adUnionId = nil, templateElements = [], dimensions = nil, name = nil, duration = nil) ⇒ TemplateAd

Returns a new instance of TemplateAd.



1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1935

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil, templateId = nil, adUnionId = nil, templateElements = [], dimensions = nil, name = nil, duration = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @ad_Type = ad_Type
  @templateId = templateId
  @adUnionId = adUnionId
  @templateElements = templateElements
  @dimensions = dimensions
  @name = name
  @duration = duration
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1927
1928
1929
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1927

def ad_Type
  @ad_Type
end

#adUnionIdObject

Returns the value of attribute adUnionId.



1929
1930
1931
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1929

def adUnionId
  @adUnionId
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1925
1926
1927
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1925

def approvalStatus
  @approvalStatus
end

#dimensionsObject

Returns the value of attribute dimensions.



1931
1932
1933
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1931

def dimensions
  @dimensions
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1926
1927
1928
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1926

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1924
1925
1926
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1924

def displayUrl
  @displayUrl
end

#durationObject

Returns the value of attribute duration.



1933
1934
1935
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1933

def duration
  @duration
end

#idObject

Returns the value of attribute id.



1922
1923
1924
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1922

def id
  @id
end

#nameObject

Returns the value of attribute name.



1932
1933
1934
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1932

def name
  @name
end

#templateElementsObject

Returns the value of attribute templateElements.



1930
1931
1932
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1930

def templateElements
  @templateElements
end

#templateIdObject

Returns the value of attribute templateId.



1928
1929
1930
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1928

def templateId
  @templateId
end

#urlObject

Returns the value of attribute url.



1923
1924
1925
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1923

def url
  @url
end