Class: AdWords::V201008::BulkMutateJobService::ProductAd

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

Overview

ProductAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201008::BulkMutateJobService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • promotionLine - SOAP::SOAPString

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, promotionLine = nil) ⇒ ProductAd

Returns a new instance of ProductAd.



280
281
282
283
284
285
286
287
288
289
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 280

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



277
278
279
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 277

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



274
275
276
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 274

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



275
276
277
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 275

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



273
274
275
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 273

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



271
272
273
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 271

def id
  @id
end

#promotionLineObject

Returns the value of attribute promotionLine.



278
279
280
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 278

def promotionLine
  @promotionLine
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



276
277
278
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 276

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



272
273
274
# File 'lib/adwords4r/v201008/BulkMutateJobService.rb', line 272

def url
  @url
end