Round 4 Extended 2

SQL query changed in createAdvertisement service.