Unreal keeps trying to use an old version of interstitial ads

Hey, Im trying to load a banner ad but When unreal builds. It keeps trying to use old interstitial ads in game activity that I think are linked to the pre 20.0.0 changes.

Summary

LogPlayLevel: Error: UAT: Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:255: error: cannot find symbol
LogPlayLevel: UAT: import com.google.android.gms.ads.InterstitialAd;
LogPlayLevel: UAT: ^
LogPlayLevel: UAT: symbol: class InterstitialAd
LogPlayLevel: UAT: location: package com.google.android.gms.ads
LogPlayLevel: Error: UAT: Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:1187: error: cannot find symbol
LogPlayLevel: UAT: private InterstitialAd interstitialAd;
LogPlayLevel: UAT: ^
LogPlayLevel: UAT: symbol: class InterstitialAd
LogPlayLevel: UAT: location: class GameActivity
LogPlayLevel: UAT: Note: Some input files use or override a deprecated API.
LogPlayLevel: UAT: Note: Recompile with -Xlint:deprecation for details.
LogPlayLevel: UAT: 2 errors
LogPlayLevel: UAT:
LogPlayLevel: UAT: FAILURE: Build failed with an exception.

Anyone have any idea where to look for where unreal is trying to load this from?

Is it a setting in project settings somewhere that Ive ticked?

This is what I got back from claude
I see what’s happening now. The error persists even after updating the UPL file because there are additional references to InterstitialAd in the generated GameActivity.java file. This suggests there’s another source adding this code to your project.