fixed function name getAdRemainingTime to follow spec
removed copyright not needed