Automation program using brave, Native Adblock not working

I’m developing an automation software using Selenium with java, and i already did the same software using Chrome with an additional extension, and i just “start” the extension, using the path to the extension folder. The Brave Browser has a native adBlocker, but when i use the brave with automation software the adBlock doesn’t work automatic, and i couldn’t find the folder to initialize the adBlock. Could someone help me ?