require 'xsd/qname' module AdWords; module V200909; module InfoService # DateRange # - min - SOAP::SOAPString # - max - SOAP::SOAPString class DateRange attr_accessor :min attr_accessor :max def initialize(min = nil, max = nil) @min = min @max = max end end # SoapHeader # - applicationToken - SOAP::SOAPString # - authToken - SOAP::SOAPString # - clientCustomerId - SOAP::SOAPString # - clientEmail - SOAP::SOAPString # - developerToken - SOAP::SOAPString # - userAgent - SOAP::SOAPString # - validateOnly - SOAP::SOAPBoolean class SoapHeader attr_accessor :applicationToken attr_accessor :authToken attr_accessor :clientCustomerId attr_accessor :clientEmail attr_accessor :developerToken attr_accessor :userAgent attr_accessor :validateOnly def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil) @applicationToken = applicationToken @authToken = authToken @clientCustomerId = clientCustomerId @clientEmail = clientEmail @developerToken = developerToken @userAgent = userAgent @validateOnly = validateOnly end end # SoapResponseHeader # - requestId - SOAP::SOAPString # - operations - SOAP::SOAPLong # - responseTime - SOAP::SOAPLong # - units - SOAP::SOAPLong class SoapResponseHeader attr_accessor :requestId attr_accessor :operations attr_accessor :responseTime attr_accessor :units def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil) @requestId = requestId @operations = operations @responseTime = responseTime @units = units end end # ApiError # abstract # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString class ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type end end # AuthenticationError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::AuthenticationErrorReason class AuthenticationError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # AuthorizationError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::AuthorizationErrorReason class AuthorizationError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # ClientTermsError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::ClientTermsErrorReason class ClientTermsError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # EntityNotFound # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::EntityNotFoundReason class EntityNotFound < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # InternalApiError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::InternalApiErrorReason class InternalApiError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # NotEmptyError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::NotEmptyErrorReason class NotEmptyError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # NotWhitelistedError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::NotWhitelistedErrorReason class NotWhitelistedError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # NullError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::NullErrorReason class NullError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # OperatorError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::OperatorErrorReason class OperatorError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # QuotaCheckError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::QuotaCheckErrorReason class QuotaCheckError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # QuotaExceededError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::QuotaExceededErrorReason class QuotaExceededError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # ReadOnlyError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::ReadOnlyErrorReason class ReadOnlyError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # RequiredError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::RequiredErrorReason class RequiredError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # SizeLimitError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::SizeLimitErrorReason class SizeLimitError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # ApiUsageError # - fieldPath - SOAP::SOAPString # - trigger - SOAP::SOAPString # - apiError_Type - SOAP::SOAPString # - reason - AdWords::V200909::InfoService::ApiUsageErrorReason class ApiUsageError < ApiError attr_accessor :fieldPath attr_accessor :trigger attr_accessor :apiError_Type attr_accessor :reason def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil) @fieldPath = fieldPath @trigger = trigger @apiError_Type = apiError_Type @reason = reason end end # ApplicationException # - message - SOAP::SOAPString # - applicationException_Type - SOAP::SOAPString class ApplicationException attr_accessor :message attr_accessor :applicationException_Type def initialize(message = nil, applicationException_Type = nil) @message = message @applicationException_Type = applicationException_Type end end # ApiException # - message - SOAP::SOAPString # - applicationException_Type - SOAP::SOAPString # - errors - AdWords::V200909::InfoService::ApiError class ApiException < ApplicationException attr_accessor :message attr_accessor :applicationException_Type attr_accessor :errors def initialize(message = nil, applicationException_Type = nil, errors = []) @message = message @applicationException_Type = applicationException_Type @errors = errors end end # ApiUsageRecord # - clientEmail - SOAP::SOAPString # - cost - SOAP::SOAPLong class ApiUsageRecord attr_accessor :clientEmail attr_accessor :cost def initialize(clientEmail = nil, cost = nil) @clientEmail = clientEmail @cost = cost end end # InfoSelector # - serviceName - SOAP::SOAPString # - methodName - SOAP::SOAPString # - operator - AdWords::V200909::InfoService::Operator # - dateRange - AdWords::V200909::InfoService::DateRange # - clientEmails - SOAP::SOAPString # - apiUsageType - AdWords::V200909::InfoService::ApiUsageType class InfoSelector attr_accessor :serviceName attr_accessor :methodName attr_accessor :operator attr_accessor :dateRange attr_accessor :clientEmails attr_accessor :apiUsageType def initialize(serviceName = nil, methodName = nil, operator = nil, dateRange = nil, clientEmails = [], apiUsageType = nil) @serviceName = serviceName @methodName = methodName @operator = operator @dateRange = dateRange @clientEmails = clientEmails @apiUsageType = apiUsageType end end # ApiUsageInfo # - apiUsageRecords - AdWords::V200909::InfoService::ApiUsageRecord # - cost - SOAP::SOAPLong class ApiUsageInfo attr_accessor :apiUsageRecords attr_accessor :cost def initialize(apiUsageRecords = [], cost = nil) @apiUsageRecords = apiUsageRecords @cost = cost end end # AuthenticationError.Reason class AuthenticationErrorReason < ::String AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED") CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID") CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED") CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE") CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID") CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED") CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND") LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID") LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED") NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER") OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED") OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED") OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID") OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID") OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED") USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID") end # AuthorizationError.Reason class AuthorizationErrorReason < ::String EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED") NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER") NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND") UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE") USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION") USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED") end # ClientTermsError.Reason class ClientTermsErrorReason < ::String INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED") end # EntityNotFound.Reason class EntityNotFoundReason < ::String INVALID_ID = EntityNotFoundReason.new("INVALID_ID") end # InternalApiError.Reason class InternalApiErrorReason < ::String UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR") end # NotEmptyError.Reason class NotEmptyErrorReason < ::String EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST") end # NotWhitelistedError.Reason class NotWhitelistedErrorReason < ::String CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API") end # NullError.Reason class NullErrorReason < ::String NULL_CONTENT = NullErrorReason.new("NULL_CONTENT") end # Operator class Operator < ::String ADD = Operator.new("ADD") REMOVE = Operator.new("REMOVE") SET = Operator.new("SET") end # OperatorError.Reason class OperatorErrorReason < ::String OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED") end # QuotaCheckError.Reason class QuotaCheckErrorReason < ::String ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT") ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE") ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE") INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP") INCOMPLETE_SIGNUP_APP_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_MISSING") INCOMPLETE_SIGNUP_APP_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_PENDING") INCOMPLETE_SIGNUP_APP_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_REJECTED") INCOMPLETE_SIGNUP_LATEST_NETAPI_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_NETAPI_TNC_NOT_AGREED") INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO") INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING") INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING") INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED") INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER") MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED") QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED") end # QuotaExceededError.Reason class QuotaExceededErrorReason < ::String QUOTA_EXCEEDED = QuotaExceededErrorReason.new("QUOTA_EXCEEDED") end # ReadOnlyError.Reason class ReadOnlyErrorReason < ::String READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY") end # RequiredError.Reason class RequiredErrorReason < ::String REQUIRED = RequiredErrorReason.new("REQUIRED") end # SizeLimitError.Reason class SizeLimitErrorReason < ::String REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED") RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED") end # ApiUsageError.Reason class ApiUsageErrorReason < ::String INVALID_CLIENT_EMAIL = ApiUsageErrorReason.new("INVALID_CLIENT_EMAIL") INVALID_DATE_RANGE = ApiUsageErrorReason.new("INVALID_DATE_RANGE") METHOD_NAME_NOT_SPECIFIED = ApiUsageErrorReason.new("METHOD_NAME_NOT_SPECIFIED") OPERATOR_NOT_SPECIFIED = ApiUsageErrorReason.new("OPERATOR_NOT_SPECIFIED") SERVICE_NAME_NOT_SPECIFIED = ApiUsageErrorReason.new("SERVICE_NAME_NOT_SPECIFIED") end # ApiUsageType class ApiUsageType < ::String FREE_USAGE_API_UNITS_PER_MONTH = ApiUsageType.new("FREE_USAGE_API_UNITS_PER_MONTH") METHOD_COST = ApiUsageType.new("METHOD_COST") OPERATION_COUNT = ApiUsageType.new("OPERATION_COUNT") TOTAL_USAGE_API_UNITS_PER_MONTH = ApiUsageType.new("TOTAL_USAGE_API_UNITS_PER_MONTH") UNIT_COUNT = ApiUsageType.new("UNIT_COUNT") UNIT_COUNT_FOR_CLIENTS = ApiUsageType.new("UNIT_COUNT_FOR_CLIENTS") end # get # - selector - AdWords::V200909::InfoService::InfoSelector class Get #:nodoc: all attr_accessor :selector def initialize(selector = nil) @selector = selector end end # getResponse # - rval - AdWords::V200909::InfoService::ApiUsageInfo class GetResponse #:nodoc: all attr_accessor :rval def initialize(rval = nil) @rval = rval end end end; end; end