Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.
You can use the Appium Inspector to find the 'Close' button. This should give you an XPATH to work with. If it says 'Element Not Interact-able' in the properties pane then the trick I use is to get the Size and Location of the element to find the center and then