cant change target.cs file

I made Admob settings suitable for documentation, but I encountered such an error.

LogAdvertising: Warning: Failed to find Advertising provider named AndroidAdvertising

project is a bp project and I saw something like this in the documentation and I am trying to add the following code to the target.cs file, but I noticed that it is deleted from the file whenever I build to Android. What should I do?

The code I tried to add is
if (Target.Platform == UnrealTargetPlatform.Android)
{
ExtraModuleNames.Add(“OnlineSubsystemGooglePlay”);
ExtraModuleNames.Add(“OnlineSubsystem”);
ExtraModuleNames.Add(“AndroidAdvertising”);
}

solution