Make AdPacks code async