require 'xsd/qname' module AdWords; module SiteSuggestionService # {https://adwords.google.com/api/adwords/v10}ApiError # code - SOAP::SOAPInt # detail - SOAP::SOAPString # field - SOAP::SOAPString # index - SOAP::SOAPInt # isExemptable - SOAP::SOAPBoolean # textIndex - SOAP::SOAPInt # textLength - SOAP::SOAPInt # trigger - SOAP::SOAPString class ApiError attr_accessor :code attr_accessor :detail attr_accessor :field attr_accessor :index attr_accessor :isExemptable attr_accessor :textIndex attr_accessor :textLength attr_accessor :trigger def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil) @code = code @detail = detail @field = field @index = index @isExemptable = isExemptable @textIndex = textIndex @textLength = textLength @trigger = trigger end end # {https://adwords.google.com/api/adwords/v10}ApiException # code - SOAP::SOAPInt # errors - AdWords::SiteSuggestionService::ApiError # internal - SOAP::SOAPBoolean # message - SOAP::SOAPString # trigger - SOAP::SOAPString class ApiException attr_accessor :code attr_accessor :errors attr_accessor :internal attr_accessor :message attr_accessor :trigger def initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil) @code = code @errors = errors @internal = internal @message = message @trigger = trigger end end # {https://adwords.google.com/api/adwords/v10}DemographicsTarget # childrenTarget - AdWords::SiteSuggestionService::ChildrenTarget # ethnicityTarget - AdWords::SiteSuggestionService::EthnicityTarget # genderTarget - AdWords::SiteSuggestionService::GenderTarget # maxAgeRange - AdWords::SiteSuggestionService::AgeRange # maxHouseholdIncomeRange - AdWords::SiteSuggestionService::HouseholdIncomeRange # minAgeRange - AdWords::SiteSuggestionService::AgeRange # minHouseholdIncomeRange - AdWords::SiteSuggestionService::HouseholdIncomeRange class DemographicsTarget attr_accessor :childrenTarget attr_accessor :ethnicityTarget attr_accessor :genderTarget attr_accessor :maxAgeRange attr_accessor :maxHouseholdIncomeRange attr_accessor :minAgeRange attr_accessor :minHouseholdIncomeRange def initialize(childrenTarget = nil, ethnicityTarget = nil, genderTarget = nil, maxAgeRange = nil, maxHouseholdIncomeRange = nil, minAgeRange = nil, minHouseholdIncomeRange = nil) @childrenTarget = childrenTarget @ethnicityTarget = ethnicityTarget @genderTarget = genderTarget @maxAgeRange = maxAgeRange @maxHouseholdIncomeRange = maxHouseholdIncomeRange @minAgeRange = minAgeRange @minHouseholdIncomeRange = minHouseholdIncomeRange end end # {https://adwords.google.com/api/adwords/v10}LanguageGeoTargeting # countries - SOAP::SOAPString # languages - SOAP::SOAPString # metros - SOAP::SOAPString # regions - SOAP::SOAPString class LanguageGeoTargeting attr_accessor :countries attr_accessor :languages attr_accessor :metros attr_accessor :regions def initialize(countries = [], languages = [], metros = [], regions = []) @countries = countries @languages = languages @metros = metros @regions = regions end end # {https://adwords.google.com/api/adwords/v10}SiteSuggestion # acceptsImageAds - SOAP::SOAPBoolean # acceptsTextAds - SOAP::SOAPBoolean # acceptsVideoAds - SOAP::SOAPBoolean # pageViews - SOAP::SOAPInt # url - SOAP::SOAPString class SiteSuggestion attr_accessor :acceptsImageAds attr_accessor :acceptsTextAds attr_accessor :acceptsVideoAds attr_accessor :pageViews attr_accessor :url def initialize(acceptsImageAds = nil, acceptsTextAds = nil, acceptsVideoAds = nil, pageViews = nil, url = nil) @acceptsImageAds = acceptsImageAds @acceptsTextAds = acceptsTextAds @acceptsVideoAds = acceptsVideoAds @pageViews = pageViews @url = url end end # {https://adwords.google.com/api/adwords/v10}AgeRange class AgeRange < ::String Range0To17 = AgeRange.new("Range0To17") Range18To24 = AgeRange.new("Range18To24") Range25To34 = AgeRange.new("Range25To34") Range35To44 = AgeRange.new("Range35To44") Range45To54 = AgeRange.new("Range45To54") Range55To64 = AgeRange.new("Range55To64") Range65Plus = AgeRange.new("Range65Plus") end # {https://adwords.google.com/api/adwords/v10}ChildrenTarget class ChildrenTarget < ::String HouseholdsWithChildrenOnly = ChildrenTarget.new("HouseholdsWithChildrenOnly") HouseholdsWithoutChildrenOnly = ChildrenTarget.new("HouseholdsWithoutChildrenOnly") NoPreference = ChildrenTarget.new("NoPreference") end # {https://adwords.google.com/api/adwords/v10}EthnicityTarget class EthnicityTarget < ::String AfricanAmericanOnly = EthnicityTarget.new("AfricanAmericanOnly") AsianOnly = EthnicityTarget.new("AsianOnly") CaucasianOnly = EthnicityTarget.new("CaucasianOnly") HispanicOnly = EthnicityTarget.new("HispanicOnly") NoPreference = EthnicityTarget.new("NoPreference") end # {https://adwords.google.com/api/adwords/v10}GenderTarget class GenderTarget < ::String FemaleOnly = GenderTarget.new("FemaleOnly") MaleOnly = GenderTarget.new("MaleOnly") NoPreference = GenderTarget.new("NoPreference") end # {https://adwords.google.com/api/adwords/v10}HouseholdIncomeRange class HouseholdIncomeRange < ::String Range0To14999 = HouseholdIncomeRange.new("Range0To14999") Range100000PLUS = HouseholdIncomeRange.new("Range100000PLUS") Range15000To24999 = HouseholdIncomeRange.new("Range15000To24999") Range25000To39999 = HouseholdIncomeRange.new("Range25000To39999") Range40000To59999 = HouseholdIncomeRange.new("Range40000To59999") Range60000To74999 = HouseholdIncomeRange.new("Range60000To74999") Range75000To99999 = HouseholdIncomeRange.new("Range75000To99999") end # {https://adwords.google.com/api/adwords/v10}getSitesByCategoryName # categoryName - SOAP::SOAPString # targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting class GetSitesByCategoryName attr_accessor :categoryName attr_accessor :targeting def initialize(categoryName = nil, targeting = nil) @categoryName = categoryName @targeting = targeting end end # {https://adwords.google.com/api/adwords/v10}getSitesByCategoryNameResponse class GetSitesByCategoryNameResponse < ::Array end # {https://adwords.google.com/api/adwords/v10}getSitesByDemographics # demo - AdWords::SiteSuggestionService::DemographicsTarget # targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting class GetSitesByDemographics attr_accessor :demo attr_accessor :targeting def initialize(demo = nil, targeting = nil) @demo = demo @targeting = targeting end end # {https://adwords.google.com/api/adwords/v10}getSitesByDemographicsResponse class GetSitesByDemographicsResponse < ::Array end # {https://adwords.google.com/api/adwords/v10}getSitesByTopics # topics - SOAP::SOAPString # targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting class GetSitesByTopics attr_accessor :topics attr_accessor :targeting def initialize(topics = [], targeting = nil) @topics = topics @targeting = targeting end end # {https://adwords.google.com/api/adwords/v10}getSitesByTopicsResponse class GetSitesByTopicsResponse < ::Array end # {https://adwords.google.com/api/adwords/v10}getSitesByUrls # urls - SOAP::SOAPString # targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting class GetSitesByUrls attr_accessor :urls attr_accessor :targeting def initialize(urls = [], targeting = nil) @urls = urls @targeting = targeting end end # {https://adwords.google.com/api/adwords/v10}getSitesByUrlsResponse class GetSitesByUrlsResponse < ::Array end end; end