Interpreting Target trace | Community
Skip to main content
April 13, 2021
Solved

Interpreting Target trace

  • April 13, 2021
  • 2 replies
  • 3924 views

We have a campaign that isn't firing correctly.  It consists of a single variant for a single audience, yet is inconsistently displayed for that audience.  When I pull a trace however I'm getting both matched and unmatched Segment / TargetIDs:

 

"evaluatedCampaignTargets": [ { "campaignId": 146062, "campaignName": "Activated member message", "campaignType": "landing", "matchedSegmentIds": [ 1293296 ], "unmatchedSegmentIds": [ 1294171 ], "matchedTargetIds": [ 2744369, 2744370 ], "unmatchedTargetIds": [ 2731156 ] }, ... ]

 

I'm struggling to interpret this data.  I can open the "audiences" menu in Target and by inspecting the DOM see some but not all of the audiences above.  Can someone explain how I can pinpoint which Segment and Target IDs are which?  Additionally, while I understand "SegmentIds" as mapping to audiences, what does "TargetIds" represent?  Is this pointing to content?

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shelly-goel

SegmentIds are either from the reusable segments library (search in Audience Manager Segments or People Core Services) or anonymous ones created for the particular campaign

TargetIds are the pre-built audiences in the Target Library or anonymous targets for any segments from campaign

Reference here: https://experienceleague.adobe.com/docs/target/using/activities/troubleshoot-activities/content-trouble.html?lang=en#section_256FCF7C14BB435BA2C68049EF0BA99E

 

There's a possibility of other activities getting qualified as well for the same location/ mbox or js error resulting in a discrepancy. You can turn ON console logging to find what's wrong from the Tools tab in the debugger. It would display the errors (like js errors, if any) in the console. Adobe Cloud Debugger might give more details around the activity/ segments qualification.

2 replies

krishnashism588
Adobe Employee
Adobe Employee
April 15, 2021

Hi, this indeed is tricky. You need to visit the 'People' tab from the 9-dot-matrix you would find on the top black band. In that portal, when you click on the audience segment you expect to qualify as, in the URL you would find the segment ID for that audience. 

 

Not sure about what matchedTargetID is, never used it in debugging. 

 

Basically issues could be of 2 types majorly - 1) campaign qualification, and 2) javascript syntax/compatibility error between the offer code and the library version that the page has, and some times with the browser version as well. 

 

I use the above method to check for the first possibility, and then move to the second. 🙂 

canaderoAuthor
April 20, 2021
Okay, but there doesn't seem to be any way to look up an audience in "People" by ID, and the value in the URL doesn't match the value in the trace for the audience I do know. Is there a lookup function?
shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeAccepted solution
Adobe Employee
April 15, 2021

SegmentIds are either from the reusable segments library (search in Audience Manager Segments or People Core Services) or anonymous ones created for the particular campaign

TargetIds are the pre-built audiences in the Target Library or anonymous targets for any segments from campaign

Reference here: https://experienceleague.adobe.com/docs/target/using/activities/troubleshoot-activities/content-trouble.html?lang=en#section_256FCF7C14BB435BA2C68049EF0BA99E

 

There's a possibility of other activities getting qualified as well for the same location/ mbox or js error resulting in a discrepancy. You can turn ON console logging to find what's wrong from the Tools tab in the debugger. It would display the errors (like js errors, if any) in the console. Adobe Cloud Debugger might give more details around the activity/ segments qualification.

kirill_techZone
March 15, 2022

I used Adobe.IO Integration API for downloading list of all existing audiences and then searched for Audience IDs in JSON response. This is challenging in terms of because each time I need to generate a JWT (JSON Web Token). This is boring + it gives CRUD access which can be damaging if misused by mistake. I wonder why Adobe can't create specific UI for this purposes, specifically for audience+segments search by IDs, or at least show audience IDs in the activity's "Targeting" section?

 

For me after all I found in this thread it is still a mistery what targetId is. Documentation tells that this is "The IDs of targets", then "target expression library", then "anonymous targets". What does "target" mean ? Documentation page doesn't have hypertext links leading to other pages describing this, so I still dont know what those terms mean.

April 8, 2022

Yeah this is terrible. 

If one wants to QA what audiences they are bucketed in or not, they will have to tinker with the API instead of adobe simply having the ID actually available in the UI