Error Occured after adding ads component.

When I implement banner AD or Interstitial Ads it does not work. An error message shown with text “Flags.initialize() was not called!”. How can I solve this problem? Anyone please help me.
!

Screenshot 2025-03-26 084158|516x308