Escolar Documentos
Profissional Documentos
Cultura Documentos
Contents
Data Connectors Partner API.................................................................................5
May 2014: REST API..............................................................................................................5
Data Connectors 3.0: What's New...........................................................................................5
Data Connectors 2.8: What's New...........................................................................................6
How Data Connectors Works..................................................................................................7
SOAP Service.........................................................................................................................8
SOAP Development Toolkits.......................................................................................................................8
Security......................................................................................................................................................9
REST Service..........................................................................................................................9
Methods................................................................................................................................10
Data Connectors Configuration API.........................................................................................................10
Data Connectors Integration API..............................................................................................................41
Data Types............................................................................................................................63
accessRequest.........................................................................................................................................64
accessRequests.......................................................................................................................................64
adProcessingSettings..............................................................................................................................64
adProcessingStatus.................................................................................................................................65
adProcessingVariables.............................................................................................................................66
authenticationParameter..........................................................................................................................66
chosenAccessRequests...........................................................................................................................67
colArray....................................................................................................................................................68
data_warehouse_report...........................................................................................................................68
data_warehouse_request.........................................................................................................................68
display......................................................................................................................................................69
int_array...................................................................................................................................................70
integrationAccess.....................................................................................................................................70
integrationBrief.........................................................................................................................................70
integrationData.........................................................................................................................................70
integrationDetail.......................................................................................................................................71
integrationDetails......................................................................................................................................72
Contents
integrationMapping...................................................................................................................................73
integrationValue........................................................................................................................................73
integrationValues......................................................................................................................................73
metricClassificationList.............................................................................................................................73
metricClassifications................................................................................................................................73
partner_sandbox_credentials...................................................................................................................74
product.....................................................................................................................................................74
productArray.............................................................................................................................................74
productCalculatedMetric..........................................................................................................................74
productCalculatedMetrics.........................................................................................................................75
productClassification................................................................................................................................75
productClassificationList..........................................................................................................................75
productDetails..........................................................................................................................................76
productDetailsList.....................................................................................................................................76
productFaq...............................................................................................................................................76
productProcessingRule............................................................................................................................76
productResource......................................................................................................................................77
productResourceContent.........................................................................................................................77
productResourceList................................................................................................................................78
productResourceType..............................................................................................................................78
product_approval_status_container.........................................................................................................79
product_info_container.............................................................................................................................79
resourceEncoded.....................................................................................................................................79
responseArray..........................................................................................................................................79
rowArray...................................................................................................................................................79
scriptParameter........................................................................................................................................79
scriptParameters......................................................................................................................................80
status........................................................................................................................................................80
string_array..............................................................................................................................................80
timeBucket................................................................................................................................................80
timeBucketList..........................................................................................................................................81
token_usage_container............................................................................................................................81
token_usage_array...................................................................................................................................81
varMapAll.................................................................................................................................................81
Sample Code........................................................................................................................83
Sample Data Connectors Integration.......................................................................................................84
Sample On-Demand Script Usage...........................................................................................................97
Reference............................................................................................................................100
Data Connectors Standard Elements.....................................................................................................100
Activity Log Error Messages..................................................................................................................117
Time Zones............................................................................................................................................117
Currency Codes.....................................................................................................................................120
Note: All Web Services APIs should be accessible through the Product Script. However, if you run into
difficulties using a particular API in the Product Script, contact your Account Manager. Information about
all the Web Services APIs is available on the Developer Connection.
2. Partner finalizes and tests the integration in the Data Connectors Sandbox.
3. Partner notifies Adobe that the Integration is ready to verify.
4. Adobe verifies and approves the Integration.
5. Adobe sends Partner an updated WSDL with an correct endpoint for the production environment.
6. Adobe enables the Integration in Data Connectors.
7. Using the Data Connectors Integration API, partner checks on a regular basis for clients that have activated the
integration in their Analytics report suite.
8. After a client activates the partners Data Connectors integration, partner uses the Integration API to enable the
flow of data between the partners product or service and Analytics.
SOAP Service
Simple Object Access Protocol (SOAP) is an XML-based protocol for the exchange of information between applications
over HTTP. See http://www.w3.org/TR/soap12-part1/ for a more complete review of SOAP-based implementations.
The Suite Web Services, including the Data Connectors Partner API, use a document/literal style version of SOAP
(not rpc/encoded). Your program sends a SOAP request; Adobe's Web service processes the request and returns
a response. Both the request and the response use standard XML messages with a header and a body.
Send SOAP requests (in XML format) as an HTTP POST request. It must include a special SOAPAction header.
Adobe returns the response as a response to your POST. All of these communications are encrypted with SSL
(HTTPS), thereby helping to protect data privacy.
Important details must be sent in the Header as metadata about your message, including your login email, password
and a user agent header identifying the client company. The requested operation (such as addAdGroup) is included
in the message body. The message body also includes all pertinent parameters such as the data objects.
Remember that requests for our Web service to process are defined in a Web services definition language (WSDL)
file in XML. This WSDL file describes the operations that our Web service can perform, required parameters for
each operation, and the expected response for each operation.
Security
The Suite ensures that access to your company information and transfer of data is secure. The Authentication
procedure is based on the OASIS Web Services Security Username Token Profile 1.0 specification. This method
utilizes a shared secret that can be renewed by an Adobe ClientCare at your request. This shared secret should
never be passed over the Internet unencrypted.
In addition to secure authentication, the Data Connectors API supports secure transfer of data over an SSL data
encryption layer. This method of Web services security is an industry standard and is built into the SOAP technology.
REST Service
Before May 2014, the Data Connectors REST service contained two REST APIs that provided a more efficient option
for downloading large data segments (>10MB), which are not available through the Export.GetSegmentedData
method.
After May 2014, REST APIs are now available for all Data Connectors APIs. These APIs have the same method
names, parameters list, and the same responses as the SOAP APIs.
REST APIs are hosted on a new endpoint, though the two previously supported REST APIs,
Partner.StreamSegmentedData and Partner.StreamClassificationData will continue to use their original endpoint
(https://api.omniture.com/genesis/i/3.1/export/index.html).
The REST API endpoint for all other APIs is:
https://api.omniture.com/genesis/rest/3.1/index.html
Both the configuration and integration REST APIs share the same endpoint.
The parameters can be appended to request URL as query parameters or added to HTTP body. The method name
should always be added to URL similar to the following:
https://api.omniture.com/genesis/rest/3.1/index.html?method=Partner.GetProducts
10
User name and password should be passed by X-WSSE header in HTTP request as following:
Host: api.vm16.dev.ut1.omniture.com
Accept: */*
Content-Type: application/json
Content-Length: 0
X-WSSE: UsernameToken Username="adobe_xinw", PasswordDigest="Or/zpqhCFTZZEAE+mBUL/o623jE=",
Nonce="+UOpU1tx3oN3ED05TVeVrg==", Created="2014-03-24GMT03:00:100"
Methods
The Data Connectors Partner API lets you import data from third-party applications and services into Analytics,
where you can gather and analyze data in a central location.
When a Analytics client uses a Data Connectors-enabled product or service, they can configure an integration
between Analytics and the product or service that imports data into Analytics. Once integrated, they can generate
Analytics reports that include data from the Data Connectors application.
The Data Connectors API methods are organized into two separate Web Services that correspond to the phase of
the integration process where those methods are used.
REST APIs
The existing method documentation was written for SOAP API, so it has parameter types defined. When using the
REST API, there is no need to specify parameter types. Method name should be added to request URL, as described
in REST Service section.
Note: For a list of supported values for many of the parameters used in the Data Connectors API methods,
see Data Connectors Standard Elements.
11
Product.Add
Creates a new Data Connectors product.
A Data Connectors Product does the following:
Defines the integration characteristics between the partner's product or service and our Suite client collection
servers.
Facilitates the day-to-day transfer of data between the partner's environment and our Suite collection servers.
Product.Add Parameters
Parameter
Type
Required
Description
contactName
xsd:string
Yes
contactEmail
xsd:string
Yes
version
xsd:string
Yes
industry
xsd:string
Yes
details
tns:productDetailsList
Yes
supportPhone
xsd:string
Yes
supportEmail
xsd:string
Yes
Product.Add Response
Response
Type
Description
productCode
xsd:string
status
xsd:string
Product.Clone
Creates a new Data Connectors product based on an existing product.
This is useful when you need to update a product integration due to a new release.
Product.Clone Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
12
Parameter
Type
Required
Description
newProductVersion
xsd:string
Yes
Product.Clone Response
Response
Type
Description
productCode
xsd:string
status
xsd:string
Product.Delete
Deletes an existing Data Connectors product.
Product.Delete Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.Delete Response
Response
Type
Description
success
xsd:boolean
status
xsd:string
Product.Get
Returns information about the specified Data Connectors product.
Product.Get Parameters
Parameter
Type
Description
productCode
xsd:string
A valid Data Connectors product code. You can get a list of your
company's product codes by calling .
13
Product.Get Response
Parameter
Type
Description
productCode
xsd:string
contactName
xsd:string
contactEmail
xsd:string
version
xsd:string
industry
xsd:string
details
tns:productDetailsList
supportPhone
xsd:string
supportEmail
xsd:string
Product.Modify
Modifies the Data Connectors product as specified.
Product.Modify Parameters
Parameter
Type
Description
productCode
xsd:string
A valid Data Connectors product code. You can get a list of your
company's product codes by calling .
contactName
xsd:string
contactEmail
xsd:string
version
xsd:string
industry
xsd:string
details
tns:productDetailsList
supportPhone
xsd:string
supportEmail
xsd:string
14
Product.Modify Response
Parameter
Type
Description
productCode
xsd:string
status
xsd:string
Product.AddCalculatedMetric
Add a calculated metric for a product.
Added in Data Connectors 3.1.
Product.AddCalculatedMetric Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
name
xsd:string
Yes
formula
xsd:string
Yes
Yes
Yes
Yes
Yes
replace_with_mapping xsd:boolean
friendly_formula
xsd:string
metric_type
xsd:integer
decimal_places
xsd:integer
Product.AddCalculatedMetric Response
Parameter
status
Type
Description
status
Product.DeleteCalculatedMetric
Deletes a calculated metric for a product.
15
Type
Required
Description
productCode
xsd:string
Yes
name
xsd:string
Yes
Product.DeleteCalculatedMetric Response
Parameter
status
Type
Description
status
Product.GetCalculatedMetrics
Gets all calculated metrics for a product.
Added in Data Connectors 3.1.
Product.GetCalculatedMetrics Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
Product.GetCalculatedMetrics Response
Parameter
metrics
Type
Description
Product.ModifyCalculatedMetric
Modifies a calculated metric for a product.
Added in Data Connectors 3.1.
16
Product.ModifyCalculatedMetric Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
name
xsd:string
Yes
formula
xsd:string
Yes
Yes
Yes
Yes
Yes
replace_with_mapping xsd:boolean
friendly_formula
xsd:string
metric_type
xsd:integer
decimal_places
xsd:integer
Product.ModifyCalculatedMetric Response
Parameter
status
Type
Description
status
Product.AddClassification
Add a classification for a metric.
Added in Data Connectors 3.1.
Product.AddClassification Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
classificationName
xsd:string
Yes
metricName
xsd:string
Yes
Element
17
Type
parentClassificationNum xsd:integer
type
xsd:string
Required
Description
False
Yes
version
xsd:integer
campaignViewFlag
xsd:integer
False
Product version.
False
Product.AddClassification Response
Parameter
Type
Description
classificationNum
xsd:integer
metricName
xsd:string
status
status
Product.DeleteClassification
Deletes a classification for a metric.
Added in Data Connectors 3.1.
Product.DeleteClassification Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
metricName
xsd:string
Yes
False
parentClassificationNum xsd:integer
18
Product.DeleteClassification Response
Parameter
status
Type
Description
status
Product.GetClassifications
Get classifications for a product.
Added in Data Connectors 3.1.
Product.GetClassifications Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
Product.GetClassifications Response
Parameter
classificationList
Type
Description
productClassificationList
Product.ModifyClassification
Modifies a classification for a metric.
Added in Data Connectors 3.1.
Product.ModifyClassification Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
classificationName
xsd:string
Yes
metricName
xsd:string
Yes
Yes
Yes
classificationNum
type
xsd:integer
xsd:string
Element
19
Type
Required
Description
text
numeric
percent
currency
campaignViewFlag
xsd:integer
False
Product.ModifyClassification Response
Parameter
Type
Description
classificationNum
xsd:integer
metricName
xsd:string
status
status
Product.GetProcessingRule
Get the processing rule template for this product.
Added in Data Connectors 3.1.
Product.GetProcessingRule Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
Product.GetProcessingRule Response
Parameter
rule
Type
Description
Product.DeleteProcessingRule
Deletes the processing rule template for this product.
Added in Data Connectors 3.1.
20
Product.DeleteProcessingRule Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
Product.DeleteProcessingRule Response
Parameter
status
Type
Description
status
Product.ModifyProcessingRule
Modifies the processing rule template for this product.
Added in Data Connectors 3.1.
Product.ModifyProcessingRule Parameters
Element
Type
Required
Description
productCode
xsd:string
Yes
xml
xsd:string
Yes
Product.ModifyProcessingRule Response
Parameter
status
Type
Description
status
Product.AddFaq
Add a FAQ for a product.
Added in Data Connectors 3.0.
Product.AddFaq Parameters
Parameter
Type
Required
Description
answer
xsd:string
Yes
21
Parameter
Type
Required
Description
productCode
xsd:string
Yes
question
xsd:string
Yes
Product.AddFaq Response
Parameter
status
Type
Description
status
Product.AddProductScript
Creates a new script associated with the specified Data Connectors product.
In Data Connectors 3.0, Product.SubmitProductScript was renamed to Product.AddProductScript.
Product.SubmitProductScript Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
script
xsd:string
Yes
name
xsd:string
Yes
description
xsd:string
No
runOn
xsd:string
Yes
Parameter
22
Type
Required
Description
integration_edit: Runs the script after the Data
Connectors Wizard completes for an existing
integration.
Product.SubmitProductScript Response
Parameter
Type
Description
status
status
Product.AddVariableMappings
Configures mappings between partner product metrics and Analytics eVars, events, and properties.
Product.AddVariableMappings Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
variableMappings
array( tns:varMapAll )
Yes
Product.AddVariableMappings Response
Parameter
Type
Description
status
status
Product.DeleteFaq
Delete a FAQ for a product.
Added in Data Connectors 3.0.
Product.DeleteFaq Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
question
xsd:string
Yes
23
Product.DeleteFaq Response
Parameter
status
Type
Description
status
Product.DeleteVariableMappings
Configures mappings between partner product metrics and Analytics eVars, events, and properties.
Product.DeleteVariableMappings Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Yes
variableMappings array(xsd:string)
Product.DeleteVariableMappings Response
Parameter
Type
Description
status
status
Product.DisableAuthentication
Disables the authentication request to the partner API for a product.
Added in Data Connectors 3.0.
Product.DisableAuthentication Request
Parameter
Type
productCode
xsd:string
Required
Description
Yes
Product.DisableAuthentication Response
Parameter
Type
status
status
Product.EnableAuthentication
Enables authentication to partner APIs.
Description
A status code and associated message related to the operation.
24
Type
endpoint
xsd:string
Required
Description
No
functionName
xsd:string
parameterList
Array of
authenticationParameter
productCode
xsd:string
response
xsd:string
type
xsd:string
Yes
Yes
Product.authenticationParameter.
Yes
Yes
Yes
url
xsd:string
Yes
25
Product.EnableAuthentication Response
Parameter
Type
status
status
Description
A status code and associated message related to the operation.
Product.GetAuthentication
Returns authentication configuration information
Added in Data Connectors 3.0.
Product.GetAuthentication Request
Parameter
Type
productCode
xsd:string
Required
Description
Yes
Product.GetAuthentication Response
Parameter
Type
Description
authenticationConfiguration
authResponse
AuthResponse:
type type string
functionName type string
response type string
url type string
endpoint type string
parameterList type
authenticationParameterArray - array
of type authenticationParameter
type type string
location type string
name type string
value type string
label type string
p_order type int
Product.GetFaqs
Returns the FAQs for a product.
Added in Data Connectors 3.0.
26
Product.GetFaqs Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.GetFaqs Response
Parameter
faqs
Type
Description
An array of
Product.productFaq
Product.GetLogo
Gets the logo of a product for a given locale.
Added in Data Connectors 3.0.
Product.GetLogo Parameters
Parameter
Type
Required
Description
locale
xsd:string
No
productCode
xsd:string
Yes
Product.GetLogo Response
Parameter
Type
Description
encodedData
xsd:string
Product.GetVariableMappings
Gets the variable mappings for the specified product.
27
Product.GetVariableMappings Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
filter
xsd:string)
No
Product.GetVariableMappings Response
Parameter
Type
Description
XML that defines the variable mappings.
Product.ModifyFaq
Modify a FAQ for a product.
Added in Data Connectors 3.0.
Product.ModifyFaq Parameters
Parameter
Type
Required
Description
answer
xsd:string
Yes
productCode
xsd:string
Yes
28
Parameter
Type
Required
Description
question
xsd:string
Yes
Product.ModifyFaq Response
Parameter
status
Type
Description
status
Product.ModifyLogo
Updates the logo of a product for a given locale.
In Data Connectors 3.0, Product.UpdateLogo was renamed to Product.ModifyLogo.
Product.ModifyLogo Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
encodedData
xsd:string
Yes
locale
xsd:string
No
Product.ModifyLogo Response
Parameter
Type
Description
result
xsd:string
Product.ModifyProductScript
Creates or modifies a product script.
Added in Data Connectors 3.0.
29
Product.ModifyProductScript Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
script
xsd:string
Yes
name
xsd:string
Yes
description
xsd:string
No
runOn
xsd:string
Yes
Product.ModifyProductScript Response
Parameter
Type
Description
status
status
Product.ModifyVariableMappings
Configures mappings between partner product metrics and Analytics eVars, events, and properties.
Product.ModifyVariableMappings Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Yes
30
Product.ModifyVariableMappings Response
Parameter
Type
Description
status
status
Product.DisableAdProcessing
Disables ad processing for the specified product during the Data Connectors configuration.
Product.DisableAdProcessing Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.DisableAdProcessing Response
Parameter
Type
Description
status
status
Product.EnableAdProcessing
Enables ad processing during the product configuration in the Data Connectors environment.
Product.EnableAdProcessing Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
prefix
xsd:string
Yes
variables
adProcessingVariables
Yes
settings
adProcessingSettings
No
31
Product.EnableAdProcessing Response
Parameter
Type
Description
status
status
Product.GetAdProcessing
Returns the current add processing settings for the specified product.
Product.GetAdProcessing Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.GetAdProcessing Response
Parameter
Type
status
adProcessingStatus
Description
The current ad processing status for the specified Data Connectors
product.
Product.DeleteProductScript
Removes the product script from the specified product.
Product.DeleteProductScript Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
scriptName
xsd:string
Yes
Product.DeleteProductScript Response
Parameter
Type
Description
status
status
Product.GetProductScript
Returns the product script from the specified Data Connectors product.
32
Product.GetProductScript Parameters
Parameter
Type
Required
Description
Name
xsd:string
Yes
productCode
xsd:string
Yes
Product.GetProductScript Response
Type
Description
<genesis>
<ReportSuite.SaveClassifications> <!-- #1 -->
<c_options/>
<c_view replaceWith="mapping">Ad
Campaign</c_view> <!-- #2 -->
<camp_view>0</camp_view>
<name>My Site Name</name>
<rsid_list>
<item replaceWith="client">RSID</item> <!-#3 -->
</rsid_list>
</ReportSuite.SaveClassifications>
<Report.QueueRanked>
...
</Report.QueueRanked>
</genesis>
Product.SubmitProductScript
Creates a list of API calls to make when the Integration Wizard completes.
In Data Connectors 3.0, Product.SubmitProductScript was renamed to Product.AddProductScript.
33
Product.SubmitProductScript Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
script
xsd:string
Yes
scriptName
xsd:string
Yes
scriptDesc
xsd:string
No
runOn
xsd:string
Yes
Product.SubmitProductScript Response
Parameter
Type
Description
status
status
Product.GetProductScripts
Returns a list of all product scripts submitted for the specified product.
Product.GetProductScripts Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
34
Product.GetProductScripts Response
Parameter
Type
Description
status
string_array
Product.GetProductApprovalStatus
Returns a current status of the approval process.
Call this method after Product.SubmitProductForApproval to check the approval status.
Product.GetProductApprovalStatus Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.GetProductApprovalStatus Response
Parameter
Type
Description
status
xsd:string
Indicates the current status of the approval process for the submitted
product integration. Suppported response values include unsubmitted,
pending, approved, or rejected.
comments
xsd:string
Product.SubmitProductForApproval
Submits the specified product integration for approval.
Product.SubmitProductForApproval Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.SubmitProductForApproval Response
Parameter
Type
Description
status
status
35
Product.AddResource
Adds a resource to the specified product.
A resource is additional information or code that a client needs when activating an integration. Data Connectors
provides clients access to integration resources in multiple ways, including:
On the Summary page of the Data Connectors Integration Wizard
In an Email sent upon activating an integration
In the Data Connectors UI by clicking the Resources link
Product.AddResource Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
type
productResourceType
Yes
title
xsd:string
Yes
description
xsd:string
Yes
url
xsd:string
No
resourceFile
resourceEncoded
No
variablePrefix
xsd:string
No
variableSuffix
xsd:string
No
Parameter
36
Type
Required
Description
A unique string value, which can be the same as
variablePrefix, used to identify the end of a variable
in the dynamic file.
locale
xsd:string
No
Product.AddResource Response
Parameter
Type
Description
resourceCode
xsd:string
Product.DeleteResource
Deletes a resource from the specified product.
Product.DeleteResource Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
resourceCode
xsd:string
Yes
Product.DeleteResource Response
Parameter
Type
Description
status
status
Product.GetResource
Returns the specified resource associated with the specified product.
Product.GetResource Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
37
Parameter
Type
Required
Description
resourceCode
xsd:string
Yes
Product.GetResource Response
Parameter
Type
Description
resource
productResource
Product.ModifyResource
Modifies an existing resource associated with the specified product.
Product.ModifyResource Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
resourceCode
xsd:string
Yes
type
productResourceType
No
title
xsd:string
No
description
xsd:string
No
url
xsd:string
No
resourceFile
resourceEncoded
No
38
Parameter
Type
Required
Description
variablePrefix
xsd:string
No
variableSuffix
xsd:string
No
locale
xsd:string
No
Product.ModifyResource Response
Parameter
Type
Description
status
status
Product.GetResources
Returns all of the resources associated with the specified product.
Data Connectors 3.0: Added includeResourceFile.
Product.GetResources Parameters
Parameter
Type
Required
Description
includeResourceFile
xsd:boolean
Yes
productCode
xsd:string
Yes
39
Product.GetResources Response
Parameter
Type
Description
resource
productDetailsList
Product.AddAccessRequest
Adds an access request to the specified product.
Product.AddAccessRequest Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
access
xsd:string
Yes
element
xsd:string
Yes
required
xsd:string
Yes
Product.AddAccessRequest Response
Parameter
Type
Description
status
status
Product.DeleteAccessRequest
Deletes an access request from the specified product.
Product.DeleteAccessRequest Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
40
Parameter
Type
Required
Description
element
xsd:string
Yes
Product.DeleteAccessRequest Response
Parameter
Type
Description
status
status
Product.ModifyAccessRequest
Modifies an existing access request for the specified product.
Product.ModifyAccessRequest Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
access
xsd:string
Yes
element
xsd:string
Yes
required
xsd:string
Yes
Product.ModifyAccessRequest Response
Parameter
Type
Description
status
status
Product.GetAccessRequests
Returns the current add processing settings for the specified product.
41
Product.GetAccessRequests Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
Product.GetAccessRequests Response
Parameter
Type
Description
requests
tns:accessRequests
Product.UpdateLogo
Modifies the logo graphic that Data Connectors displays in the Partner List.
In Data Connectors 3.0, Product.UpdateLogo was renamed to Product.ModifyLogo. The parameters have not
changed so you can safely rename the method with no additional changes.
Product.UpdateLogo Parameters
Parameter
Type
Required
Description
productCode
xsd:string
Yes
encodedData
xsd:string
Yes
locale
xsd:string
No
Product.UpdateLogo Response
Parameter
Type
Description
result
xsd:string
42
Type
productCode
xsd:string
Description
An array of information about one partner product.
Partner.GetProduct returns an array of product information
for the product identified by the specified productCode.
Partner.GetProduct Response
Response
Type
Description
productInfo
tns:product
Partner.GetProducts
Returns information about each product associated with the current Data Connectors partner.
While this method is part of the Integration API, you might find it useful in both the Configuration and Integration
phases of the integration development process.
Note: Several Data Connectors API methods rely on the productCode returned by Partner.GetProducts.
Partner.GetProducts Parameters
None. Data Connectors determines the product list based on the authentication credentials used to log in to the
Data Connectors Partner Portal.
Partner.GetProducts Response
Response
Type
Description
productInfo
tns:product
43
Partner.GetIntegrationAccess
Lets a partner see what data a customer has granted access to in the integration.
Also identifies if the client has granted export access, import access, or both.
Partner.GetIntegrationAccess Parameters
Parameter
Type
Required Description
integrationCode
xsd:string
No
Partner.GetIntegrationAccess Response
Response
Type
Description
element
xsd:string
Displays the name of the element for which access was requested.
requested
xsd:string
granted
xsd:string
Partner.GetIntegrationMappings
Retrieves the mappings and access chosen by the user for an Integration.
Partner.GetIntegrationMappings Parameters
Parameter
Type
integrationCode
xsd:string
Required
Description
No
Partner.GetIntegrationMappings Response
Response
Type
Description
chosenMappings
string_array
chosenAccessRequests
chosenAccessRequests
Response
44
Type
Description
exportable access requests (can be
requested via Data Warehouse) and
importable access requests (can be
imported with Data Sources and
SAINT).
Partner.GetIntegrations
Returns details about active Data Connectors integrations.
Partner.GetIntegrations Parameters
Parameter
Type
Required
Description
filter
xsd:string
No
45
integrationCurrency
productCode
productVersion
productName
reportSuiteId
company
creationDate
lastModifiedDate
status
selectedSegment
soapEndpoint
customValue
Partner.GetIntegrations Response
Response
Type
Description
integrationInfo
integrationDetails
Partner.GetIntegrationsBrief
Returns brief information about a partner's active Data Connectors integrations.
Added in Data Connectors 3.1.
Partner.GetIntegrationsBrief Parameters
Parameter
Type
Required
Description
filter
xsd:string
No
Parameter
46
Type
Required
Description
Constant: The filter value. Constant is either a string
expression (enclosed in single or double quotes), or a
numeric value.
For example, the following filter returns all integrations
between d1.100 and d2.200:
integrationCode >= "d1.100", integrationCode
<= "d1.200"
Partner.GetIntegrationsBrief Response
Response
Type
Description
integrationBriefs
Array of integrationBrief
Partner.GetIntegrationsDetail
Returns information about a partner's active Data Connectors integrations.
Added in Data Connectors 3.1.
Partner.GetIntegrationsDetail Parameters
Parameter
Type
Required
Description
filter
xsd:string
No
Parameter
47
Type
Required
Description
integrationCode >= "d1.100", integrationCode
<= "d1.200"
Partner.GetIntegrationsDetail Response
Response
Type
Description
integrationData
Array of integrationData
Partner.GetSandboxCredentials
Returns the login information a partner needs to access their Data Connectors sandbox environment.
Partner.GetSandboxCredentials Parameters
None. Data Connectors determines the partner identity based on the authentication credentials used to log in to the
Data Connectors Partner Portal.
Partner.GetSandboxCredentials Response
Response
Type
Description
soap_host
partner_sandbox_credentials
Partner.GetTokenUsage
Returns the sandbox token usage details for the authenticated partner.
Partner.GetTokenUsage Parameters
None. Data Connectors determines the partner identity based on the authentication credentials used to log in to the
Data Connectors Partner Portal.
Partner.GetTokenUsage Response
Response
Type
Description
allowedTokens
xsd:int
consumedTokens
xsd:int
Partner.RunScript
Runs an on-demand script against a clients account during an integration.
48
For sample code related to using Partner.RunScript with on-demand product scripts, see Sample On-Demand
Script Usage.
Partner.RunScript Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
name
xsd:string
Yes
parameters
scriptParameters
Yes
Partner.RunScript Response
Response
Type
Description
functionName
xsd:string
hadSOAPFault
xsd:boolean
result
any
Import.UploadMetrics
Submits the first data block in the Data Connectors data submission.
Individual data blocks can contain no more than 10,000 data rows (to keep the HTTP POST below 10MB), so you
might need to break up data submissions into multiple data blocks.
Import.UploadMetrics Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
columnNames
colArray
Yes
Parameter
49
Type
Required
Description
Date. The others must be either a valid metric
rowArray
Yes
dataSourceId
xsd:string
Yes
endOfBlock
xsd:string
No
Type
Description
status
xsd:string
50
Response
Type
Description
blockId
xsd:int
fileId
xsd:int
Import.CheckMetricsUpload
Checks a Data Connectors data submission.
Import.CheckMetricsUpload Parameters
Parameter
Type
fileId
xsd:int
Required
Description
Yes
integrationCode
xsd:string
Yes
Import.CheckMetricsUpload Response
Response
Type
fileInfoResult
Array of
DataSource.dsFileStruct
Description
Contains information about the submitted files
associated with a data source.
Import.ContinueMetricsUpload
Appends an additional data block to an existing Data Connectors data submission.
Individual data blocks can contain no more than 10,000 data rows (to keep the HTTP POST below 10MB), so you
might need to break up data submissions into multiple data blocks.
51
Import.ContinueMetricsUpload Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
blockId
colArray
Yes
xsd:string
No
Import.ContinueMetricsUpload Response
Response
Type
Description
status
xsd:string
fileId
xsd:int
52
Import.UploadClassifications
Submits SAINT classification data for a Data Connectors integration on behalf of a client.
Individual data blocks can contain no more than 10,000 data rows (to keep the HTTP POST below 10MB), so you
might need to break up data submissions into multiple data blocks.
Import.UploadClassifications Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
metricName
columnNames
colArray
Yes
rows
rowArray
Yes
endOfBlock
xsd:string
No
Parameter
53
Type
Required
Description
If you pass an endOfBlock with a value of 0, you
must call Import.ContinueClassificationsUpload
to resume uploading.
Import.UploadClassifications Response
Response
Type
Description
status
xsd:string
blockId
xsd:int
fileId
xsd:int
Import.CheckClassificationsUpload
Checks submitted SAINT classification data for a Data Connectors integration.
Import.CheckClassificationsUpload Parameters
Parameter
Type
fileId
xsd:int
Required
Description
Yes
integrationCode
xsd:string
Yes
54
Import.CheckClassificationsUpload Response
Response
Type
Description
saintresults
saintresults
Import.ContinueClassificationsUpload
Appends an additional data block to an existing Data Connectors classifications submission.
Individual data blocks can contain no more than 10,000 data rows (to keep the HTTP POST below 10MB), so you
might need to break up data submissions into multiple data blocks.
Import.ContinueClassificationsUpload Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
blockId
xsd:int
Yes
rows
rowArray
Yes
endOfBlock
xsd:string
No
Parameter
55
Type
Required
Description
To indicate that additional data will be sent, pass
the following:
<endOfBlock>0</endOfBlock>.
Import.ContinueClassificationsUpload Response
Response
Type
Description
status
xsd:string
blockId
xsd:int
fileId
xsd:int
Export.RequestClassificationData
Retrieves classification data from SAINT.
After creating an export job, use Export.CheckClassificationRequest to determine when the export data is
ready for download. Export data files can be very large. Use Export.GetClassificationData to download the
file in pieces (segments).
Export.RequestClassificationData Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
56
Parameter
Type
Required
Description
campaign_filter_begin_range
xsd:string
No
xsd:string
No
parameter.
campaign_filter_option
xsd:int
No
filter)
1 : (Default) Return active
campaigns
2 : Return campaigns with the
xsd:string
No
Parameter
57
Type
Required
Description
Specify the date using the
following format: Mmm YYYY,
where:
Mmm: A three-character month
xsd:string
No
parameter.
email_address
xsd:string
Yes
relation_id
xsd:int
Yes
.
For example, 53 is the ID for the
"campaign" relation.
row_match_filter_empty_column_name
xsd:string
No
58
Parameter
Type
Required
Description
row_match_filter_match_column_name
xsd:string
No
parameter.
If the cell value matches the
value, SAINT excludes it from the
export.
row_match_filter_match_column_value
xsd:string
No
select_all_rows
xsd:int
Yes
export.
1: (Default) Include all rows in the
export.
select_number_of_rows
xsd:int
No
Export.RequestClassificationData Response
Name
Type
Description
requestID
xsd:int
Export.CheckClassificationRequest
Determines if a requested classification from Export.RequestClassificationData is ready to be acquired by
Export.GetClassificationData or downloaded by REST URL.
59
Export.CheckClassificationRequest Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
requestId
xsd:int
Yes
Export.CheckClassificationRequest Response
Name
Type
Description
data_url
xsd:string
return
tns:saintresults
Export.GetClassificationData
Retrieves classification data for a Data Connectors partner which was requested previously from
Export.RequestClassificationData.
Export.GetClassificationData Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
file_id
xsd:int
Yes
segment_id
xsd:int
Yes
Parameter
60
Type
Required
Description
data pages in the job. Valid values for segment_id
are between 1 and the value of viewable_pages.
Export.GetClassificationData Response
Name
Type
Description
rows
tns:pagedetails
Export.RequestSegmentedData
Submits a Data Warehouse request to return data to the Data Connectors partner.
Export.RequestSegmentedData Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
breakdownNames
string_array
Yes
metricNames
string_array
Yes
segmentName
xsd:string
Yes
dateGranularity
xsd:string
Yes
61
Parameter
Type
Required
Description
dateType
xsd:string
Yes
datePreset
xsd:string
No
dateFrom
xsd:string
No
dateTo
xsd:string
No
Export.RequestSegmentedData Response
Response
Type
Description
requestId
xsd:int
status
xsd:string
62
Export.CheckDataRequest
Returns the status of a previously requested data segment.
Export.CheckDataRequest Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
requestId
xsd:int
Yes
Export.CheckDataRequest Response
Response
Type
Description
return
data_warehouse_request
Export.GetSegmentedData
Downloads previously requested segment data.
You must first request the data segment using Export.RequestSegmentedData. Use this method only when the data
segment is less than 10MB. Use Export.CheckDataRequest to determine the size of the data segment. For data
segments larger than 10MB use the Data Connectors REST Service.
Export.GetSegmentedData Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
requestId
xsd:int
Yes
startRow
xsd:int
Yes
63
Export.GetSegmentedData Response
Response
Type
Description
return
data_warehouse_report
Export.ProduceResource
Produces a dynamic resource for the specified integration.
Export.ProduceResource Parameters
Parameter
Type
Required
Description
integrationCode
xsd:string
Yes
resourceCode
xsd:string
Yes
Export.ProduceResource Response
Response
Type
Description
return
productResourceContent
Data Types
The Data Connectors Partner API uses these custom data types.
A custom data type defines a structure for organizing and containing a specific set of data. Additionally, XML defines
certain primitive (common) data types such as int, string or date. The XML Schema Definition describes these
primitive data types.
Adobe uses the following convention to identify a data type related to Marketing Cloud web services:
<namespace>:<type>
For example:
xsd:int identifies a primitive data type that is part of the xsd namespace (XML Schema Definition), and that the
type is int (Integer).
tns:code_items identifies a custom data type that is part of the tns namespace (an Adobe private namespace),
and that the type is code_items. The tns namespace prefixes all custom data types related to the Adobe Marketing
Cloud.
REST APIs
The existing data type documentation was written for SOAP API, so it has parameter types defined. When using
the REST API, there is no need to specify parameter types. Method name should be added to request URL, as
described in REST Service section.
64
accessRequest
Information about a single access request.
Element
Type
element
xsd:string
access
xsd:string
required
xsd:string
Description
??
??
??
accessRequests
An array of accessRequest .
adProcessingSettings
Element
Type
variable
xsd:string
Description
The name of the variable mapping that contains the incoming
data string.
If not specified, Data Connectors uses the value from the
variables.viewsVariable parameter.
delimiters
xsd:string
tokenCount
xsd:int
format
xsd:string
clickToken
xsd:int
clickSeconds
xsd:int
Element
Type
clickFormat
xsd:string
65
Description
The default value is :$7:$8:$9.
A string used to build the outgoing click data. It contains a
template string that indicates the tokens used and the delimiters
separating them. This data is appended to the prefix to create
the full click string.
viewToken
xsd:int
viewSeconds
xsd:int
viewFormat
xsd:string
timeBucketFormat timeBucketList
A list that contains the timebucket intervals used for the time
bucket metric.
adProcessingStatus
Element
Type
enabled
xsd:boolean
prefix
xsd:string
variables
adProcessingVariables
settings
adProcessingSettings
Description
Identifies if ad processing is enabled (true) or disabled (false).
The unique text pre-pended to outgoing click and view data.
Contains the names of the variable mappings what will be used
to receive the data from the ad processing system.
Contains information that changes the behavior and setup of the
ad processing system.
66
adProcessingVariables
Element
Type
clickVariable
xsd:string
clickEventVariable
xsd:string
viewsVariable
xsd:string
viewsEventVariable
xsd:string
timeBucketVariable
xsd:string
Description
The name of the variable that stores the clicks metric. For
example, Click Through.
The name of the variable that stores the clicks metric. For
example, Click Throughs.
The name of the variable that stores the views metric. For
example, View Through.
The name of the variable that stores the views event. For
example, View Throughs.
The name of the variable that stores the time bucket metric.
For example, Time Bucket.
Product.authenticationParameter
Contains details on an authentication parameter that is used for partner API authentication.
Element
Type
Description
type
xsd:string
location
xsd:string
name
xsd:string
67
Element
Type
Description
value
xsd:string
label
xsd:string
p_order
xsd:int
chosenAccessRequests
Chosen access requests selected by the user.
68
Element
Type
Description
importable
string_array
exportable
string_array
colArray
An array of xsd:string.
data_warehouse_report
Contains a segmented Data Warehouse report.
Element
Type
start_row
xsd:int
end_row
xsd:int
finished
xsd:boolean
headings
string_array
rows
string_array
Description
The first data row to include in the report. This value should
always be 1.
The last data row to include in the report.This value should always
equal the number of elements in rows.
Indicates that additional data is available (a paged report). This
value is not currently enabled. It always returns True.
An array of column headings for this report.
An array of data rows for this report.
data_warehouse_request
Element
Type
status
xsd:int
Description
A code representing the status of the data segment. Supported
status values include:
status == 0: Waiting to Start
status == 1: In Progress
status == 2: Completed
status == 3: On Hold
status == 4: Cancelled
status == 5: Has Error
status == 6: Waiting to Start
Element
Type
69
Description
status == 7: Too Big
status == 8: Waiting to Start
status == 9: Waiting for Data
status == 10: Waiting to Send
status == 11: Waiting for Verification
status == 12: Waiting to Send
status == 13: Sent to Product
status == 14: Sending
status == 15: Waiting to Continue
status == 16: Waiting to Continue
status == 17: Continuing
status == 18: Not Delivered
message
xsd:string
filesize
xsd:string
data_url
xsd:string
display
Display information for a custom value.
Element
Type
type
xsd:string
Description
Type of custom value, must be one of the following:
text
textarea
list
radio
values
tns:string_array
70
int_array
An array of xsd:int.
integrationAccess
Element
Type
element
xsd:string
requested
xsd:string
granted
xsd:string
Description
Displays the name of the element for which access was
requested.
Displays the level of access that was requested: import, export,
or import/export.
Displays the level of access that was granted by the customer:
import, export, or import/export.
integrationBrief
Element
Type
integrationCode
xsd:string
integrationName
xsd:string
soapEndpoint
xsd:string
Description
The integration's unique identifier.
The integration name.
The SOAP endpoint used to perform the integrations data
exchange.
integrationData
Element
Type
integrationCode
xsd:string
integrationName
xsd:string
integrationEmail
xsd:string
integrationTimeZone xsd:string
integrationCurrency xsd:string
Description
The integration's unique identifier.
The integration name.
The email address that receives notifications and messages for
this integration.
The time zone of the report suite that contains this integration.
The currency of the report suite that contains this integration.
Element
Type
productCode
xsd:string
productVersion
xsd:string
productName
xsd:string
reportSuiteId
xsd:string
company
xsd:string
creationDate
xsd:string
lastModifiedDate
xsd:string
status
xsd:string
71
Description
The version of the product that this integration represents.
The version of the product that this integration represents.
The product name related to this integration.
The report suite that uses this integration.
The company that created this integration.
The date and time this integration was created.
The date and time this integration was last modified.
One of the following:
In Progress
Active
Deleted
Paused
selectedSegments string_array
integrationValues
integrationValues
dataSourceIds
int_array
soapEndpoint
xsd:string
integrationAccesses Array of
ntegrationAccess
integrationMappings Array of
integrationMapping
integrationMapping
Element
Type
Description
integrationCode
xsd:string
integrationDetail
Element
Type
integrationName
xsd:string
integrationEmail
xsd:string
integrationTimeZone xsd:string
integrationCurrency xsd:string
productCode
xsd:string
productVersion
xsd:string
productName
xsd:string
reportSuiteId
xsd:string
company
xsd:string
creationDate
xsd:string
selectedSegments string_array
integrationValues
integrationValues
dataSourceIds
int_array
soapEndpoint
xsd:string
integrationDetails
An array of integrationDetail .
72
Description
The integration name.
The email address that receives notifications and messages for
this integration. See Time Zones.
The time zone of the report suite that contains this integration.
The currency of the report suite that contains this integration. See
Currency Codes.
The version of the product that this integration represents.
The version of the product that this integration represents.
The product name related to this integration.
The report suite that uses this integration.
The company that created this integration.
The date and time this integration was created.
If applicable, a list of the data segments chosen during the
creation of the integration (in the Data Connectors Wizard).
A list of customval variable mappings and the value that was
entered for this integration.
The list of Data Source IDs created for this integration. Use the
Data Source IDs with Import.UploadMetrics.
The SOAP endpoint used to perform the integrations data
exchange.
73
integrationMapping
Element
Type
type
xsd:string
sc_field
xsd:integer
feature_name
xsd:string
Description
The type of Analytics variable used in the mapping (supported
values include evar, event, or prop).
The relation ID. You get this ID as a return value from
GetCompatibilityMetrics. For example, 53 is the ID for the
"campaign" relation.
The customized metric name displayed in Analytics
integrationValue
Element
Type
name
xsd:string
value
xsd:string
Description
The name of the customval.
The value entered for the "name" parameter in the Integration
Wizard.
integrationValues
An array of integrationValue .
metricClassificationList
An array of metricClassifications .
metricClassifications
Element
Type
metricName
xsd:string
classifications
productClassificationList
Description
The partners metric name.
A list of productClassification objects defined for this metric.
74
partner_sandbox_credentials
Element
Type
web_host
xsd:string
company
xsd:string
username
xsd:string
password
xsd:string
Description
The URL to the partners sandbox environment.
The company name to use when logging in to the partners
sandbox environment.
The username to use when logging in to the partners sandbox
environment.
A one-time-use password to use when logging in to the partners
sandbox environment. You must change the password after
logging in for the first time.
product
Element
Type
productCode
xsd:string
name
xsd:string
contactName
xsd:string
contactEmail
xsd:string
version
xsd:string
dateAdded
xsd:dateTime
Description
The Data Connectors Product Code assigned to this product.
The product name.
The partners contact name.
The partner's contact e-mail address.
Product version.
Date product was added.
productArray
An array of product .
productCalculatedMetric
Element
Type
name
xsd:string
formula
xsd:string
Description
Name of the calculated metric to be created.
The formula for the new calculated metric.
Element
Type
replace_with_mapping xsd:boolean
friendly_formula
xsd:string
metric_type
xsd:integer
decimal_places
xsd:integer
75
Description
Set to 1 to automatically replace formula metrics with
variable-mapped metrics when an integration is saved.
Human-readable calculated metric formula.
The type of metric to be created. 1:numeric, 2:percent, 3:currency
The number of decimal places to be displayed for this formula
result.
productCalculatedMetrics
An array of productCalculatedMetric .
productClassification
Element
Type
metricName
xsd:string
classificationName xsd:string
classificationNum
xsd:integer
parentClassificationNum xsd:integer
campaignViewFlag xsd:integer
type
tns:productClassificationType
childNodes
productClassificationList
productClassificationList
An array of productClassification .
Description
The partners metric name.
Name of the classification.
Numeric identifier of this classification for this metric.
Item that this classification is classifying. Assign a value of 0 if it
is simple classifying the metric directly.
Whether or not to treat this classification like a campaign.
The classification type: Numeric or Text.
A list of child productClassification objects.
76
productDetails
Element
Type
name
xsd:string
menuName
xsd:string
boilerplate
xsd:string
instructions
xsd:string
final_instructions
xsd:string
locale
xsd:string
Description
The name of the product in the specified locale.
The customized name for this product to display in the Data
Connectors left navigation. Added in Data Connectors 3.1.
The boilerplate description in the specified locale.
The activation installation instructions for the product in the
specified locale.
The post-activation instructions for the product in the specified
locale.
The specified locale.
productDetailsList
An array of productDetails .
Product.productFaq
Contains a frequently asked question.
Element
Type
Description
question
xsd:string
answer
xsd:string
productProcessingRule
Element
Type
xml
xsd:string
Description
The processing rule template XML string.
77
productResource
Element
Type
resourceCode
xsd:string
type
productResourceType
title
xsd:string
description
xsd:string
url
xsd:string
Description
A partner-specific value used to identify the click and view data
in the request.
The type of resource you want to add. Supported values include
link, static, and dynamic.
A title for the resource.
A description of the resource.
The resource URL.
If the type field is set to static or dynamic then the URL must
be the publically accessible location of a resource document.
Data Connectors downloads the document and stores it on its
servers. The url parameter is truncated to file name instead of
the full URL.
Nothing is done if type is set to link.
resourceFile
resourceEncoded
variablePrefix
xsd:string
variableSuffix
xsd:string
locale
xsd:string
productResourceContent
Element
Type
status
xsd:int
Description
The status of the resource upload. Supported values include:
Element
Type
78
Description
0: Success.
1: Failure.
error
xsd:string
content
xsd:string
productResourceList
An array of productResource .
productResourceType
Data Connectors 3.0: Added feed resource type.
An enumerated list of supported resource types:
Element
link
static
Description
A simple URL that redirects the integration client to an external Web page.
A static file, such as a PDF. Data Connectors downloads and includes static resources as Email
attachments to an integrations Welcome Email.
A static resource is identical for all integrations.
dynamic
feed
79
product_approval_status_container
Element
Type
status
xsd:string
comments
xsd:string
Description
The products approval status.
Any comments that have been included regarding the products
accreditation.
product_info_container
Element
Type
name
xsd:string
info_url
xsd:string
Description
The product name.
The URL of the partner's product information page.
resourceEncoded
Element
Type
filename
xsd:string
filedata
xsd:base64Binary
Description
The name of the encoded resource file.
The base-64-encoded content of the file. You must
base64-encode a resource file before uploading it to Data
Connectors.
responseArray
An array of varMapAll.
rowArray
An array of colArray .
scriptParameter
Element
Type
name
xsd:string
Description
The script key to replace. For more information about script keys,
see Product.GetProductScript.
Element
Type
value
xsd:string
80
Description
The value to insert into the script.
scriptParameters
An array of scriptParameter .
status
Element
Type
statusCode
xsd:int
message
xsd:string
Description
The status code of the executed request.
A description of the status code.
string_array
An array of xsd:string. The string_array XML has a consistent structure:
<parameterType>
<item> </item>
<item> </item>
...
</parameterType>
Element
Type
Description
parameterType
N/A
The root tag that identifies the type of parameter for which the
string_array contains values. Possible values for
parameterType include: variableMappings, metricNames, and
breakdownNames.
Each variableMappings tag can contain multiple <item> tags.
item
xsd:string
Element
Type
Description
seconds
xsd:int
name
xsd:string
timeBucket
The number of seconds where this bucket starts (the bucket ends
at one second less than the start time of the next bucket)
The name of the time bucket.
Element
Type
81
Description
The default time bucket names, and the number of seconds at
which each time bucket starts, are:
0-5 minutes: 0 seconds
5-30 minutes: 300 seconds
30-60 minutes: 1800 seconds
1-3 hours: 3600 seconds
3-6 hours: 10800 seconds
6-12 hours: 21600 seconds
12-24 hours: 43200 seconds
1-2 days: 86400 seconds
2-5 days: 172800 seconds
5-10 days: 432000 seconds
10-20 days: 864000 seconds
20+ days: 1728000 seconds
timeBucketList
An array of timeBucket .
token_usage_container
Element
Type
allowed_tokens
xsd:int
used_tokens
xsd:int
Description
The number of remaining allowed tokens.
The number of tokens consumed during the current usage period.
token_usage_array
An array of token_usage_container .
varMapAll
Includes the variable mapping XML that defines the mappings between partner metrics and Analytics variables
(eVars, events, and props). The XML for this purpose uses the following structure and tags:
<variableMappings>
<item>
<metric></metric>
<friendly_name></friendly_name>
82
<om_variable></om_variable>
<type_flag>
<item></item>
...
<item></item>
</type_flag>
<description></description>
<required>yes</required>
<access></access>
</item>
<item>
...
</item>
</variableMappings>
Element
Type
Required Description
variableMappings
N/A
Yes
item
N/A
Yes
metric
xsd:string
Yes
friendly_name
xsd:string
No
om_variable
xsd:string
type_flag
xsd:string
No
Element
83
Type
Required Description
Note: To import the metric using
Import.UploadMetrics, an event must be of type
Currency or Numeric.
prop: Not Applicable. No type_flag needed.
customval: Not Applicable. No type_flag needed.
Note: Customval is used only to store internal
integration variables. These values are not available
to, or used in, Analytics.
You can specify multiple options in a single type_flag. For
example, the following type_flag definition restricts the
variable list to events of type Custom and Numeric:
<type_flag>
<item>custom</item>
<item>numeric</item>
<type_flag>
description
xsd:string
No
required
xsd:string
No
access
xsd:string
Conditional Indicates whether you can import data to, or export data
from, the variable. Supported values include import,
export, and import/export.
Note: The access tag is required for adding and
modifying variable mappings, but is not required for
deleting variable mappings.
display
display
Conditional Specifies the display type and values of the custom value.
Added in Data Connectors 3.1.
Sample Code
Data Connectors Partner API Sample Code
This section contains sample code demonstrating use of the Data Connectors Partner API. These samples are all
based on the SOAP API. The concepts and work flows described in this section work for REST API, but the sample
code uses SOAP.
84
working folder. The config file eliminates the need to manually provide login information manually when running
the integration.
GenesisConfiguration-2.7.wsdl: The WSDL for the Data Connectors Configuration API.
GenesisIntegration-2.7.wsdl: The WSDL for the Data Connectors Integration API.
GenesisSoapApp.class.php: The SOAP class for the Twitter sample integration (See GenesisSoapApp.class.php).
GetGenesisProducts.php: Returns information about all your currently defined products and lets you save the
information to the config file, as described in Step 1 (See GetGenesisIntegrations.php). Once saved to the config
file, you can use the product information in product-specific calls, such as AddVariableMappings.
ConfigureTwitterApp.php: The Twitter sample integration configuration and Product Script (See
ConfigureTwitterApp.php). This code leverages the methods and data types in the Data Connectors Configuration
API.
GetGenesisIntegrations.php: Returns information about all your currently defined integrations and lets you save
the information to the config file, as described in Step 1 (See GetGenesisIntegrations.php). Once saved to the
config file, you can use the integration information in integration-specific calls, such as GetDWSegment.
UploadTwitterData.php: The Twitter sample integration data exchange with Adobe collection servers. This code
leverages the methods and data types in the Data Connectors Integration API.
85
GetDWSegment.php: Returns a Data Warehouse segment for the integration specified in the config file (See
GetDWSegment.php).
Implementation
The following process, used to create the Twitter sample integration, serves as a general model for creating
integrations of any type using the Data Connectors Partner APIs
Create the Data Connectors Integration Wizard: Each Data Connectors integration includes a Data Connectors
Integration Wizard that steps customers through the process of integrating a partner application with Data Connectors.
Data Connectors partners must identify the integration points between the application and Data Connectors, and
gather the information necessary to construct the Data Connectors Integration Wizard.
Test the Integration: Use the Data Connectors sandbox to test and refine the integration until it behaves just how
you want it to.
Upload Data to Analytics: Once configured, the integration is ready to receive data from the partner application
and insert it into the associated Analytics report suite.
Download Segmented Data: (Optional) Once data is uploaded to Analytics, you can retrieve data segments that
include the partner data by using Data Warehouse.
To Create a Data Connectors Integration Wizard
1. Create a working folder for the integration.
For the sample Twitter integration, the working folder stores the config file, the integration code files, the Data
Connectors Partner API WSDL files (from the Data Connectors Sandbox Welcome Email).
Note: The sample Twitter integration also creates a subfolder, called TweetIds, that contains information
about the last TweetId used.
2. Create a config file that contains information needed by the integration.
The config file eliminates the need to provide account credentials each time you run the integration. The file
must be named config, and should contain the following entries:
username=YOUR_Data Connectors_API_USERNAME:Your Data Connectors Partner API username, as provided
in the Data Connectors Sandbox Welcome Email.
password=YOUR_Data Connectors_API_PASSWORD: Your Data Connectors Partner API password, as provided
in the Data Connectors Sandbox Welcome Email.
workingDir=/path/to/working/dir: The full path to the integrations working directory.
configWSDL=GenesisConfiguration-2.7.wsdl: The name of the Data Connectors Partner Configuration Web
Service file.
integrationWSDL=GenesisIntegration-2.7.wsdl: The name of the Data Connectors Partner Integration
Web Service.
3. Run GetGenesisProducts.php to call partner.GetProducts.
This call returns information about your existing products. When GetGenesisProducts runs, it prompts you to
save integration information to the config file:
86
y: Select the appropriate product from the product list, and GetGenesisProducts copies the product information
eVar
Collects data about the Twitter search term for which you want
to generate a Analytics report.
This mapping requires that the assigned eVar has full
sub-relations enabled, so Adobe recommends using the
Campaign Variable for this purpose.
eVar
Collects data about the Twitter ID that publishes tweets with the
specified search term.
This mapping requires that the assigned eVar has basic
sub-relations enabled.
Tweets
Event
Customval
5. Configure the Product Script section of ConfigureTwitterApp.php as needed for the integration.
To do this, you must identify the non-Data Connectors API calls that you want to call at the end of the Data
Connectors Integration Wizard. The sample Twitter integration requires the following non-Data Connectors API
calls:
ReportSuite.SaveCalculatedMetrics
ReportSuite.SaveClassifications
DataSource.SetupGeneric
6. Configure the SubmitProductScript section of ConfigureTwitterApp.php as needed for the integration.
To do this, you must determine when you want the non-Data Connectors API calls to execute. For more information,
see Product.SubmitProductScript.
7. Run ConfigureTwitterApp.php.
ConfigureTwitterApp does the following:
87
integration information for the selected integration into the integrationCode parameter of the config file. The
Data Connectors integration uses this information when uploading data to Analytics.
n: GetGenesisIntegrations displays integration information for all active integrations, but does not copy any
Calls the Twitter Search API using the Saved Search Term value to gather information about Tweets that contain
the search term. To keep the data in Analytics current, call the Twitter Search API regularly. For example, every
60 minutes. For information about the Twitter Search API, visit the Twitter API Documentation Web site. The
code for the Twitter search call for the Twitter integration is available at UploadTwitterData.php.
Stores the tweet id in a file for use in the next Twitter call. This prevents downloading data from the same tweets
multiple times. The tweet id contains the ID of the last tweet included in the current Twitter search, so you can
use it as a starting point for the next search. The code for storing and retrieving the tweet id in the Twitter
integration is available at UploadTwitterData.php.
Calls Import.UploadMetrics. This call uploads the Twitter search data to Analytics. The code for the data transfer
in the Twitter integration is available at UploadTwitterData.php.
Calls Import.UploadClassifications. This call submits SAINT classification data for the integration.
To Download Segmented Data
1. If necessary, enable Data Warehouse before attempting to download data segments..
88
Integration Code
The sample integration for Twitter uses the following code files:
GetGenesisProducts.php
Returns information about your existing products and lets you save the information to the config file.
For information about when to run GetGenesisProducts.php, see Step 5 in Implementation.
<?
/**
* @file
* GenesisSoapApp.class.php
*
* Copyright 2009-2011 Adobe, Inc. All rights reserved.
**/
require_once 'nusoap-0.7.3/lib/nusoap.php';
class GenesisSoapApp
{
private $_username = '';
private $_password = '';
private $_working_dir = '';
private $_int_wsdl = '';
private $_con_wsdl = '';
private $_product_code = '';
private $_integration_code = '';
private $_wsdl_locations = array('integration'=>'', 'config'=>'');
private $_debug = 0;
function __construct()
{
$config_params = parse_ini_file("config");
$this->_username = $config_params['username'];
$this->_password = $config_params['password'];
$this->_working_dir = $config_params['workingDir'];
$this->_int_wsdl = $config_params['integrationWSDL'];
$this->_con_wsdl = $config_params['configWSDL'];
$this->_product_code = $config_params['productCode'];
$this->_integration_code = $config_params['integrationCode'];
$this->_wsdl_locations['integration'] = $config_params['workingDir'] . "/" .
$config_params['integrationWSDL'];
$this->_wsdl_locations['config'] = $config_params['workingDir'] . "/" .
$config_params['configWSDL'];
}
function sendRequest($functionName, $params, $wsdlType, $debug) {
// Create nuSOAP client
$client = new nusoap_client($this->_wsdl_locations[$wsdlType], 'wsdl');
$client->debugLevel = 1; //Debug level 0-9, where 0 turns off
// handle client setup error
if($err = $client->getError()) {
echo "ERROR:".$err."\n";
exit();
}
$client->setUseCurl(true);
89
getUsername()
$this->_username;
getPassword()
$this->_password;
getWorkingDir()
return
}
function
{
return
}
function
{
return
}
function
{
return
}
function
{
return
}
90
$this->_working_dir;
getConfigWSDL()
$this->_con_wsdl;
getIntegrationWSDL()
$this->_int_wsdl;
getProductCode()
$this->_product_code;
getIntegrationCode()
$this->_integration_code;
}
?>
GetGenesisProducts.php
Returns information about your existing products and lets you save the information to the config file.
For information about when to run GetGenesisProducts.php, see Step 5 in Implementation.
<?
/**
* @file
* GetGenesisProducts.php
*
* Copyright 2009 Adobe, Inc. All rights reserved.
**/
require_once "GenesisSoapApp.class.php";
$soapApp = new GenesisSoapApp();
$debug = 0;
// Override username and password if provided on command line
if($argc >= 2) {
$arguments = getopt("d:");
if (!empty($arguments['d'])) {
$debug = $arguments['d'];
}
}
if ($argc >= 4) {
echo "Usage: GetGenesisProducts.php [-d debug level]\n\n";
exit();
}
$wsdlType = 'integration'; // Use Data Connectors Integration WSDL
$functionName = 'Partner.GetProducts';
$params = array();
$result = $soapApp->sendRequest($functionName, $params, $wsdlType, $debug);
if (is_array($result)) {
if (array_key_exists('faultstring', $result)) {
echo "Error-GetProducts: " . $result['faultstring'] . "\n";
} else {
fwrite(STDOUT, "\nWould you like to send the results to the configuration file? (y\\n)
");
// Read input
$response = fgets(STDIN);
if (strpos($response, 'y') === 0 || strpos($response, 'Y') === 0) {
fwrite(STDOUT, "\nAvailable products:\n");
$index = 1;
foreach($result as $product) {
echo $index . '- ' . $product['name'] . "\n";
91
$index++;
}
fwrite(STDOUT, "Please select a product number to use- ");
$productIndex = fgets(STDIN);
unlink('config');
$outfile = fopen('config', 'w');
$product = $result[$productIndex - 1];
// Write details to config file
fwrite($outfile, 'username=' . $soapApp->getUsername() . "\n");
fwrite($outfile, 'password=' . $soapApp->getPassword() . "\n");
fwrite($outfile, 'workingDir=' . $soapApp->getWorkingDir() . "\n");
fwrite($outfile, 'configWSDL=' . $soapApp->getConfigWSDL() . "\n");
fwrite($outfile, 'integrationWSDL=' . $soapApp->getIntegrationWSDL() . "\n");
fwrite($outfile, 'productCode=' . $product['productCode'] . "\n");
fclose($outfile);
// Display product information
var_dump($product);
} else {
var_dump($result);
}
}
}
?>
ConfigureTwitterApp.php
Configures the Twitter App Integration Wizard and the product script to run following the Integration Wizard.
For information about when to run ConfigureTwitterApp.php, see Step 7 in Implementation.
<?
/**
* @file
* ConfigureTwitterApp.php
*
* Copyright 2009-2011 Adobe, Inc. All rights reserved.
**/
require_once "GenesisSoapApp.class.php";
$soapApp = new GenesisSoapApp();
$debug = 0;
if($argc >= 2) {
$arguments = getopt("d:");
if (!empty($arguments['d'])) {
$debug = $arguments['d'];
}
}
if ($argc >= 4) {
echo "Usage: ConfigureTwitterApp.php [-d debug level]\n\n";
exit();
}
$productCode = $soapApp->getProductCode(); // Partner's product identifier
if (empty($productCode)) {
die("\nError: The product code was not found in the configuration file!\n\n");
}
$wsdlType = 'config';
$functionName = 'Product.AddVariableMappings';
$params = array('productCode' => $productCode,
'variableMappings' => array(
array('metric' => 'Twitter Search Term',
'friendly_name' => 'Tracking code for Twitter',
92
93
<dataSourceEmail>{{EMAIL}}</dataSourceEmail>
</dataSourceSettings>
<dataSourceType>12</dataSourceType>
<reportSuiteID>{{RSID}}</reportSuiteID>
</DataSource.SetupGeneric>
<DataWarehouse.CreateSegment>
<rsid>{{RSID}}</rsid>
<segment>
<name>Got a Tweet</name>
<group_include>
<type>ROOT</type>
<name>Include</name>
<group_operator>UNKNOWN</group_operator>
<rule_operator>AND</rule_operator>
<rule_list/>
<group_list>
<item>
<type>VISIT</type>
<name>Visit</name>
<group_operator>UNKNOWN</group_operator>
<rule_operator>AND</rule_operator>
<rule_list/>
<group_list>
<item>
<type>EVENT</type>
<name>Tweets</name>
<group_operator>UNKNOWN</group_operator>
<rule_operator>AND</rule_operator>
<rule_list>
<item>
<operator>></operator>
<item>{{Twitter|api_code}}</item>
<value>!</value>
<event/>
</item>
<item>
<operator/>
<item/>
<value/>
<event>{{Tweets|mod_stat}}</event>
</item>
</rule_list>
<group_list/>
</item>
</group_list>
</item>
</group_list>
</group_include>
<group_exclude>
<type>ROOT</type>
<name>Exclude</name>
<group_operator>UNKNOWN</group_operator>
<rule_operator>AND</rule_operator>
<rule_list/>
<group_list/>
</group_exclude>
</segment>
</DataWarehouse.CreateSegment>
</genesis>');
$result = $soapApp->sendRequest($functionName, $params, $wsdlType, $debug);
if (array_key_exists('faultstring', $result)) {
echo "\nError-AddProductScript: " . $result['faultstring'] . "\n";
} else {
echo "\nProduct script for creating integrations has been successfully uploaded for product
code " . $productCode . ".\n\n";
}
//
94
GetGenesisIntegrations.php
Returns information about your defined integrations and lets you save the information to the config file.
For information about when to run GetGenesisIntegrations.php, see Step 9 in Implementation.
<?
/**
* @file
* GetGenesisIntegrations.php
*
* Copyright 2009-2011 Adobe, Inc. All rights reserved.
**/
require_once "GenesisSoapApp.class.php";
$soapApp = new GenesisSoapApp();
$debug = 0;
// Override username and password if provided on command line
if($argc >= 2) {
$arguments = getopt("d:");
if (!empty($arguments['d'])) {
$debug = $arguments['d'];
95
}
}
if ($argc >= 4) {
echo "Usage: GetGenesisIntegrations.php [-d debug level]\n\n";
exit();
}
$wsdlType = 'integration';
$functionName = 'Partner.GetIntegrations';
$params = array();
$result = $soapApp->sendRequest($functionName, $params, $wsdlType, $debug);
if (is_array($result)) {
if (array_key_exists('faultstring', $result)) {
echo "Error-GetIntegrations: " . $result['faultstring'] . "\n";
} else {
fwrite(STDOUT, "\nWould you like to send the results to the configuration file? (y\\n)
");
// Read input
$response = fgets(STDIN);
if (strpos($response, 'y') === 0 || strpos($response, 'Y') === 0) {
fwrite(STDOUT, "\nAvailable integrations:\n");
$index = 1;
foreach($result as $integration) {
echo $index . '- ' . $integration['integrationName'] . "\n";
$index++;
}
fwrite(STDOUT, "Please select an integration number to use- ");
$integrationIndex = fgets(STDIN);
unlink('config');
$outfile = fopen('config', 'w');
$integration = $result[$integrationIndex - 1];
// Write details to config file
fwrite($outfile, 'username=' . $soapApp->getUsername() . "\n");
fwrite($outfile, 'password=' . $soapApp->getPassword() . "\n");
fwrite($outfile, 'workingDir=' . $soapApp->getWorkingDir() . "\n");
fwrite($outfile, 'configWSDL=' . $soapApp->getConfigWSDL() . "\n");
fwrite($outfile, 'integrationWSDL=' . $soapApp->getIntegrationWSDL() . "\n");
fwrite($outfile, 'integrationCode=' . $integration['integrationCode'] . "\n");
fwrite($outfile, 'integrationName=' . $integration['integrationName'] . "\n");
fwrite($outfile, 'integrationEmail=' . $integration['integrationEmail'] . "\n");
fwrite($outfile, 'productCode=' . $integration['productCode'] . "\n");
fwrite($outfile, 'productName=' . $integration['productName'] . "\n");
fwrite($outfile, 'reportSuiteId=' . $integration['reportSuiteId'] . "\n");
fwrite($outfile, 'company=' . $integration['company'] . "\n");
fwrite($outfile, 'creationDate=' . $integration['creationDate'] . "\n");
fwrite($outfile, 'dataSourceId=' . $integration['dataSourceIds'][0] . "\n");
fwrite($outfile, 'soapEndpoint=' . $integration['soapEndpoint'] . "\n");
fclose($outfile);
// Display integration information
var_dump($integration);
} else {
var_dump($result);
}
}
}
?>
GetDWSegment.php
Returns a Data Warehouse segment for the integration specified in the config file.
For information about when to run GetDWSegment.php, see Step 11 in Implementation.
<?
/**
96
* @file
* GetDWSegment.php
*
* Copyright 2009-2011 Adobe, Inc. All rights reserved.
**/
require_once "GenesisSoapApp.class.php";
define ('MAX_ITERATIONS', 5);
define ('ITERATION_PAUSE', 300);
// in seconds
97
}
}
if ( $count > MAX_ITERATIONS ) {
continue;
}
}
if (is_array($result)) {
if (array_key_exists('faultstring', $result)) {
echo "Error-GetSegmentedData: " . $result['faultstring'] . "\n";
} else {
var_dump($result);
echo "\n" . $count . " iteration(s) needed to get segment.\n";
}
}
?>
98
<date/>
<dateFrom>2010-01-01</dateFrom>
<dateTo>{{myDateTo}}</dateTo>
<dateGranularity>day</dateGranularity>
<metrics>
<id>pageviews</id>
</metrics>
<sortBy/>
<elements/>
<locale/>
</reportDescription>
</Report.QueueOvertime>
</genesis>]]></script>
<scriptDesc xsi:type="xsd:string">Script to call QueueOvertime Reporting
API</scriptDesc>
<scriptName xsi:type="xsd:string">Queue Report</scriptName>
</omn:Product.SubmitProductScript>
</soapenv:Body>
</soapenv:Envelope>
Report.GetStatus Script
Sample script to check the status of a previously submitted report request using the report ID received from the
Report.QueueOvertime call.
Once the report status is done, you can download the report data.
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/
soap/envelope/" xmlns:omn="http://www.omniture.com/">
<soapenv:Header/>
<soapenv:Body>
<omn:Product.SubmitProductScript soapenv:encodingStyle="http://
schemas.xmlsoap.org/soap/encoding/">
<productCode xsi:type="xsd:string">**PRODUCT_CODE**</productCode>
<runOn xsi:type="xsd:string">demand</runOn>
<script xsi:type="xsd:string"><![CDATA[<genesis version="3">
<Report.GetStatus>
<reportID>{{REPORT_ID}}</reportID>
</Report.GetStatus>
</genesis>]]></script>
<scriptDesc xsi:type="xsd:string">First try at Reporting API</scriptDesc>
<scriptName xsi:type="xsd:string">Get Status</scriptName>
</omn:Product.SubmitProductScript>
</soapenv:Body>
</soapenv:Envelope>
Report.GetReport Script
Script that downloads report data from a completed report, using the report ID received from the
Report.QueueOvertime call.
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:omn="http://www.omniture.com/">
<soapenv:Header/>
<soapenv:Body>
<omn:Product.SubmitProductScript
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<productCode xsi:type="xsd:string">**PRODUCT_CODE**</productCode>
<runOn xsi:type="xsd:string">demand</runOn>
<script xsi:type="xsd:string"><![CDATA[<genesis version="3">
<Report.GetReport>
<reportID>{{REPORT_ID}}</reportID>
</Report.GetReport>
</genesis>]]></script>
<scriptDesc xsi:type="xsd:string">First try at Reporting API</scriptDesc>
<scriptName xsi:type="xsd:string">Get Report</scriptName>
99
</omn:Product.SubmitProductScript>
</soapenv:Body>
</soapenv:Envelope>
100
</omn:Partner.RunScript>
</soapenv:Body>
</soapenv:Envelope>
Reference
Data Connectors Partner API Reference
This section contains information to help you use the Data Connectors Partner API.
Element Name
Product.AddAccessRequest
browser
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?browser
Report.Queue
browser
101
Browser Height
API Method
Element Name
Product.AddAccessRequest
browser_height
Import.UploadMetrics
N/A
Export.RequestSegmentedData
browser_height
Report.Queue
browserheight
Browser Type
API Method
Element Name
Product.AddAccessRequest
browser_type
Import.UploadMetrics
N/A
Export.RequestSegmentedData
browser_type
Report.Queue
browsertype
Browser Width
API Method
Element Name
Product.AddAccessRequest
browser_width
Import.UploadMetrics
N/A
Export.RequestSegmentedData
browser_width
Report.Queue
browserwidth
Campaign Views
API Method
Element Name
Product.AddAccessRequest
campaign_views
Import.UploadMetrics
clickthroughs
Export.RequestSegmentedData
N/A
Report.Queue
N/A
Cart Additions
API Method
Element Name
Product.AddAccessRequest
cart_adds
Import.UploadMetrics
cart adds
Export.RequestSegmentedData
scAdd
102
API Method
Element Name
Report.Queue
shoppingcartadd
Cart Removes
API Method
Element Name
Product.AddAccessRequest
cart_removes
Import.UploadMetrics
cart removes
Export.RequestSegmentedData
scRemove
Report.Queue
shoppingcartremove
Cart Views
API Method
Element Name
Product.AddAccessRequest
cart_views
Import.UploadMetrics
cart views
Export.RequestSegmentedData
scView
Report.Queue
shoppingcartview
Carts
API Method
Element Name
Product.AddAccessRequest
cart_opens
Import.UploadMetrics
cart opens
Export.RequestSegmentedData
scOpen
Report.Queue
shoppingcartopen
Category
API Method
Element Name
Product.AddAccessRequest
category
Import.UploadMetrics
category
Export.RequestSegmentedData
category
Report.Queue
category
103
Checkouts
API Method
Element Name
Product.AddAccessRequest
checkouts
Import.UploadMetrics
checkout
Export.RequestSegmentedData
scCheckout
Report.Queue
checkout
Clicks to Page
API Method
Element Name
Product.AddAccessRequest
visit_page_num
Import.UploadMetrics
N/A
Export.RequestSegmentedData
visit_page_num
Report.Queue
N/A
Connection Type
API Method
Element Name
Product.AddAccessRequest
connection_type
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?connection_type
Report.Queue
connectiontype
Cookies
API Method
Element Name
Product.AddAccessRequest
cookies
Import.UploadMetrics
N/A
Export.RequestSegmentedData
cookies
Report.Queue
cookiesenabled
Currency Code
API Method
Element Name
Product.AddAccessRequest
currency
Import.UploadMetrics
currency code
Export.RequestSegmentedData
N/A
104
API Method
Element Name
Report.Queue
N/A
Custom Link
API Method
Element Name
Product.AddAccessRequest
custom_link
Import.UploadMetrics
N/A
Export.RequestSegmentedData
custom_link
Report.Queue
linkcustom
Customer Loyalty
API Method
Element Name
Product.AddAccessRequest
customer_loyalty
Import.UploadMetrics
N/A
Export.RequestSegmentedData
customer_loyalty
Report.Queue
loyalty_loyal
Element Name
Product.AddAccessRequest
days_before_first_purchase
Import.UploadMetrics
N/A
Export.RequestSegmentedData
days_before_first_purchase
Report.Queue
daysbeforefirstpurchase
Element Name
Product.AddAccessRequest
days_since_last_purchase
Import.UploadMetrics
N/A
Export.RequestSegmentedData
days_since_last_purchase
Report.Queue
dayssincelastpurchase
105
Element Name
Product.AddAccessRequest
return_freq
Import.UploadMetrics
N/A
Export.RequestSegmentedData
return_freq
Report.Queue
returnfrequency
Domain
API Method
Element Name
Product.AddAccessRequest
isp
Import.UploadMetrics
N/A
Export.RequestSegmentedData
isp
Report.Queue
N/A
Entry Page
API Method
Element Name
Product.AddAccessRequest
entry_page
Import.UploadMetrics
N/A
Export.RequestSegmentedData
entry_page
Report.Queue
entrypage
Exit Link
API Method
Element Name
Product.AddAccessRequest
exit_link
Import.UploadMetrics
N/A
Export.RequestSegmentedData
exit_link
Report.Queue
linkexit
Exit Page
API Method
Element Name
Product.AddAccessRequest
exit_page
Import.UploadMetrics
N/A
Export.RequestSegmentedData
exit_page
106
API Method
Element Name
Report.Queue
N/A
File Download
API Method
Element Name
Product.AddAccessRequest
download_link
Import.UploadMetrics
N/A
Export.RequestSegmentedData
download_link
Report.Queue
linkdownload
GeoSegmentation City
API Method
Element Name
Product.AddAccessRequest
geo_city
Import.UploadMetrics
N/A
Export.RequestSegmentedData
geo_city
Report.Queue
geocity
Geosegmentation Country
API Method
Element Name
Product.AddAccessRequest
geo_country
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?geo_country
Report.Queue
geocountry
Element Name
Product.AddAccessRequest
geo_dma
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?geo_dma
Report.Queue
geo_dma
107
GeoSegmentation Region/State
API Method
Element Name
Product.AddAccessRequest
geo_region
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?geo_region
Report.Queue
georegion
IP
API Method
Element Name
Product.AddAccessRequest
ip
Import.UploadMetrics
N/A
Export.RequestSegmentedData
ip
Report.Queue
N/A
Java
API Method
Element Name
Product.AddAccessRequest
java_enabled
Import.UploadMetrics
N/A
Export.RequestSegmentedData
java_enabled
Report.Queue
javaenabled
JavaScript
API Method
Element Name
Product.AddAccessRequest
javascript
Import.UploadMetrics
N/A
Export.RequestSegmentedData
javascript
Report.Queue
javascriptenabled
JavaScript Version
API Method
Element Name
Product.AddAccessRequest
javascript_version
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?javascript_version
108
API Method
Element Name
Report.Queue
javascriptversion
Language
API Method
Element Name
Product.AddAccessRequest
language
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?language
Report.Queue
language
Marketing Channel
API Method
Element Name
Product.AddAccessRequest
va_mawster_id
Import.UploadMetrics
marketing channel
Export.RequestSegmentedData
N/A
Report.Queue
N/A
Element Name
Product.AddAccessRequest
va_detail
Import.UploadMetrics
Export.RequestSegmentedData
N/A
Report.Queue
N/A
Element Name
Product.AddAccessRequest
color
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?color
Report.Queue
monitorcolordepth
109
Monitor Resolution
API Method
Element Name
Product.AddAccessRequest
resolution
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?resolution
Report.Queue
monitorresolution
NetScape Plug-In
API Method
Element Name
Product.AddAccessRequest
plugin
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?plugin
Report.Queue
N/A
Next Page
API Method
Element Name
Product.AddAccessRequest
next_page
Import.UploadMetrics
N/A
Export.RequestSegmentedData
next_page
Report.Queue
N/A
Occurrences
API Method
Element Name
Product.AddAccessRequest
occurences
Import.UploadMetrics
occurences
Export.RequestSegmentedData
N/A
Report.Queue
N/A
Operating System
API Method
Element Name
Product.AddAccessRequest
os
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?os
110
API Method
Element Name
Report.Queue
operatingsystem
Orders
API Method
Element Name
Product.AddAccessRequest
purchases
Import.UploadMetrics
orders
Export.RequestSegmentedData
purchase
Report.Queue
orders
Element Name
Product.AddAccessRequest
first_hit_page
Import.UploadMetrics
N/A
Export.RequestSegmentedData
first_hit_page
Report.Queue
entrypage
Element Name
Product.AddAccessRequest
first_hit_referrer_domain
Import.UploadMetrics
N/A
Export.RequestSegmentedData
first_hit_referrer_domain
Report.Queue
referringdomainoriginal
Page
API Method
Element Name
Product.AddAccessRequest
page
Import.UploadMetrics
N/A
Export.RequestSegmentedData
page
Report.Queue
page
111
Element Name
Product.AddAccessRequest
page_type_error
Import.UploadMetrics
N/A
Export.RequestSegmentedData
page_type_error
Report.Queue
pagenotfound
Page Views
API Method
Element Name
Product.AddAccessRequest
page_views
Import.UploadMetrics
N/A
Export.RequestSegmentedData
page_views
Report.Queue
pageviews
Page Length
API Method
Element Name
Product.AddAccessRequest
path_length
Import.UploadMetrics
N/A
Export.RequestSegmentedData
path_length
Report.Queue
pathlength
Previous Page
API Method
Element Name
Product.AddAccessRequest
_prev_page
Import.UploadMetrics
N/A
Export.RequestSegmentedData
_prev_page
Report.Queue
N/A
Product
API Method
Element Name
Product.AddAccessRequest
product
Import.UploadMetrics
product
Export.RequestSegmentedData
product
112
API Method
Element Name
Report.Queue
product
Product Views
API Method
Element Name
Product.AddAccessRequest
prod_views
Import.UploadMetrics
product views
Export.RequestSegmentedData
prodview
Report.Queue
productview
Purchase ID
API Method
Element Name
Product.AddAccessRequest
purchaseid
Import.UploadMetrics
N/A
Export.RequestSegmentedData
purchaseid
Report.Queue
N/A
Referrer
API Method
Element Name
Product.AddAccessRequest
referrer
Import.UploadMetrics
N/A
Export.RequestSegmentedData
referrer
Report.Queue
referrer
Referrer Domain
API Method
Element Name
Product.AddAccessRequest
referrer_domain
Import.UploadMetrics
N/A
Export.RequestSegmentedData
referrer_domain_v2
Report.Queue
referringdomain
113
Revenue
API Method
Element Name
Product.AddAccessRequest
revenue
Import.UploadMetrics
price
Export.RequestSegmentedData
revenue
Report.Queue
revenue
Search Engine
API Method
Element Name
Product.AddAccessRequest
search_engine
Import.UploadMetrics
N/A
Export.RequestSegmentedData
?search_engine
Report.Queue
searchengine
Search Keyword
API Method
Element Name
Product.AddAccessRequest
search_engine_keywords
Import.UploadMetrics
N/A
Export.RequestSegmentedData
search_engine_keywords
Report.Queue
search_engine_keywords
Server
API Method
Element Name
Product.AddAccessRequest
user_server
Import.UploadMetrics
N/A
Export.RequestSegmentedData
user_server
Report.Queue
server
Site Section
API Method
Element Name
Product.AddAccessRequest
channel
Import.UploadMetrics
channel
Export.RequestSegmentedData
channel
114
API Method
Element Name
Report.Queue
sitesection
State
API Method
Element Name
Product.AddAccessRequest
state
Import.UploadMetrics
state
Export.RequestSegmentedData
state
Report.Queue
state
Element Name
Product.AddAccessRequest
page_time
Import.UploadMetrics
N/A
Export.RequestSegmentedData
page_time
Report.Queue
N/A
Element Name
Product.AddAccessRequest
site_time
Import.UploadMetrics
N/A
Export.RequestSegmentedData
site_time
Report.Queue
N/A
Time Zone
API Method
Element Name
Product.AddAccessRequest
time_zone
Import.UploadMetrics
N/A
Export.RequestSegmentedData
time_zone
Report.Queue
timezone
115
Element Name
Product.AddAccessRequest
top_level_domain
Import.UploadMetrics
N/A
Export.RequestSegmentedData
top_level_domain
Report.Queue
toplevelname
Tracking Code
API Method
Element Name
Product.AddAccessRequest
campaign
Import.UploadMetrics
trackingcode
Export.RequestSegmentedData
campaign
Report.Queue
trackingcode
Transaction ID
API Method
Element Name
Product.AddAccessRequest
transactionid
Import.UploadMetrics
transactionid
Export.RequestSegmentedData
N/A
Report.Queue
N/A
Unique Visitors
API Method
Element Name
Product.AddAccessRequest
visitors
Import.UploadMetrics
N/A
Export.RequestSegmentedData
visitors
Report.Queue
visitors
Units
API Method
Element Name
Product.AddAccessRequest
units
Import.UploadMetrics
quantity
Export.RequestSegmentedData
units
116
API Method
Element Name
Report.Queue
units
Element Name
Product.AddAccessRequest
_homepage
Import.UploadMetrics
N/A
Export.RequestSegmentedData
_homepage
Report.Queue
homepage
Visit Number
API Method
Element Name
Product.AddAccessRequest
visit_num
Import.UploadMetrics
N/A
Export.RequestSegmentedData
visit_num
Report.Queue
visitnumber
Visitor ID
API Method
Element Name
Product.AddAccessRequest
cust_visid
Import.UploadMetrics
visitorid
Export.RequestSegmentedData
N/A
Report.Queue
N/A
Visits
API Method
Element Name
Product.AddAccessRequest
visits
Import.UploadMetrics
N/A
Export.RequestSegmentedData
visits
Report.Queue
visits
117
ZIP/Postal Code
API Method
Element Name
Product.AddAccessRequest
zip
Import.UploadMetrics
zip
Export.RequestSegmentedData
zip
Report.Queue
zip
Description
This error code indicates a problem with exporting customer data to a partner via data warehouse.
This error code indicates that the data sent by the partner did not contain all of the same metrics
that were mapped by the customer.
This error indicates that the data sent by the partner could not be processed because of a
formatting error.
This error indicates that no data was imported. This may also indicate that there simply wasn't
any data that needed to be sent. The customer and partner should determine if that is the case.
This error code indicates that the classifications sent by partner did not contain all of the same
attributes that were specified by the integration.
This error indicates that the classifications sent by the partner could not be processed because
of a formatting error.
This error indicates that no classifications were imported. This may also indicate that there
weren't any classifications that needed to be imported. The customer and partner should make
this determination.
Time Zones
The following time zones are used for the integrationTimeZone parameter in integrationDetail.
Eniwetok, Kwajalein [GMT-12:00]
Midway Island, Samoa [GMT-11:00]
US Hawaii [GMT-10:00]
US Alaska [GMT-09:00]
118
119
120
Currency Codes
See Currency Codes for a list of currency codes used by the integrationCurrency parameter in integrationDetail.
2014, Adobe
All rights reserved.
Published by Adobe Systems Inc.
Terms of Use | Privacy Center
A trademark symbol (, , etc.) denotes an Adobe trademark.
All third-party trademarks are the property of their respective owners. Updated Information/Additional Third Party
Code Information available at http://www.adobe.com/go/thirdparty.