I would like a php script that gives me the number of paid sites for a certain keyword search.
So for example, if I search for “cars for sale” it gives me 10 organic listings in the first page, and let’s say 3 paid adds (URL, Description and Title), what I want is only the number of paid sites, in this case 3.
This is for an application that evaluates the competition from the money injected on paid advertisement.
I would also like it to be able to include a proxy IP that is not my own, and can be able to do searches in Portuguese using the following search engines: [url removed, login to view], [url removed, login to view] and google.com.
I would like the result in the form of a function that can be called from another file / program.