def ad_to_hash(ad, keys)
				hash = ad.to_hash(keys)
				hash["@xsi:type"] = self.client_proxy.class::NAMESPACE.to_s + ":" + ad.class.to_s.demodulize
				return hash
			end
def ad_to_hash(ad, keys)
				hash = ad.to_hash(keys)
				hash["@xsi:type"] = self.client_proxy.class::NAMESPACE.to_s + ":" + ad.class.to_s.demodulize
				return hash
			end
Private : Helper method to correctly assemble the Ad XML for SOAP requests

 Author:: jlopezn@neonline.cl

 ad - BingAdsApi::Ad subclass instance

 Examples
   ad_to_hash(BingAdsApi::Ad, :camelcase)
   # => Hash

 Returns:: The same hash that ad.to_hash returns plus the needed key for the Ad Type