publishAdvertisement doesn't match interface