The better way is to layout your view with the ad frame showing. Have a constraint between the TableView and the adView and then another between the adView and the bottom layout guide. Set an outlet to the bottom constraint.
Then in your code, instead of adjusting frames, set the constant property of the bottom constraint appropriately. Set it to 0 to show the ad, set it to -50 (or your ad fame height) to hide.
[UIView animateWithDuration:1 animations:^{
self.adViewConstraint.constant = 0;
self.adView.hidden = NO;
}
[self.view layoutIfNeeded];
Now your tableView should automatically size itself as the adView is hidden or shown.