API Segment update would be applied on Calculated Metric? | Community
Skip to main content
June 27, 2022
Solved

API Segment update would be applied on Calculated Metric?

  • June 27, 2022
  • 1 reply
  • 1097 views

Hi, I have one question regarding API work using updated Calculated metrics & Segments

For example, 

1) Make Calculated Metric A on May 1st, using Segment B

2) Update Segment B on May 5th

3) Extract Data through API utilizing Calculated Metric A on May 7th

 

-> In this case, would extracted data automatically apply Segment B's update?

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 leocwlau

I didn't test and wondering if Adobe has any documentation for this specific requirement. However, my understanding of segments and calculated metrics is that they are both evaluated with live data upon consumption, so the answer to your question should be yes, the updated segment will be used on May 7th.

1 reply

leocwlau
Community Advisor and Adobe Champion
leocwlauCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 27, 2022

I didn't test and wondering if Adobe has any documentation for this specific requirement. However, my understanding of segments and calculated metrics is that they are both evaluated with live data upon consumption, so the answer to your question should be yes, the updated segment will be used on May 7th.

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 27, 2022

I agree, since the segments and calculated metrics update to all reports and are evaluated live, any changes you make will apply to new API calls.

 

This is good, but can also be bad.. if you need a variation of your segment or calculated metric, always make sure to do so in a copy so that all the existing processes using the original remain untouched.

JS00101Author
June 28, 2022

Thank you for replying to both of you 🙂