Class: AdWords::V200909::BulkMutateJobService::TemplateAd

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

Overview

TemplateAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V200909::BulkMutateJobService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • ad_Type - SOAP::SOAPString

  • templateId - SOAP::SOAPLong

  • adUnionId - AdWords::V200909::BulkMutateJobService::AdUnionId

  • templateElements - AdWords::V200909::BulkMutateJobService::TemplateElement

  • dimensions - AdWords::V200909::BulkMutateJobService::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.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 267

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.



259
260
261
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 259

def ad_Type
  @ad_Type
end

#adUnionIdObject

Returns the value of attribute adUnionId.



261
262
263
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 261

def adUnionId
  @adUnionId
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



257
258
259
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 257

def approvalStatus
  @approvalStatus
end

#dimensionsObject

Returns the value of attribute dimensions.



263
264
265
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 263

def dimensions
  @dimensions
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



258
259
260
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 258

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



256
257
258
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 256

def displayUrl
  @displayUrl
end

#durationObject

Returns the value of attribute duration.



265
266
267
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 265

def duration
  @duration
end

#idObject

Returns the value of attribute id.



254
255
256
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 254

def id
  @id
end

#nameObject

Returns the value of attribute name.



264
265
266
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 264

def name
  @name
end

#templateElementsObject

Returns the value of attribute templateElements.



262
263
264
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 262

def templateElements
  @templateElements
end

#templateIdObject

Returns the value of attribute templateId.



260
261
262
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 260

def templateId
  @templateId
end

#urlObject

Returns the value of attribute url.



255
256
257
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 255

def url
  @url
end