@ProviderType public interface TargetMediator extends TestandtargetCampaignMediator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PN_AUTHOR_EXTERNAL_ID
The JCR property that holds the Adobe Target id on the managed objects on the author instance.
|
static java.lang.String |
PN_EXTERNAL_ID
Deprecated.
Use
PN_PUBLISH_EXTERNAL_ID or PN_AUTHOR_EXTERNAL_ID
instead |
static java.lang.String |
PN_PUBLISH_EXTERNAL_ID
The JCR property that holds the Adobe Target id on the managed objects on the author instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCampaign(java.lang.String campaignPath)
Deletes the Target campaign associated with the campaign at the provided path.
|
void |
deleteOffer(Configuration configuration,
long id)
Deprecated.
|
void |
deleteOffer(Configuration configuration,
long id,
SaveOfferRequest request)
Deletes the Target offer with the the provided id.
|
long |
syncOffer(Configuration configuration,
SaveOfferRequest request)
Synchronizes an offer with Adobe Target.
|
long |
syncOffer(Configuration configuration,
java.lang.String offerPath)
Synchronizes an offer with Adobe Target.
|
long |
syncSegment(Configuration configuration,
java.lang.String segmentPath)
Synchronizes a segment with Adobe Target
|
deactivatePublishCampaign, syncAuthorCampaign, syncPublishCampaignstatic final java.lang.String PN_EXTERNAL_ID
PN_PUBLISH_EXTERNAL_ID or PN_AUTHOR_EXTERNAL_ID
insteadstatic final java.lang.String PN_AUTHOR_EXTERNAL_ID
static final java.lang.String PN_PUBLISH_EXTERNAL_ID
long syncOffer(Configuration configuration, java.lang.String offerPath) throws TestandtargetException
offerPath - the repository path of the offer.configuration - the cloud services configuration containing the Adobe Target account detailsTestandtargetException - TestandtargetExceptionlong syncOffer(Configuration configuration, SaveOfferRequest request) throws TestandtargetException
configuration - the Adobe Target cloud service configuration.request - a SaveOfferRequest object containing the offer's data - title and content.TestandtargetException - if any errors are encountered during synchronizationlong syncSegment(Configuration configuration, java.lang.String segmentPath) throws TestandtargetException
segmentPath - Segment Pathconfiguration - the cloud services configuration containing the Adobe Target account detailsTestandtargetException - TestandtargetExceptionvoid deleteCampaign(java.lang.String campaignPath)
throws TestandtargetException
campaignPath - the repository path of the campaign.TestandtargetException - TestandtargetException@Deprecated void deleteOffer(Configuration configuration, long id) throws TestandtargetException
configuration - the cloud services configuration containing the Adobe Target account details.id - the offer id.TestandtargetException - TestandtargetExceptionvoid deleteOffer(Configuration configuration, long id, SaveOfferRequest request) throws TestandtargetException
configuration - the cloud services configuration containing the Adobe Target account details.id - the offer id.request - a SaveOfferRequest object containing the offer's dataTestandtargetException - {@link TestandtargetExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved