Skip to content

Get Affiliate Campaign Creator Product Content Statistics

GET
/affiliate_partner/202508/campaigns/{campaign_id}/products/{product_id}/creator/{creator_temp_id}/content/statistics

Retrieves performance statistics for a creator’s video or live-room content associated with an affiliate campaign product.

campaign_id
required
string

The campaign identifier.

product_id
required
string

The product identifier.

creator_temp_id
required
string

Creator Open ID. More details

affiliate_product_id
required
string

The affiliate product identifier used to filter the returned content statistics.

content_type
string

Content type. Use VIDEO for video content or LIVE_ROOM for live-room content.

category_asset_cipher
required
string

The partner identifier used in API requests. Retrieve this value by using the Get Authorized Category Assets API.

Success

Media typeapplication/json
object
code

Status code; 0 means success.

integer format: int64
message

Success or failure message.

string
request_id

Request log ID.

string
data
object
creator_content_statistics

A list of objects that represent content statistics for the associated creator.

Array<object>
object
content_type

Content type: VIDEO for video content or LIVE_ROOM for live-room content.

string
cover_img_url

A URL for the live room cover image in the TikTok CDN.The video content doesn’t have this value.

string
source_url

The URL on the public TikTok website at which the live room video can be played back. When content_type == VIDEO, the value is the url of the source video; when content_type == LIVE_ROOM, the value is the url where you can play back the recording of the live.

string
view_count

The number of public views of the live room or video.

string
like_count

The number of TikTok user likes associated with the live room or video.

string
comment_num

The number of TikTok user comments associated with the live room or video.

string
paid_order_num

The total number of paid orders associated with the live room or video.

string
paid_amount

The aggregate value of product orders associated with the live room or video.

string
linked_tiktok_video

The friendly URL for the video on the TikTok website.

string
published_date

When content_type == VIDEO, this is the date when the video was published; when content_type == LIVE_ROOM, this is the date when the live started. The value is in YYYY_MM_DD format.

string format: date
content_end_date

When content_type == VIDEO, this field is None; when content_type == LIVE_ROOM, this is the date when the live ended. The value is in YYYY_MM_DD format.

string | null format: date
Example
{
"code": 0,
"data": {
"creator_content_statistics": [
{
"content_type": "VIDEO",
"cover_img_url": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/fa0387fa5a204dcfa44d5be75877a163~tplv-o3syd03w52-origin-webp.webp?from=3478900499",
"source_url": "https://www.tiktok.com/@cbseveningnews/video/7458098283332767006?q=Victor%20Shaw%20Dies%20In%20Fire%20Rescue%20Attempt&t=1736545359958",
"view_count": "1",
"like_count": "1",
"comment_num": "0",
"paid_order_num": "0",
"paid_amount": "0",
"linked_tiktok_video": "http://xxx.tiktok.com/xxxx",
"published_date": "2024-11-13",
"content_end_date": "2024-11-13"
}
]
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}