MESA Docs
MESA Homepage
  • Welcome to MESA
    • Installing MESA
    • Dashboard
    • Core Concepts
    • Getting Help
  • Templates
    • Template Library
    • Installing & Editing
  • Workflow Builder
    • Triggers
    • Actions
    • Fields
      • Variables
      • Formatting Variables
      • Liquid Templating
    • Testing
  • Workflow Activity
    • Tasks
      • Troubleshooting
      • Replay
    • Logs
    • Time Travel
  • Best Practices
    • Set Titles & Descriptions
    • Track Time Saved
    • Enable Failure Notifications
    • Avoid Infinite Loops
  • Going Further
    • Plans & Billing
    • Notifications
    • Credentials
    • Understanding the Queue
    • Export & Import Workflows
    • Platform Thresholds & Limits
  • Built-in Tools
    • Activity Log
    • AI
    • API
    • Approval
    • MCP
    • Custom Code
      • Libraries
        • MESA SDK
        • Filter
        • Loop
        • Transform
        • oAuth
        • Shopify
        • ShopifyGraphql
      • FAQ
    • Data
    • Delay
    • Email
    • Filter
    • Form
      • Configure
      • Going Further
      • Technical Notes
    • FTP
    • Image
    • Loop
    • Package Tracking
    • Paths
    • Schedule
    • Scraper
    • SMS
    • Transform
    • Virtual Output
    • Weather
    • Web Request
    • Webhook
  • Apps
    • Airtable
    • Amazon S3
    • Asana
    • Blog Studio
    • ChannelApe
    • Claude
    • ChatGPT
    • Dall-E 2
    • Delighted
    • Digital Humani
    • Discord
    • DocuSign
    • Dropbox
    • Etsy
    • Facebook
    • Fera.ai
    • Gatsby
    • Gmail
      • Send Email
    • Google Analytics 4
    • Google Analytics UA
    • Google Calendar
    • Google Drive
    • Google Forms
    • Google Sheets
      • Add Row
      • Query Rows
      • Update Row
      • Row Created
      • Row Updated (Advanced)
      • Creating New Spreadsheets
      • Technical Notes
    • Gorgias
    • Govalo
    • Help Scout
    • Hubspot
    • Infinite Options
    • Intercom
    • IPDetective
    • Judge.me
    • Katana
    • Klaviyo
      • API Deprecation
    • Loop Returns
    • Loyalty Lion
    • Mailchimp
    • Mailgun
    • Mandrill
    • Mantle
    • Notion
    • Odoo
    • Omnisend
    • Page Studio
    • Pinterest
    • Printful
    • PrintNode
    • QuickBooks
    • Rebuy
    • Recharge
    • Remove.bg
    • Returnly
    • Rivo
    • Salesforce
    • Segment
    • Sendlane
    • Shippo
    • ShipStation
    • Shopify
      • Technical Notes
        • Configuring Your Payload
        • Modifying and Filtering Get Lists
        • Parameters
        • Error Codes
        • Accuracy of orders_count Variable
        • Accuracy of Count Products Action
        • Using the Gift Cards API
        • How to Find a Specific Record in the Testing Interface
        • Order, Customer, and Product Updated Trigger Frequency
    • Shopify Flow
    • Shopify Plus
    • Shopify Retail POS
    • Skio Subscriptions
    • Slack
    • Smartrr
    • Smile.io
    • Square
      • Updating Inventory
      • Frequently Asked Questions
    • Stamped.io
    • Stripe
    • Thanks.io
    • TikTok
    • Tracktor
    • Twilio
    • Uploadery
    • Wonderment
    • Xero
    • Yotpo
    • Yotpo Loyalty
  • For developers
    • Admin API
    • Command Line Interface
    • Embedding templates
  • Frequently asked questions
    • Why isn't the log search returning logs with the search I entered?
    • Is it possible to handle errors or retry steps?
    • How do I handle a failed task?
    • Does MESA auto-save workflows?
    • Can I Use Apps That Don't Have a MESA Connector?
    • Why is my workflow action adding the same data each time it occurs?
    • How do I cancel automations that are already in progress?
    • How do I cancel my MESA subscription or 7-day trial?
    • Can you import code from npm in custom code?
    • Do you have a Slack Community?
Powered by GitBook
On this page
  • Authentication
  • How to retrieve TikTok reports with MESA

Was this helpful?

  1. Apps

TikTok

PreviousThanks.ioNextTracktor

Last updated 1 month ago

Was this helpful?

Authentication

When you're setting up your first workflow with TikTok, you'll need to add a credential. Simply click Connect with TikTok.

If you are not already logged in to TikTok, you will be asked to log in with your TikTok For Business credentials. You will then see the following screen. In order for the MESA TikTok integration to fully function, we recommend you leave all permissions checked.

Hit Confirm, and you're all set! You can then use this credential for any TikTok actions or triggers.

How to retrieve TikTok reports with MESA

In order to retrieve TikTok reports, choose one of the Reports actions.

Both the Ad Group Summary and Auction Campaign Summary reports come with some default parameters to help you get started.

Below is a list of the most important fields, and how to customize them.

Dimensions

When you update the dimensions, this will alter the structure of the data being returned. Ensure that you hit Save after making any changes. This will refresh the variables available in your MESA actions.

Metrics

When you update the metrics, this will alter the structure of the data being returned. Ensure that you hit Save after making any changes. This will refresh the variables available in your MESA actions.

To access the fields below, you will need to select the More Options button.

Filters

Filters must be passed in a JSON format and you can pass multiple. In the above example, we are filtering the Ad Group Summary report by specific ad group IDs. You can also omit filters by deleting the default contents of the field.

Order Field

Order Type

This specifies the direction to order the results in and is based on the Order Field.

Add Field

TikTok supports a variety of dimensions, depending on the report type. If you have used an invalid dimension, your task will fail, and you will see an error in the . In some cases, you can specify multiple dimensions. To do so, enter each dimension name and with a comma separating them (no spaces). For instance `adgroup_id,stat_time_day`. For full details, see TikTok's reporting under the Supported Dimensions heading.

TikTok allows a vast number of different metrics, depending on the report type. Per dimensions, using an invalid metric will result in your task failing. You may specify multiple metrics with a comma separated between them. For example: `spend,impressions,clicks`. For full details see TikTok's reporting under the Supported Metrics heading.

For details and examples, see TikTok's reporting under the Supported Filters heading.

If you want to order your report by one of the selected metrics or dimensions, you can specify the field name here. Some fields can not be ordered. If they are ordered, your task will fail, and you will see an error in the .

For advanced users, you can add additional fields to request bespoke reports. For full details, please see TikTok's reporting for available parameters and examples.

workflow's Logs
documentation
documentation
documentation
workflow's Logs
documentation