conversions for ProtocolAds
tests for ProtocolAds