{"id":1986,"date":"2021-01-15T21:02:39","date_gmt":"2021-01-15T21:02:39","guid":{"rendered":"https:\/\/wiki.pontiac.media\/?page_id=1986"},"modified":"2023-10-12T14:06:32","modified_gmt":"2023-10-12T14:06:32","slug":"macros-for-mobile-impressions","status":"publish","type":"docs","link":"https:\/\/wiki.pontiac.media\/?docs=new-test-section\/creative-macros-2\/macros-for-mobile-impressions","title":{"rendered":"Macros for Mobile Impressions"},"content":{"rendered":"\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">MACROS<\/th><th class=\"has-text-align-left\" data-align=\"left\">DESCRIPTION<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">${CARRIER_ID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The Pontiac integer representing the mobile carrier ID.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_AAID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The Android advertising identifier, when the impression is from an Android device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_APPLE_IDA}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The Apple advertising identifier, when the impression is from an Apple device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_IFA}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The unique identifier representing the device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_IFA_TYPE}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The type of identifier represented by the\u00a0<code>${DEVICE_IFA}<\/code>. Possible values include:AAID (Android Advertising ID\/Google)<br>IDFA (Identifier for Advertising\/Apple)<br>AFAI (Amazon Fire ID)<br>RIDA (Roku ID)<br>OPENUDID<br>TIFA (Tizen Identifier for Advertising (Samsung Ad ID))<br>VIDA (Vizio Advertising ID)<br>LGUDID (LG Unique Device ID)<br><code>${DEVICE_IFA_TYPE}<\/code>\u00a0should be used in conjunction with\u00a0<code>${DEVICE_IFA}<\/code>, and this setup is recommended over individual device macros specific to each IFA type. These macros are applicable to both mobile and CTV device types.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_MAKE_ID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The Pontiac integer representing the ID of the make of the mobile device (e.g.,&nbsp;26).<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_MD5}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The MD5-encrypted unique identifier representing the mobile device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_MODEL_ID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The Pontiac integer representing the ID of the mobile device model (e.g.,&nbsp;301).<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_ODIN}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The&nbsp;<a href=\"https:\/\/code.google.com\/p\/odinmobile\/\">ODIN<\/a>-encrypted unique identifier representing the mobile device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_OPENUDID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The OPENUDID-encrypted unique identifier representing the mobile device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_SHA1}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The SHA1-encrypted unique identifier representing the mobile device.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${DEVICE_WIN_ID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The Windows Ad ID for the device on which this impression occurred (if applicable).<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${EXT_APP_ID}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The external identifier for the application requesting the impression. This is useful only for impressions from mobile apps.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${GEO_LAT}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The latitude of the user&#8217;s location, when GPS data is available from a mobile device. Expressed in the format &#8220;snn.ddd,snn.ddd&#8221; (e.g.,&nbsp;+12.345&nbsp;or&nbsp;-45.123), where south is represented as negative. There can be a maximum of 5 decimal places of precision.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${GEO_LON}<\/td><td class=\"has-text-align-left\" data-align=\"left\">The longitude of the user&#8217;s location, when GPS data is available from a mobile device. Expressed in the format &#8220;snn.ddd,snn.ddd&#8221; (e.g.,&nbsp;+12.345&nbsp;or&nbsp;-45.123), where west is represented as negative. There can be a maximum of 5 decimal places of precision.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">${SUPPLY_TYPE}<\/td><td class=\"has-text-align-left\" data-align=\"left\">This macro will be populated with a numeric value that denotes the supply type of the impression. Allowed values include: 0: web1: mobile web2: mobile app3: facebook sidebar4: toolbar<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"author":1,"featured_media":0,"parent":1661,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1986","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\/1986","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=1986"}],"version-history":[{"count":2,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/1986\/revisions"}],"predecessor-version":[{"id":9097,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/1986\/revisions\/9097"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/1661"}],"next":[{"title":"Privacy Macros","link":"https:\/\/wiki.pontiac.media\/?docs=new-test-section\/creative-macros-2\/privacy-macros","href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/9090"}],"prev":[{"title":"Macros for Video Impressions","link":"https:\/\/wiki.pontiac.media\/?docs=new-test-section\/creative-macros-2\/macros-for-video-impressions","href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=\/wp\/v2\/docs\/1984"}],"wp:attachment":[{"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1986"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wiki.pontiac.media\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}