ad ratings to api