The Analytics API provides account and subscription analytics information.
The following subjects are covered in this article:
URL
URL: https://api.clickbank.com/rest/1.3/analytics
Methods
This section provides details about the methods available within the Analytics API, including required keys and roles, output types, and supported and required parameters.
The following methods are covered in this section:
- GET /1.3/analytics/status – Returns the status and last update time of the API.
- GET /1.3/analytics/schema/AnalyticsResult – Returns the XML schema for analytics results.
- GET /1.3/analytics/schema/AnalyticsStatus – Returns the XML schema for analytics status results.
- GET /1.3/analytics/schema/SubscriptionDetailResult – Returns the XML schema for subscription results.
- GET /1.3/analytics/schema/SubscriptionTrendsData – Returns the XML schema for subscription trends results.
- GET /1.3/analytics/schema/SubscriptionDetailResultRow – Returns the XML schema for individual subscription results.
- GET /1.3/analytics/{role}/{dimension} – Returns statistical data for the given role and dimension.
- GET /1.3/analytics/{role}/{dimension}/summary – Returns a summary of statistical data for the given role and dimension.
- GET /1.3/analytics/{role}/subscription/details – Returns subscription details for the given role.
- GET /1.3/analytics/{role}/subscription/details/canceldate – Returns a list of subscriptions which were canceled within the specified date range.
- GET /1.3/analytics/{role}/subscription/details/cancelsixty – Returns a list of subscriptions that have been canceled in the last sixty days.
- GET /1.3/analytics/{role}/subscription/details/cancelthirty – Returns a list of subscriptions that have been canceled in the last thirty days.
- GET /1.3/analytics/{role}/subscription/details/compsixty – Returns a list of subscriptions that will complete in the next sixty days.
- GET /1.3/analytics/{role}/subscription/details/compthirty – Returns a list of subscriptions that will complete in the next thirty days.
- GET /1.3/analytics/{role}/subscription/details/nextpmtdate – Returns a list of subscriptions for which the next payment date is within the specified date range.
- GET /1.3/analytics/{role}/subscription/details/startdate – Returns a list of subscriptions for which the start date is within the specified date range.
- GET /1.3/analytics/{role}/subscription/details/status – Returns subscription status data for the given role.
- GET /1.3/analytics/{role}/subscription/trends – Returns statistical summations of subscription data for a specified date range.
GET /1.3/analytics/status
This method returns the status and last update time of the API.
The possible statuses are:
- GREEN – Normal operation.
- YELLOW – Delayed data.
- RED – Severely delayed data or critical problem.
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
- text/csv
GET /1.3/analytics/schema/AnalyticsResult
This method returns the XML Schema for analytics results.
Required Keys and Roles
- None
Return Type
XML Schema for Analytics Result
Supported Output Types
- application/xml
GET /1.3/analytics/schema/AnalyticsStatus
This method returns the XML Schema for analytics status results.
Required Keys and Roles
- None
Return Type
XML Schema for Analytics Status
Supported Output Types
- application/xml
GET /1.3/analytics/schema/SubscriptionDetailResult
This method returns the XML Schema for subscription results.
Required Keys and Roles
- None
Return Type
XML Schema for Subscription Detail Result
Supported Output Types
- application/xml
GET /1.3/analytics/schema/SubscriptionTrendsData
This method returns the XML Schema for subscription trends results.
Required Keys and Roles
- None
Return Type
XML Schema for Subscription Trends Data
Supported Output Types
- application/xml
GET /1.3/analytics/schema/SubscriptionDetailResultRow
This method returns the XML Schema for individual subscription results.
Required Keys and Roles
- None
Return Type
XML Schema for Subscription Detail Result Row
Supported Output Types
- application/xml
GET /1.3/analytics/{role}/{dimension}
This method returns statistical data for a given role and dimension. Valid roles include:
- AFFILIATE
- VENDOR
Dimensions include:
- AFFILIATE
- VENDOR_CATEGORY
- CUSTOMER_CURRENCY
- CUSTOMER_COUNTRY
- CUSTOMER_PROVINCE
- CUSTOMER_LANGUAGE
- PRODUCT_SKU – This dimension can only be used with the vendor role.
- TRACKING_ID
- VENDOR
- VENDOR_PRODUCT_SKU – This dimension can only be used with the affiliate role.
Head Parameters
Name | Required | Description |
---|---|---|
page | No | Return the specified page of results. The default is page 1. |
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
dimensionFilter | No | Limits the results returned to ones with a matching dimension ID. This value is case sensitive. |
endDate | No | Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the current day. Refunds are included or excluded based on the date of the initial purchase transaction. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
select | No | Return the specified data fields. You can pass multiple select parameters to select multiple values. If this parameter is absent, all values are returned. The valid values are:
|
sortAscending | No | If you are using the orderBy parameter, you can specify this parameter with a value of true to sort ascending instead of descending. |
startDate | No | Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the previous day. Refunds are included or excluded based on the date of the initial purchase transaction. |
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/{dimension}/summary
This method returns summary statistical data for a given role and dimension.
Valid roles include:
- AFFILIATE
- VENDOR
Dimensions include:
- AFFILIATE
- VENDOR_CATEGORY
- CUSTOMER_CURRENCY
- CUSTOMER_COUNTRY
- CUSTOMER_PROVINCE
- CUSTOMER_LANGUAGE
- PRODUCT_SKU – This dimension can only be used with the vendor role.
- TRACKING_ID
- VENDOR
- VENDOR_PRODUCT_SKU – This dimension can only be used with the affiliate role.
Head Parameters
Name | Required | Description |
---|---|---|
page | No | Return the specified page of results. The default is page 1. |
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
summaryType | Yes | This parameter specifies which type of summary data is desired. The valid values are:
|
dimensionFilter | No | This parameter limits the results returned to ones with a matching dimension id. This value is case sensitive. |
endDate | No | Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the current day. Refunds are included or excluded based on the date of the initial purchase transaction. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
select | No | Return the specified data fields. You can pass multiple select parameters to select multiple values. If this parameter is absent, all values are returned. The valid values are:
|
sortAscending | No | If you are using the orderBy parameter, you can specify this parameter with a value of true to sort ascending instead of descending. |
startDate | No | Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. The default value is the previous day. Refunds are included or excluded based on the date of the initial purchase transaction. |
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details
This method returns subscription data for a given role.
Valid roles include:
- AFFILIATE
- VENDOR
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/canceldate
This method returns a list of subscriptions where the subscription canceled date is within the specified date range.
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
endDate | Yes | Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
startDate | Yes | Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/cancelsixty
This method returns a list of subscriptions canceled in the last 60 days.
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/cancelthirty
This method returns a list of subscriptions canceled in the last 30 days.
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/compsixty
This method returns a list of subscriptions that will complete in the next 60 days.
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/compthirty
This method returns a list of subscriptions that will complete within the next thirty days.
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/nextpmtdate
This method returns a list of subscriptions where the next payment date is within the specified timeframe.
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
endDate | Yes | Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
startDate | Yes | Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/startdate
This method returns a list of subscriptions where the subscription start date is within the specified timeframe.
Head Parameters
Name | Required | Description |
---|---|---|
page | No | Return the specified page of results. The default is page 1. |
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
endDate | Yes | Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
startDate | Yes | Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/details/status
This method returns subscription status data for a given role.
Valid roles include:
- AFFILIATE
- VENDOR
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
status | Yes | The subscription status. Valid values include:
|
orderBy | No | Order the results by the specified data field. The valid values are:
|
sortDirection | No | Specify the order in which the sorted results are returned. The valid values are:
|
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
GET /1.3/analytics/{role}/subscription/trends
This method returns statistical summations of data for subscriptions over a specified time frame.
Valid roles include:
- AFFILIATE
- VENDOR
Head Parameters
Name | Required | Description |
---|---|---|
page | No | Return the specified page of results. The default is page 1. |
Request Parameters
Name | Required | Description |
---|---|---|
account | Yes | Return results from the specified account nickname. |
endDate | Yes | Return results ending with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
startDate | Yes | Return results beginning with the specified date. The date range is inclusive. The date format is yyyy-mm-dd. |
groupBy | No | You can group the results by business date by passing DATE as the value. |
productId | No | Return results on the specified Product ID. You can include multiple parameter/value pairs to return results on multiple Product IDs. |
Required Keys and Roles
- Developer Key
- Clerk Key
- Analytics Role
Return Type
Supported Output Types
- application/xml
- application/json
Return Types
This section details the return types used by the Analytics API.
The following return types are used:
- Analytics Result
- Analytics Status
- Subscription Detail Result
- Subscription Detail Result Row
- Subscription Trends Data
Analytics Result
Analytics Result returns use the following format:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="analyticsResult" type="analyticsResult"/>
<xs:complexType name="analyticsResult">
<xs:sequence>
<xs:element name="rows" type="rows" minOccurs="0"/>
<xs:element name="totals" type="totals" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="rows">
<xs:sequence>
<xs:element name="row" type="analyticsResultRow" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="analyticsResultRow">
<xs:sequence>
<xs:element name="dimensionIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="dimensionValue" type="xs:string" minOccurs="0"/>
<xs:element name="accountNickName" type="xs:string" minOccurs="0"/>
<xs:element name="data" type="analyticsValue" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="analyticsValue">
<xs:sequence>
<xs:element name="attribute" type="analyticAttribute" minOccurs="0"/>
<xs:element name="value" type="xs:anyType" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="totals">
<xs:sequence>
<xs:element name="total" type="analyticsValue" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="analyticAttribute">
<xs:restriction base="xs:string">
<xs:enumeration value="DIMENSION_VALUE"/>
<xs:enumeration value="HOP_COUNT"/>
<xs:enumeration value="ORDER_IMPRESSION"/>
<xs:enumeration value="ORDER_SUBMISSION"/>
<xs:enumeration value="SALE_COUNT"/>
<xs:enumeration value="SALE_AMOUNT"/>
<xs:enumeration value="REFUND_COUNT"/>
<xs:enumeration value="REFUND_AMOUNT"/>
<xs:enumeration value="CHARGEBACK_COUNT"/>
<xs:enumeration value="CHARGEBACK_AMOUNT"/>
<xs:enumeration value="REBILL_COUNT"/>
<xs:enumeration value="REBILL_AMOUNT"/>
<xs:enumeration value="UPSELL_COUNT"/>
<xs:enumeration value="UPSELL_AMOUNT"/>
<xs:enumeration value="GROSS_SALE_COUNT"/>
<xs:enumeration value="GROSS_SALE_AMOUNT"/>
<xs:enumeration value="NET_SALE_COUNT"/>
<xs:enumeration value="NET_SALE_AMOUNT"/>
<xs:enumeration value="EARNINGS_PER_HOP"/>
<xs:enumeration value="HOPS_PER_SALE"/>
<xs:enumeration value="HOPS_PER_ORDER_FORM_IMPRESSION"/>
<xs:enumeration value="ORDER_FORM_SALE_CONVERSION"/>
<xs:enumeration value="REFUND_RATE"/>
<xs:enumeration value="CHARGEBACK_RATE"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Analytics Status
Analytics Status returns use the following format:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="AnalyticsStatus" type="AnalyticsStatus"/>
<xs:complexType name="AnalyticsStatus">
<xs:sequence>
<xs:element name="status" type="xs:string"/>
<xs:element name="lastUpdateTime" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Subscription Detail Result
Subscription Detail Result returns use the following format:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="subscriptionDetailResult" type="subscriptionDetailResult"/>
<xs:complexType name="subscriptionDetailResult">
<xs:sequence>
<xs:element name="totalCount" type="xs:int"/>
<xs:element name="data" type="subscriptionDetailsDataWrapper" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionDetailsDataWrapper">
<xs:sequence>
<xs:element name="row" type="subscriptionDetailsRowData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionDetailsRowData">
<xs:sequence>
<xs:element name="affNickName" type="xs:string" minOccurs="0"/>
<xs:element name="cancelled" type="xs:boolean"/>
<xs:element name="chargebackAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="chargebackCount" type="xs:int"/>
<xs:element name="countryCode" type="xs:string" minOccurs="0"/>
<xs:element name="currencyCode" type="xs:string" minOccurs="0"/>
<xs:element name="customerDisplayName" type="xs:string" minOccurs="0"/>
<xs:element name="customerFirstName" type="xs:string" minOccurs="0"/>
<xs:element name="customerLastName" type="xs:string" minOccurs="0"/>
<xs:element name="duration" type="xs:int"/>
<xs:element name="email" type="xs:string" minOccurs="0"/>
<xs:element name="frequency" type="xs:string" minOccurs="0"/>
<xs:element name="ftxnId" type="xs:int"/>
<xs:element name="futurePaymentsCount" type="xs:int"/>
<xs:element name="initialSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleCount" type="xs:int"/>
<xs:element name="itemNo" type="xs:string" minOccurs="0"/>
<xs:element name="nextPaymentDate" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="paymentMethod" type="xs:string" minOccurs="0"/>
<xs:element name="processedPaymentsCount" type="xs:int"/>
<xs:element name="province" type="xs:string" minOccurs="0"/>
<xs:element name="pubNickName" type="xs:string" minOccurs="0"/>
<xs:element name="purchaseDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="rebillSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="rebillSaleCount" type="xs:int"/>
<xs:element name="receipt" type="xs:string" minOccurs="0"/>
<xs:element name="refundAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="refundCount" type="xs:int"/>
<xs:element name="status" type="xs:string" minOccurs="0"/>
<xs:element name="subCancelDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subEndDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subValue" type="xs:decimal" minOccurs="0"/>
<xs:element name="timeStr" type="xs:string" minOccurs="0"/>
<xs:element name="trialPeriod" type="xs:string" minOccurs="0"/>
<xs:element name="txnType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Subscription Detail Result Row
Subscription Detail Result Row returns use the following format:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:complexType name="subscriptionDetailsRowData">
<xs:sequence>
<xs:element name="affNickName" type="xs:string" minOccurs="0"/>
<xs:element name="cancelled" type="xs:boolean"/>
<xs:element name="chargebackAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="chargebackCount" type="xs:int"/>
<xs:element name="countryCode" type="xs:string" minOccurs="0"/>
<xs:element name="currencyCode" type="xs:string" minOccurs="0"/>
<xs:element name="customerDisplayName" type="xs:string" minOccurs="0"/>
<xs:element name="customerFirstName" type="xs:string" minOccurs="0"/>
<xs:element name="customerLastName" type="xs:string" minOccurs="0"/>
<xs:element name="duration" type="xs:int"/>
<xs:element name="email" type="xs:string" minOccurs="0"/>
<xs:element name="frequency" type="xs:string" minOccurs="0"/>
<xs:element name="ftxnId" type="xs:int"/>
<xs:element name="futurePaymentsCount" type="xs:int"/>
<xs:element name="initialSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleCount" type="xs:int"/>
<xs:element name="itemNo" type="xs:string" minOccurs="0"/>
<xs:element name="nextPaymentDate" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="paymentMethod" type="xs:string" minOccurs="0"/>
<xs:element name="processedPaymentsCount" type="xs:int"/>
<xs:element name="province" type="xs:string" minOccurs="0"/>
<xs:element name="pubNickName" type="xs:string" minOccurs="0"/>
<xs:element name="purchaseDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="rebillSaleAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="rebillSaleCount" type="xs:int"/>
<xs:element name="receipt" type="xs:string" minOccurs="0"/>
<xs:element name="refundAmount" type="xs:decimal" minOccurs="0"/>
<xs:element name="refundCount" type="xs:int"/>
<xs:element name="status" type="xs:string" minOccurs="0"/>
<xs:element name="subCancelDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subEndDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="subValue" type="xs:decimal" minOccurs="0"/>
<xs:element name="timeStr" type="xs:string" minOccurs="0"/>
<xs:element name="trialPeriod" type="xs:string" minOccurs="0"/>
<xs:element name="txnType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Subscription Trends Data
Subscription Trend returns use the following format:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="SubscriptionTrendsData" type="SubscriptionTrendsData"/>
<xs:complexType name="SubscriptionTrendsData">
<xs:sequence>
<xs:element name="totalCount" type="xs:int"/>
<xs:element name="data" type="subscriptionTrendsDataWrapper" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionTrendsDataWrapper">
<xs:sequence>
<xs:element name="row" type="subscriptionProductRowData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="subscriptionProductRowData">
<xs:sequence>
<xs:element name="avgActiveSubCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="avgSubAge" type="xs:decimal" minOccurs="0"/>
<xs:element name="avgSubValue" type="xs:decimal" minOccurs="0"/>
<xs:element name="businessDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="cancelSubCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="duration" type="xs:int"/>
<xs:element name="frequency" type="xs:string" minOccurs="0"/>
<xs:element name="grossSales" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleAmt" type="xs:decimal" minOccurs="0"/>
<xs:element name="initialSaleCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="itemNo" type="xs:string" minOccurs="0"/>
<xs:element name="netSales" type="xs:decimal" minOccurs="0"/>
<xs:element name="nickname" type="xs:string" minOccurs="0"/>
<xs:element name="productId" type="xs:int"/>
<xs:element name="recurringSaleAmt" type="xs:decimal" minOccurs="0"/>
<xs:element name="recurringSaleCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="title" type="xs:string" minOccurs="0"/>
<xs:element name="totalSalesCnt" type="xs:decimal" minOccurs="0"/>
<xs:element name="trialPeriod" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Usage Information
For additional information about using the Analytics API, see the ClickBank APIs article.
Related Articles
- Analytics Reporting – This article explains how to use ClickBank's in-UI analytics tools.