Priyadarshni
asked on
Use PHP to scrape the google Adwords ads
Hello,
I am developing a website, In which i have to scrape the google Adwords ads in PHP and For each ad, get the ad title, ad text, visible URL, and destination URL and For each destination URL, get all the outgoing links
And i am clueless about this. So please advice.
Thanks in advance,
Priya
I am developing a website, In which i have to scrape the google Adwords ads in PHP and For each ad, get the ad title, ad text, visible URL, and destination URL and For each destination URL, get all the outgoing links
And i am clueless about this. So please advice.
Thanks in advance,
Priya
ASKER
Thank you for your reply.
Er... I might be asking a silly question, But How do I call that script? Where is it??
I am sorry, But this concept is new to me. So please help me out.
Er... I might be asking a silly question, But How do I call that script? Where is it??
I am sorry, But this concept is new to me. So please help me out.
The script is included inline in the web page (by you). You put it further down than the google advert and it will then run after it.
ASKER
Can i get some documentation or an example for this?
I still dont know what script i shd include?
I still dont know what script i shd include?
ASKER
Hello Anybody there???
Help me out please...
Help me out please...
Well you have not said what you want to do so it is pretty hard to write a script for you
ASKER
I need a script to scrape the google Adwords ads in PHP for different keywords daily. Or atleast an idea how to do it...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I used the same method
If you call the same script again you will get different links so that doesn't work.
You'll need to call the script and then have the code to read the elements back in using DOM lookups.
What good would this do ?
If you are planning on altering the links in anyway or stopping some companies (competitors maybe) popping up on your site you will very quickly be banned from the google ads program - they do checks.
If it is just stopping your competitors there is an option for this in your admin pages.