Tutorial part 4. Campaign Template

Creating a Ad group template

Setting up a Real Time Ads campaign for the first time can be demanding, there are a lot of options to take into consideration and more ways then one to create a successful campaign, with that in mind we will try to make this guide as generic and basic as possible. We will start off by breaking down and explaining the different options and finish off with showing you an example.

If you want to read more about the template structure please click here.


  • Template name This is where you set the name of the template, for example "Long tail template" or something else, a tip would be to use a fairly simple name that reflects the business rule or the thought behind the campaign.
    Note that "Template Name" shouldn't be confused with "Campaign Name" which defines the names of the campaigns generated from the template.
  • Template status This is where you set the status of the template.
  • Product feed Here you choose which feed that should be used.
  • Campaign Structure
    • Make one campaign creates only one campaign from the template.
    • Make one campaign for every...This is where you split up to make one campaign per chosen criteria, e.g. if we choose to split on every Category it will create a number of campaigns based on how many categories there are in the feed. You can also add more criterias to further specify your split.
    • Include all items will include all items in the feed.
    • Include items with this is where you specify which items that should be created based on which criterias you set. If you want to create campaigns for all items except for the ones which are out of stock the proper setting would be:



You can add more filters to specify the template even further, say you only want to create items that are in stock and have a price with tax lower then 5000 SEK, it could look like this.




  • Campaign properties
    • Campaign name This is where you set the campaign name, you can either use a Freemarker expression here or a plain word or both, it's a matter of preference, a tip is to use the same praxis as when naming the template.
    • Industry Code could be hardcoded on this level.
    • Initial daily budget All campaigns generated from this template will get this value as their Initial daily budget (Initial daily budget is a one time budget the campaigns will get when published).
    • Initial campaign status Sets initial campaign status (same as with initial daily budget, this will only be a initial status meaning it will not override statuses when published a second time).
    • Start/End date Start and end date should be hardcoded unless the feed is opted to split on any of the date fields, which can then be used as dynamic start and end dates.
    • Negative keywords that apply to the whole campaign should be added here.
    • Country location targeting is done here
    • Languages here you chose language targeting

Basic Campaign Template example

This is a demo Real Time Ads client. In the campaign structure I've chosen to make one campaign for every category and to only include items in stock. I've decided to set the campaign name to "Long tail $category", combining the use of Freemarker with a simple text term that describes the campaign is a great way to generate unique and easy to understand campaign names. I have chosen to set the Initial status to Inactive, this way I can go through the campaign one more time before activating it since the campaign will be paused when uploaded to my traffic source (Remember this option will only affect the campaign once). And last but not least is the location and language targeting.




So as you can see in the small preview window above campaign properties this will generate 8 campaigns with a total of 184 products.



Feedback and Knowledge Base