{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Products","product_name":"Engage Studio","type":"markdown"},"seo":{"title":"Testing LINE Campaigns in Engage Studio","description":"Learn how to preview, test send, and validate LINE Official Account campaigns in Engage Studio before launching to your full audience.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"testing-line-campaigns","__idx":0},"children":["Testing LINE Campaigns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before launching a LINE campaign to your full audience, Engage Studio provides tools to preview message content, send test messages, and validate your setup. This guide covers the available testing methods and pre-launch checklist."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"editor-preview","__idx":1},"children":["Editor Preview"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"message-preview","__idx":2},"children":["Message Preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each message object in the Campaign Content editor includes an inline preview that shows how the message will appear to LINE users on a smartphone screen."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text messages"]},": Renders the text with line breaks as they will appear in the LINE chat"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Imagemap messages"]},": Displays the image with tap area outlines overlaid, showing the action mapped to each region"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"test-send","__idx":3},"children":["Test Send"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Test Send lets you deliver the campaign's message bundle to a specific LINE User ID before the campaign is launched."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"how-to-send-a-test-message","__idx":4},"children":["How to Send a Test Message"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the Campaign Content tab, ensure the campaign content is saved."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test Send"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LINE User ID"]}," of the test recipient (for example, your own LINE account's user ID as registered in the LINE OA's follower list)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Send"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The test message is sent immediately to the specified LINE User ID. The message bundle is sent exactly as configured, including all message objects in their configured order."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Test Recipient Requirements"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The LINE User ID must be a follower of the LINE Official Account used as the sender. LINE does not allow messages to be sent to users who have not followed (or have blocked) the account. If the test send fails, verify that the test user ID is valid and has followed the account."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"test-send-behavior","__idx":5},"children":["Test Send Behavior"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Behavior"},"children":["Behavior"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Liquid rendering"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variables are rendered using a blank profile (no real profile data). Default values are applied."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["UTM parameters"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UTM parameters are appended as configured on the UTM Tracking tab."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delivery log"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Test sends are recorded in the delivery log with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_test = true"]},". They do not count toward campaign delivery metrics."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Multi-message bundles"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All messages in the bundle are sent together, same as production delivery."]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pre-launch-checklist","__idx":6},"children":["Pre-Launch Checklist"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before launching your LINE campaign to the full audience, verify the following:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setup-verification","__idx":7},"children":["Setup Verification"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LINE Sender Account"]}," is correctly configured in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Configurations > LINE OA Configurations"]}," with a valid Integration Hub authentication"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Channel Access Token"]}," in Integration Hub is valid and not expired"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LINE Sender Account"]}," is assigned to the campaign's workspace"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TD Write-only API Key"]}," is valid and associated with the correct delivery log database"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"audience-verification","__idx":8},"children":["Audience Verification"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Target segment"]}," is selected and returns an expected number of profiles"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Segment has been checked for ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LINE User ID coverage"]}," — profiles without a LINE User ID will be excluded from delivery"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Review the percentage of segment members without a LINE User ID to estimate effective reach"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"content-verification","__idx":9},"children":["Content Verification"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," All messages have been ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["previewed"]}," in the editor"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test Send"]}," has been completed and the messages appeared correctly in LINE"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Imagemap tap areas are correctly positioned and link to the intended URLs"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," All URLs are reachable and load correctly"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," UTM parameters are configured correctly"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"delivery-schedule","__idx":10},"children":["Delivery Schedule"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Delivery schedule (immediate or scheduled time) is correct"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Time zone for scheduled delivery is set as intended"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":11},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"authentication-errors","__idx":12},"children":["Authentication Errors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Symptom"]},": Test send fails with an authentication error, or all deliveries fail with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_error"]}," in the delivery log."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Resolution"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration Hub"]}," and verify the LINE OA Authentication credential is active."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the Channel Access Token in the LINE Developers Console — it may have expired."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Issue a new Channel Access Token and update the Integration Hub credential."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the LINE Sender Account references the credential by name, verify the name matches exactly."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"invalid-recipient","__idx":13},"children":["Invalid Recipient"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Symptom"]},": Test send fails with \"Invalid recipient\" error, or individual deliveries fail with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invalid_recipient"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Resolution"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm the LINE User ID is correct and belongs to a user who has followed (not blocked) the LINE Official Account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For bulk delivery errors, verify that LINE User IDs in your CDP profiles were obtained correctly (via LIFF, LINE Login API, or authorized import)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users who have blocked your LINE OA cannot receive messages and will appear as delivery failures."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"rate-limit-exceeded","__idx":14},"children":["Rate Limit Exceeded"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Symptom"]},": Deliveries fail with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rate_limit_exceeded"]}," errors in the delivery log."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Resolution"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["LINE Messaging API enforces rate limits on message send volume. For large audiences, delivery is automatically paced by the Streaming Egress Connector."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If rate limit errors persist, contact your customer success representative to review your LINE OA plan limits."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"message-too-long","__idx":15},"children":["Message Too Long"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Symptom"]},": Individual delivery failures with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message_too_long"]}," error in the delivery log."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Resolution"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The Liquid-expanded text for the affected profile exceeded LINE's 5,000-character limit."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Identify which profiles triggered the error by querying the delivery log."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Shorten the message template or add a character-limit safeguard using Liquid:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"liquid","header":{"controls":{"copy":{}}},"source":"{{ profile.custom_message | truncate: 200 }}\n","lang":"liquid"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"viewing-delivery-logs","__idx":16},"children":["Viewing Delivery Logs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To investigate test or production delivery results:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Query the delivery log database: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delivery_line_{system_identifier}"]}," (find this in the LINE Sender Account configuration)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Filter by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["campaign_id"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," range."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["error_code"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message_type"]}," columns for error details."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the Streaming Egress Connector raw logs (line_out connector logs), contact your Treasure Data support representative or refer to the Integration Hub log viewer."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-documentation","__idx":17},"children":["Related Documentation"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/line/line-oa-setup"},"children":["LINE Official Account Setup"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/line/line-oa-campaigns"},"children":["Create a One-off LINE Campaign"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/line/line-oa-message-types"},"children":["LINE Message Types"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/line/line-oa-click-tracking"},"children":["Click Tracking"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/channels/line/line-oa-reporting"},"children":["LINE Campaign Reporting"]}]}]}]},"headings":[{"value":"Testing LINE Campaigns","id":"testing-line-campaigns","depth":1},{"value":"Editor Preview","id":"editor-preview","depth":2},{"value":"Message Preview","id":"message-preview","depth":3},{"value":"Test Send","id":"test-send","depth":2},{"value":"How to Send a Test Message","id":"how-to-send-a-test-message","depth":3},{"value":"Test Send Behavior","id":"test-send-behavior","depth":3},{"value":"Pre-Launch Checklist","id":"pre-launch-checklist","depth":2},{"value":"Setup Verification","id":"setup-verification","depth":3},{"value":"Audience Verification","id":"audience-verification","depth":3},{"value":"Content Verification","id":"content-verification","depth":3},{"value":"Delivery Schedule","id":"delivery-schedule","depth":3},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Authentication Errors","id":"authentication-errors","depth":3},{"value":"Invalid Recipient","id":"invalid-recipient","depth":3},{"value":"Rate Limit Exceeded","id":"rate-limit-exceeded","depth":3},{"value":"Message Too Long","id":"message-too-long","depth":3},{"value":"Viewing Delivery Logs","id":"viewing-delivery-logs","depth":3},{"value":"Related Documentation","id":"related-documentation","depth":2}],"frontmatter":{"seo":{"title":"Testing LINE Campaigns in Engage Studio","description":"Learn how to preview, test send, and validate LINE Official Account campaigns in Engage Studio before launching to your full audience."}},"lastModified":"2026-03-30T01:13:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/marketing-cloud/engage-studio/channels/line/line-oa-testing","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}