{"id":962,"date":"2021-01-05T21:00:09","date_gmt":"2021-01-05T21:00:09","guid":{"rendered":"https:\/\/wiki.pontiac.media\/?page_id=962"},"modified":"2025-06-11T16:01:06","modified_gmt":"2025-06-11T16:01:06","slug":"boolean-logic","status":"publish","type":"docs","link":"https:\/\/wiki.pontiac.media\/?docs=new-test-section\/audiences\/boolean-logic","title":{"rendered":"Boolean Logic"},"content":{"rendered":"<p>If you are targeting multiple Audience segments they can be layered together in groups through Boolean logic. To choose &#8216;Any&#8217; or &#8216;All&#8217; between groups read the following descriptions of each.<\/p>\n<h5>\u2018All, between segment groups\u2019<\/h5>\n<p><strong><b>If you only have one segment group,<\/b><span style=\"font-weight: 400;\"> the internal group logic will default to <\/span><b>OR<\/b><span style=\"font-weight: 400;\">, meaning that if <\/span><b>ANY<\/b> <span style=\"font-weight: 400;\">of the conditions within the group are met the impression will be eligible to serve. For example, below is targeting users found in the \u2018Female\u2019 Audience <\/span><b>OR<\/b><span style=\"font-weight: 400;\"> \u2018Age 20 to 30&#8242;.<\/span><\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9502 size-full\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919.png\" alt=\"\" width=\"3704\" height=\"1377\" srcset=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919.png 3704w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919-300x112.png 300w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919-1024x381.png 1024w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919-768x286.png 768w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919-1536x571.png 1536w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919-2048x761.png 2048w\" sizes=\"auto, (max-width: 3704px) 100vw, 3704px\" \/><br \/>\n<b>If you have created multiple segment groups<\/b><span style=\"font-weight: 400;\">, the intergroup logic will automatically default to <\/span><b>AND<\/b><b>,<\/b><span style=\"font-weight: 400;\"> meaning that at least one condition must be met in ALL segment groups. For example, below a user would need to be found in one of the two segments in the first grouping <\/span><b>AND<\/b><span style=\"font-weight: 400;\"> would need to be found in one segment in each of the other segment groups associated.<\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9506 size-full\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259.png\" alt=\"\" width=\"3707\" height=\"1381\" srcset=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259.png 3707w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259-300x112.png 300w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259-1024x381.png 1024w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259-768x286.png 768w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259-1536x572.png 1536w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259-2048x763.png 2048w\" sizes=\"auto, (max-width: 3707px) 100vw, 3707px\" \/><\/p>\n<h5><\/h5>\n<h4>\u2018Any, between segment groups\u2019<\/h4>\n<p><b>If you only have one segment group<\/b><span style=\"font-weight: 400;\">, the internal logic will default to <\/span><span style=\"font-weight: 400;\">AND<\/span><span style=\"font-weight: 400;\">, meaning that <\/span><span style=\"font-weight: 400;\">ALL<\/span><span style=\"font-weight: 400;\"> the conditions within the group must be met for the creative to be eligible to serve. For example, a user must be found in \u2018Female\u2019 AND \u2018Age 20 to 30\u2019 for an impression to be served.<\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9507 size-full\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351.png\" alt=\"\" width=\"3707\" height=\"1379\" srcset=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351.png 3707w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351-300x112.png 300w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351-1024x381.png 1024w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351-768x286.png 768w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351-1536x571.png 1536w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351-2048x762.png 2048w\" sizes=\"auto, (max-width: 3707px) 100vw, 3707px\" \/><br \/>\n<b>If you have created multiple segment groups<\/b><span style=\"font-weight: 400;\">, the intergroup logic will automatically default to <\/span><b>OR<\/b><span style=\"font-weight: 400;\">, meaning that the conditions of one segment group are to be met <\/span><b>OR<\/b><span style=\"font-weight: 400;\"> the conditions of the second group are to be met. <\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9508 size-full\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327.png\" alt=\"\" width=\"3704\" height=\"1378\" srcset=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327.png 3704w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327-300x112.png 300w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327-1024x381.png 1024w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327-768x286.png 768w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327-1536x571.png 1536w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327-2048x762.png 2048w\" sizes=\"auto, (max-width: 3704px) 100vw, 3704px\" \/><\/p>\n<h4>Anti-Targeting<\/h4>\n<h5>\u2018All, between segment groups\u2019<\/h5>\n<p><span style=\"font-weight: 400;\">By selecting the \u2018All\u2019 between segment groups and using the \u2018exclude\u2019 feature with multiple Audiences the internal group logic will default to <\/span><b>OR<\/b><span style=\"font-weight: 400;\">. For example, below an impression could server to any user found in the \u2018Female\u2019 <\/span><b>OR<\/b><span style=\"font-weight: 400;\"> NOT FOUND in the \u2018Age 20 to 30\u2019 Audience\u00a0<\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9509 size-full\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506.png\" alt=\"\" width=\"3701\" height=\"1381\" srcset=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506.png 3701w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506-300x112.png 300w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506-1024x382.png 1024w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506-768x287.png 768w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506-1536x573.png 1536w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506-2048x764.png 2048w\" sizes=\"auto, (max-width: 3701px) 100vw, 3701px\" \/><\/p>\n<h5>\u2018Any, between segment groups\u2019<\/h5>\n<p><span style=\"font-weight: 400;\">By selecting the \u2018All\u2019 between segment groups and using the \u2018exclude\u2019 feature with multiple Audiences, the internal logic will default to <\/span><span style=\"font-weight: 400;\">AND<\/span><span style=\"font-weight: 400;\">, meaning that <\/span><span style=\"font-weight: 400;\">ALL<\/span><span style=\"font-weight: 400;\"> the conditions within the group must be met for the creative to be eligible to serve. For example, a user must be found in \u2018Female\u2019 AND NOT FOUND in \u2018Age 20 to 30\u2019 to be served.\u00a0<\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9510 size-full\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537.png\" alt=\"\" width=\"3707\" height=\"1378\" srcset=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537.png 3707w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537-300x112.png 300w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537-1024x381.png 1024w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537-768x285.png 768w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537-1536x571.png 1536w, https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537-2048x761.png 2048w\" sizes=\"auto, (max-width: 3707px) 100vw, 3707px\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":382,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-962","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=962"}],"version-history":[{"count":5,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/962\/revisions"}],"predecessor-version":[{"id":11377,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/962\/revisions\/11377"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/382"}],"prev":[{"title":"Associate Audience to a Line Item","link":"https:\/\/wiki.pontiac.media\/?docs=new-test-section\/audiences\/associate-audience-to-a-line-item","href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/960"}],"wp:attachment":[{"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=962"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}