Updated advertiser code