public interface SitecatalystWebservice
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PN_COMPANY
Property name for company
|
static java.lang.String |
PN_PASSWORD
Property name for password
|
static java.lang.String |
PN_REPORTSUITE
Property name for report suite
|
static java.lang.String |
PN_REPORTSUITES
Property name for report suites
|
static java.lang.String |
PN_SECRET
Property name for secret
|
static java.lang.String |
PN_SERVER
Property name for server
|
static java.lang.String |
PN_USERNAME
Property name for username
|
Modifier and Type | Method and Description |
---|---|
void |
checkCredentials(java.lang.String company,
java.lang.String username,
java.lang.String password)
Deprecated.
|
boolean |
deleteClassifications(Configuration configuration,
java.lang.String classificationView,
java.lang.String[] reportSuites,
int divNum,
int parentDivNum)
Deprecated.
This method was used to support SAINT which is now deprecated.
|
JSONArray |
getClassifications(Configuration configuration,
java.lang.String classificationView,
java.lang.String[] reportSuites,
int relationId)
Deprecated.
This method was used to support SAINT which is now deprecated.
|
java.lang.String |
getEvars(Configuration configuration,
java.lang.String rsid)
Returns a JSON representation of conversion variables (eVar's) for a
report suite
rsid . |
java.lang.String |
getLoginKey(java.lang.String company,
java.lang.String username,
java.lang.String password)
Deprecated.
|
java.lang.String |
getLoginKey(java.lang.String server,
java.lang.String company,
java.lang.String username,
java.lang.String password)
Deprecated.
|
java.lang.String |
getMetrics(Configuration configuration,
java.lang.String rsID)
Retrieves a list of possible valid elements for a report.
|
java.lang.String |
getPages(Configuration configuration,
java.lang.Integer limit,
java.lang.String pagename,
java.lang.String rsid,
java.lang.Integer start)
Deprecated.
The Analytics API no longer supports retrieving a list of pages from specified report suite starting with the 1.4 version.
|
java.lang.String |
getReport(Configuration configuration,
java.lang.String reportID)
Returns a report with report identifier
reportID . |
java.lang.String |
getReportStatus(Configuration configuration,
java.lang.String reportID)
Deprecated.
Use
getReport(Configuration, String) instead. |
java.lang.String |
getReportSuites(Configuration configuration)
Returns a JSON representation of report suites for a
Configuration . |
java.lang.String |
getSegments(java.lang.String server,
java.lang.String company,
java.lang.String username,
java.lang.String secret)
Gets all available segments using the required Analytics parameters.
|
java.lang.String |
getSuccessEvents(Configuration configuration,
java.lang.String rsid)
Returns a JSON representation of success events (event's) for the report
suite
rsid . |
java.lang.String |
getSynchronousReport(Configuration configuration,
java.lang.String reportType,
JSONObject reportDescription)
Deprecated.
The Analytics API no longer supports synchronous reports starting with the 1.4 version.
|
java.lang.String |
getTrackingServer(Configuration configuration,
java.lang.String rsid)
Returns the tracking server URI for a specified ReportSuiteID (
rsid ). |
java.lang.String |
getTrafficVars(Configuration configuration,
java.lang.String rsid)
Returns a JSON representation of traffic variables (prop's) for a report
suite
rsid . |
java.lang.String |
queuePageViewReport(Configuration configuration,
java.lang.String rsid,
java.lang.String date)
Queues a report of type
pageView for a report suite
rsid and the report date date |
java.lang.String |
queueReport(Configuration configuration,
JSONObject reportDescription)
Queues the execution of an Analytics report based on a given JSON
reportDescription . |
java.lang.String |
queueReport(Configuration configuration,
java.lang.String reportType,
JSONObject reportDescription)
Deprecated.
Analytics API 1.4 no longer requires a report type as parameter for queueing reports.
Use
queueReport(Configuration, JSONObject) instead. |
boolean |
saveClassifications(Configuration configuration,
java.lang.String classificationView,
boolean campaignView,
java.lang.String name,
int parentDivNum,
java.lang.String[] reportSuites,
boolean update)
Deprecated.
This method was used to support SAINT which is now deprecated.
|
static final java.lang.String PN_COMPANY
static final java.lang.String PN_USERNAME
static final java.lang.String PN_SECRET
static final java.lang.String PN_SERVER
static final java.lang.String PN_PASSWORD
static final java.lang.String PN_REPORTSUITE
static final java.lang.String PN_REPORTSUITES
@Deprecated void checkCredentials(java.lang.String company, java.lang.String username, java.lang.String password) throws SitecatalystException
company
- Companyusername
- Usernamepassword
- PasswordSitecatalystException
- - if an error occurs, authentication or
authorization fails.@Deprecated java.lang.String getLoginKey(java.lang.String company, java.lang.String username, java.lang.String password) throws SitecatalystException
company
,username
and password
combination.company
- Companyusername
- Usernamepassword
- Passwordcompany
,username
and password
combination.SitecatalystException
- SitecatalystException
@Deprecated java.lang.String getLoginKey(java.lang.String server, java.lang.String company, java.lang.String username, java.lang.String password) throws SitecatalystException
company
,username
and password
combination.server
- Server end point URLcompany
- Companyusername
- Usernamepassword
- Passwordcompany
,username
and password
combination.SitecatalystException
- SitecatalystException
java.lang.String getReportSuites(Configuration configuration) throws SitecatalystException
Configuration
.configuration
- Web service support configurationSitecatalystException
- SitecatalystException
java.lang.String getSegments(java.lang.String server, java.lang.String company, java.lang.String username, java.lang.String secret) throws SitecatalystException
server
- the Analytics data center to be used for the API callcompany
- the Analytics companyusername
- the Analytics user namesecret
- the Analytics webservice API shared secretSitecatalystException
- if something goes wrong while calling the Analytics API for getting the segmentsjava.lang.String getTrackingServer(Configuration configuration, java.lang.String rsid) throws SitecatalystException
rsid
).configuration
- Web service support configurationrsid
- Report suite IDrsid
SitecatalystException
- SitecatalystException
java.lang.String getEvars(Configuration configuration, java.lang.String rsid) throws SitecatalystException
rsid
.configuration
- Web service support configurationrsid
- Report suite IDrsid
SitecatalystException
- SitecatalystException
java.lang.String getTrafficVars(Configuration configuration, java.lang.String rsid) throws SitecatalystException
rsid
.configuration
- Web service support configurationrsid
- Report suite IDrsid
SitecatalystException
- SitecatalystException
@Deprecated java.lang.String queueReport(Configuration configuration, java.lang.String reportType, JSONObject reportDescription) throws SitecatalystException
queueReport(Configuration, JSONObject)
instead.reportType
with the reportDescription
.configuration
- Web service support configurationreportType
- The type of report to queuereportDescription
- The reportDescription JSON to usereportType
SitecatalystException
- SitecatalystException
java.lang.String queueReport(Configuration configuration, JSONObject reportDescription) throws SitecatalystException
reportDescription
.configuration
- Web service support configurationreportDescription
- a reportDescription JSON object that specifies the desired report contentsSitecatalystException
- SitecatalystException
java.lang.String queuePageViewReport(Configuration configuration, java.lang.String rsid, java.lang.String date) throws SitecatalystException
pageView
for a report suite
rsid
and the report date date
configuration
- Web service support configurationrsid
- Report suite IDdate
- DatepageView
SitecatalystException
- SitecatalystException
@Deprecated java.lang.String getReportStatus(Configuration configuration, java.lang.String reportID) throws SitecatalystException
getReport(Configuration, String)
instead.reportID
.configuration
- Web service support configurationreportID
- report IDreportID
SitecatalystException
- SitecatalystException
java.lang.String getReport(Configuration configuration, java.lang.String reportID) throws SitecatalystException
reportID
.configuration
- Web service support configurationreportID
- Report IDreportID
SitecatalystException
- SitecatalystException
@Deprecated java.lang.String getSynchronousReport(Configuration configuration, java.lang.String reportType, JSONObject reportDescription) throws SitecatalystException
reportType
and report description
reportDescription
.configuration
- Web service support configurationreportType
- the type of report to queuereportDescription
- the reportDescription json to usereportType
and report description
reportDescription
SitecatalystException
- SitecatalystException
java.lang.String getMetrics(Configuration configuration, java.lang.String rsID) throws SitecatalystException
configuration
- Web service support configurationrsID
- The reporting suite idString
SitecatalystException
- SitecatalystException
java.lang.String getSuccessEvents(Configuration configuration, java.lang.String rsid) throws SitecatalystException
rsid
.configuration
- Web service support configurationrsid
- Report suite IDrside
SitecatalystException
- SitecatalystException
@Deprecated java.lang.String getPages(Configuration configuration, java.lang.Integer limit, java.lang.String pagename, java.lang.String rsid, java.lang.Integer start) throws SitecatalystException
pagename
for the report suite rsid
.configuration
- Web service support configurationlimit
- Max. number of pagespagename
- Name of the pagersid
- Report Suite IDstart
- Start point for pagingrsid
SitecatalystException
- SitecatalystException
@Deprecated JSONArray getClassifications(Configuration configuration, java.lang.String classificationView, java.lang.String[] reportSuites, int relationId) throws SitecatalystException
reportSuites
.configuration
- Web service support configurationclassificationView
- The ID of the element whose classifications are
being retrieved. The possible type IDs include the following elements.
campaign
Classification applied to the Campaign report.days_between_buys
Classification applied to the Days Between Buys report.days_till_purchase
Classification applied to the Days Until Purchase report.domain
Classification applied to the Domain report.evar1-75
Classification applied to the specified eVar report (evar1, evar2, etc.)first_touch_marketing_channel
Classification applied to the First Touch Marketing Channel report.first_touch_marketing_channel_detail
Classification applied to the detailed First Touch Marketing Channel report.last_touch_marketing_channel
Classification applied to the Last Touch Marketing Channel report.last_touch_marketing_channel_detail
Classification applied to the detailed Last Touch Marketing Channel report.loyalty
Classification applied to the Loyalty report.media
Classification applied to the Media report.page
Classification applied to the Page report.page_type1-77
Classification applied to a specific Page Type report.page_type1
Site Sectionspage_type2
Serverspage_type3-77
Custom Insight (Props) 1 - 75.mvvar45-47
Classification applied to a List Var report, mvvar45 - mvvar47 = listvar1 - listvar3.product
Classification applied to the Product report.sitetime
Classification applied to the Site Time report.state
Classification applied to the State report.survey
Classification applied to the Survey report.tnt
Classification applied to the Adobe Target report.visitdepth
Classification applied to the Visit Depth report.visitnum
Classification applied to the VisitNum report.zipcode
Classification applied to the Zip Code report.reportSuites
- A list of report suite IDs.relationId
- (Optional) Numeric ID of the variable for which you want to retrieve associated classifications or -1.
{
rsid: (int),
site_title: (string),
classifications: [{
classifications: [{
child_nodes: [{
rel_id: (int),
userid: (int),
div_name: (string),
div_num: (int),
parent_div_num: (int),
campaign_view_flag: (int),
type: (int),
order: (int),
child_nodes: (array)
}],
div_name: (string),
div_num: (int),
rel_id: (int)
}],
in_queue: (int),
status: (int)
}]
}
SitecatalystException
- SitecatalystException
@Deprecated boolean saveClassifications(Configuration configuration, java.lang.String classificationView, boolean campaignView, java.lang.String name, int parentDivNum, java.lang.String[] reportSuites, boolean update) throws SitecatalystException
reportSuites
.configuration
- Web service support configurationclassificationView
- The ID of the element whose classifications are
being retrieved. The possible type IDs include the following elements.
campaign
Classification applied to the Campaign report.days_between_buys
Classification applied to the Days Between Buys report.days_till_purchase
Classification applied to the Days Until Purchase report.domain
Classification applied to the Domain report.evar1-75
Classification applied to the specified eVar report (evar1, evar2, etc.)first_touch_marketing_channel
Classification applied to the First Touch Marketing Channel report.first_touch_marketing_channel_detail
Classification applied to the detailed First Touch Marketing Channel report.last_touch_marketing_channel
Classification applied to the Last Touch Marketing Channel report.last_touch_marketing_channel_detail
Classification applied to the detailed Last Touch Marketing Channel report.loyalty
Classification applied to the Loyalty report.media
Classification applied to the Media report.page
Classification applied to the Page report.page_type1-77
Classification applied to a specific Page Type report.page_type1
Site Sectionspage_type2
Serverspage_type3-77
Custom Insight (Props) 1 - 75.mvvar45-47
Classification applied to a List Var report, mvvar45 - mvvar47 = listvar1 - listvar3.product
Classification applied to the Product report.sitetime
Classification applied to the Site Time report.state
Classification applied to the State report.survey
Classification applied to the Survey report.tnt
Classification applied to the Adobe Target report.visitdepth
Classification applied to the Visit Depth report.visitnum
Classification applied to the VisitNum report.zipcode
Classification applied to the Zip Code report.campaignView
- Determines whether to treat this classification like
a campaign.name
- Visible name of the classification.parentDivNum
- Contains the parent classification's
div_num
if this is a sub-classification;
otherwise it is 0.reportSuites
- A list of report suite IDs.update
- Enables the classification when set to true
,
disabled it otherwise.true
if the update operation is successful,
false
otherwiseSitecatalystException
- SitecatalystException
@Deprecated boolean deleteClassifications(Configuration configuration, java.lang.String classificationView, java.lang.String[] reportSuites, int divNum, int parentDivNum) throws SitecatalystException
reportSuites
.configuration
- Web service support configurationclassificationView
- The ID of the element whose classifications are
being retrieved. The possible type IDs include the following elements.
campaign
Classification applied to the Campaign report.days_between_buys
Classification applied to the Days Between Buys report.days_till_purchase
Classification applied to the Days Until Purchase report.domain
Classification applied to the Domain report.evar1-75
Classification applied to the specified eVar report (evar1, evar2, etc.)first_touch_marketing_channel
Classification applied to the First Touch Marketing Channel report.first_touch_marketing_channel_detail
Classification applied to the detailed First Touch Marketing Channel report.last_touch_marketing_channel
Classification applied to the Last Touch Marketing Channel report.last_touch_marketing_channel_detail
Classification applied to the detailed Last Touch Marketing Channel report.loyalty
Classification applied to the Loyalty report.media
Classification applied to the Media report.page
Classification applied to the Page report.page_type1-77
Classification applied to a specific Page Type report.page_type1
Site Sectionspage_type2
Serverspage_type3-77
Custom Insight (Props) 1 - 75.mvvar45-47
Classification applied to a List Var report, mvvar45 - mvvar47 = listvar1 - listvar3.product
Classification applied to the Product report.sitetime
Classification applied to the Site Time report.state
Classification applied to the State report.survey
Classification applied to the Survey report.tnt
Classification applied to the Adobe Target report.visitdepth
Classification applied to the Visit Depth report.visitnum
Classification applied to the VisitNum report.zipcode
Classification applied to the Zip Code report.reportSuites
- A list of report suite IDs.divNum
- The numeric index of the classification in its group, which
can be obtained from
getClassifications(Configuration, String, String[], int)
parentDivNum
- Contains the parent classification's div_num if this
is a sub-classification; otherwise it is 0.true
if the deletion operation is
successful, false
otherwise.SitecatalystException
- SitecatalystException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"