
RebelMouse supports ad variables for Runner sites, allowing you to target ads to effectively increase ad revenue and support custom campaigns. Your ad tech can automatically serve different creative based on the ad variables you set.
Supported Ad Variables
- Tags:
- Example output for tag "dog" is "dog"
- Example output for tag "dogs rock" is "dogs-rock"
- Call this variable as {{tags}}
- Sections:
- Example output for section 'Marin' is 'marin'
- Example output for section "Silicon Valley" is "silicon-valley"
- Call this variable as {{sections}}
- Page Type: page_type (homepage, sectionpage, postpage)
- If on post page output will be "postpage"
- If on home page output will be "homepage"
- If on section page output will be "sectionpage," then the section variable will give you the section you are on
- Call this variable as {{page_type}}
Example of How to Include Ad Variables in the Runner Editor
Ads are set up in Runners based on inserting the ad code, which usually requires:
- A piece of header code (targeting is usually found here). Header code must be added within the ad header code element:
- Ad tags placed where the ads themselves were shown.
Variables are actually passed in that ad code, so the client code needs to call those variables. Here's an example:
googletag.pubads().setTargeting('Sections', {{sections}}).setTargeting('Tags', {{tags}}).setTargeting('page-type', {{page_type}});
Examples of Output from a Client's Site
- Home Page
- http://7x7.com/
- No tags or sections, but identified as "homepage."
- Example:
googletag.pubads().setTargeting('Sections', []).setTargeting('Tags', []).setTargeting('page-type', ["homepage"]);
- Post Page
- http://7x7.com/pizzando-brings-pizza-and-oh-so-much-more-to-healdsburg-1781779770.html
- Section is "wine country," which we translated to "wine-country," and the post only has one tag "healdsburg." Post is identified as a "postpage."
- Example:
googletag.pubads().setTargeting('Sections', ["wine-country"]).setTargeting('Tags', ["healdsburg"]).setTargeting('page-type', ["postpage"]);
- Section Page
- http://7x7.com/san-francisco/
- Section is "San Francisco" which we translated to "san-francisco." No tags are set up. Section is identified as "sectionpage."
- Example:
googletag.pubads().setTargeting('Sections', ["san-francisco"]).setTargeting('Tags', []).setTargeting('page-type', ["sectionpage"]);
Note: Dynamic ads in articles are not supported for Runner sites.
best cms 2017
best cms
wordpress vip alternative
wordpress alternative
social media marketing
digital marketing
content marketing
social growth
website growth
website monetization
new media
media
digital media
email marketing
creative agency
curate social
social curation
facebook instant articles
instant articles
newsletter integration
facebook strategy
pagespeed
wordpress security plugins
rebelmouse for developers