Build LINE audience from user IDs
line_build_audience_from_csvUpload user IDs or IFAs from a CSV to create a LINE audience for retargeting, supporting up to 10,000 IDs per call.
Instructions
Create a LINE audience by uploading user IDs (or IFAs) — the "CSV from Google Sheets → retargeting audience" flow most Thai SMBs need. LINE indexes for ~5-10 min after creation (line_list_audiences shows IN_PROGRESS then READY). user_ids max 10,000/call; is_ifa true for IFA values instead of LINE user IDs. Region-gated to JP/TW/TH OAs (+premium).
Returns { audience_group_id, name, type, created_unix_ms }.
Example: "สร้าง audience ลูกค้าเดือนก่อน" → { name:"buyers_last_month", user_ids:[...] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oa | No | ||
| name | Yes | Audience name as shown in LINE OA Manager (≤120 chars). | |
| is_ifa | No | True if values are Identifiers for Advertisers (IFAs) instead of LINE user IDs. | |
| user_ids | Yes | Array of LINE user IDs. Max 10,000 per call. |