Class: AdwordsApi::V201101::AdGroupAdService::MobileAd

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

Overview

MobileAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

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

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • headline - SOAP::SOAPString

  • description - SOAP::SOAPString

  • markupLanguages - AdwordsApi::V201101::AdGroupAdService::MarkupLanguageType

  • mobileCarriers - SOAP::SOAPString

  • businessName - SOAP::SOAPString

  • countryCode - SOAP::SOAPString

  • phoneNumber - 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, headline = nil, description = nil, markupLanguages = [], mobileCarriers = [], businessName = nil, countryCode = nil, phoneNumber = nil) ⇒ MobileAd

Returns a new instance of MobileAd.



1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1621

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, headline = nil, description = nil, markupLanguages = [], mobileCarriers = [], businessName = nil, countryCode = nil, phoneNumber = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @trademarkDisapproved = trademarkDisapproved
  @ad_Type = ad_Type
  @headline = headline
  @description = description
  @markupLanguages = markupLanguages
  @mobileCarriers = mobileCarriers
  @businessName = businessName
  @countryCode = countryCode
  @phoneNumber = phoneNumber
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1612
1613
1614
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1612

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1609
1610
1611
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1609

def approvalStatus
  @approvalStatus
end

#businessNameObject

Returns the value of attribute businessName.



1617
1618
1619
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1617

def businessName
  @businessName
end

#countryCodeObject

Returns the value of attribute countryCode.



1618
1619
1620
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1618

def countryCode
  @countryCode
end

#descriptionObject

Returns the value of attribute description.



1614
1615
1616
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1614

def description
  @description
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1610
1611
1612
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1610

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1608
1609
1610
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1608

def displayUrl
  @displayUrl
end

#headlineObject

Returns the value of attribute headline.



1613
1614
1615
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1613

def headline
  @headline
end

#idObject

Returns the value of attribute id.



1606
1607
1608
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1606

def id
  @id
end

#markupLanguagesObject

Returns the value of attribute markupLanguages.



1615
1616
1617
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1615

def markupLanguages
  @markupLanguages
end

#mobileCarriersObject

Returns the value of attribute mobileCarriers.



1616
1617
1618
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1616

def mobileCarriers
  @mobileCarriers
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



1619
1620
1621
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1619

def phoneNumber
  @phoneNumber
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1611
1612
1613
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1611

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1607
1608
1609
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1607

def url
  @url
end