init ad with http dictionary