Build LINE audience from user IDs
line_build_audience_from_csvCreate a LINE retargeting audience by uploading user IDs or IFAs from a CSV. The audience indexes and becomes ready within minutes.
Instructions
Create a new LINE audience by uploading user IDs (or IFAs). After creation LINE indexes the audience for ~5-10 minutes — line_list_audiences will report status=IN_PROGRESS during that window, then READY.
This is the "CSV from Google Sheets → retargeting audience" flow most Thai SMBs need.
Args:
name: Audience name (≤120 chars).
user_ids: Array of LINE user IDs (max 10,000 per call).
is_ifa: True for IFA values instead of LINE user IDs (default false).
oa: optional OA id.
Returns: { audience_group_id, name, type, created_unix_ms }
Region note: Audience Management API is gated to JP / TW / TH OAs (+ premium).
Examples:
"สร้าง audience ลูกค้าเดือนก่อน" → { name: "buyers_last_month", user_ids: [...] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Audience name as shown in LINE OA Manager (≤120 chars). | |
| user_ids | Yes | Array of LINE user IDs. Max 10,000 per call. | |
| is_ifa | No | True if values are Identifiers for Advertisers (IFAs) instead of LINE user IDs. | |
| oa | No |