<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Re: Getting data in Audience Manager using DCS API calls in Adobe Audience Manager Blogs</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-audience-manager-blogs/getting-data-in-audience-manager-using-dcs-api-calls/bc-p/442015#M17</link>
    <description>&lt;P&gt;Nice one Varun, I recommend for the subdomain to point to specific &lt;A href="https://experienceleague.adobe.com/docs/audience-manager/user-guide/api-and-sdk-code/dcs/dcs-api-reference/dcs-regions.html?lang=en" target="_blank" rel="noopener"&gt;AAM edge&lt;/A&gt; where your users are based. This will ensure that the AAM edge profiles are updated consistently.&amp;nbsp; This is to avoid any network routing factors.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 03:39:52 GMT</pubDate>
    <dc:creator>garrettchung</dc:creator>
    <dc:date>2022-02-24T03:39:52Z</dc:date>
    <item>
      <title>Getting data in Audience Manager using DCS API calls</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-audience-manager-blogs/getting-data-in-audience-manager-using-dcs-api-calls/ba-p/331086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #333333;"&gt;If you are working with Adobe Audience Manager, you have come across this challenge: you want to target your visitors instantly, as soon as they visit your website/app. This is achievable when you make users qualify based upon their real time activity on the site/app. But, if you have offline data available to be onboarded, then AAM system takes some time to process data (onboarded traits method). The way AAM processes on-boarded data is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;You upload your CRM data to AAM, either to an SFTP location or an S3 bucket.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;Every 12h, AAM reads all on-boarded data and processes it, converting the signals into traits.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;The traits are stored in the core servers.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;A visitor logs in for the first time.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;Since the communication between the browser and AAM is done through the edge servers, these servers have at this moment in time no on-boarded information for that visitor.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;The edge servers where this visitor activity has happened, request the on-boarded traits to the core servers.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333;"&gt;In a batch process, core servers send to the edge server the visitor’s on-boarded information.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #333333;"&gt;This whole process can take 24h, and also the visitor needs to come back again after this period, in order to be targeted on site using the on-boarded information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #333333; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Real-Time Data Transfers with the DCS API&lt;BR /&gt; &lt;BR /&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #333333;"&gt;Fortunately, AAM has a solution for that: Send the data directly to the edge servers through the DCS API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Let's see the steps that are involved in getting data into AAM with this approach:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Step 1: Create rule-based trait&lt;/SPAN&gt;:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Depending upon the offline data that you already have available, you can create rule-based traits for that data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;For Example, consider that you already have list of customers in your CRM/Database that have placed an order for android device from your ecommerce site. If you want to push these details to your instance of AAM, you can create rule-based trait(s) for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Create a rule-based trait in AAM using a key value pair like: “c_product_purchased” contains “android”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Rule_based_trait.png"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/21790i4B1C323774CA09D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rule_based_trait.png" alt="Rule_based_trait.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;When we are calling DCS APIs, an HTTP call is being made to Adobe Audience Manager. This HTTP call contains two important pieces of information:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit;"&gt;the Audience Manager user id&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit;"&gt;the data signals (“c_product_purchased” = “android”) //assignment&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fsubdomain.demdex.net%2Fevent%3Fc_product_purchased%3Dandroid" rel="nofollow" target="_blank"&gt;https://subdomain.demdex.net/event?c_product_purchased=android&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;When we make the above call, it will realize the device or customer id for the rule-based trait at real time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;&lt;STRONG&gt;What is an Audience Manager ID?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The AAM ID is NOT a cross device id. Therefore, if the user has 3 devices, it will have (at least) 3 AAM IDs. The AAM ID is stored in a third-party cookie. If you happen to have and use two browsers on your device, these will not share the cookie storage. As such, we will get two distinct Audience Manager IDs, one for each browser.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;What happens on mobile apps, where we don't have cookies?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The mobile apps using the AAM SDK, will store the Audience Manager ID in the app's internal storage. Multiple apps installed on the same device, will have different AAM ids.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;How do we obtain an AAM id?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;In our case we are dealing taking an example of an ecommerce website. The website is integrated with the VisitorID.js library, maintained by the Adobe Audience Manager system. This javascript library takes care of generating an Audience Manager ID, when none is available. It does so by triggering a call from the browser to the Visitor ID service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;S&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;tep 2: Generating Device IDs using DCS API&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;(if in case you don’t have list of Device IDs):&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Emulate the Visitor ID call to Audience Manager, which the VisitorID.js library is making from the browser.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-size: 11pt; font-family: Calibri, sans-serif; font-style: inherit;"&gt;Open the Terminal, then copy paste this HTTP call command and press enter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; padding-left: 30px;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #3d3d3d;"&gt;curl "&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2F" style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #2989c5; font-weight: inherit; font-family: 'inherit',serif; font-style: inherit;"&gt;http://&lt;/SPAN&gt;&lt;/A&gt;&amp;lt;subdomain&amp;gt;.demdex.net/id?d_visid_ver=3.3.0&amp;amp;d_rtbd=json&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit',serif; font-style: inherit;"&gt;&lt;STRONG&gt;d_ver=2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #3d3d3d;"&gt;&amp;amp;d_orgid=yourCompanyMCOrgID%40AdobeOrg"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;HTTP parameters sent:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: white;"&gt;&lt;THEAD style="font-weight: inherit; font-style: inherit;"&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD data-column="0" scope="col" style="border: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD data-column="1" scope="col" style="border: solid black 1.0pt; border-left: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_visid_ver=3.3.0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The VisitorID.js library version&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_rtbd=json&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;This parameter instructs AAM to return a json response&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_orgid=&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Represents the IMS organization id, which uniquely identifies the Audience Manager client which is making the call (eg. PopularRetailer)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Notice that the HTTP API contains &amp;lt;subdomain&amp;gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;demdex.net&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;, which is the Audience Manager's company sub domain.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The formatted Visitor ID json response will look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"d_mid":"88819962471507989271280036438453367558",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"id_sync_ttl":604800,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"d_blob":"cIBAx_aQzFEHcPoEv0GwcQ",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"dcs_region":7,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"d_ottl":7200,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"ibs":[&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"id":"411",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"ttl":10080,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"tag":"img",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"fireURLSync":1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"syncOnPage":1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"url":[&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"//cm.everesttech.net/cm/dd?d_uuid=89334862240161643561259517779946724685"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp; ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;"subdomain":"&amp;lt;subdomain&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; text-align: left; padding-left: 60px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Notice the &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;d_mid&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; parameter, which represents the Experience Cloud ID. The MID can be decoded by Audience Manager to obtain an AAM ID.&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;We have an AAM ID. How do we send the data?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;In our situation, we want to notify Audience Manager that the current visitor has ordered an android device in the past from ecommerce store. We do this by making a data collection HTTP call to Audience Manager with device ID and rule based trait’s signal, as explained in next step.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Step 3: Send real time data to Audience Manager:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Open up the Terminal. Then copy paste this HTTP call command and press enter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; padding-left: 30px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;curl -v "&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2F" style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #2989c5; font-weight: inherit; font-style: inherit;"&gt;https://&lt;/SPAN&gt;&lt;/A&gt;&amp;lt;subdomain&amp;gt;.demdex.net/event?d_mid=88819962471507989271280036438453367558&amp;amp;d_orgid=YourComp anyMCOrgID%40AdobeOrg&amp;amp;d_rtbd=json&amp;amp;d_full=1&amp;amp;c_product_purchased =android"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #333333;"&gt;HTTP parameters sent:&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: white;"&gt;&lt;THEAD style="font-weight: inherit; font-style: inherit;"&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD data-column="0" scope="col" style="border: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD data-column="1" scope="col" style="border: solid black 1.0pt; border-left: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;c_product_purchased=android&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The signal sent to AAM. This notifies AAM that the visitor has ordered android device from ecommerce site. We have already created &lt;/SPAN&gt;&lt;SPAN style="color: black; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;a trait, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;whose rule states that &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;c_product_purchased contains "android"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;. Because of this we will qualify this device for the Product Purchased Android trait.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_rtbd=json&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;This parameter instructs AAM to return a json response&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_orgid=...&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Represents the IMS organization id, which uniquely identifies the Audience Manager client which is making the call. This is Experience Cloud Organization account specific.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_mid=...&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Represents the Experience Cloud ID. Audience Manager will decode this id and will obtain an AAM ID. The resulting trait will be stored keyed of this device id. (Ultimately MID gets generated from AAM UUID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The formatted json response will look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; padding-left: 30px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;{"stuff":[{"cn":"aam_aa","cv":"aamaa=12080591|aamaa=10209650","ttl":30,"dmn":""},{"cn":"co okie_destination","cv":"a=10209650","ttl":30,"dmn":""}],"uuid":"21700556125849053274229415 398555317701","dcs_region":3,"tid":"qvbE0F3iQ9w=","data_collection":{"request_ids":[{"name space":4,"id":"22159308628525867984209987767182328452","type":"INTERNAL"}],"primary_device _id":{"id":"21700556125849053274229415398555317701","type":"INTERNAL"},"device_metadata":{ "is_robot":"1"},"request_target_url":"/event","request_method":"GET","request_headers":[{" key":"X-Forwarded-For","value":"xx.xx.xx.xx"}],"request_params":[{"key":"d_mid","value":"2 2159308628525867984209987767182328452"},{"key":"d_full","value":"1"},{"key":"c_evar1","val ue":"2"},{"key":"d_orgid","value":"YourCompanyMCOrgID@AdobeOrg"},{"key":"d_rtbd","value":" json"}],"request_is_secure":true,"request_user_agent":"curl/7.55.1"}}* Connection #0 to host subdomain.demdex.net left intact&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;When checking the UUID in the Visitor Profile Viewer tool in AAM UI, you will see the trait and segment qualification for which we passed signal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;In the previous HTTP calls made to Audience Manager, we noticed the marketing cloud identifier was being sent to Audience Manager (the `d_mid` parameter). It turns out we can actually send multiple identifiers to AAM in a single HTTP call: - device identifiers (Marketing Cloud IDs / AAM IDs) - cross-device ids (eg. CRM id) - mobile ids (eg. Apple's IDFA or Google's Advertising Id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;How can we send Customer ID/CRM ID via DCS APIs?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Whenever a user authenticates, we get access to the authenticated id (the customer id): &lt;SPAN style="font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;labuser20&lt;/STRONG&gt;&lt;/SPAN&gt;. Since this same customer id can be used to authenticate from multiple devices, we call it a cross-device id.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Step 4: Sending customer ID with signals using DCS API&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;In this step, we will be syncing Device ID with Customer ID. You can also send only the Customer ID with some data (signals) for a cross device data source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Open up the Terminal. Then copy paste this HTTP call command and press enter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white; padding-left: 30px;"&gt;&lt;SPAN style="font-weight: inherit; font-size: 10pt; font-family: 'Courier New'; font-style: inherit;"&gt;curl -v "&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2F" style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit, serif; font-style: inherit;"&gt;https://&lt;/SPAN&gt;&lt;/A&gt;&amp;lt;subdomain&amp;gt;.demdex.net/event?d_mid=88819962471507989271280036438453367558&amp;amp;d_orgid=YourComp anyMCOrgID%40AdobeOrg&amp;amp;d_rtbd=json&amp;amp;d_full=1&amp;amp;d_cid=231731%01labuser20"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;HTTP parameters sent:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: white;"&gt;&lt;THEAD style="font-weight: inherit; font-style: inherit;"&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD data-column="0" scope="col" style="border: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD data-column="1" scope="col" style="border: solid black 1.0pt; border-left: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_rtbd=json&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;This parameter instructs AAM to return a json response&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_orgid=...&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Represents the IMS organization id, which uniquely identifies the Audience Manager client which is making the call (eg. PopularRetailer)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_mid=...&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;Represents the Experience Cloud ID. Audience Manager will decode this id and will obtain an AAM ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;d_cid=126066%01labuser20&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: .75pt .75pt .75pt .75pt; font-style: inherit;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Represents the cross-device customer id. &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fmarketing.adobe.com%2Fresources%2Fhelp%2Fen_US%2Faam%2Fcid.html" style="padding: calc(12px + 0.35ex) 0 0; font-weight: inherit; font-style: inherit;" target="_blank"&gt;&lt;SPAN style="color: #2989c5; font-weight: inherit; font-style: inherit;"&gt;Visit the documentation page here&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;. Authenticated activity is stored keyed of cross-device ids, unauthenticated activity is stored keyed of device ids. If the HTTP call contains a valid cross-device customer id, AAM treats the call as authenticated activity. As a result, since our call does have a cross-device id declared on the HTTP call, the traits will be stored keyed of this cross-device customer id. The traits will NOT be stored on the device id for this specific call, since the cross-device id takes precedence.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 11.0pt; font-family: 'Calibri',sans-serif; font-style: inherit;"&gt;The formatted json response will look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; padding-left: 30px;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-size: 10.0pt; font-family: 'Courier New'; font-style: inherit;"&gt;{"stuff":[{"cn":"aam_aa","cv":"aamaa=12080591|aamaa=10209650","ttl":30,"dmn":""},{"cn":"Co okie_Destination","cv":"a=10209650","ttl":30,"dmn":""}],"uuid":"21700556125849053274229415 398555317701","dcs_region":3,"tid":"SOlR8wKFS+U=","data_collection":{"request_ids":[{"name space":4,"id":"22159308628525867984209987767182328452","type":"INTERNAL"},{"namespace":231 731,"id":"labuser20","type":"CROSS_DEVICE"}],"primary_device_id":{"id":"217005561258490532 74229415398555317701","type":"INTERNAL"},"device_metadata":{"is_robot":"1"},"request_targe t_url":"/event","request_method":"GET","request_headers":[{"key":"X-Forwarded-For","value" :"xx.xx.xx.xx"}],"request_params":[{"key":"d_mid","value":"2215930862852586798420998776718 2328452"},{"key":"d_full","value":"1"},{"key":"d_orgid","value":"YourCompanyMCOrgID%40Adob eOrg"},{"key":"d_rtbd","value":"json"},{"key":"d_cid","value":"231731\u0001labuser20"}],"r equest_is_secure":true,"request_user_agent":"curl/7.55.1"}}* Connection #0 to host subdomain.demdex.net left intact&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; background: white; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;Notice the object cross device ID above that has been returned in JSON. This is the CRM ID/Customer ID with which multiple device IDs are stitched. The above call simulates the behaviour when the user signs in and customer ID sync call fires.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;In our example, we generated MID first, and then made that MID qualify for a rule-based trait. Then we passed on the same MID and sent customer ID in a single call to sync both IDs. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #3d3d3d;"&gt;In real scenario, where we will have multiple Device IDs or Cross Device IDs, we can also automate using a batch job process. But that requires some custom scripting.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can comment here and let us know if you need clarification on any specific step. Also, you can comment and share which approach you use when you work with DCS APIs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 15:44:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-audience-manager-blogs/getting-data-in-audience-manager-using-dcs-api-calls/ba-p/331086</guid>
      <dc:creator>Varun_Kalra</dc:creator>
      <dc:date>2018-10-16T15:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data in Audience Manager using DCS API calls</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-audience-manager-blogs/getting-data-in-audience-manager-using-dcs-api-calls/bc-p/442015#M17</link>
      <description>&lt;P&gt;Nice one Varun, I recommend for the subdomain to point to specific &lt;A href="https://experienceleague.adobe.com/docs/audience-manager/user-guide/api-and-sdk-code/dcs/dcs-api-reference/dcs-regions.html?lang=en" target="_blank" rel="noopener"&gt;AAM edge&lt;/A&gt; where your users are based. This will ensure that the AAM edge profiles are updated consistently.&amp;nbsp; This is to avoid any network routing factors.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 03:39:52 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-audience-manager-blogs/getting-data-in-audience-manager-using-dcs-api-calls/bc-p/442015#M17</guid>
      <dc:creator>garrettchung</dc:creator>
      <dc:date>2022-02-24T03:39:52Z</dc:date>
    </item>
  </channel>
</rss>

