lib/adwords4r/v200909/GeoLocationServiceMappingRegistry.rb in adwords4r-18.0.0 vs lib/adwords4r/v200909/GeoLocationServiceMappingRegistry.rb in adwords4r-19.0.0

- old
+ new

@@ -170,10 +170,22 @@ ["reason", "AdWords::V200909::GeoLocationService::QuotaExceededErrorReason", [0, 1]] ] ) EncodedRegistry.register( + :class => AdWords::V200909::GeoLocationService::C_RangeError, + :schema_type => XSD::QName.new(NsV200909, "RangeError"), + :schema_basetype => XSD::QName.new(NsV200909, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200909::GeoLocationService::RangeErrorReason", [0, 1]] + ] + ) + + EncodedRegistry.register( :class => AdWords::V200909::GeoLocationService::RegionCodeError, :schema_type => XSD::QName.new(NsV200909, "RegionCodeError"), :schema_basetype => XSD::QName.new(NsV200909, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -324,10 +336,15 @@ :class => AdWords::V200909::GeoLocationService::QuotaExceededErrorReason, :schema_type => XSD::QName.new(NsV200909, "QuotaExceededError.Reason") ) EncodedRegistry.register( + :class => AdWords::V200909::GeoLocationService::RangeErrorReason, + :schema_type => XSD::QName.new(NsV200909, "RangeError.Reason") + ) + + EncodedRegistry.register( :class => AdWords::V200909::GeoLocationService::RegionCodeErrorReason, :schema_type => XSD::QName.new(NsV200909, "RegionCodeError.Reason") ) EncodedRegistry.register( @@ -507,10 +524,22 @@ ["reason", "AdWords::V200909::GeoLocationService::QuotaExceededErrorReason", [0, 1]] ] ) LiteralRegistry.register( + :class => AdWords::V200909::GeoLocationService::C_RangeError, + :schema_type => XSD::QName.new(NsV200909, "RangeError"), + :schema_basetype => XSD::QName.new(NsV200909, "ApiError"), + :schema_element => [ + ["fieldPath", "SOAP::SOAPString", [0, 1]], + ["trigger", "SOAP::SOAPString", [0, 1]], + ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApiError.Type")], [0, 1]], + ["reason", "AdWords::V200909::GeoLocationService::RangeErrorReason", [0, 1]] + ] + ) + + LiteralRegistry.register( :class => AdWords::V200909::GeoLocationService::RegionCodeError, :schema_type => XSD::QName.new(NsV200909, "RegionCodeError"), :schema_basetype => XSD::QName.new(NsV200909, "ApiError"), :schema_element => [ ["fieldPath", "SOAP::SOAPString", [0, 1]], @@ -658,9 +687,14 @@ ) LiteralRegistry.register( :class => AdWords::V200909::GeoLocationService::QuotaExceededErrorReason, :schema_type => XSD::QName.new(NsV200909, "QuotaExceededError.Reason") + ) + + LiteralRegistry.register( + :class => AdWords::V200909::GeoLocationService::RangeErrorReason, + :schema_type => XSD::QName.new(NsV200909, "RangeError.Reason") ) LiteralRegistry.register( :class => AdWords::V200909::GeoLocationService::RegionCodeErrorReason, :schema_type => XSD::QName.new(NsV200909, "RegionCodeError.Reason")