Best way to close ads

TonyCesar

New member
Hi all! I was wondering about the best way to close ads. I have an app which repeatedly open 3 ads with X or skip button in different position each time. So is difficult to automate click on that. Is there an action able to close an ad? I have tried also actions with text "X/close/skip" but nothing happens...
 

Dm114

Well-known member
Hi all! I was wondering about the best way to close ads. I have an app which repeatedly open 3 ads with X or skip button in different position each time. So is difficult to automate click on that. Is there an action able to close an ad? I have tried also actions with text "X/close/skip" but nothing happens...
These "X/Skip buttons" are generally not reachable by text recognition. As they are generally randomly located in one of the 4 corners of the screen, you could try to generate 4 UI interactions in the 4 corners, after getting the exact 4 (x,y) coordinates.
 

TonyCesar

New member
Thanks for the reply! :) Yes I have thought also about that. The problem is that, if the first interaction cannot reach correctly the current closing button, it opens an ad link. Maybe I can resolve that by adding the "go back action" (in case is correct going back I think do not produce anything) or something similar...
 

lara

New member
I'm in the same situation, this would be solved if the macrodroid developers put a trigger by ID because every item in the app has an ID
 

MacroDroidDev

Administrator
Staff member
I am pretty confident that the companies who display these adverts are doing lots of things to try and block automated closing tools, so that's why it's a difficult problem to solve.

I'm afraid I can't think of any universal solution that won't risk opening links etc. and I guess that is what they rely on.
 

lara

New member
Currently, what I am using to close, the advertisements
Screenshot_2022.png
 

Attachments

  • Screenshot_2022.09.05_18.24.22.177.png
    Screenshot_2022.09.05_18.24.22.177.png
    66.4 KB · Views: 64
Last edited:

Dm114

Well-known member
I am pretty confident that the companies who display these adverts are doing lots of things to try and block automated closing tools, so that's why it's a difficult problem to solve.

I'm afraid I can't think of any universal solution that won't risk opening links etc. and I guess that is what they rely on.
I'm sure you are 100% right: it's one of their (compagnies') major mean to get money to finance their "free" apps/games.
 

Xavisera

New member
Hi all! I was wondering about the best way to close ads. I have an app which repeatedly open 3 ads with X or skip button in different position each time. So is difficult to automate click on that. Is there an action able to close an ad? I have tried also actions with text "X/close/skip" but nothing happens...i use

I used android studio because macrodroid doesn't get all ids With the android studio option run express test
Try to use private dns. this is the best way to skip almost all ads in your phone
 

nadimsahhar

New member
A bit long reply but or works for me

Best way I found is a set of periodic actions and rectification when pressing the button in wrong place or time
- assume ad is running and when
you press X early or in a wrong place
One of the following happens
The screen rotation changes from horizontal to vertical
Or a browser app is launched, or playstore launched
The needed fix is simply pressing back once or twice to get back to the add or the app

So I simply create macro to touch all possible ad close points in sequence
If the ad is on good, ad closed
Otherwise, the macro clicks in wrong place one of the above 3 actions happen (browser app or playstore launched, or screen rotation change) macro druid presses back

Based on ur phone and app you might need
1) to add one or 2 conditions more that trigger the "back" action
2) when u click in the app and no ad on, it can take u to some unwanted place
It could cost u some more clicks to return back
I use clickmate app for the clicks and macdroid for rectification
 
Top