Tips and Tricks

So now that you’ve got Blargo installed, what are some extra features you might want to take advantage of? Here’s a list:

In-Story Ads

In-story ads are a great advertising option that most publishers have difficulty with, because most themes don’t support them out of the box Luckily, Blargo has a handy WordPress short-code built in. If you use the [ad] shortcode, Blargo will render the “In Story” ad zone that was set up for you when you first installed Blargo. Here’s an example of a 468×60 being rendered in the middle of this article:

Cool, right? You can align the ad to the left, right, and center by using the standard WordPress post editor.

Multiple Ads Per Zone

You may be under the impression that an ad “zone” can only serve a single ad on any page load. The truth is that an ad zone can serve any number of advertisements simultaneously. The trick in setting this up is:

  1. Log into the Broadstreet dashboard
  2. Click “Zones” in the left-side menu
  3. Click the zone that you would like to serve multiple ads in. A natural candidate for this type of setup would be a sidebar zone, like “Sidebar Zone #1″ (or 2 – 5).
  4. When you click into the zone, you’ll see an “Edit Zone” link. Click on that.
  5. The second field you’ll see on the “Edit” page is an advertisement count. That’s the field that controls the number of ads that appear. Set it to the number of ads you’d like to see appear on that page, and click “Update Zone.”

Secondary tip: By default, the configuration will cause ads to stack on top of each other with no spacing in-between. To make this setup cleaner visually, click back into the Edit page, and scroll to the style field at the bottom. You’ll want to use the value below, and click “update zone” again.

display: inline-block; padding-bottom: 10px;

You can always adjust the padding value to your preference. If you know CSS, you can add additional styles too!

Ads In a Specific Category

With Blargo, you can target ads to a specific category, giving you much greater power in slicing up and packaging ad zones for users. To get it working, you’ll need to do a few things to get it working right.

  1. Enable Permalinks with Category Names

    You can do this by going to the WordPress admin area, and clicking Settings -> Permalinks. You’ll want to use a “Custom Structure” with includes the category name like:


  2. Make Sure You Are Using the “Ad Widget” to Display Ads In Your Sidebar

    Just like we did on Step 4 in the Installation Guide

  3. Be On the Broadstreet “Authority” Tier

    This feature is currently only available to users on that tier. You can change the tier your network is on in the Broadstreet dashboard by clicking on the “Edit Network” link in the upper right side.

Once that’s done, create a new advertiser, campaign, and target that campaign to a zone on the site. At first, the ad will have run-of-site and appear wherever the ad zone appears. But since you want the ad to appear on a specific section, we’ll need to take it one step further.

Click into the campaign you jst created, and click “Edit Campaign” on the top right. You’ll see an area where you can enter keywords:

Screen Shot 2014-03-03 at 4.49.57 PM

Important: Keywords in Blargo correspond to the words between the slashes in the page url.

For example, if you had a category named “Restaurants”, stories in that category would have a URL similar to: /restaurants/article-title-here

In this case, that page has two keywords: ‘restaurants’ and ‘article-title-here’.

Targeting the entire restaurants category would be as simple as entering the keyword ‘restaurants’ on the campaign page:

Screen Shot 2014-03-03 at 4.50.34 PM


You can comma-separate keywords so an ad will appear in more than one category. You will want to check-off the “Keyword Exclusivity” box to make sure the campaign will only appear in categories with those keywords.

At this point, you can save the campaign. Your ad should only appear on the category pages you specified.

You may have noticed that you could also use the article slug in the URL as a keyword. In case you were wondering, yes, you can also target article pages individually with this method. This might be handy in combination with the “In Story Ads” tip at the top of this article.

One last note. Although it’s transparent to you, the ad code in blargo is parsing the URL and sending the keywords in between the slashes automatically. That’s how the Broadstreet adserver knows what to serve!