Added readByHash logic in AdImageBuilder class.