{"id":11372,"date":"2025-06-11T15:57:04","date_gmt":"2025-06-11T15:57:04","guid":{"rendered":"https:\/\/wiki.pontiac.media\/?docs=ctv-documentation\/audiences\/boolean-logic"},"modified":"2025-06-11T16:01:04","modified_gmt":"2025-06-11T16:01:04","slug":"boolean-logic","status":"publish","type":"docs","link":"https:\/\/wiki.pontiac.media\/?docs=ctv-documentation\/audiences\/boolean-logic","title":{"rendered":"Boolean Logic"},"content":{"rendered":"\n<p>If you are targeting multiple Audience segments they can be layered together in groups through Boolean logic. To choose \u2018Any\u2019 or \u2018All\u2019 between groups read the following descriptions of each.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u2018All, between segment groups\u2019<\/h4>\n\n\n\n<p>If you only have one segment group,\u00a0the internal group logic will default to\u00a0OR, meaning that if\u00a0ANY\u00a0of 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\u00a0OR\u00a0\u2018Age 20 to 30\u2032.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"3704\" height=\"1377\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-140919.png\" alt=\"\" class=\"wp-image-9502\" 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\" \/><\/figure>\n\n\n\n<p>If you have created multiple segment groups, the intergroup logic will automatically default to AND, 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 AND would need to be found in one segment in each of the other segment groups associated.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"3707\" height=\"1381\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141259.png\" alt=\"\" class=\"wp-image-9506\" 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\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u2018Any, between segment groups\u2019<\/h4>\n\n\n\n<p>If you only have one segment group, the internal logic will default to AND, meaning that ALL 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.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"3707\" height=\"1379\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141351.png\" alt=\"\" class=\"wp-image-9507\" style=\"width:1024px;height:auto\" 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\" \/><\/figure>\n\n\n\n<p>If you have created multiple segment groups, the intergroup logic will automatically default to OR, meaning that the conditions of one segment group are to be met OR the conditions of the second group are to be met.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"3704\" height=\"1378\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141327.png\" alt=\"\" class=\"wp-image-9508\" style=\"width:1024px;height:auto\" 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\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Anti-Targeting: \u2018All, between segment groups\u2019<\/h4>\n\n\n\n<p>By selecting the \u2018All\u2019 between segment groups and using the \u2018exclude\u2019 feature with multiple Audiences the internal group logic will default to OR. For example, below an impression could server to any user found in the \u2018Female\u2019 OR NOT FOUND in the \u2018Age 20 to 30\u2019 Audience\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"3701\" height=\"1381\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141506.png\" alt=\"\" class=\"wp-image-9509\" 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\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Anti-Targeting: \u2018Any, between segment groups\u2019<\/h4>\n\n\n\n<p>By selecting the \u2018All\u2019 between segment groups and using the \u2018exclude\u2019 feature with multiple Audiences, the internal logic will default to AND, meaning that ALL 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<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"3707\" height=\"1378\" src=\"https:\/\/wiki.pontiac.media\/wp-content\/uploads\/2021\/01\/Screenshot-2025-03-21-141537.png\" alt=\"\" class=\"wp-image-9510\" 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\" \/><\/figure>\n","protected":false},"author":17,"featured_media":0,"parent":10205,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-11372","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\/11372","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11372"}],"version-history":[{"count":2,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/11372\/revisions"}],"predecessor-version":[{"id":11376,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/11372\/revisions\/11376"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/10205"}],"next":[{"title":"Pixel IPs","link":"https:\/\/wiki.pontiac.media\/?docs=ctv-documentation\/audiences\/pixel-ips","href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/12004"}],"prev":[{"title":"Third Party Audiences","link":"https:\/\/wiki.pontiac.media\/?docs=ctv-documentation\/audiences\/third-party-audiences","href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/10207"}],"wp:attachment":[{"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11372"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=11372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}