Handled ads programmatically rather than using a layout for more control and less nagging from Android Studio about a missing class.