{"id":517,"date":"2019-09-05T07:18:55","date_gmt":"2019-09-05T07:18:55","guid":{"rendered":"http:\/\/adsforwp.com\/docs\/?post_type=ht_kb&#038;p=517"},"modified":"2019-09-05T11:10:25","modified_gmt":"2019-09-05T11:10:25","slug":"what-is-user-targeting-condition-in-adsforwp","status":"publish","type":"ht_kb","link":"https:\/\/adsforwp.com\/docs\/article\/what-is-user-targeting-condition-in-adsforwp\/","title":{"rendered":"What is User Targeting Condition in AdsforWP"},"content":{"rendered":"\n<p>Targeted advertising is a form of online advertising that is directed towards audiences with certain traits, based on the product or person the advertiser is promoting.<\/p>\n\n\n\n<p><strong>Follow these simple steps<\/strong><\/p>\n\n\n\n<p>You can download&nbsp;<strong>ADSforWP<\/strong>&nbsp;Plugin from&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/ads-for-wp\/\">here.<\/a><\/p>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;After installing this plugin Ads option will be displayed on the&nbsp;<strong>WordPress dashboard<\/strong>&nbsp;-&gt;<strong>Ads Option<\/strong>&nbsp;-&gt;&nbsp;<strong>create new Ads.<\/strong><\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Scroll down a little to see this &#8220;<strong>User Targeting<\/strong>&#8221; meta box and click on the &#8220;<strong>Enable Visitor Condition<\/strong>&#8221; button like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-1024x412.png\" alt=\"\" class=\"wp-image-520\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-1024x412.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-300x121.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-768x309.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-50x20.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-60x24.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6-100x40.png 100w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/6.png 1356w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1. Device Type <\/strong><\/h4>\n\n\n\n<p>A Device type is a group of devices. It allows you to gather devices like \u201cDesktop\u201d and \u201cMobile or Tablet \u201d.<\/p>\n\n\n\n<p>Once you select &#8220;<strong>Device Type<\/strong>&#8221; option two option will be displayed &#8220;<strong>Desktop<\/strong>&#8221; and &#8220;<strong>Mobile or Tablet<\/strong> &#8221; as per your requirement you can select where you want to display ads and after that click on the &#8220;<strong>publish<\/strong>&#8221; button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"354\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7.png\" alt=\"\" class=\"wp-image-523\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7.png 1014w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7-300x105.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7-768x268.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7-50x17.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7-60x21.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/7-100x35.png 100w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">2. Language Of The Browser<\/h4>\n\n\n\n<p>Language Of The Browser &#8211; with this you can select the language of the browser what you want.<\/p>\n\n\n\n<p>Once you select &#8220;<strong>Language Of The Browser<\/strong>&#8221; option here is a list of the language.  <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1013\" height=\"261\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8.png\" alt=\"\" class=\"wp-image-528\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8.png 1013w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8-300x77.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8-768x198.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8-50x13.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8-60x15.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/8-100x26.png 100w\" sizes=\"auto, (max-width: 1013px) 100vw, 1013px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">3. Logged In <\/h4>\n\n\n\n<p>Logged In &#8211; with this you can target the Logged In and Logged out users<\/p>\n\n\n\n<p>Once you select &#8220;<strong>Logged In<\/strong>&#8221; option two option will be displayed &#8220;<strong>True<\/strong>&#8221; and &#8220;<strong>False<\/strong> &#8221; as per your requirement you can select where you want to display ads.<\/p>\n\n\n\n<p>If you are login is and the condition is true then ads will be displayed and if you are not log in and the condition is false then ads will be not displayed and after that click on the &#8220;<strong>publish<\/strong>&#8221; button. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"245\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9.png\" alt=\"\" class=\"wp-image-533\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9.png 1015w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9-300x72.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9-768x185.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9-50x12.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9-60x14.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/9-100x24.png 100w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">4. User Agent<\/h4>\n\n\n\n<p>User-agent is software that is acting on behalf of a user, such as a web browser and with the help of this you can target the browsers like Google Chrome, Firefox, Safari, Microsoft Edge, etc<\/p>\n\n\n\n<p>Once you select &#8220;<strong>User Agent<\/strong>&#8221; option here is a list of option will be displayed as per your requirement you can select where you want to display ads and after that click on the &#8220;Publish&#8221; button. <\/p>\n\n\n\n<p>For example, if I select Chrome option ads will be displayed on Chrome. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"340\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1.png\" alt=\"\" class=\"wp-image-537\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1.png 1015w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1-300x100.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1-768x257.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1-50x17.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1-60x20.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/1-100x33.png 100w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">5. User Permission<\/h4>\n\n\n\n<p>User Permission &#8211; you can also target with the user roles what you want with the option of this option.<\/p>\n\n\n\n<p>Once you select &#8220;<strong>User Permission<\/strong>&#8221; option here is a list of option will be displayed as per your requirement you can select where you want to display ads and after that click on the &#8220;<strong>Publish<\/strong>&#8221; button.  <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1011\" height=\"319\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2.png\" alt=\"\" class=\"wp-image-541\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2.png 1011w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2-300x95.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2-768x242.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2-50x16.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2-60x19.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/2-100x32.png 100w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">6. Referring URL<\/h4>\n\n\n\n<p>A referring URL is the URL of a web page that links to a page on your website, thus sending traffic to your website you can also target referring URL like Google bing, etc<\/p>\n\n\n\n<p>Once you select &#8220;<strong>Referring URL<\/strong>&#8221; option here is a list of option will be displayed as per your requirement you can select where you want to display ads and after that click on the &#8220;<strong>Publish<\/strong>&#8221; button.   <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1016\" height=\"251\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3.png\" alt=\"\" class=\"wp-image-544\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3.png 1016w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3-300x74.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3-768x190.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3-50x12.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3-60x15.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/3-100x25.png 100w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">7. URL Parameter<\/h4>\n\n\n\n<p>You can also target URL Parameter like you can pass URL parameter values to your tracking destination URL<\/p>\n\n\n\n<p>If you want to display ads in particular URL parameter then you need to enter URL parameter <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-1024x318.png\" alt=\"\" class=\"wp-image-546\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-1024x318.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-300x93.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-768x238.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-50x16.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-60x19.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4-100x31.png 100w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/4.png 1051w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">8. Country<\/h4>\n\n\n\n<p>You can also target Country which you want.<\/p>\n\n\n\n<p>Once you select &#8220;<strong>Country<\/strong>&#8221; option here is a list of option will be displayed as per your requirement you can select where you want to display ads and after that click on the &#8220;<strong>Publish<\/strong>&#8221; button.   <\/p>\n\n\n\n<p>For this first, you need to set IP Geolocation API if you are not set key ads will not be displayed on that particular country.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"263\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-1024x263.png\" alt=\"\" class=\"wp-image-548\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-1024x263.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-300x77.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-768x197.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-50x13.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-60x15.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5-100x26.png 100w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/5.png 1041w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>First of all Signup\/login at <a href=\"https:\/\/ipgeolocation.io\/\">IP Geolocation API<\/a><\/li><li>Once you login you will get IP Geolocation API key copy this key and paste in Advance settings and then click on the &#8220;<strong>Save<\/strong>&#8221; button like below the screenshot.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"444\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10.png\" alt=\"\" class=\"wp-image-551\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10.png 1021w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10-300x130.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10-768x334.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10-50x22.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10-60x26.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/10-100x43.png 100w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">9. Cookie<\/h4>\n\n\n\n<p>A cookie is a message given to a web browser by a web server you can also target cookie which you want<\/p>\n\n\n\n<p>If you enter Cookies value in this field there are only ads will be display<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"223\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-1024x223.png\" alt=\"\" class=\"wp-image-557\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-1024x223.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-300x65.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-768x167.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-50x11.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-60x13.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11-100x22.png 100w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/09\/11.png 1048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other Ad company which isn\u2019t listed in our plugin then you can request us we will surely implement it as soon as possible.<\/p>\n\n\n\n<p><strong>Just contact us&nbsp;<a href=\"http:\/\/www.adsforwp.com\/contact\/\">here&nbsp;<\/a>and we are always available for you.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Targeted advertising is a form of online advertising that is directed towards audiences with certain traits, based on the product or person the advertiser is promoting. Follow these simple steps You can download&nbsp;ADSforWP&nbsp;Plugin from&nbsp;here. Step 1:&nbsp;After installing this plugin Ads option will be displayed on the&nbsp;WordPress dashboard&nbsp;-&gt;Ads Option&nbsp;-&gt;&nbsp;create new Ads&#8230;.<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[20],"ht-kb-tag":[],"class_list":["post-517","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/comments?post=517"}],"version-history":[{"count":50,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/517\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/517\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/media?parent=517"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=517"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}