How to change the lifecycle status of cloned audience from draft to published | Adobe Higher Education
Skip to main content
Level 2
March 15, 2024
解決済み

How to change the lifecycle status of cloned audience from draft to published

  • March 15, 2024
  • 1 の返信
  • 1737 ビュー

Hi All,

 

I copied one of my audience which was created by build rule method and the lifecycle status of the cloned audience shows up as Draft. How can i change the lifecycle status from Draft to Published?

 

Thanks,

Swastika

ベストアンサー arpan-garg

Hello @swastika_lal1,

 

To update the state , call the following API call:


GET https://platform.adobe.io/data/core/ups/segment/definitions/:SEGMENT_ID

 

This request will return information about the segment in question. Please copy the entire response.

 

Next, Update the segment's status, make the following API request:


PATCH https://platform.adobe.io/data/core/ups/segment/definitions/:SEGMENT_ID


In the body of this request, paste the previously copied response, but modify the `"lifecycleState"` from `"draft"` to `"published"`.

For additional details, please refer to the documentation here:
[https://experienceleague.adobe.com/en/docs/experience-platform/segmentation/api/segment-definitions#update-a-specific-segment-definition](https://experienceleague.adobe.com/en/docs/experience-platform/segmentation/api/segment-definitions#update-a-specific-segment-definition)

 

Best regards,
Arpan

1 の返信

arpan-garg
Community Advisor
Community Advisor
March 15, 2024

Hello @swastika_lal1,

 

To update the state , call the following API call:


GET https://platform.adobe.io/data/core/ups/segment/definitions/:SEGMENT_ID

 

This request will return information about the segment in question. Please copy the entire response.

 

Next, Update the segment's status, make the following API request:


PATCH https://platform.adobe.io/data/core/ups/segment/definitions/:SEGMENT_ID


In the body of this request, paste the previously copied response, but modify the `"lifecycleState"` from `"draft"` to `"published"`.

For additional details, please refer to the documentation here:
[https://experienceleague.adobe.com/en/docs/experience-platform/segmentation/api/segment-definitions#update-a-specific-segment-definition](https://experienceleague.adobe.com/en/docs/experience-platform/segmentation/api/segment-definitions#update-a-specific-segment-definition)

 

Best regards,
Arpan

swastika_lal1作成者
Level 2
March 15, 2024

Thanks @arpan-garg ! I tried this out and it works as expected.