Updated AdPacks code.