Round 4 Extended

changes SQL query in createAdvertisement service.