lib/adwords4r/v200906/CampaignServiceMappingRegistry.rb in adwords4r-16.0.0 vs lib/adwords4r/v200906/CampaignServiceMappingRegistry.rb in adwords4r-17.0.0

- old
+ new

@@ -7,10 +7,22 @@ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new NsV200906 = "https://adwords.google.com/api/adwords/cm/v200906" EncodedRegistry.register( + :class => AdWords::V200906::CampaignService::AuthenticationError, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::CampaignService::AuthenticationErrorReason", [0, 1]] + ] + ) + + EncodedRegistry.register( :class => AdWords::V200906::CampaignService::AuthorizationError, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -190,22 +202,10 @@ ["reason", "AdWords::V200906::CampaignService::InternalApiErrorReason", [0, 1]] ] ) EncodedRegistry.register( - :class => AdWords::V200906::CampaignService::LoasAuthenticationError, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError"), - :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), - :schema_element => [ - ["fieldPath", "SOAP::SOAPString", [0, 1]], - ["trigger", "SOAP::SOAPString", [0, 1]], - ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], - ["reason", "AdWords::V200906::CampaignService::LoasAuthenticationErrorReason", [0, 1]] - ] - ) - - EncodedRegistry.register( :class => AdWords::V200906::CampaignService::LongValue, :schema_type => XSD::QName.new(NsV200906, "LongValue"), :schema_basetype => XSD::QName.new(NsV200906, "NumberValue"), :schema_element => [ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ComparableValue.Type")], [0, 1]], @@ -346,10 +346,22 @@ ["limit", "SOAP::SOAPInt", [0, 1]] ] ) EncodedRegistry.register( + :class => AdWords::V200906::CampaignService::QuotaExceededError, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::CampaignService::QuotaExceededErrorReason", [0, 1]] + ] + ) + + EncodedRegistry.register( :class => AdWords::V200906::CampaignService::C_RangeError, :schema_type => XSD::QName.new(NsV200906, "RangeError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -433,11 +445,12 @@ EncodedRegistry.register( :class => AdWords::V200906::CampaignService::StatsSelector, :schema_type => XSD::QName.new(NsV200906, "StatsSelector"), :schema_element => [ - ["dateRange", "AdWords::V200906::CampaignService::DateRange", [0, 1]] + ["dateRange", "AdWords::V200906::CampaignService::DateRange", [0, 1]], + ["statsSelector_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "StatsSelector.Type")], [0, 1]] ] ) EncodedRegistry.register( :class => AdWords::V200906::CampaignService::StringLengthError, @@ -644,10 +657,15 @@ :class => AdWords::V200906::CampaignService::AdServingOptimizationStatus, :schema_type => XSD::QName.new(NsV200906, "AdServingOptimizationStatus") ) EncodedRegistry.register( + :class => AdWords::V200906::CampaignService::AuthenticationErrorReason, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError.Reason") + ) + + EncodedRegistry.register( :class => AdWords::V200906::CampaignService::AuthorizationErrorReason, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError.Reason") ) EncodedRegistry.register( @@ -724,15 +742,10 @@ :class => AdWords::V200906::CampaignService::Level, :schema_type => XSD::QName.new(NsV200906, "Level") ) EncodedRegistry.register( - :class => AdWords::V200906::CampaignService::LoasAuthenticationErrorReason, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError.Reason") - ) - - EncodedRegistry.register( :class => AdWords::V200906::CampaignService::NewEntityCreationErrorReason, :schema_type => XSD::QName.new(NsV200906, "NewEntityCreationError.Reason") ) EncodedRegistry.register( @@ -779,10 +792,15 @@ :class => AdWords::V200906::CampaignService::QuotaErrorReason, :schema_type => XSD::QName.new(NsV200906, "QuotaError.Reason") ) EncodedRegistry.register( + :class => AdWords::V200906::CampaignService::QuotaExceededErrorReason, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError.Reason") + ) + + EncodedRegistry.register( :class => AdWords::V200906::CampaignService::RangeErrorReason, :schema_type => XSD::QName.new(NsV200906, "RangeError.Reason") ) EncodedRegistry.register( @@ -824,10 +842,22 @@ :class => AdWords::V200906::CampaignService::TimeUnit, :schema_type => XSD::QName.new(NsV200906, "TimeUnit") ) LiteralRegistry.register( + :class => AdWords::V200906::CampaignService::AuthenticationError, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::CampaignService::AuthenticationErrorReason", [0, 1]] + ] + ) + + LiteralRegistry.register( :class => AdWords::V200906::CampaignService::AuthorizationError, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -1007,22 +1037,10 @@ ["reason", "AdWords::V200906::CampaignService::InternalApiErrorReason", [0, 1]] ] ) LiteralRegistry.register( - :class => AdWords::V200906::CampaignService::LoasAuthenticationError, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError"), - :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), - :schema_element => [ - ["fieldPath", "SOAP::SOAPString", [0, 1]], - ["trigger", "SOAP::SOAPString", [0, 1]], - ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], - ["reason", "AdWords::V200906::CampaignService::LoasAuthenticationErrorReason", [0, 1]] - ] - ) - - LiteralRegistry.register( :class => AdWords::V200906::CampaignService::LongValue, :schema_type => XSD::QName.new(NsV200906, "LongValue"), :schema_basetype => XSD::QName.new(NsV200906, "NumberValue"), :schema_element => [ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ComparableValue.Type")], [0, 1]], @@ -1163,10 +1181,22 @@ ["limit", "SOAP::SOAPInt", [0, 1]] ] ) LiteralRegistry.register( + :class => AdWords::V200906::CampaignService::QuotaExceededError, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError"), + :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200906::CampaignService::QuotaExceededErrorReason", [0, 1]] + ] + ) + + LiteralRegistry.register( :class => AdWords::V200906::CampaignService::C_RangeError, :schema_type => XSD::QName.new(NsV200906, "RangeError"), :schema_basetype => XSD::QName.new(NsV200906, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -1250,11 +1280,12 @@ LiteralRegistry.register( :class => AdWords::V200906::CampaignService::StatsSelector, :schema_type => XSD::QName.new(NsV200906, "StatsSelector"), :schema_element => [ - ["dateRange", "AdWords::V200906::CampaignService::DateRange", [0, 1]] + ["dateRange", "AdWords::V200906::CampaignService::DateRange", [0, 1]], + ["statsSelector_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200906, "StatsSelector.Type")], [0, 1]] ] ) LiteralRegistry.register( :class => AdWords::V200906::CampaignService::StringLengthError, @@ -1461,10 +1492,15 @@ :class => AdWords::V200906::CampaignService::AdServingOptimizationStatus, :schema_type => XSD::QName.new(NsV200906, "AdServingOptimizationStatus") ) LiteralRegistry.register( + :class => AdWords::V200906::CampaignService::AuthenticationErrorReason, + :schema_type => XSD::QName.new(NsV200906, "AuthenticationError.Reason") + ) + + LiteralRegistry.register( :class => AdWords::V200906::CampaignService::AuthorizationErrorReason, :schema_type => XSD::QName.new(NsV200906, "AuthorizationError.Reason") ) LiteralRegistry.register( @@ -1541,15 +1577,10 @@ :class => AdWords::V200906::CampaignService::Level, :schema_type => XSD::QName.new(NsV200906, "Level") ) LiteralRegistry.register( - :class => AdWords::V200906::CampaignService::LoasAuthenticationErrorReason, - :schema_type => XSD::QName.new(NsV200906, "LoasAuthenticationError.Reason") - ) - - LiteralRegistry.register( :class => AdWords::V200906::CampaignService::NewEntityCreationErrorReason, :schema_type => XSD::QName.new(NsV200906, "NewEntityCreationError.Reason") ) LiteralRegistry.register( @@ -1593,9 +1624,14 @@ ) LiteralRegistry.register( :class => AdWords::V200906::CampaignService::QuotaErrorReason, :schema_type => XSD::QName.new(NsV200906, "QuotaError.Reason") + ) + + LiteralRegistry.register( + :class => AdWords::V200906::CampaignService::QuotaExceededErrorReason, + :schema_type => XSD::QName.new(NsV200906, "QuotaExceededError.Reason") ) LiteralRegistry.register( :class => AdWords::V200906::CampaignService::RangeErrorReason, :schema_type => XSD::QName.new(NsV200906, "RangeError.Reason")