Programming for Internet Marketing

I’ve been doing a lot of Python programming related to data analytics lately, and I noticed right off the bat that a lot of the skills could apply to internet marketing. For example, I was contact by an SEO company the other day mentioning how Python could be coupled with Google APIs to get excellent data and increase efficiency within the business. So I checked it out.

One of the big things that really stuck out to me was the Google AdWords API. A lot of digital marketing companies use pay per click advertising, and with the AdWords API you can automate a lot of the features, such as keyword analysis and optimization of spending.

If you’re interested in working with Python and the AdWords API, here’s a quick primer on the Python lib developed to work with it.

Now with the technicals set aside for the moment, I want to draw attention to the real power internet marketers would have if they understood programming. Think of all the APIs that could be used to create amazing SaaS products. Most of the products that many IM pros use are just pulling data from Google. Check out SEMRush, Moz, Majestic, and any keyword tool out there. They all pull data from the big G.

I’m not saying you should go build one of these websites, but there I am saying you should learn a language, like Python, that lets you automate a lot of mundane tasks. Maybe if it solves a big enough problem you can go and get it fully developed into a web app if you want, but that’s a post for another day :D.

The SEO company mentioned above contacted me about using the AdWords API specifically to get keyword volumes. Having that data is essential for finding profitable, low competition keywords, and in a marketers hands could generate massive income for themselves or their clients.

If you’re a marketer and at all interested in this concept of programming to streamline your business, you can do one of two things.

  1. Learn the language (Python is easy) by checking the free courses from Coursera, Edx, or by paying for a course on Udemy. Look for something that builds a good foundation of understanding. Also, look to find something you’re truly interested in that you want to pursue while you’re learning. For example, maybe you want to automate a file backup on an external drive. Learn how to create a really simple Python app that scans a designated folder on your hard drive and auto updates the USB backup drive file when new changes have been made. This will teach you how to run automated tasks on Windows or Mac, which is an essential skill to make things work for you without having to keep manually re-running them.
  2. Learn how to hire good developers. I don’t really like this method because it takes you out of the process. When you’re actually doing the work you get little insights that your dev may not transfer over to you. Regardless, hiring is a skill that you’ll need to know to scale up anything in your life, so you might as well do it now.

Both ways are good, and I think they should both be done eventually. If you have an agency, I’d probably suggest the second way if you have an idea and some money to use. If you’re just a guy looking to start out, feel free to take some spare time and learn programming in Python while you’re getting your IM skills sorted out.

How To Learn Python And Where To Find Amazing Python Tutorials

With Python you can do a lot of really neat things, like web scraping, working with APIs, and automating all sorts of stuff.

So for someone that wants to learn all about Python, where do they go?

Well, as it turns out, there’s a ton of resources online that teach Python. There’s a great deal out there that’s even totally free. itself actually has a whole series of tutorials that take you from beginner to advanced!

I’d recommend sticking with Python 3.5 when you’re starting out. Python 2 will die soon and everything will eventually be ported to 3, so might as well start now.

YouTube is an incredible resource for learning programming languages. There’s this video here titled “Zero to Hero with Python” that is several hours of lessons from A-Z:

After you’ve accomplished that, you’re probably going to be really well-versed in Python. Now the key is to hone your skills and stay up-to-date with libraries.

Libraries are the key to becoming a fast and efficient Python programmer. Never try to reinvent the wheel, so always make sure you search to see if someone has already put in the hard work and created an easy to use library. One such example is when I was working with the Amazon API. As it turns out, someone had created a library that quickly and easily connects to the API with your credentials. There was no need to hash and encrypt my URLs. It was great!

One great resource for Pythoniacs to stay up-to-date with all things Python is PyBloggers, where you’ll find all sorts of great python tutorials . There you’ll find incredibly knowledgeable blog writers giving out free information. Each blogger is like a python tutor, and each post a mini course on how to learn all sorts of new things with the language.

Staying up-to-date is one thing, but you also gotta pick a niche you’re interested in learning about. Maybe you like analytics, or image manipulation, webscraping, or automating stuff. There’s tons of great books on Amazon that teach various topics. You should find something inspiring, work through, know it, and apply it.

Can I make money with this skill? Of course you can. Python is a highly sought skill when looking at Linkedin programming jobs. In fact, it’s one of the most highly paid languages. So what you should do is this:

  • First, learn Python using YouTube or other free online courses (like those from Coursera)
  • Second, stay up-to-date with the Python blogosphere from sources like PyBloggers
  • Third, build up a portfolio by taking on freelance jobs from places like UpWork or Freelancer
  • Fourth, start working on open source projects and get your GitHub active
  • Fifth, get that resume done and start applying for a position!

Even if you don’t want to get a job programming, Python is still a great tool to learn. I can’t even count the number of times I have used it for some menial tasks (like renaming a ton of files in bulk).

There’s 1001 use cases for this language, it’s easy learn, it’s versatile, and it’s fun. So hop on YouTube and start learning some Python!