Hi there,
My understanding is that any newly created segments will need to wait for the next segment evaluation time in order to be used for activation/AJO. Is there a minimal time that the segment need to be created prior to the evaluation time in order to be used? For example, the new segment need to be created at least 3-4 hours before global segment evaluation time to be used.
Second, there are always urgent/last minute requests from marketing teams to create and target a segment asap, say in the next few hours. If the segment wasn't planned and wasn't created, how do we handle those situations? Regardless if the segment is batch/streaming/edge, sounds like to me it still needs to wait for the segment evaluation time (typically tomorrow), which is extremely inconvenient at critical times. Is there an emergency process we can follow (e.g call this and that api) and the new segment can be used in the new few hours.
Thanks.
Solved! Go to Solution.
Hi @akwankl - We have sometimes the same last minute requests from our business and this is how we handle it.
1. Use the api https://platform.adobe.io/data/core/ups/config/schedules to fetch list of all config schedules.
2. In response fetch the scheduled time and id of your batch segment.
3. Make a patch call to https://platform.adobe.io/data/core/ups/config/schedules/:SCHEDULE_ID with the new time when the batch segment should be scheduled, can be within next 15 mins.
4. Wait for it to complete.
5. Revert the schedule to previous one.
This needs to be just done for urgent request from the business. Business needs to be made aware that it should be avoided.
Thanks,
Arpan
Hi @akwankl - We have sometimes the same last minute requests from our business and this is how we handle it.
1. Use the api https://platform.adobe.io/data/core/ups/config/schedules to fetch list of all config schedules.
2. In response fetch the scheduled time and id of your batch segment.
3. Make a patch call to https://platform.adobe.io/data/core/ups/config/schedules/:SCHEDULE_ID with the new time when the batch segment should be scheduled, can be within next 15 mins.
4. Wait for it to complete.
5. Revert the schedule to previous one.
This needs to be just done for urgent request from the business. Business needs to be made aware that it should be avoided.
Thanks,
Arpan
Hi @arpan-garg,
This is an interesting solution. I thought the batch segment evaluation can only happen once a day and adjusting the schedule to some other time within the day would not trigger the job again. But from what you described, that understanding is not true.
Though this would evaluate all segments though as far as I understand, guess that's why it should be avoided? And And there is no other way to make this work just for one segment?
Thanks.
Hey @akwankl ,
@arpan-garg is right. Currently, this is the only way to do actual 'On-Demand' evaluation but since you are tweaking the overall evaluation schedule, it will end up evaluating all the segments.
Might be a good thing if you have a few such segments queued up.
There is an enhancement request around this feature with the engineering team.
Cheers,
Abhinav
Hi @akwankl,
You can create an On-demand evaluation by creating a Segment Job to evaluate a newly created segment.
This allows you to create a segment job in order to generate an audience whenever you require it. Unlike scheduled evaluation, this will happen only when requested and is not recurring.
Documentation link:
Note: Please be aware that there are usage limits on this API, so occasional use should not pose any issues.
Regards,
Kumar Saurabh
Hey @Kumar_Saurabh_
The on-demand segment evaluation api endpoint gives you the qualified profiles for the segment but it doesn't make that audience available to be used in the journey till the time that actual scheduled evaluation for the day has run.
We've tried it and learnt it the hard way cause we also had this understanding that this api endpoint would actually help evaluate the segment and then make it usable quicker in a journey.
Cheers,
Abhinav
Hi @abhinavbalooni,
That's correct, we can only check the count of the qualified audience by using the feature. Activation of Batch Segment will still happen post Segment Job evaluation & Export runs.
Regards,
Kumar Saurabh
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies