Multiple Game Version handling.

Let’s say i have a game which needs to be purchased and another one which has Unity Ads but is free, but it’s the same game.

When i need to make changes and just have one Project i need to delete all ad stuff in the purchase version, change bundle identifier and visa versa. Is there a nice way to handle something like this?

Use a static bool to check if it is the ad version or not.
Then where needed check the static variable and enable/disable the parts to do with the ads.

Not a ideal way to handle it but Better than having two separate projects XD