Monday, February 15, 2016

Adding Google AdSense ads

I added google ads to my blog today.  This was very easy.  I already had Google AdSense setup on my account so it just took a minute to link the account and select a layout that works.

I also added ads to my main site mattdyer.us.  That site is setup as an AngularJS 2 site.  I am just getting started setting it up.  I was able to just put the ads in my main html file though so I didn't have to worry right now about whether they would work well with an angular site.  Adding those ads was also pretty easy.  I spent most of the time just playing with a layout to get a nice side bar and a main area for content.  I also did some reading about routing in Angular 2.  Hopefully now I can start adding some other pages to my site.

No comments:

Post a Comment

Coding

  I'm not sure where I heard this, and it wasn't worded this way, but it helps to think about coding this way. Basically, any progra...