How to check advertisements are coming or not?

Hi all,

I am using appium to test a news application. On its home page, news come in the form of list and some positions are defined for advertisements (like after first three news, add will come).

I wanted to ask, how to test in the application whether the advertisements are coming at defined positions or not and how to check for banner adds(that comes at the bottom of the screen).
Using JAVA
Please guide, it will be a great help.

Thanks in advance.

Please help in resolving this…