update ad returns adId
split to api and mapper