Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Server side ECID approach to fetch mid value

richar21092934
Level 2
Level 2

Hi all,

I have implemented server side ECID approach to fetch d_mid parameter value for a particular customer by passing the customer id in the API request.

But I am getting an incorrect mid value in api response. The fetched mid value is different from mid value captured in web. I am using postman to send API requests.

Also, the mid value remains the same for any customer id; which is incorrect. After fetching the  mid value I need to pass the mid value in subsequent Target requests in API.

Request:

https://dpm.demdex.net/id?d_visid_ver=3.1.2&d_fieldgroup=MC&d_rtbd=json&d_ver=2&d_orgid={marketing cloud organization id}&d_nsid=0&d_blob={d_blob value}&d_cid={integration code}%{customerid}%{authentication status}

Response:

{

    "d_mid": "{d_mid value}",

    "id_sync_ttl": 604800,

    "d_blob": "{d_blob value}",

    "dcs_region": 3,

    "d_ottl": 7200,

    "ibs": [

        {

            "id": "411",

            "ttl": 10080,

            "tag": "img",

            "fireURLSync": 1,

            "syncOnPage": 1,

            "url": [

                "//cm.everesttech.net/cm/dd?d_uuid={d_uuid}"

            ]

        }

    ],

    "subdomain": "{subdomain}",

    "tid": "MgkoRiIuQSU="

}

Let me know if I need to perform some additional steps to fetch the correct mcid with respect to a customer id in request.

Thanks,

Richa

0 Replies