Archive for the ‘Google’ Category

Adsense is an Auction, Where Conversion Ups Your Bid for Free

Friday, January 18th, 2008

In the ultimate fair play move, Google makes it so that you can compete with large advertisers on some scale at least. A highly competitive keyword can have $5.00 (or even more) cost per click, but can you get a return on that kind of investment? If it takes say 50 clicks to get a sale, you paid $250.00 for that single sale. Depending on what product you’re selling that may not be worth it at all. That ROI number depends completely on your conversion rate, and your product price, both long and short term. The good news: raising your conversion rate can now make your advertising less expensive.

I saw this first hand while advertising my hosting services. When I first started running Adsense ads, I would start of at $0.25 per click limit and then within a day to a week it would be up to $1.00 or $5.00 minimum bids. So I’d stop running and try something else and come back and do it again, doing the same thing. (Kind of makes you think of that insanity definition.)

Then I observed that if I just redesigned (reworded) the ad, or changed the url that it was linking to and came back to it a day or two later the ad was running again. Google was raising my prices because the ad was not performing well. I assume they measure this by looking at bounces. Meaning if someone clicks my ad and comes back to Google seconds later, it means the ad and the page that it clicked through to were not relevant to what I was advertising nor what the user was looking for.

Not only does this level the playing field on a NATIONAL advertising campaign, but it shows you almost immediately whether your ad is working! Google is telling you, your ad isn’t working, we’ll still deliver it for you, you’ll just have to pay more, your choice.  This is something no other advertising media is going to do for you! Google, in there outstanding vision, realizes that end users need to have a good experience and rewards advertisers who provide it. So when you see, “Your ad has been deactivated unless you raise your minimum to bid to $5.00″. Take that has a blessing, that you were notified your advertising can be better.

How To : Google Base XML Feed Auto-Submission

Monday, December 17th, 2007

I had a mildly tough time with getting my feeds sent to Google Base on a nightly schedule without doing it manually. I went through trying to use the Zend API tool, and just kept getting stuck. I then realized it was far easier to create my feed and FTP it to Google using crontab. Like anything else, if I had a problem, I’m sure someone else did as well, so I of course want to share my information.

  • Step 1: Setup your feed according to Google Base specifications. Use this 5 step wizard for your feed-type.
  • Step 2: Register for a Google Base account if you don’t have one already.
  • Step 3: Upload and test your feed. Wait up to 24 hours for processing the feed. Then check for errors, and fix if you find any.
  • Step 4: Creat an FTP account with Google by clicking “sign up” in the lower right portion of the Account Management page of Google Base. This link may work for you:
  • Step 5: Create a PHP file that FTP’s your feed to Google. Code is below.
  • Step 6: Create a cronjob to run that PHP file on a regular schedule. I used the following cronjob to make it run at 1:30 AM everyday.

    30 01 * * * /usr/local/bin/curl http://www.mysite.com/googfeed/ftp.php

PHP Code for FTP’ing to Google

$host = "uploads.google.com";
$ftp_user_name = "INSERT YOUR GOOGLE FTP USERNAME"; //this does not equal your Google Account username.
$ftp_user_pass = "INSERT YOUR GOOGLE FTP PASSWORD"; //again not equal to Google Account password.
$remote_file = "google-base.xml"; //Change this to match the exact name of the file you setup in Google Base as your upload file.
$file = "/usr/home/htdocs/feed/google-base.xml"; // This need to be the full path to the filey ou want to send to google.

// setup $host and $file variables for your setup before here...

$hostip = gethostbyname($host);
$conn_id = ftp_connect($hostip);

// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);

// IMPORTANT!!! turn passive mode on
ftp_pasv ( $conn_id, true );

if ((!$conn_id) || (!$login_result)) {
echo "FTP connection has failed!";
echo "Attempted to connect to $host for user $ftp_user_name";
die;
} else {
echo "Connected to $host, for user $ftp_user_name
";
echo "Host IP is $hostip
";

// upload a file
if (ftp_put($conn_id, $remote_file, $file, FTP_BINARY)) {
echo "successfully uploaded $file
";
} else {
echo "There was a problem while uploading $file
";
}

// close the connection
ftp_close($conn_id);
}
?>

Free Consultation

[X]