With Advanced Ads Pro you can display or hide an ad based on url parameters. This is useful if you have specific parameters in your url or you want to create additional display conditions.

Update notice: the url parameter condition was moved from a Visitor Condition to Display Condition in Advanced Ads Pro 1.4. You will still find it in both places, but should use the Display Condition.

You don’t have to make any changes in order to display an ad everywhere. Only use this option if you want to limit where the ad is visible.

To display an ad based on the url, go to the Display Conditions metabox and add the Url Parameters condition.

url parameter condition check

Once you added the condition you can choose from various methods to check it.

Be aware, that the top level domain is not checked. E.g., if your domain is http://example.com/directory/variable, then only /directory/variable is checked against your input.

Examples for url parameter checks

Advanced Ads comes with many different types of checks. Here are just some examples of what you might accomplish.

Display ad for subdirectories. Url is http://example.com/capitals/germany/berlin.

The check is displaying the ad on all pages with capitals in it.

Display condition url parameter

Hide an ad for visitors who come through a referral link (as often used by affiliate programs). Url is http://example.com/shop/?partnerid=123.

Display condition url parameter affiliate ID

 Display Conditions    
Total 3 Votes:
3

Tell us how can we improve this information?

+ = Verify Human or Spambot ?