Class: AdwordsApi::V201003::AdGroupAdService::MobileAd

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

Overview

MobileAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdwordsApi::V201003::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • headline - SOAP::SOAPString

  • description - SOAP::SOAPString

  • markupLanguages - AdwordsApi::V201003::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.



1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1893

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.



1884
1885
1886
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1884

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1881
1882
1883
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1881

def approvalStatus
  @approvalStatus
end

#businessNameObject

Returns the value of attribute businessName.



1889
1890
1891
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1889

def businessName
  @businessName
end

#countryCodeObject

Returns the value of attribute countryCode.



1890
1891
1892
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1890

def countryCode
  @countryCode
end

#descriptionObject

Returns the value of attribute description.



1886
1887
1888
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1886

def description
  @description
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1882
1883
1884
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1882

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1880
1881
1882
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1880

def displayUrl
  @displayUrl
end

#headlineObject

Returns the value of attribute headline.



1885
1886
1887
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1885

def headline
  @headline
end

#idObject

Returns the value of attribute id.



1878
1879
1880
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1878

def id
  @id
end

#markupLanguagesObject

Returns the value of attribute markupLanguages.



1887
1888
1889
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1887

def markupLanguages
  @markupLanguages
end

#mobileCarriersObject

Returns the value of attribute mobileCarriers.



1888
1889
1890
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1888

def mobileCarriers
  @mobileCarriers
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



1891
1892
1893
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1891

def phoneNumber
  @phoneNumber
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1883
1884
1885
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1883

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1879
1880
1881
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1879

def url
  @url
end