# Authentication Source: https://docs.markifact.com/api-reference/authentication Authenticate Markifact API requests with team-scoped API keys. The Markifact API uses bearer API keys. ```bash theme={"dark"} curl https://api.markifact.com/v1/connections \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## API Keys Team owners can create API keys from the Markifact workspace under **Settings > API Keys**. API keys are scoped to the team that created them and can only access that team's API resources. > [!NOTE] > > API keys are only available on Team plan workspaces. Only the team owner can view, create, and revoke API keys. You can create multiple keys for different integrations or environments, and revoked keys stop working immediately. ## Header Pass the key in the `Authorization` header: | Header | Value | | - | - | | `Authorization` | `Bearer YOUR_API_KEY` | ## Security Model API requests are team-contained: * API keys resolve to a single team. * Connection list and lookup endpoints return shared connections in that team, plus private connections owned by the user who created the API key. * Auth link status endpoints only return auth links created by that team. * Delete endpoints only remove shared connections in that team, or private connections owned by the user who created the API key. * Connection credentials are never returned. ## Errors Missing, invalid, expired, revoked, or unauthorized-plan keys return `401`. ```json theme={"dark"} { "detail": "Invalid or revoked API key" } ``` # Create auth link Source: https://docs.markifact.com/api-reference/connections/create-auth-link POST /v1/connections/auth-link Create a shareable OAuth link that connects an external account to your Markifact team. Creates an OAuth link for a user to connect an account. When the user completes the flow, Markifact stores the connection in your team workspace. By default, the resulting connection is shared with the workspace, so other team members can see and use it. Set `is_private` to `true` if the connection should only be visible and usable by the user who created the API key. ## Endpoint ```http theme={"dark"} POST /v1/connections/auth-link ``` ## Request Body | Field | Type | Required | Description | | - | - | - | - | | `connection_type` | string | Yes | Supported connection type, such as `ga4`, `gads`, or `meta_ads`. | | `redirect_url` | string | No | HTTPS URL to redirect the user to after the OAuth callback. | | `external_id` | string | No | Your ID for the customer, store, workspace, or account. Max 255 characters. | | `is_private` | boolean | No | Whether the created connection should be private to the API-key user. Defaults to `false`, meaning shared with the workspace so other team members can see and use it. | ### Best practices for `external_id` `external_id` is how you tie a resulting connection back to a record in your own system. It is stored on the created connection and returned unchanged in both the connection responses and the redirect parameters. * **Use a stable, unique ID from your system** — your customer, workspace, store, or account ID. Avoid values that change over time so lookups stay reliable. * **Keep it opaque. Don't put PII or secrets in it** (no emails, names, tokens). It is echoed back in the redirect URL query string, so it can land in browser history, referrer headers, and logs. * **Use it to look connections up later** with `GET /v1/connections?external_id=...` or `GET /v1/connections/{external_id}?lookup_by=external_id`, instead of storing Markifact connection IDs yourself. * **Treat lookups as potentially returning multiple connections.** `external_id` is not unique — a customer may reconnect or connect more than one account, so a single `external_id` can map to several connections. * **Set it at creation time.** It can only be provided when the link is created; it is not editable afterwards. ## Example Request ```bash theme={"dark"} curl https://api.markifact.com/v1/connections/auth-link \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "connection_type": "ga4", "redirect_url": "https://example.com/oauth/callback", "external_id": "customer_123", "is_private": false }' ``` ## Response ```json theme={"dark"} { "id": "7b6a5c4d-0000-0000-0000-000000000000", "url": "https://app.markifact.com/connect?token=...", "expires_at": 1764086400000 } ``` ## Response Fields | Field | Type | Description | | - | - | - | | `id` | string | Auth link ID. Use this with the auth link status endpoint. | | `url` | string | URL to send the user to. | | `expires_at` | integer | Expiration timestamp in milliseconds. | > [!NOTE] > > Auth links expire **24 hours** after creation, or as soon as a connection is > successfully created — whichever comes first. Each link can be used to create > one connection; generate a new link if it expires or has already been used. ## Redirect URL Parameters If you provide `redirect_url`, Markifact redirects the user's browser back to that URL after the OAuth provider returns to Markifact. The redirect URL must use HTTPS. Markifact preserves any query parameters already on your URL and appends result metadata. Treat this browser redirect as a user-experience handoff, not as your only source of truth. For server-side confirmation, call the auth link status endpoint using the `id` returned when you created the link. ### Success Redirect When OAuth succeeds, Markifact stores the connection in your workspace, marks the auth link as connected, and redirects with: ```text theme={"dark"} status=success connection_type=ga4 connection_id=1f2e3d4c-0000-0000-0000-000000000000 external_id=customer_123 ``` | Parameter | Description | | - | - | | `status` | `success` when the connection was created. | | `connection_type` | The connection type originally requested, such as `ga4` or `gads`. | | `connection_id` | The Markifact connection ID created by the completed OAuth flow. Use this with the connections API. | | `external_id` | Your optional external ID, returned unchanged when provided. | Example final redirect: ```text theme={"dark"} https://example.com/oauth/callback?status=success&connection_type=ga4&connection_id=1f2e3d4c-0000-0000-0000-000000000000&external_id=customer_123 ``` ### Error Redirect When OAuth fails, is denied by the user, or cannot be completed, Markifact redirects with: ```text theme={"dark"} status=error connection_type=ga4 external_id=customer_123 error=Authorization%20failed ``` | Parameter | Description | | - | - | | `status` | `error` when the connection was not created. | | `connection_type` | The connection type originally requested. | | `external_id` | Your optional external ID, returned unchanged when provided. | | `error` | A URL-encoded error message suitable for logging or showing a generic retry prompt. | Error redirects do not consume the auth link. The user can retry the same link until it expires. ### Existing Query Parameters Existing query parameters on your `redirect_url` are preserved. If your URL already contains one of Markifact's parameter names, Markifact avoids overwriting it by adding a `markifact_` prefix. For example, if you create a link with: ```text theme={"dark"} https://example.com/oauth/callback?status=started&session_id=abc ``` a successful redirect would look like: ```text theme={"dark"} https://example.com/oauth/callback?status=started&session_id=abc&markifact_status=success&connection_type=ga4&connection_id=1f2e3d4c-0000-0000-0000-000000000000&external_id=customer_123 ``` Your redirect handler should read `markifact_status` when present, otherwise read `status`. # Create connection Source: https://docs.markifact.com/api-reference/connections/create-connection POST /v1/connections Create a connection from credentials you already hold, verified with the provider before anything is stored. Creates a connection from credentials you already hold, without sending anyone through an OAuth flow. Use this when your systems already store the credentials, or when you connect through your own platform app. Markifact verifies the credentials with the provider before storing anything. A successful response means the connection is live and ready to use in nodes, agents, and MCP. ## Endpoint ```http theme={"dark"} POST /v1/connections ``` ## Which types this works for Call [List connection types](/api-reference/connections/list-connection-types) and look at `auth_methods`: | `auth_methods` | What it means | | - | - | | `["manual"]` | Only this endpoint. There is no Markifact OAuth app for the channel, so credentials are the only way in. Shopify, Ahrefs, and OpenAI Ads work this way. | | `["oauth", "manual"]` | Either way. Using your own app here is a [white-label connection](/core-concepts/white-label-connections), so your clients never see Markifact in their account. | | `["oauth"]` | Not this endpoint. Use [Create auth link](/api-reference/connections/create-auth-link). | The same endpoint response lists each type's `credential_fields`, which is exactly what belongs in `credentials`, and a `docs_url` pointing at a plain-markdown page that explains where each of those values comes from. Fetch that page when you need the steps for a channel. > [!NOTE] > > Connecting through your own app on a channel where Markifact also has one requires the **Team** plan. Types that are manual only, such as Shopify, have no plan requirement beyond API access itself. ## Request Body | Field | Type | Required | Description | | - | - | - | - | | `connection_type` | string | Yes | A type whose `auth_methods` include `manual`, such as `gads` or `shopify`. | | `name` | string | Yes | Your label for the connection, up to 100 characters. Shown wherever connections are listed. | | `credentials` | object | Yes | Exactly the `credential_fields` the type lists. A missing or unrecognised field is rejected before any call to the provider. | | `is_private` | boolean | No | Whether the connection should be private to the API-key user. Defaults to `false`, meaning shared with the workspace so other team members can see and use it. | ## Example Request ```bash theme={"dark"} curl https://api.markifact.com/v1/connections \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "connection_type": "gads", "name": "Acme Agency Google Ads", "credentials": { "client_id": "1234567890-abc123.apps.googleusercontent.com", "client_secret": "GOCSPX-...", "refresh_token": "1//0g..." }, "is_private": false }' ``` ## Response ```json theme={"dark"} { "id": "1f2e3d4c-0000-0000-0000-000000000000", "type": "gads", "display_name": "Acme Agency Google Ads", "external_id": null, "is_private": false, "created_at": 1764086400, "updated_at": 1764086400 } ``` ## Response Fields | Field | Type | Description | | - | - | - | | `id` | string | Markifact connection ID. Pass this as `connection_id` when running operations. | | `type` | string | The connection type you created. | | `display_name` | string | The `name` you sent. | | `external_id` | string, null | Always `null` here. External IDs are set when creating an auth link. | | `is_private` | boolean | Whether the connection is restricted to the API-key user. | | `created_at` | integer | Creation time as a Unix timestamp in seconds. | | `updated_at` | integer | Last update time as a Unix timestamp in seconds. | ## Rotating credentials Which connection a request updates depends on how the type derives its ID: | Types | Keyed on | Posting the same values again | | - | - | - | | White-label channels, such as Google Ads, Meta Ads or TikTok Ads | Type and `name` | Replaces the credentials in place. Same connection ID, so bound workflows keep running. A different `name` creates a separate connection. | | Slack | Workspace and app | Replaces in place whatever `name` you send. | | Shopify | Store | Replaces in place whatever `name` you send. | | Ahrefs, SEMrush, Adjust, DataForSEO, OpenAI Ads | Nothing, each post is new | Creates a new connection. Rebind your workflows to it, then delete the old one. | Leave `is_private` out when replacing credentials. Omitting it keeps the connection's current visibility. ## Errors | Status | When | | - | - | | `400` | The type cannot be created from credentials, a credential field is missing or unrecognised, or the provider rejected the credentials. | | `401` | Invalid API key. | | `403` | The connection type is white-label capable and your team is not on the Team plan. | Verification failures return the provider's own reason in `detail`, so you can tell an expired refresh token from an app that lacks the right scope. ```json theme={"dark"} { "detail": "Google rejected the refresh token (invalid_grant). Make sure it was minted with this exact client ID, has not been revoked, and that the OAuth consent screen is published (apps left in Testing status issue refresh tokens that expire after 7 days)." } ``` Nothing is stored when verification fails. Fix the credentials and post again. # Delete connection Source: https://docs.markifact.com/api-reference/connections/delete-connection DELETE /v1/connections/{connection_id} Delete an API-visible connection from your Markifact team workspace. Deletes one connection by Markifact connection ID. The connection must be shared in your team, or private to the user who created the API key. ## Endpoint ```http theme={"dark"} DELETE /v1/connections/{connection_id} ``` ## Path Parameters | Parameter | Type | Description | | - | - | - | | `connection_id` | string | Public Markifact connection ID. | ## Example Request ```bash theme={"dark"} curl -X DELETE https://api.markifact.com/v1/connections/1f2e3d4c-0000-0000-0000-000000000000 \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response Returns the deleted connection. ```json theme={"dark"} { "id": "1f2e3d4c-0000-0000-0000-000000000000", "type": "ga4", "display_name": "login@example.com", "external_id": "customer_123", "is_private": false, "created_at": 1764000000000, "updated_at": 1764000000000 } ``` ## Effects Deleting a connection also deactivates active workflows in your team that use that connection. ## Notes * Delete only supports Markifact connection IDs. * You cannot delete by `external_id`. * Private connections can only be deleted when they belong to the user who created the API key. * If the connection does not exist or does not belong to your team, the API returns `404`. # Get auth link status Source: https://docs.markifact.com/api-reference/connections/get-auth-link-status GET /v1/connections/auth-links/{auth_link_id}/status Check whether an auth link is pending, expired, or connected. Returns the current status of an auth link created by your team. ## Endpoint ```http theme={"dark"} GET /v1/connections/auth-links/{auth_link_id}/status ``` ## Path Parameters | Parameter | Type | Description | | - | - | - | | `auth_link_id` | string | Auth link ID returned by `POST /v1/connections/auth-link`. | ## Example Request ```bash theme={"dark"} curl https://api.markifact.com/v1/connections/auth-links/7b6a5c4d-0000-0000-0000-000000000000/status \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} { "id": "7b6a5c4d-0000-0000-0000-000000000000", "status": "connected", "connection_type": "ga4", "connection_id": "1f2e3d4c-0000-0000-0000-000000000000", "external_id": "customer_123", "expires_at": 1764086400000, "consumed_at": 1764000000000, "created_at": 1763999900000, "updated_at": 1764000000000, "connections": [ { "id": "1f2e3d4c-0000-0000-0000-000000000000", "type": "ga4", "display_name": "login@example.com", "external_id": "customer_123", "is_private": false, "created_at": 1764000000000, "updated_at": 1764000000000 } ] } ``` ## Status Values | Status | Description | | - | - | | `pending` | The auth link has not been completed and has not expired. | | `connected` | The OAuth flow completed and the auth link was consumed. | | `expired` | The auth link expired before completion. | ## Connections The `connection_id` field is populated after a successful OAuth flow. The `connections` array contains that exact connection when it is still available to your team. If the link is pending, expired, or the connection was later deleted, `connections` is an empty list. You can pass `connection_id` to Markifact MCP using `X-Markifact-Context` when you want an MCP request to use only this connected account. This is the recommended option when your MCP client supports custom headers: ```http theme={"dark"} X-Markifact-Context: {"connection_ids":["CONNECTION_ID"]} ``` If your MCP client does not support custom headers, pass the connection ID in the MCP URL instead: ```text theme={"dark"} https://api.markifact.com/mcp?connection_ids=CONNECTION_ID ``` Passing `{"connection_ids":[]}` or using `?connection_ids=` explicitly allows no connections for that request. Omit runtime context to use the MCP server's normal saved connection settings. If both the header and query parameter are provided, `X-Markifact-Context` is used. # Get connection Source: https://docs.markifact.com/api-reference/connections/get-connection GET /v1/connections/{connection_id} Find connections by Markifact connection ID or your external ID. Returns matching connections as a list. Markifact connection ID lookup returns a list with one item. External ID lookup can return multiple connections. ## Endpoint ```http theme={"dark"} GET /v1/connections/{connection_id} ``` ## Path Parameters | Parameter | Type | Description | | - | - | - | | `connection_id` | string | Markifact connection ID by default, or your external ID when `lookup_by=external_id`. | ## Query Parameters | Parameter | Type | Required | Default | Description | | - | - | - | - | - | | `lookup_by` | string | No | `id` | Use `id` for Markifact connection ID lookup, or `external_id` for your external ID. | ## Get by Markifact Connection ID ```bash theme={"dark"} curl "https://api.markifact.com/v1/connections/1f2e3d4c-0000-0000-0000-000000000000" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Get by External ID ```bash theme={"dark"} curl "https://api.markifact.com/v1/connections/customer_123?lookup_by=external_id" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} [ { "id": "1f2e3d4c-0000-0000-0000-000000000000", "type": "ga4", "display_name": "login@example.com", "external_id": "customer_123", "is_private": false, "created_at": 1764000000000, "updated_at": 1764000000000 } ] ``` ## Notes * The response is always a list. * `lookup_by=id` only searches within your team. * `lookup_by=external_id` can return more than one connection if you use the same external ID for multiple connection types. * If no connection is found, the API returns `404`. # List connection types Source: https://docs.markifact.com/api-reference/connections/list-connection-types GET /v1/connections/types List every connection type Markifact supports and how each one can be authenticated. Returns every connection type Markifact supports, with how each one can be authenticated and, for types that accept credentials, the fields they expect. Read `auth_methods` to decide which endpoint to call: | `auth_methods` contains | How to connect | | - | - | | `oauth` | [Create an auth link](/api-reference/connections/create-auth-link) and send your user through it. | | `manual` | [Create the connection directly](/api-reference/connections/create-connection) by posting the `credential_fields`. | Where each credential actually comes from is explained on the page at `docs_url`. It is served as plain markdown, so an agent can fetch and read it as is. A type listing both can be connected either way. Using your own platform app on those channels is a [white-label connection](/core-concepts/white-label-connections), so your clients never see Markifact in their account. ## Endpoint ```http theme={"dark"} GET /v1/connections/types ``` ## Example Request ```bash theme={"dark"} curl https://api.markifact.com/v1/connections/types \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} [ { "type": "gads", "name": "Google Ads", "auth_methods": ["oauth", "manual"], "credential_fields": ["client_id", "client_secret", "refresh_token"], "docs_url": "https://docs.markifact.com/nodes/gads/gads_custom_app.md" }, { "type": "meta_ads", "name": "Meta Ads", "auth_methods": ["oauth", "manual"], "credential_fields": ["access_token"], "docs_url": "https://docs.markifact.com/nodes/meta_ads/meta_ads_custom_app.md" }, { "type": "shopify", "name": "Shopify", "auth_methods": ["manual"], "credential_fields": ["store_id", "client_id", "client_secret"], "docs_url": null }, { "type": "hubspot", "name": "HubSpot", "auth_methods": ["oauth"], "credential_fields": null, "docs_url": null } ] ``` ## Fields | Field | Type | Description | | - | - | - | | `type` | string | The value to use as `connection_type` when creating a connection or an auth link. | | `name` | string | Human-readable connection type name. | | `auth_methods` | array | Any of `oauth` and `manual`. An empty array means the type is connected through its own flow and neither endpoint applies. | | `credential_fields` | array, null | The exact keys to send under `credentials`, in the order the Markifact app asks for them. Null for types that take no credentials. | | `docs_url` | string, null | A plain-markdown page explaining where each credential comes from. Fetch it directly; it needs no scraping. Null for types that have no page yet. | # List connections Source: https://docs.markifact.com/api-reference/connections/list-connections GET /v1/connections List API-visible connections in your Markifact team workspace. Returns shared connections owned by your team, plus private connections owned by the user who created the API key. ## Endpoint ```http theme={"dark"} GET /v1/connections ``` ## Query Parameters | Parameter | Type | Required | Description | | - | - | - | - | | `external_id` | string | No | Filter connections by the external ID you provided when creating the auth link. | | `type` | string | No | Filter connections by connection type, such as `ga4`, `gads`, or `meta_ads`. | ## Example Request ```bash theme={"dark"} curl "https://api.markifact.com/v1/connections?external_id=customer_123&type=ga4" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} [ { "id": "1f2e3d4c-0000-0000-0000-000000000000", "type": "ga4", "display_name": "login@example.com", "external_id": "customer_123", "is_private": false, "created_at": 1764000000, "updated_at": 1764000000 } ] ``` ## Connection Object | Field | Type | Description | | - | - | - | | `id` | string | Public Markifact connection ID. | | `type` | string | Connection type. | | `display_name` | string or null | Display name for the connection. | | `external_id` | string or null | External ID from the auth link, if provided. | | `is_private` | boolean | Whether the connection is private to the API key's owning user. | | `created_at` | integer or null | Creation time as a Unix timestamp in seconds. | | `updated_at` | integer or null | Last update time as a Unix timestamp in seconds. | # Get credit balance Source: https://docs.markifact.com/api-reference/credits/get-balance GET /v1/credits Check how many Markifact credits your team has left in the current billing period. Returns your team's credit position for the current billing period. This is the endpoint to poll if you want to alert before your team runs out. ## Endpoint ```http theme={"dark"} GET /v1/credits ``` ## Example Request ```bash theme={"dark"} curl "https://api.markifact.com/v1/credits" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} { "credits_limit": 10000, "credits_used": 3613, "credits_remaining": 6387, "billing_period_end": 1780853312, "tier": "team" } ``` ## Fields | Field | Type | Description | | - | - | - | | `credits_limit` | integer | Credits included in your plan for the period. | | `credits_used` | integer | Credits consumed so far this period. | | `credits_remaining` | integer | `credits_limit` minus `credits_used`. Can be negative, see below. | | `billing_period_end` | integer or null | When the period ends and usage resets, in Unix seconds. | | `tier` | string | Your current plan. | > [!NOTE] > > `credits_remaining` can be negative. A run that overshoots the remaining balance is not rolled back mid-execution, so a team can finish a period slightly below zero. ## Alerting Example ```bash theme={"dark"} REMAINING=$(curl -s "https://api.markifact.com/v1/credits" \ -H "Authorization: Bearer YOUR_API_KEY" | jq '.credits_remaining') if [ "$REMAINING" -lt 500 ]; then echo "Markifact credits low: $REMAINING remaining" fi ``` To see what consumed the credits, use [List credit logs](/api-reference/credits/list-credit-logs). # List credit logs Source: https://docs.markifact.com/api-reference/credits/list-credit-logs GET /v1/credits/logs Read your Markifact team's credit ledger: every charge, what caused it, and who ran it. Returns one entry per credit charge, newest first. Every workflow run, agent turn, copilot request, and MCP tool call that consumed credits appears here. Unlike [operation logs](/api-reference/logs/list-logs), the credit ledger is **not truncated by your plan**. Your full history is available so you can reconcile against invoices. ## Endpoint ```http theme={"dark"} GET /v1/credits/logs ``` ## Query Parameters | Parameter | Type | Required | Description | | - | - | - | - | | `service_type` | string | No | Filter by what was charged: `workflow`, `agent`, `copilot`, or `mcp`. | | `service_id` | string | No | Charges from one workflow, conversation, or MCP server. Use this for per-client cost allocation. | | `user_id` | string | No | Charges triggered by one team member. | | `created_after` | integer | No | Only charges at or after this Unix second. | | `created_before` | integer | No | Only charges at or before this Unix second. | | `limit` | integer | No | Entries per page, 1 to 1000. Defaults to 25. Ledger entries carry no payloads, so the ceiling here is higher than on other resources. | | `cursor` | string | No | The `next_cursor` from the previous page. | ## Example Request ```bash theme={"dark"} curl "https://api.markifact.com/v1/credits/logs?service_type=workflow&limit=25" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} { "data": [ { "id": 7934, "credits_used": 4, "credits_remaining": 6389, "service": { "type": "workflow", "id": "bcd0e853-dd0c-4347-bd35-b86148cf2c96", "name": "Meta Ads Upload" }, "user": { "id": "Q8Wvn9gL8GUQ11SsJAnMfiyyGOA2", "email": "member@example.com" }, "created_at": 1784874205 } ], "has_more": true, "next_cursor": "eyJzIjoxNzg0ODc0MjA1LCJpIjo3OTM0fQ" } ``` ## Credit Log Object | Field | Type | Description | | - | - | - | | `id` | integer | Ledger entry ID. | | `credits_used` | integer | Credits this charge consumed. | | `credits_remaining` | integer | Balance immediately after the charge. See the caveat below. | | `service` | object | What was charged. See below. | | `user` | object | The team member who triggered it, with `id` and `email`. Both can be null for system-triggered runs. | | `created_at` | integer | Charge time in Unix seconds. | ### Service Object | Field | Type | Description | | - | - | - | | `type` | string | `workflow`, `agent`, `copilot`, or `mcp`. | | `id` | string | The workflow, conversation, or MCP server charged. Matches `source.id` in [operation logs](/api-reference/logs/list-logs). | | `name` | string | The name **at the time of the charge**, not the current name. A renamed workflow keeps its old name on historical entries, which is what you want when reconciling a past invoice. | > [!WARNING] > > `credits_remaining` is a point-in-time snapshot, not a running total you can reproduce by summing `credits_used`. > > The ledger records **consumption only**. When a billing period renews, your balance resets without writing an entry, so two consecutive entries can show the balance jumping upward. Use [Get credit balance](/api-reference/credits/get-balance) for the current figure rather than deriving it from the ledger. ## Pagination Identical to [operation logs](/api-reference/logs/list-logs#pagination): read `next_cursor` and pass it back as `cursor`. Keep every other parameter unchanged while paging, and treat the cursor as opaque. ## Cost Allocation Example To total what one workflow cost over a period, filter by its `service_id` and sum: ```bash theme={"dark"} curl "https://api.markifact.com/v1/credits/logs?service_id=bcd0e853-dd0c-4347-bd35-b86148cf2c96&created_after=1782000000&limit=1000" \ -H "Authorization: Bearer YOUR_API_KEY" \ | jq '[.data[].credits_used] | add' ``` Page through with `next_cursor` until `has_more` is `false` to cover the whole range. Use `limit=1000` when exporting: a full page is only around 265 KB, so a year of history is a handful of requests rather than hundreds. > [!NOTE] > > Credit charges do not map one-to-one onto operation logs. A single workflow run produces one operation log per node but a single credit entry, and agent and copilot usage is charged at the conversation level. Treat this ledger as the authoritative record of what you were charged. # Errors Source: https://docs.markifact.com/api-reference/errors Understand common Markifact API error responses. The Markifact API returns JSON errors using the standard `detail` field. ## Common Status Codes | Status | Meaning | | - | - | | `400` | The request is invalid or uses an unsupported value. | | `401` | The API key is missing, invalid, revoked, expired, or not allowed. | | `404` | The resource was not found or does not belong to your team. | | `500` | The API could not complete the request because of server configuration or an internal error. | ## Validation Error ```json theme={"dark"} { "detail": "redirect_url must be a valid https URL" } ``` Unsupported connection types include the allowed values: ```json theme={"dark"} { "detail": { "message": "Unsupported connection_type", "allowed_values": ["ga4", "gads", "meta_ads"] } } ``` ## Authentication Error ```json theme={"dark"} { "detail": "Missing API key" } ``` ## Not Found For team-scoped resources, `404` can mean the resource does not exist or belongs to another team. ```json theme={"dark"} { "detail": "Connection not found" } ``` # Getting started Source: https://docs.markifact.com/api-reference/getting-started Create an auth link and retrieve the connected account. Use the Markifact API to create connection links, let users connect external accounts, and retrieve the resulting workspace connections. ## Base URL ```text theme={"dark"} https://api.markifact.com ``` All API endpoints are under `/v1`. ## Quick Connect Flow ### 1. Create an API Key Team owners can create an API key from the Markifact workspace under **Settings > API Keys**. > [!NOTE] > > API keys are only available on Team plan workspaces. Team owners can create multiple keys and revoke them from **Settings > API Keys**. ### 2. Send the API Key Pass the key as a bearer token: ```bash theme={"dark"} curl https://api.markifact.com/v1/connections/types \ -H "Authorization: Bearer YOUR_API_KEY" ``` ### 3. Create an Auth Link Create a link for the connection type you want the user to authorize. ```bash theme={"dark"} curl https://api.markifact.com/v1/connections/auth-link \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "connection_type": "ga4", "redirect_url": "https://example.com/oauth/callback", "external_id": "customer_123" }' ``` Send the returned `url` to your user. Auth links expire **24 hours** after creation, or once a connection is successfully created — whichever comes first. Generate a new link if it expires or has already been used. ### 4. Get the Connected Account If you include `redirect_url`, Markifact sends the user's browser back to that URL after OAuth. On success, the redirect includes `status=success`, `connection_type`, `connection_id`, and your optional `external_id`. Use the redirect to update your UI, then fetch the auth link status server-side. When the status is `connected`, the response includes the created connection. ```bash theme={"dark"} curl https://api.markifact.com/v1/connections/auth-links/AUTH_LINK_ID/status \ -H "Authorization: Bearer YOUR_API_KEY" ``` You can use the connections endpoints later if you need to look up the connection again by Markifact connection ID, external ID, or type. If you use Markifact MCP from your own app, pass the returned `connection_id` in `X-Markifact-Context` to limit the MCP request to that connected account. This is the recommended option when your MCP client supports custom headers. ```json theme={"dark"} { "mcpServers": { "markifact": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.markifact.com/mcp" ], "headers": { "Authorization": "Bearer YOUR_MCP_TOKEN", "X-Markifact-Context": "{\"connection_ids\":[\"CONNECTION_ID\"]}" } } } } ``` If your MCP client does not support custom headers, pass the same restriction in the MCP URL: ```json theme={"dark"} { "mcpServers": { "markifact": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.markifact.com/mcp?connection_ids=CONNECTION_ID_1,CONNECTION_ID_2" ], "headers": { "Authorization": "Bearer YOUR_MCP_TOKEN" } } } } ``` The header and query parameter work in parallel with the MCP server's saved connection permissions, which you configure in the Markifact UI when creating or editing your MCP server. Saved MCP settings are the maximum allowed access; runtime context can only narrow that access for the request. If you pass `{"connection_ids":[]}` or use `?connection_ids=`, no connection is allowed for that request. Omit runtime context when you want to use the MCP server's normal saved connection settings. If both are provided, `X-Markifact-Context` is used. ## API Overview The first version of the API focuses on connection management: * List supported OAuth connection types * Create auth links for users to connect accounts * Track auth link status * List connections by Markifact connection ID, external ID, or type * Delete API-visible workspace connections The API never returns connection credentials. ## Authentication and Team Scope Every endpoint requires an API key in the `Authorization` header. API keys are scoped to the team that created them. Connection endpoints can access shared team connections plus private connections owned by the user who created the API key. Auth link endpoints can only access auth links owned by that team. > [card] [Authentication](/api-reference/authentication) > > Learn how API keys work and how to pass them with requests. ## Connection IDs Connections returned by the API include an `id`. This is the public Markifact connection ID and is safe to store in your system. If you pass an `external_id` when creating an auth link, Markifact stores it on the resulting connection. You can use that value later to find connections that belong to a customer, store, workspace, or account in your own system. ## Response Format Responses are JSON. Timestamp fields use Unix time in milliseconds. ```json theme={"dark"} { "id": "1f2e3d4c-0000-0000-0000-000000000000", "type": "ga4", "display_name": "login@example.com", "external_id": "customer_123", "is_private": false, "created_at": 1764000000000, "updated_at": 1764000000000 } ``` # Get log Source: https://docs.markifact.com/api-reference/logs/get-log GET /v1/logs/{log_id} Fetch a single Markifact operation log by ID. Returns one log. The response is the same object [List logs](/api-reference/logs/list-logs) returns, so use this when you already have a log ID and do not want to page. ## Endpoint ```http theme={"dark"} GET /v1/logs/{log_id} ``` ## Path Parameters | Parameter | Type | Required | Description | | - | - | - | - | | `log_id` | string | Yes | The log ID. | ## Example Request ```bash theme={"dark"} curl "https://api.markifact.com/v1/logs/1e38c1c2-1d85-4094-ab55-1f35c78ab436" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} { "id": "1e38c1c2-1d85-4094-ab55-1f35c78ab436", "operation_id": "gads_get_campaigns", "operation_version": 2, "status": "error", "source": { "type": "mcp", "id": "mcp_7f21c9", "run_id": null, "name": "Client A MCP" }, "user": { "id": "Q8Wvn9gL8GUQ11SsJAnMfiyyGOA2", "email": "member@example.com" }, "started_at": 1784874174, "completed_at": 1784874176, "credits_used": 0, "cache_hit": false, "input": { "customer_id": "123-456-7890", "date_range": "LAST_30_DAYS" }, "output": { "error": true, "type": "NodeError", "message": "The Google Ads account is no longer accessible with this connection." }, "metadata": { "tool_name": "run_operation" } } ``` See [List logs](/api-reference/logs/list-logs#log-object) for the full field reference. ## Errors | Status | Meaning | | - | - | | `401` | Missing, invalid, or revoked API key. | | `404` | No log with that ID in your team, or the log is older than your plan's history window. | A `404` for an aged-out log includes the window in the response so you can tell it apart from a genuinely unknown ID: ```json theme={"dark"} { "detail": { "message": "Log not found", "history_days": 30 } } ``` # List logs Source: https://docs.markifact.com/api-reference/logs/list-logs GET /v1/logs List the operation logs your Markifact team has produced across workflows, MCP servers, and agents. Returns one log per operation your team ran, newest first, whatever produced it: a workflow node, an MCP tool call, or an agent step. API keys can only be created by team owners, so a key sees every log the team wrote, including operations run by other members and through private MCP servers. How far back you can read depends on your plan's history window. Logs outside that window are not returned even though Markifact still stores them. ## Endpoint ```http theme={"dark"} GET /v1/logs ``` ## Query Parameters | Parameter | Type | Required | Description | | - | - | - | - | | `source_type` | string | No | Only return logs from one source: `mcp`, `agent`, or `workflow`. Omit for all three. | | `status` | string | No | Only return logs with this status: `success`, `error`, `skipped`, `stop`, or `start`. | | `operation_id` | string | No | Exact operation ID, such as `gads_get_campaigns`. | | `source_id` | string | No | Only return logs from one MCP server, agent conversation, or workflow. | | `source_run_id` | string | No | Only return logs from a single workflow run. This is how you fetch every step of one run. | | `started_after` | integer | No | Only logs started at or after this Unix second. Cannot reach past your plan's history window. | | `started_before` | integer | No | Only logs started at or before this Unix second. | | `limit` | integer | No | Logs per page, 1 to 100. Defaults to 25. | | `cursor` | string | No | The `next_cursor` from the previous page. | ## Example Request ```bash theme={"dark"} curl "https://api.markifact.com/v1/logs?source_type=workflow&status=error&limit=25" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Response ```json theme={"dark"} { "data": [ { "id": "1e38c1c2-1d85-4094-ab55-1f35c78ab436", "operation_id": "sheets_read_data", "operation_version": 1, "status": "success", "source": { "type": "workflow", "id": "bcd0e853-dd0c-4347-bd35-b86148cf2c96", "run_id": "411de6e1-9a3d-4838-a1a7-21cbc8dfe15f", "name": "Meta Ads Upload" }, "user": { "id": "Q8Wvn9gL8GUQ11SsJAnMfiyyGOA2", "email": "member@example.com" }, "started_at": 1784874165, "completed_at": 1784874172, "credits_used": 1, "cache_hit": false, "input": { "spreadsheet_id": "1AbC...", "range": "Sheet1!A1:F200" }, "output": { "rows": 199, "file_id": "f_9c21..." }, "metadata": { "node_id": "node_3", "node_label": "Read campaign sheet", "retry_attempts": 0 } } ], "has_more": true, "next_cursor": "eyJzIjoxNzg0ODc0MTY1LCJpIjoiNjI2OWRhYTUifQ" } ``` ## Pagination Read `next_cursor` from the response and pass it back as `cursor` to get the next page. When `has_more` is `false`, `next_cursor` is `null` and you have reached the end. ```bash theme={"dark"} # First page curl "https://api.markifact.com/v1/logs?limit=100" \ -H "Authorization: Bearer YOUR_API_KEY" # Next page curl "https://api.markifact.com/v1/logs?limit=100&cursor=eyJzIjoxNzg0ODc0MTY1LCJpIjoiNjI2OWRhYTUifQ" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Keep every other parameter identical while paging. The cursor marks a position in the ordered result set, not the query that produced it, so changing a filter mid-walk gives you a page that does not line up with the previous one. Treat the cursor as opaque. Its contents are internal and can change. ## Log Object | Field | Type | Description | | - | - | - | | `id` | string | Log ID. | | `operation_id` | string | The Markifact operation that ran. | | `operation_version` | integer or null | Version of the operation. | | `status` | string | `success`, `error`, `skipped`, `stop`, or `start`. `start` means the operation was still running when the log was written. | | `source` | object | What ran the operation. See below. | | `user` | object | The team member who ran it, with `id` and `email`. | | `started_at` | integer | Start time in Unix seconds. | | `completed_at` | integer or null | Completion time in Unix seconds. Null while still running. | | `credits_used` | integer | Credits the operation consumed. | | `cache_hit` | boolean | Whether the result came from cache instead of the provider. | | `input` | any | Input the operation ran with. Shape depends on the operation. | | `output` | any | What the operation returned, or the error payload when `status` is `error`. Shape depends on the operation. | | `metadata` | object | Extra context. `node_id`, `node_label`, and `retry_attempts` for workflows, `tool_name` for MCP. | ### Source Object | Field | Type | Description | | - | - | - | | `type` | string | `mcp`, `agent`, or `workflow`. | | `id` | string or null | The MCP server, agent conversation, or workflow the operation belongs to. | | `run_id` | string or null | A single execution. Set on workflow logs, null otherwise. | | `name` | string or null | Current name of the parent. Falls back to the name recorded at log time if the parent was deleted. | > [!NOTE] > > Timestamps in this resource are Unix **seconds**. Connection timestamps are in milliseconds. ## Reconstructing a Workflow Run A workflow writes one log per node, all sharing a `source_run_id`. To pull a whole run in order, filter by it: ```bash theme={"dark"} curl "https://api.markifact.com/v1/logs?source_run_id=411de6e1-9a3d-4838-a1a7-21cbc8dfe15f" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Logs come back newest first, so reverse them to read the run in execution order. A run that failed before any node executed, for example when the team ran out of credits, produces no logs at all. # AI Agents Source: https://docs.markifact.com/core-concepts/agent Learn how AI agents work in Markifact — from task execution and approvals to sharing conversations with your team, branching them, custom agents, and credit usage. An **AI Agent** in Markifact is a conversational interface that can execute real marketing operations on your behalf. Unlike workflows, which follow a fixed sequence of steps, agents interpret your request and decide which operations to run, then ask for your approval before making changes. Agents handle any marketing task you throw at them, from building a campaign and adding negative keywords to generating a presentation or pulling a quick report. Run them on demand or on a schedule. *** ## How agents work 1. You describe a task in natural language (e.g. "Create a Meta campaign for our spring sale"). 2. The agent determines which operations are needed and executes them. 3. Before any changes go live, the agent surfaces the results for your review. 4. You approve, reject, or ask the agent to revise. This human-in-the-loop model means the agent handles the heavy lifting while you stay in control of what actually gets published or modified. *** ## What agents can do Agents have access to 1000+ operations across all major ad platforms and marketing tools. These are the same building blocks that power workflows, so anything you can do in a workflow node, an agent can do on demand. Common tasks include: * Creating and modifying ad campaigns across Google Ads, Meta Ads, TikTok Ads, and others * Pulling performance reports and data summaries * Adding or removing negative keywords * Building Google Slides presentations from data * Uploading creatives and managing assets * Running account audits and QA checks *** ## Channels You can interact with agents through multiple channels: * **Markifact app** — the default web interface * **Slack** — via a whitelabeled Slack app * **WhatsApp** — chat directly with your agent * **Email**: give the agent its own address and email it from your inbox. See [Agent Email](/core-concepts/agent-email) * **API** — integrate agent access into your own tools *** ## Sharing a conversation with your team Every conversation is private to you by default, even when the agent itself is shared with your team. You can share an individual conversation so your teammates can read it and work in it with you. > [!NOTE] > > Sharing is only useful on a **Team plan** workspace, since that is where you can invite teammates. Free and Pro workspaces have a single seat, so there is nobody to share with. To share, open the conversation and click **Share** in the top right, or use the **Share** option in the conversation menu in the sidebar. The button changes to **Shared**, and the conversation appears in your teammates' sidebars with a people icon. > [!NOTE] > > You can only share a conversation on an agent that is already shared with your team. If the agent is private, share the agent first from **Agent Settings**, then share the conversation. ### What your teammates can do | Action | Owner | Teammates | | - | - | - | | Read the conversation and its results | Yes | Yes | | Send messages | Yes | Yes | | Approve or reject pending actions | Yes | Yes | | Rate responses | Yes | Yes | | Change the model, tools, and approval settings | Yes | Yes | | Rename, pin, or delete the conversation | Yes | No | | Share or make private | Yes | No | | Edit past messages | No | No | Every message shows the name and avatar of whoever sent it, so it is always clear who asked what. ### Working at the same time A shared conversation refreshes roughly every 20 seconds while you have it open, so your teammates' messages appear on their own. While someone else's request is running you see **"Working on a request from ..."** and the input is briefly disabled, because the agent handles one request at a time per conversation. A conversation that is waiting on an approval appears under **Needs approval** at the top of the sidebar for everyone with access, so whoever is available can unblock it. Editing a past message is disabled while a conversation is shared. Editing rewrites the conversation from that point and removes everything after it, which would erase your teammates' work. Make the conversation private again and editing works as usual. ### Making it private again Click **Shared** and confirm. Teammates lose access immediately: the conversation leaves their sidebar, and anyone with it open is returned to their agent. Only conversations started in the Markifact app can be shared. Conversations from Slack, WhatsApp, or a scheduled task have no Share option, but you can branch them into an app conversation and share that. *** ## Branching a conversation Branching forks a conversation at a chosen point into a new chat. Use it when a thread has gone somewhere useful and you want to try a different direction without losing what you have, or when a single conversation has drifted across several topics. Hover any agent response, click the **fork** icon next to the copy and rating buttons, and confirm. You land in a new conversation holding everything up to and including that response, ready for your next message. The original is never modified. | Carried over | Left behind | | - | - | | Every message up to the branch point | Anything after the branch point | | Tool calls and their results | Ratings given on the original responses | | The agent, model, tools, and approval settings | Failed responses | A few details worth knowing: * The branch is **always private**, even when you branch a shared conversation. Share it separately if you want your team in it. * In the branch, all earlier messages are attributed to you, so branching a shared conversation gives you a clean personal copy rather than a co-authored transcript. * The new conversation is named **"Branch of ..."**, so it is easy to spot in the sidebar. * Branching a Slack, WhatsApp, or scheduled conversation produces a normal app conversation, which you can then share or edit. * Branching costs no credits. Only your next message runs the agent. > [!TIP] > > Long threads cost more per message, because the whole history is sent as context. Branching right after the part you actually need keeps the new conversation cheap and focused. *** ## Custom agents You can create multiple agents, each configured for a specific purpose. Every custom agent has its own: * **Name** — to identify it across your workspace * **Instructions** — a system prompt that defines the agent's scope and behavior * **Connected tools** — which platforms and operations the agent can access This is useful when you want dedicated agents for different functions — one for reporting, another for campaign management, another for a specific client account, and so on. *** ## AI models Agents support multiple AI providers. You can choose which model powers each agent: * **OpenAI** * **Google Gemini** * **Anthropic Claude** You can also bring your own API keys to use your preferred provider directly. See [Bring Your Own Keys](/core-concepts/bring-your-own-keys) for setup details. *** ## Agent credits Agent credit usage is separate from workflows and is based on token consumption. **Task Agent** costs are based on the **tokens consumed** multiplied by a **model-specific multiplier**. For example, gpt-5.2 may be treated as 1x, while higher-cost reasoning models like Claude Opus can be 5x or more. ### Long conversations Because each message includes conversation history as context, longer threads consume more tokens per response. Markifact automatically compacts history to reduce this, but very long threads will still cost more over time. Start a fresh task when switching objectives. ### Using your own API keys When you bring your own API keys: * **Task Agent AI tokens** are billed directly through your provider — no Markifact credits consumed for AI usage. * The **AI Agent node** in workflows costs a flat **1 credit per run**, regardless of tool count. * All other AI workflow nodes (Ask, Structure, Analyze Data, etc.) cost **0 credits**. For full credit tables and model pricing, see [Credits & Usage](/core-concepts/credits). *** ## Agent vs. Workflow | | Agent | Workflow | | - | - | - | | **Best for** | Tasks where AI decides the steps | Structured, multi-step automation | | **Execution** | Conversational, you describe the task | Visual, you build a flow on a canvas | | **Flexibility** | Adapts to your request dynamically | Follows a fixed sequence every time | | **Approval** | Human-in-the-loop before changes go live | Runs automatically once triggered | Both agents and workflows share the same underlying operations and platform connections. Choose agents when you want the AI to figure out the steps, and workflows when you want full control over every step. > [!NOTE] > > Also weighing MCP? See [Agent vs MCP vs Workflow](/core-concepts/agent-vs-mcp-vs-workflow) for a full decision guide across all three. *** ## Related > [card] [Agent Skills](/core-concepts/agent-skills) > > Learn when to use skills, how they load on demand, and how to structure them for repeatable work. > [card] [Agent Memory](/core-concepts/agent-memory) > > How agents remember your clients, targets, and preferences across conversations. > [card] [AI Agent Node](/nodes/ai/ai_agent) > > Use an AI agent inside a workflow to add dynamic decision-making to your automations. > [card] [Credits & Usage](/core-concepts/credits) > > Full credit tables, model pricing, and usage tracking. # Agent Email Source: https://docs.markifact.com/core-concepts/agent-email Give your Markifact agent its own email address, email it from your work inbox, and get answers as replies in the same thread. Agent Email gives an agent its own address, such as `analyst@markifact.ai`. You and your teammates email it the way you would email a colleague: ask for a report, forward a client thread, or CC it on a discussion. The agent does the work and replies in the same email thread. > [!NOTE] > > Agent Email is available on paid plans. *** ## Set up an address **1. Open the agent's settings** Open the agent, then click the gear icon at the top of the page to open **Agent Settings**. **2. Open Email** Under **External Channels**, click **Email**. **3. Choose the address** Type the part before `@markifact.ai`, for example `analyst`. Markifact checks that it is available as you type. Use 3 to 32 characters: letters, numbers, dots, dashes or underscores. **4. Create it** Click **Create address**, then copy the address and save it as a contact. > [!WARNING] > > An address cannot be changed once it is created. Choose a name your team will recognize. Each agent has one address. To stop an agent from answering, click **Turn off**. The address stays reserved for that agent, and you can turn it back on at any time. *** ## How it works | You do | What happens | | - | - | | Send a new email to the agent | A new conversation starts, and the agent replies | | Reply in the same thread | The agent continues the same conversation, with everything said before | | Send a new email with the same subject | A new conversation starts. Only replies in the thread continue a conversation | | CC teammates or a client | The agent's reply goes to everyone on the email | | Forward a thread or add the agent to an existing thread | The agent reads the earlier messages included in the email, so "see below" works | | Attach files or screenshots | The agent can read them, like files uploaded in the app | Each email thread appears as a conversation under the agent in the Markifact app. Use the **Email** filter in the sidebar to find them. The conversation is private to the teammate who started the thread. > [!NOTE] > > Messages you type in the app inside an email conversation are not emailed. To answer by email, reply to the thread from your inbox. ### Example You send this to `analyst@markifact.ai`, with your client on CC: > Can you compare Meta Ads spend and ROAS for Acme, last 7 days vs the 7 days before? A minute later, you and your client receive a reply in the same thread with a table of spend and ROAS for both periods and a short summary of what changed. You reply "Break it down by campaign", and the agent answers in the same thread, already knowing which account and dates you meant. *** ## Who can email the agent Only members of your workspace who can access the agent can ask it to do something. Everyone else is ignored, and the agent never replies to them. | Sender | What happens | | - | - | | Workspace member who can access the agent | The agent runs and replies | | Teammate who cannot access a private agent | Ignored | | Someone outside your workspace, in a new email | Ignored, no reply | | Someone outside your workspace, replying in a thread the agent is already in (for example a client on CC) | Their message is kept in the conversation so the agent can see it later, but it does not trigger the agent and gets no reply | The agent never acts on instructions from people outside your workspace. If your client asks a question in the thread, reply "Can you answer that?" and the agent will. Markifact also checks that each email really comes from the address it claims to be from. If it cannot confirm that, the agent does not act on the email, and the teammate whose address was used receives a notice. *** ## Approvals Actions that change your accounts, such as pausing a campaign or changing a budget, need your approval, just like in the app. When the agent needs approval, it replies with the actions it wants to take. Reply **approve** to go ahead, or reply with anything else to cancel. The email also links to the conversation, so you can review it in Markifact first. *** ## Files * **Files you send**: attach images, spreadsheets, PDFs or other documents to your email. The agent can open them like files uploaded in the app. * **Files the agent creates**: reports, spreadsheets and charts are attached to its reply. Very large files are sent as download links that work for 7 days. *** ## FAQ > [accordion] Why didn't the agent reply? > > Check that: > > * You sent the email from the address you use to sign in to Markifact. > * You can access the agent. A private agent only answers its creator. > * The agent's email is turned on in **Agent Settings**. > * Your workspace is on a paid plan. > > If none of these apply, contact support with the time you sent the email. > [accordion] I received "We couldn't confirm that this email came from you" > > Markifact could not verify that the email came from your address, so the agent did not act on it. This usually means your company's email domain does not sign its mail (DKIM). Gmail, Google Workspace and Microsoft 365 support it; ask whoever manages your company email to turn it on, then send the email again. > [accordion] Can my clients email the agent? > > Not directly. Only members of your workspace can ask the agent to do something. You can CC clients, and they receive the agent's replies. Their replies in the thread are kept as context, so you can ask the agent to respond to them. > [accordion] Can I change the address? > > No. An address is set once when you create it. You can turn it off and back on, and it stays reserved for the agent. The address is only released if the agent is deleted. > [accordion] Does it cost credits? > > Yes, the same as asking the agent in the app. Each email the agent answers uses credits for that run. See [Credits](/core-concepts/credits). > [accordion] Can the agent see earlier emails in the thread? > > When you add the agent to an existing thread or forward one, it reads the earlier messages included in your email. After that, it remembers the whole conversation. If you delete the quoted text before sending, the agent cannot see those messages and asks you to forward them. > [accordion] Who receives the agent's reply? > > Everyone on the email: the sender and everyone in To and CC. If you added the agent as BCC, only you receive the reply, so the others do not see that you copied it. > [accordion] Is my email stored? > > The email becomes part of the agent conversation in Markifact, like a chat in the app, along with its attachments. The original email is deleted from our mail storage within a day. # Agent Memory Source: https://docs.markifact.com/core-concepts/agent-memory Learn how agent memory works in Markifact, what the agent saves on its own, how to add your own context, and how memory differs from instructions and skills. Agent memory is what an agent knows about you and your accounts across conversations. Without it, every chat starts from zero and you re-explain the same client details, targets, and preferences every time. Memory fills up in two ways: * **Learned**: the agent saves durable facts as you work, without being asked * **Added by you**: you write context yourself from the **Memory** page Automatically learned entries from a signed-in conversation start in **My Memory**, which is private to you. When you add context manually, you choose **My Memory** or **Team Memory** before saving. You can also move a complete private file into Team Memory later. Memory learned in a channel conversation with no linked Markifact user is saved to Team Memory so it remains available. *** ## Memory Vs. Instructions Vs. Skills These three layers are easy to confuse. The short version: instructions are how the agent behaves, memory is what it knows, skills are what it knows how to do. | | Answers | Contains | Loaded | | - | - | - | - | | **System instructions** | How should this agent behave? | Role, tone, output style, rules of engagement | Always | | **Memory** | What does it know about me? | Client details, targets, naming rules, decisions, preferences | Index always, full entry on demand | | **Skills** | What does it know how to do? | Repeatable processes, playbooks, checklists, scripts | On demand | Worked examples: | You want the agent to... | Put it in | | - | - | | Always answer in Spanish | System instructions | | Always report in tables, never prose | System instructions | | Know that Acme's target CPA is \$45 | Memory | | Know your campaign naming convention | Memory | | Know that Acme's CMO signs off on creative | Memory | | Build your weekly client deck in your standard format | Skill | | Follow your campaign launch QA checklist | Skill | The rule of thumb: if it starts with "you are" or "always respond", it is an instruction. If it is a fact about your business or clients, it is memory. If it is a repeatable procedure, it is a skill. > [!NOTE] > > Instructions are set per agent in **Agent Settings**. Memory lives on the agent's **Memory** page. Skills live on the agent's **Skills** page. *** ## How Memory Works Memory is stored as small markdown documents, each with a path and a one-line description. At the start of every conversation the agent receives only the **index**: the path and description of each document, not the content. When a description looks relevant to the task, the agent opens that document and reads it. ```text theme={"dark"} my/profile.md - Who you work with: agency, accounts, role my/preferences.md - How you want reports formatted and delivered my/clients/acme.md - Your private Acme context team/clients/acme.md - Shared Acme decisions and constraints team/topics/naming.md - Shared campaign naming rules ``` The `my/` and `team/` prefixes are agent-facing scopes rather than part of the stored filename. Each path has exactly one scope, so a path such as `my/team/clients/acme.md` is invalid. This on-demand loading is what keeps memory cheap. Ten documents or a hundred, the always-on cost stays roughly the same, because only the one-line descriptions are always present. It also means **the description does the work**. A description that says when to read the document is what makes the agent actually open it at the right moment. *** ## What The Agent Saves On Its Own The agent files durable facts as they come up in conversation, without you asking: * Standing rules and guardrails * Business constraints that outlive campaigns, such as target CPA or ROAS, budget authority, minimum test duration * Naming and account structure conventions * Reporting preferences: cadence, format, which metrics you care about * Durable client facts, including who signs off on work * Corrections to its own behavior * Your stated plans, including undecided ones ### What It Never Saves This matters as much as what it does save: * **Data returned by an operation.** Metrics, spend, balances, audience sizes, campaign names and IDs. These go stale within a day, and stale numbers in memory are worse than no numbers. Your *decision* about a metric is memory ("we capped CPA at $45"); the metric itself is not ("CPA is $42"). * **Its own analysis or recommendations.** If it proposed something and you approved, it saves your decision, not the reasoning behind it. * **One-off instructions.** "Exclude mobile placements on this campaign" is a task. "We never run mobile placements" is memory. When the scope is unclear, it does not save, because a wrongly remembered rule silently changes every future campaign. * **Sensitive data.** Credentials, payment details, customer lists, lead form submissions, and personal data are never written to memory. * **Anything that duplicates a Markifact setting**, such as your approval mode or model choice. Settings are the source of truth and change without the agent knowing. > [!TIP] > > Tell the agent a durable fact once and it is saved. You do not need to repeat it or ask it to remember. *** ## Adding Context Yourself Use **Add Context** on the Memory page when you want the agent to know something before it ever comes up in conversation. Choose where to save it before adding the entry: * **My Memory** keeps it private to your conversations with this agent. * **Team Memory** makes it available in every teammate's conversations with this agent. Each entry has three fields: * **Title**: what it is, shown in your list * **Description**: what it covers and **when the agent should use it** * **Content**: the actual knowledge Context you add is authoritative, but it is not frozen. The agent can append relevant non-conflicting facts and keep clearly outdated details current in either My Memory or Team Memory. It will not silently remove or reverse a rule you wrote; when new information conflicts with one, it asks which should apply. The description is the most important field, because it is the only part the agent always sees. Write it as a trigger. Good: > Campaign naming rules: read before creating or renaming any campaign Weak: > Some notes about naming ### Example Entry **Title:** Campaign naming rules **Description:** Campaign naming rules: read before creating or renaming any campaign **Content:** ```text theme={"dark"} All new campaigns follow this format: {Client}_{Platform}_{Type}_{Objective}_{MonthYear} - Client: short client code, e.g. ACME - Platform: GGL for Google Ads, META for Meta Ads - Type: SRCH, PMAX, SHOP, DISP for Google; PROS, RTG for Meta - Objective: LEADS, SALES, TRAFFIC, AWARE Example: ACME_GGL_SRCH_LEADS_Aug2026 Never rename existing campaigns without asking. ``` *** ## My Memory And Team Memory The Memory page shows both spaces together: * **My Memory** is private to you. Memory learned in a signed-in conversation starts here; manually added context can be saved here when it is personal. * **Team Memory** is shared with every teammate who uses the agent. It is the team's canonical context for that file. For signed-in conversations, newly learned memory starts in My Memory. Channel conversations without a linked user save learned memory to Team Memory because there is no private owner. Agents can keep both My Memory and Team Memory current by appending non-conflicting facts or updating clearly outdated information. Paths make the scope explicit to the agent. A personal and Team file can have the same canonical name without hiding one another: ```text theme={"dark"} my/clients/acme.md team/clients/acme.md ``` The `my/` and `team/` prefixes are agent-facing scopes. The underlying filename remains `clients/acme.md`, and database permissions still determine who can access it. ### Move A File To Team Memory Select **Move to Team Memory** on a file in My Memory. After confirmation, the file moves from `my/` to `team/` and becomes available in every teammate's conversations with that agent. Conflicts are based only on the canonical filename. If Team Memory already has a file with the same path, Markifact asks whether you want to replace it. Replacement overwrites the complete Team file—title, description, and content—with your file. Markifact does not merge, deduplicate, or compare individual facts. When adding context directly, the generated filename must be unique within the selected scope. If the name already exists in My Memory or Team Memory, edit the existing entry or choose a different title. Team Memory cannot be changed back into private memory with a visibility toggle. Once shared, it is team knowledge. The agent can update or append to it, but it cannot delete the complete Team file. Only a team owner can delete a Team Memory entry from its edit dialog. > [!NOTE] > > Memory belongs to the agent. Each agent keeps its own memory, so a reporting agent and a campaign agent do not share what they learn. Conversations remain private per user, as they always have been. *** ## Managing Memory From the agent's **Memory** page you can: * **See My Memory and Team Memory together** without switching tabs * **See where every entry is scoped** by whether it appears under My Memory or Team Memory * **Open any entry** to read it exactly as the agent reads it, no summarising or prettifying * **Edit** entries, including ones the agent learned, if it got something slightly wrong * **Move a private file to Team Memory** when everyone using the agent should know it * **Choose My Memory or Team Memory** when adding context manually * **Turn an entry off** without deleting it, when you want to pause it temporarily * **Delete an entry from its edit dialog**; you can delete your private entries, while only team owners can delete complete Team entries * **Export everything** as a single markdown file You can also manage memory in conversation. Ask the agent to forget a specific fact and it removes that line. Ask it to remember something and it files it. > [!TIP] > > If the agent ever seems to be working from something wrong or out of date, open the Memory page. Everything it knows is visible there, in plain text. *** ## Practical Rule Of Thumb Let the agent build memory on its own, and add context yourself for the things it has no way to learn yet: a new client's constraints, your naming conventions, a reporting format you have never asked for out loud. If the agent is not using something you added, check the description. It should say when to read the entry, not just what it contains. *** ## Related > [card] [AI Agents](/core-concepts/agent) > > Learn how agents work in Markifact and where memory fits into the agent model. > [card] [Agent Skills](/core-concepts/agent-skills) > > Reusable processes and playbooks, the layer for what an agent knows how to do. # Agent Skills Source: https://docs.markifact.com/core-concepts/agent-skills Learn what agent skills are in Markifact, when to use them, how to create them, and how to structure them for reliable reuse. Agent skills are reusable instruction packs attached to an agent. They help an agent do specific work more consistently without bloating its always-on instructions. A good skill should do at least one of these well: * Give the agent knowledge or logic it would not reliably infer on its own * Load context only when needed instead of expanding the agent's base instructions * Make repeated work more consistent with saved instructions, scripts, references, or templates If something is just a long wall of obvious guidance that should apply in every conversation, it usually belongs in the agent's instructions, not a skill. *** ## What Is A Skill? A skill is a reusable folder of instructions and resources that an agent can load when it is relevant to the task. Every skill includes a required `SKILL.md` file. Some skills also include helper files such as: * `scripts/` for deterministic code * `references/` for longer supporting documentation * `assets/` for templates or static files In Markifact, skills are scoped to the agent you create them on. That makes them useful for building agents with distinct operating styles or repeatable job-specific playbooks. Markifact also provides read-only system skills. These are built in by Markifact and available where relevant. *** ## Skills Vs. Instructions Vs. Memory Vs. Tools | Use this when... | Best fit | | - | - | | The rule should apply in every conversation | Agent instructions | | The agent needs to know a fact about you, a client, or an account | [Memory](/core-concepts/agent-memory) | | The agent just needs the ability to take an action | Tool | | The agent needs reusable process, context, or structure for a specific kind of task | Skill | Examples: * "Always be concise and professional" → agent instructions * "Acme's target CPA is \$45" → memory * "Pull a Meta Ads report" → tool usage * "Build our weekly client reporting deck in our standard format" → skill *** ## Skills Vs. Memory Skills and memory are the two on-demand layers, so this is the distinction worth getting right. **A skill is a procedure. Memory is a fact.** | | Skills | Memory | | - | - | - | | Answers | What does the agent know **how to do**? | What does the agent know **about me**? | | Typical content | Steps, playbooks, checklists, scripts, templates | Client details, targets, naming rules, decisions, preferences | | Who writes it | You, or the agent when you ask it to | The agent on its own as you work, or you | | Scope | Reusable across clients and conversations | Specific to you, your accounts, and your clients | | Changes | Rarely, when your process changes | Constantly, as work happens | The same subject can appear in both, split by that line: * **Skill:** how to build the weekly client report, step by step * **Memory:** that this client wants it every Monday, one page, revenue first Two quick tests when you are unsure: * Would this be useful to a teammate working on a completely different client? If yes, it is probably a skill. * Would it need updating when a client changes their mind? If yes, it is memory. > [!TIP] > > If you find yourself writing client names, budgets, or specific targets into a skill, that part belongs in memory instead. Keep skills about the process so they stay reusable. *** ## When To Create A Skill Create a skill when you have a repeatable task that should be handled the same way every time. Common cases: * A multi-step process the agent should follow consistently * A response format, template, or checklist you want reused * Domain knowledge that is too specific or too long for the main agent instructions * Exact logic that is better handled by a script than by free-form reasoning * Work that a single agent will perform repeatedly over time Good examples: * Weekly performance summary playbook * Brand voice and post formatting rules for one account * A QA checklist for campaign launches * A reporting skill with a helper script to shape output data Not every repeated request needs a skill. If it is a one-off task or a universal rule for the agent, keep it out of the skill layer. *** ## How Skills Work In Markifact At a high level, the flow looks like this: 1. An agent has access to a set of skills. 2. The agent sees the available skill names and descriptions first. 3. When a skill looks relevant, the agent reads that skill's `SKILL.md` and any supporting files it needs. 4. The agent follows those instructions while completing the task. This on-demand loading matters. It keeps the agent's always-on context lighter than dumping every process into the main instructions. > [!NOTE] > > Skills are for reusable task-specific guidance. They are not a replacement for your agent's universal identity, tone, or safety rules. *** ## Creating Skills From an agent's **Skills** page, Markifact currently supports two practical creation flows: ### 1. Create With AI Use **New Skill → Create with AI** when you want the agent to help you design the skill. This is the best option when: * The scope is still fuzzy * You want help turning a workflow into good skill instructions * The skill may need extra files, structure, or iteration ### 2. Write Instructions Use **New Skill → Write Instructions** for simple instruction-only skills. You provide: * Name * Description * Instructions This is the fastest path for lightweight skills such as formatting rules, playbooks, or checklists. > [!NOTE] > > In the **Write Instructions** flow, the `Name` and `Description` fields are already captured separately by Markifact. The `Instructions` field should contain only the body of the skill, not another copy of the name, description, or YAML frontmatter. > [!TIP] > > Start with a simple instruction-only skill when possible. If the task later needs code, reference docs, or templates, you can expand the skill over time. *** ## What's Inside A Skill? Most skills are just a well-written `SKILL.md`, but a richer skill can look like this: ```text theme={"dark"} weekly-reporting/ SKILL.md scripts/ build_summary.py references/ reporting-guidelines.md assets/ report-template.md ``` ### Required: `SKILL.md` This is the entry point. It tells the agent what the skill does, when to use it, and how to proceed. At minimum, it should include frontmatter like this: ```yaml theme={"dark"} --- name: weekly-reporting description: Generate a weekly marketing summary in our standard format. Use when the user asks for weekly reporting or KPI summaries. --- ``` After the frontmatter, add the actual instructions in Markdown. If you are using Markifact's **Write Instructions** form, you do not type this frontmatter yourself. Markifact builds it for you from the separate `Name` and `Description` inputs. ### Optional: `scripts/` Use scripts when the task requires exact logic, deterministic formatting, or repeatable data processing. Examples: * Data reshaping * Metric calculations * File transformations * Report assembly helpers ### Optional: `references/` Use this for longer docs that would make `SKILL.md` too heavy. Examples: * Internal naming conventions * Channel-specific rules * Extended examples * Lookup tables or structured guidance ### Optional: `assets/` Use this for static files the skill may rely on. Examples: * Templates * Boilerplate content * Static reference files used in outputs *** ## Writing Better Skills The best skills are narrow, concrete, and easy for the agent to activate. ### 1. Write A Specific Description The description is the discovery surface. It should explain both: * What the skill does * When the agent should use it Good: > Generate weekly paid media summaries with channel-by-channel highlights and action items. Use when the user asks for weekly reporting, KPI rollups, or client-ready summaries. Weak: > Helps with reports. ### 2. Keep Skills Focused One skill should solve one clear class of problems well. Better: * `weekly-reporting` * `campaign-qa-checklist` * `brand-post-formatting` Worse: * `marketing-everything` ### 3. Put Precision In Scripts If something needs to be exactly right every time, move it into a script instead of leaving it to the model. Good candidates: * Calculations * Deterministic data transforms * Repeated file processing steps ### 4. Keep `SKILL.md` Lean Keep the core instructions concise. If the file starts turning into a large reference manual, move the detail into `references/` and let the agent load that content only when needed. ### 5. Include Concrete Patterns When useful, include: * Examples of the kinds of requests that should trigger the skill * A step-by-step workflow * Output expectations or formatting rules *** ## System Skills Vs. Custom Skills | Type | Who provides it | Editable? | Typical use | | - | - | - | - | | System skill | Markifact | No | Built-in reusable capability | | Custom skill | You or your team through an agent | Yes | Agent-specific process, context, or workflow | Custom skills can be inspected from the agent's Skills page, where you can open the skill and browse its file tree. *** ## Practical Rule Of Thumb Use a skill when the agent needs reusable task-specific context. Do not use a skill when: * The rule belongs in the agent's general instructions * The task is a one-off and does not need to be reused * The content adds no real logic, structure, or reusable context If a skill is only prompt bloat, it is not helping. *** ## Related > [card] [AI Agents](/core-concepts/agent) > > Learn how agents work in Markifact and where skills fit into the broader agent model. > [card] [Agent Memory](/core-concepts/agent-memory) > > What the agent knows about you and your accounts, and how it differs from a skill. > [card] [Bring Your Own Keys](/core-concepts/bring-your-own-keys) > > Configure the model provider that powers your agents and skill usage. # Agent vs MCP vs Workflow Source: https://docs.markifact.com/core-concepts/agent-vs-mcp-vs-workflow Markifact gives you three ways to run the same marketing operations. This guide explains how they differ and helps you pick the right one for the job. Markifact runs on a single engine of 1000+ marketing operations, the same building blocks for pulling a Google Ads report, creating a Meta campaign, or writing to a Sheet. What changes is **how you reach those operations**. There are three surfaces: * **Workflows** run operations as a fixed, visual sequence. * **Agents** run operations conversationally, letting AI decide the steps. * **MCP** exposes those same operations to an outside AI client like Claude or ChatGPT. The operations are identical. You are only choosing who drives them: a canvas you built, an AI inside Markifact, or an AI in a tool you already use. > [!NOTE] > > One mental model: **Workflows are the recipe, Agents are the chef, MCP is the takeout window.** Same kitchen, same ingredients, different way of ordering. ### Watch: which one should marketers use? [Agents vs MCP vs Workflows: Which One Should Marketers Actually Use?](https://www.youtube.com/embed/V0G6E3Wnhms) *** ## The 10-second answer * Same task, every week, no thinking required? **Workflow.** * One-off or fuzzy task where you'd rather describe it than build it? **Agent.** * You live in Claude, ChatGPT, or Cursor and want Markifact's data there? **MCP.** *** ## Side by side | | **Workflow** | **Agent** | **MCP** | | - | - | - | - | | **What it is** | A fixed sequence of steps you build on a canvas | A full marketing assistant inside Markifact that picks and runs the steps | A bridge that lets an external AI client use Markifact operations | | **Who decides the steps** | You, in advance | The AI, at runtime | The external AI client, at runtime | | **Where you work** | Markifact canvas | Markifact chat, Slack, WhatsApp, or API | Your own AI tool (Claude, ChatGPT, Cursor, etc.) | | **Best for** | Repeatable, scheduled automation | Any marketing task, on demand or scheduled, with AI driving the steps | Using Markifact without leaving your AI tool | | **Runs how** | On a trigger, schedule, or manual run | You send a message, on demand or scheduled | The AI client calls operations mid-conversation | | **Adapts to input** | No, it runs the same path every time | Yes, it reasons about each request | Yes, the client reasons about each request | | **Setup effort** | Build once, then it runs forever | Start a conversation | Create a server, connect your client once | | **Approval model** | Runs automatically once triggered | Human-in-the-loop before changes go live | Client-controlled (approve writes per your client's settings) | | **Credits** | Per node run (e.g. 1 credit to pull a report) | Token-based on the AI model used, or a flat 1 credit per message if you bring your own key | Per operation run (e.g. 1 credit per report); discovery is free | *** ## Workflows A **workflow** is an automated sequence you build by chaining [nodes](/core-concepts/node) on a visual canvas. You define every step up front, then it runs the same way every time it's triggered. **Use a workflow when:** * The task repeats on a schedule (weekly report, daily sync, monthly rollup). * You need the exact same steps every run, with no surprises. * The logic is deterministic: pull this, transform that, send it there. * You want it to run unattended, with no one in the loop. **Avoid a workflow when:** * Every run is different and hard to predict. * You'd spend more time building the flow than just doing the task once. **Example:** Every Monday at 9am, pull last week's Google Ads performance, build a Slides deck, and post it to Slack. Build it once, and it runs forever. > [!TIP] > > Don't want to build it by hand? Describe the outcome and the **Copilot** assembles the workflow by selecting and connecting the right nodes for you. *** ## Agents An **agent** is a conversational AI inside Markifact, purpose-built for marketing. You describe a task in plain language, and the agent figures out which operations to run, executes them, then surfaces the result for your approval before anything goes live. It is a complete marketing assistant, not just a chat box wired to some tools. What sets Markifact agents apart: * **Model agnostic, all in one place.** Run on Claude, GPT, or Gemini, and switch the model per agent without changing how you work. No juggling separate apps for separate models. * **Bring your own API key.** Plug in your own OpenAI, Anthropic, or Google key and the agent's AI tokens are billed directly through your provider, with Markifact charging a flat 1 credit per message instead of model-based token pricing. See [Bring Your Own Keys](/core-concepts/bring-your-own-keys). * **Reach it anywhere.** Chat from the **web app**, a whitelabeled **Slack** app, **WhatsApp**, or the **API**, all driving the same operations and connections. * **Built for marketers, not engineers.** A marketing-friendly UI, results surfaced for review, and a human-in-the-loop approval step before anything publishes. * **Schedule it.** Run a task on demand or set it to run on a schedule, so an agent can handle recurring marketing work without you starting the conversation each time. * **Skills, built in.** Package your repeatable playbooks as [skills](/core-concepts/agent-skills) that load on demand, and build new ones with the skill creator. No external setup, it's part of the agent. * **Multiple agents, shared with your team.** Create as many custom agents as you need, each with its own name, instructions, connected tools, and context (for example, one agent scoped to Client A, another to Client B), then share them with teammates so everyone works from the same setup. **Use an agent when:** * The task is one-off or open-ended ("audit this account and tell me what's wrong"). * You'd rather describe the goal than build the steps. * The right steps depend on what the data shows. * You want a human-in-the-loop checkpoint before changes publish. * You want one marketing assistant your whole team can reach from Slack, WhatsApp, or the web. **Avoid an agent when:** * You need a strictly identical process to run unattended with zero variation (a workflow is more predictable and cheaper to repeat). * The task is high-volume and mechanical, where a fixed flow is faster. **Example:** "Pull last week's Meta Ads performance, find the three worst-performing ad sets, and draft negative-keyword suggestions." The agent decides the steps and asks before it changes anything. Schedule that same prompt to run every Monday and it becomes a standing report, no canvas required. > [!NOTE] > > See [AI Agents](/core-concepts/agent) for models, channels, custom agents, and credits. ### Where agents fit inside workflows The line blurs in one useful spot: the **[AI Agent node](/nodes/ai/ai_agent)**. It drops an agent into the middle of a workflow, so a mostly-fixed flow can make a dynamic decision at one step. Reach for it when most of your process is deterministic but one step needs judgment. *** ## MCP **MCP** (Model Context Protocol) is a bridge. Instead of coming to Markifact, you stay in the AI client you already use, Claude, ChatGPT, Gemini, Cursor, or anything that supports MCP, and that client calls Markifact's operations for you during a normal conversation. **Use MCP when:** * You already work in an external AI tool and don't want to switch contexts. * You want to blend Markifact data with whatever else that AI is doing (analysis, writing, code). * You're a developer or a customer-facing app that needs Markifact operations programmatically per user. **Avoid MCP when:** * You want something to run on a schedule with no one present (use a workflow). * You don't already use an external AI client, in which case the in-app agent is simpler. **Example:** From inside Claude, "Pull my GA4 sessions for last month, compare them with the month before, and write up what changed." Claude calls Markifact for the data and handles the analysis itself. > [!NOTE] > > See [MCP Servers](/core-concepts/mcp) for setup, permissions, and security. *** ## Agent vs MCP: the one that actually trips people up Both are conversational and both run the same operations, so they look interchangeable. They aren't. The difference is **where the AI lives and what it comes with.** * An **agent** is a finished marketing assistant that lives in Markifact. The AI, the channels, the scheduling, the approval step, skills, shareable custom agents, and the marketing-tuned UI are all included. * **MCP** is a pipe. It gives the operations to an AI client *you* bring (Claude, ChatGPT, Cursor), and that client supplies the AI and the interface. So the question is rarely "which is more powerful." It is "do I want Markifact to be the assistant, or do I want to plug Markifact into the assistant I already use?" | | **Agent** | **MCP** | | - | - | - | | **Where the AI lives** | Inside Markifact | In your own AI client | | **Who provides the model** | Markifact (Claude, GPT, Gemini, or your own key) | Whatever your client runs | | **Interface** | Marketing-built UI: web, Slack, WhatsApp, API | Your client's chat window | | **Scheduling** | Built in, run tasks on a schedule | Not built in, the client must be driven each time | | **Approval before writes** | Human-in-the-loop, built in | Depends on your client's tool settings | | **Skills** | Built-in skills and a skill creator for repeatable playbooks | Depends on the client (if it supports skills at all) | | **Custom, named assistants** | Yes, per purpose or per client, shareable with your team | No, it's one set of tools | | **Credits** | Token-based on the AI model used, or a flat 1 credit per message with your own key | Per operation run (e.g. 1 credit per report); discovery is free | | **Best fit** | Marketers who want a ready assistant for the team | Power users and developers who live in an AI tool | **Choose the agent** when you want a turnkey marketing assistant the whole team can reach, with scheduling and approvals handled for you, and the freedom to pick or bring your own model. **Choose MCP** when you already work in Claude, ChatGPT, or Cursor all day and just want Markifact's data and actions available there, alongside everything else that tool does. > [!TIP] > > They aren't either/or. Use the agent inside Markifact for marketing work and scheduled tasks, and add MCP so you can also reach Markifact from your favorite AI tool when you happen to be there. *** ## Pick by scenario | You want to... | Use | | - | - | | Send the same weekly report automatically | **Workflow** | | Run a quick, one-off account audit | **Agent** | | Bulk-create 50 ads from a spreadsheet on a trigger | **Workflow** | | Ask "what changed in my campaigns this week?" and get a written answer | **Agent** | | Work in Claude or ChatGPT and pull Markifact data there | **MCP** | | Build a customer-facing app that runs operations per user | **MCP** (or the [API](/api-reference/getting-started)) | | Mostly fixed process with one step that needs AI judgment | **Workflow + [AI Agent node](/nodes/ai/ai_agent)** | | Let a non-technical teammate trigger a task from Slack | **Agent** (Slack channel) | *** ## They are not mutually exclusive These surfaces share the same operations and the same [connections](/core-concepts/connections), so they layer naturally: * A **workflow** can call an **AI Agent node** for a dynamic step. * An **agent** can do the exploratory work, and once you've nailed the steps, you rebuild it as a **workflow** to run on a schedule. * **MCP** lets your external AI trigger Markifact while you keep building workflows in the background. A common path: prototype with an agent, productionize as a workflow, and reach for MCP when you want it all from your own AI tool. *** ## FAQ > [accordion] Agent and MCP both feel like chat. What's the real difference? > > The **agent** is a complete marketing assistant that lives in Markifact: it brings its own AI (Claude, GPT, Gemini, or your own key), a marketing-built UI, channels (web, Slack, WhatsApp, API), scheduled tasks, and a built-in approval step. **MCP** is just a pipe that hands the same operations to an AI client you already use, like Claude or Cursor, where that client supplies the model and the interface. Pick the agent when you want Markifact to *be* the assistant; pick MCP when you want to plug Markifact into the assistant you already use. See [Agent vs MCP](#agent-vs-mcp-the-one-that-actually-trips-people-up) above. > [accordion] If an agent can do anything, why build workflows at all? > > Workflows are deterministic, cheaper to run repeatedly, and need no one present. When a process is fixed and recurring, a workflow runs the exact same path every time with no token cost for reasoning. Agents shine when the steps aren't known in advance or change run to run. > [accordion] Do I have to set up connections separately for each? > > No. Workflows, agents, and MCP all use the same [connections](/core-concepts/connections) in your workspace. Connect Google Ads once and every surface can use it. > [accordion] How do credits differ across the three? > > * **Workflows** charge per node that runs. Pulling a Google Ads report costs about 1 credit; account selection and field listing are free. > * **Agents** are priced on the AI model you use (token-based, with a multiplier per model, so a heavier reasoning model costs more than a lighter one). Bring your own API key and the AI tokens are billed through your provider instead, with Markifact charging a flat 1 credit per message. > * **MCP** charges per operation it runs, at the same rate as the matching workflow node. Pulling a report is about 1 credit; searching for operations, reading inputs, and listing connections are free. > > A quick rule: pulling or writing data costs around 1 credit per action, while discovery and setup steps are free. See [Credits & Usage](/core-concepts/credits) for the full tables. > [accordion] Can I start with one and switch later? > > Yes, and it's a good pattern. Explore a task with an agent, then once the steps are clear, rebuild it as a workflow to run on a schedule. Nothing is locked in, because they all sit on the same operations. *** ## Related > [card] [Workflows](/quickstart) > > Build a fixed, visual automation that runs on a schedule or trigger. > [card] [AI Agents](/core-concepts/agent) > > Describe a task and let Markifact's AI pick and run the steps. > [card] [MCP Servers](/core-concepts/mcp) > > Use Markifact operations from Claude, ChatGPT, Cursor, and more. # Bring Your Own API Keys Source: https://docs.markifact.com/core-concepts/bring-your-own-keys Learn how to connect your own AI provider API keys to Markifact and reduce credit costs. Markifact allows you to use your own API keys from leading AI providers. This gives you more control over your AI usage and significantly reduces your Markifact credit consumption. *** ## Supported AI Providers We currently support four AI providers: * **OpenAI** * **Google Gemini** * **Anthropic** * **DeepSeek** *** ## How to Add Your API Keys **1. Go to the Connections Page** Navigate to the **Connections** page from the sidebar in your Markifact dashboard. **2. Find Your AI Provider** Scroll to find **OpenAI**, **Google Gemini**, **Anthropic**, or **DeepSeek** in the list of available connections. **3. Click Connect** Click the **"+ Connect"** button next to your chosen provider. A connection dialog will open. **4. Enter a Key Name** Give your API key a friendly name to identify it later (e.g., "My OpenAI Key" or "Production Key"). **5. Paste Your API Key** Enter your API key from the provider's dashboard. You can click the eye icon to verify your key. **6. Save Connection** Click **Save Connection**. Your API key will be tested before saving to ensure it's valid. ![API Key Connection Dialog](https://mintcdn.com/markifact/yJcnLAeKgoXdkyS6/images/credits/byok.png?fit=max\&auto=format\&n=yJcnLAeKgoXdkyS6\&q=85\&s=88420eb4e18f2cc38bd0c55dae5b17c5) *** ## Where to Get API Keys > [accordion] OpenAI API Key > > 1. Go to [platform.openai.com/api-keys](https://platform.openai.com/api-keys) > > 2. Sign in or create an account > > 3. Click **Create new secret key** > > 4. Copy the key and paste it into Markifact > > > ⚠️ Make sure you have billing set up on your OpenAI account to use the API. > [accordion] Google Gemini API Key > > 1. Go to [aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey) > 2. Sign in with your Google account > 3. Click **Create API Key** > 4. Copy the key and paste it into Markifact > [accordion] Anthropic API Key > > 1. Go to [console.anthropic.com/settings/keys](https://console.anthropic.com/settings/keys) > > 2. Sign in or create an account > > 3. Click **Create Key** > > 4. Copy the key and paste it into Markifact > > > ⚠️ Make sure you have billing set up on your Anthropic account to use the API. > [accordion] DeepSeek API Key > > 1. Go to [platform.deepseek.com/api\_keys](https://platform.deepseek.com/api_keys) > > 2. Sign in or create a DeepSeek Platform account > > 3. Create a new API key > > 4. Copy the key and paste it into Markifact > > > ⚠️ Make sure your DeepSeek account has sufficient API balance. DeepSeek API access is billed separately from the DeepSeek chat application. *** ## How It Works When you configure your own API key: 1. **AI requests go through your account** — Markifact sends AI requests using your API key, and usage is billed directly by the provider to your account. 2. **You control the models** — Use models supported by Markifact and available to your provider account, including the latest supported releases. 3. **Your data, your terms** — Requests are subject to your agreement with the AI provider, not Markifact's. Markifact securely stores your API keys using encryption. We never log or store the content of your AI requests. *** ## Credit Savings Using your own API keys significantly reduces Markifact credit costs: ### AI Nodes (0 Credits) When using your own API keys, all standard AI nodes consume **0 credits**: * **AI Ask** — 0 credits * **AI Structure** — 0 credits * **AI Analyze Data** — 0 credits * **AI Analyze Image** — 0 credits * **AI Generate Image** — 0 credits * **AI Edit Image** — 0 credits ### AI Agents (1 Credit Flat) Agent nodes have a flat credit cost regardless of complexity: | Node | Credit Cost | | - | - | | **AI Agent** | 1 credit per run | | **Task Agent** | 1 credit per run | This flat rate applies no matter how many tools the agent uses or how long it takes to complete the task. DeepSeek BYOK is currently available for **DeepSeek V4.1 Flash** and **DeepSeek V4 Pro** in AI Agents. V4.1 Flash supports text and image input; V4 Pro is text-only. Both use DeepSeek's default thinking mode. Saved workflows using the older V4 Flash model now run on V4.1 Flash. ### Comparison Example | Scenario | Without Own Keys | With Own Keys | | - | - | - | | AI Ask (GPT-4o) | 5 credits | 0 credits | | AI Structure (Claude Sonnet) | 10 credits | 0 credits | | AI Agent (10 tool calls) | 5+ credits | 1 credit | | Task Agent (complex task) | 10+ credits | 1 credit | > 💡 **Tip:** If you run AI-heavy workflows frequently, using your own API keys can result in substantial credit savings. *** ## Switching Between Your Keys and Markifact When you add your own API key for a provider, all AI nodes will automatically use your key instead of Markifact's built-in AI. To switch back to using Markifact's AI: 1. Go to the **Connections** page 2. Find the API key connection you want to remove 3. **Delete the connection** Once deleted, AI nodes will default back to Markifact's built-in AI (and credit costs will apply as normal). > 💡 If you have multiple API keys for the same provider, Markifact will use the most recently added key. *** ## FAQ > [accordion] Do I still need Markifact credits if I use my own keys? > > Yes, but significantly fewer. You still need credits for: > > * Workflow runs (1 credit per run) > * AI Agent and Task Agent nodes (1 credit flat each) > * Other non-AI nodes (Sheets, Slides, Google Ads, etc.) > > The main savings come from AI nodes becoming free (0 credits). > [accordion] Is my API key secure? > > Yes. Your API key is encrypted and stored securely. For security, API keys are never returned to the frontend after saving—they cannot be viewed or edited, only deleted. We never log the content of your AI requests. > [accordion] Can I use multiple API keys from the same provider? > > Yes. You can add multiple API keys for the same provider. Markifact will automatically use the most recently added key for that provider. > [accordion] What happens if my API key expires or is revoked? > > Workflows using that key will fail on AI nodes. You'll need to delete the old connection and add a new one with a valid API key. Other nodes in the workflow will continue to work. > [accordion] Are there any rate limits? > > Rate limits are determined by your AI provider account, not Markifact. If you hit rate limits, you'll see errors from the provider. Consider upgrading your plan with the provider or spreading requests across time. > [accordion] Which models can I use? > > You can use any model supported by your provider and available in Markifact's AI nodes. DeepSeek keys currently work with **DeepSeek V4.1 Flash** and **DeepSeek V4 Pro** in AI Agents. We regularly update our model list to include the latest releases. *** ## Related > [card] [Credits & Usage](/core-concepts/credits) > > Learn more about how credits work and view full pricing tables. > [card] [Connections](/core-concepts/connections) > > Manage all your external connections including API keys. # Canvas Shortcuts Source: https://docs.markifact.com/core-concepts/canvas-shortcuts Learn keyboard shortcuts and canvas interactions to build workflows faster in Markifact. The Markifact canvas supports various keyboard shortcuts and interactions to help you build workflows more efficiently. Master these shortcuts to speed up your workflow development. *** ## All Keyboard Shortcuts | Action | Shortcut | Category | | - | - | - | | **Save workflow** | `⌘ + S` | Workflow | | **Undo canvas actions** | `⌘ + Z` | Workflow | | **Redo canvas actions** | `⌘ + ⇧ + Z` | Workflow | | **Auto layout nodes** | `Ctrl + L` | Canvas | | **Copy selected nodes** | `⌘ + C` | Node Operations | | **Paste nodes** | `⌘ + V` | Node Operations | | **Duplicate selected nodes** | `⌘ + D` | Node Operations | | **Delete selected nodes** | `Del` | Node Operations | | **Multi-select (drag)** | `Shift + Drag` | Selection | | **Multi-select individual** | `⌘ + Click` | Selection | | **Zoom in canvas** | `Scroll Up` | Navigation | | **Zoom out canvas** | `Scroll Down` | Navigation | *** ## Node Selection & Operations ### Multi-Select Nodes There are two ways to select multiple nodes: **Drag Selection:** * Hold `Shift` and drag to create a selection box * All nodes within the box will be selected, you can right-click to perform actions on them ![Multi-Select Nodes Example](https://mintcdn.com/markifact/KLQ6y03XUUOeqzcN/images/nodes/multi_select_nodes.png?fit=max\&auto=format\&n=KLQ6y03XUUOeqzcN\&q=85\&s=08798c51b93ac9afb78588dfff357911) **Individual Selection:** * Hold `⌘` (Mac) or `Ctrl` (Windows) and click individual nodes * Each clicked node adds to your selection and gets a blue border ![Individual Selection Example](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/select_individual_nodes.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=97155dc8a4decc1854644dbd0dac543f) ### Bulk Operations Once you have multiple nodes selected, you can: **Duplicate Multiple Nodes:** * Select nodes using either method above * Press `⌘ + D` or right-click and choose "Duplicate 4 nodes" * All selected nodes and their connections will be duplicated **Copy & Paste Nodes:** * Select the nodes you want to copy * Press `⌘ + C` or right-click and choose "Copy X nodes" * Paste using `⌘ + V` or click the paste button in the canvas controls toolbar * Works across the same workflow or different workflows **Delete Multiple Nodes:** * Select the nodes you want to remove * Press `Del` or right-click and choose "Delete 4 nodes" * All selected nodes will be removed from the canvas **Clear Selection:** * Click anywhere on empty canvas space * Or right-click and choose "Clear selection" *** ## Auto Layout **Auto Layout:** `Ctrl + L` * Automatically organizes all nodes horizontally on the canvas * Cleans up messy "spaghetti" layouts and crossed connections * Maintains all existing connections between nodes Use it when your canvas becomes cluttered or hard to follow. *** ## Canvas Navigation ### Zooming * **Zoom in:** Scroll up or use zoom controls in bottom toolbar * **Zoom out:** Scroll down or use zoom controls in bottom toolbar * **Fit to screen:** Click the fit-to-screen button in bottom toolbar ### Panning * **Drag canvas:** Click and drag on empty space to move around * **Reset view:** Use the reset button in bottom toolbar *** ## Quick Actions Menu Right-click on selected nodes to access: * **Duplicate X nodes** - Duplicate selected nodes with `⌘ + D` shortcut * **Copy X nodes** - Copy selected nodes to clipboard with `⌘ + C` shortcut * **Delete X nodes** - Remove selected nodes with `Del` shortcut * **Clear selection** - Deselect all nodes The menu shows the exact number of selected nodes (e.g., "Duplicate 9 nodes", "Copy 9 nodes"). *** ## Toolbar Controls The bottom toolbar provides additional canvas controls: | Icon | Function | | - | - | | **+ / -** | Zoom in/out controls | | **⌂** | Fit canvas to screen | | **✂** | Disable/enable connections | | **↻ / ↺** | Undo/Redo actions | | **📋** | Paste copied nodes | | **⌘** | View keyboard shortcuts | These complement the keyboard shortcuts for complete canvas control. *** ## FAQ > [accordion] How do I select multiple nodes in bulk? > > There are two ways to select multiple nodes: > > **Method 1: Drag Selection** > > 1. Hold `Shift` > 2. Click and drag to create a selection box > 3. All nodes within the box will be selected > > **Method 2: Individual Selection** > > 1. Hold `⌘` (Mac) or `Ctrl` (Windows) > 2. Click each node you want to select > 3. Each clicked node adds to your selection > > Both methods show a blue selection indicator around chosen nodes. > [accordion] How do I duplicate multiple nodes at once? > > 1. **Select multiple nodes** using either drag selection (`Shift + Drag`) or individual selection (`⌘ + Click`) > 2. **Duplicate them** using either: > * Press `⌘ + D` > * Right-click and choose "Duplicate X nodes" > 3. **All selected nodes and their connections** will be duplicated as a group > > The duplicated nodes will appear slightly offset from the originals. > [accordion] How do I delete multiple nodes at once? > > 1. **Select the nodes** you want to remove using `Shift + Drag` or `⌘ + Click` > 2. **Delete them** using either: > * Press `Del` key > * Right-click and choose "Delete X nodes" > 3. **All selected nodes** will be removed from the canvas > > Be careful - this action cannot be undone with `⌘ + Z` once you save the workflow. > [accordion] How do I copy nodes to another workflow? > > 1. **Select the nodes** you want to copy using `Shift + Drag` or `⌘ + Click` > 2. **Copy them** using `⌘ + C` or right-click and choose "Copy X nodes" > 3. **Navigate to the target workflow** (same or different) > 4. **Paste the nodes** using `⌘ + V` or click the paste button in the canvas controls toolbar > > This works across the same workflow or different workflows, preserving all connections between the copied nodes. > [accordion] What's the difference between Copy and Duplicate? > > **Duplicate** (`⌘ + D`) instantly creates a copy of selected nodes in the same workflow, offset from the originals. > > **Copy** (`⌘ + C`) saves nodes to clipboard, allowing you to paste them later using `⌘ + V` - either in the same workflow or a completely different workflow. Use Copy when you want to reuse node patterns across multiple workflows. > [accordion] Why don't shortcuts work sometimes? > > Make sure you're focused on the canvas area and not inside a text field or sidebar. Click on empty canvas space first, then try your shortcuts. > [accordion] Can I duplicate nodes with their connections? > > Yes! When you duplicate nodes using `⌘ + D`, Markifact preserves the connections between the duplicated nodes, creating an exact copy of the node group. > [accordion] How do I select nodes that are far apart? > > Use `⌘ + Click` to individually select nodes anywhere on the canvas. This is better than shift-drag when nodes aren't clustered together. > [accordion] What's the difference between Delete and Clear? > > **Delete** (`Del` key) removes selected nodes permanently from your workflow. **Clear selection** just deselects nodes without removing them. > [accordion] How does Auto Layout work? > > Auto Layout (`Ctrl + L`) automatically organizes all nodes horizontally on your canvas to clean up messy layouts. It maintains all existing connections between nodes without changing your workflow logic. # Connections Source: https://docs.markifact.com/core-concepts/connections Learn how to connect external platforms to Markifact and manage your existing connections. A **connection** is the secure link between Markifact and an external platform like Google Ads, Meta Ads, Slack, or BigQuery. Once connected, you can pull data, send reports, and automate actions across these platforms. *** ## How to Create New Connections You can create connections in two ways: directly from the **Connections page** or when configuring nodes in your workflows. ### From the Connections Page: 1. **Go to the Connections page** from the sidebar 2. **Click "Add Connection"** or the **"+"** button 3. **Select the platform** you want to connect (Google Ads, Meta Ads, Slack, etc.) 4. **Follow the authentication process** - Log in and grant permissions ![Connections Page](https://mintcdn.com/markifact/1Nr71mk0IcJeSi9i/images/nodes/connections_page.png?fit=max\&auto=format\&n=1Nr71mk0IcJeSi9i\&q=85\&s=ca1f6f2d5686a46b3a4d0229094813fc) ### From a Workflow Node: 1. **Go to the workflow editor** 2. **Click on an app node** in your workflow (like Google Ads or Slack) 3. **Follow the connection process** - A sidebar will open and guide you through authentication ![Node Connection Process](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/node_connection.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=1b17d71d976fc3e4e34607c0f2284a1a) The connection process typically involves: * Logging into your account (e.g., Google, Meta, Slack) * Granting Markifact permission to access your data * Selecting which accounts or properties to connect *** ## Managing Multiple Connections You can add an unlimited number of connections for the same platform. For example, you might have separate Google Ads connections for different clients or business units. To refresh an existing connection, connect the same account again. Markifact will refresh the existing connection instead of creating a duplicate. *** ## The Connections Page The Connections page is your central hub for managing all your connections. Here you can: * **Create new connections** using the **"Add Connection"** or **"+"** button * **View all connected platforms** and accounts * **See connection details** like when they were created * **Delete connections** you no longer need * **Organize connections** by platform *** ## Sharing and Visibility Every connection belongs to your team and has an **owner** — the person who created it. A connection is either: * **Shared** (default) — available to your whole team. Team members can use it in workflows, shared Agents, and MCP tools. * **Private** — only visible and usable by the owner. It won't appear in anyone else's connection lists. ### Changing Sharing On the **Connections page**, each connection shows its owner and a sharing indicator: a team icon for shared connections and a lock icon for private ones. Click the indicator to toggle between shared and private. **Only the owner can change a connection's sharing** — and only the owner can delete it. Other team members can see and use shared connections, but not manage them. ### Before Making a Connection Private When you make a shared connection private: * Existing workflows that other team members built with it will break until they're reconfigured with a different connection * Team members can no longer use it in Agents or MCP tools * You can share it with your team again at any time *** ## Bring Your Own AI API Keys You can connect your own API keys from **OpenAI**, **Google Gemini**, or **Anthropic** to use with AI nodes. This significantly reduces your Markifact credit costs—AI nodes become free, and agent nodes cost just 1 credit flat. > [card] [Learn More](/core-concepts/bring-your-own-keys) > > See how to add your API keys, where to get them, and how credits work. *** ## Quick Connect vs White-label Connections Every connection runs through an **app** registered with the platform. By default that is Markifact's app (**Quick Connect**), which is why Markifact appears in your client's account as an authorized application. On the **Team** plan you can connect through **your own app** instead, which is what white-label connections are. | | Quick Connect | Custom App (White-label) | | :- | :- | :- | | **Best for** | Everyone. The default for any account | Agencies that want to run on their own app credentials | | **App your client authorizes** | Markifact | Yours | | **Name in change history and connected apps** | Markifact | Your app | | **Where credentials come from** | One click, Markifact handles it | You create the app and paste its credentials | | **Setup time** | About a minute | 15 to 30 minutes per platform, once | | **API quota and rate limits** | Shared across Markifact customers | Your app's own quota | | **Platform approvals** | Handled by Markifact | Yours to obtain where the platform requires them | | **Credential storage** | Encrypted by Markifact | Encrypted by Markifact | | **Credential rotation** | Automatic | You paste new credentials when they expire | | **Available on** | All plans | Team plan | Both options are equal once connected. The same nodes, agents, and MCP tools work either way, and you can mix them: Quick Connect for your own accounts, a custom app for the clients who ask. ### What White-label Changes The thing agencies care about is **what the client sees**. With a custom app: * **Change history shows your app.** When Markifact makes a change through Quick Connect, platforms that name the application behind a change attribute it to Markifact. Google Ads shows the app name in its change history, so a client reviewing who edited a campaign sees your app instead. * **The consent screen** shows your app's name and logo when the client authorizes, instead of Markifact's. * **The client's connected apps list** shows your app. This is the page clients check when they audit who has access to their account, for example [Google account permissions](https://myaccount.google.com/connections), Meta **Business settings > Business integrations**, or **Connected apps** on X. Markifact never appears there. * **API calls are attributed to your app**, so your app's quota and rate limits apply rather than Markifact's shared pool. ### What It Does Not Change Being precise here saves you an awkward conversation with a client: * **The authorizing user is still recorded.** Alongside the app, platforms log the account that granted access, so changes are still traceable to a person. A custom app changes which application is named, not whether the activity is auditable. * **Credentials are still stored by Markifact**, encrypted, exactly as with Quick Connect. A custom app changes whose app makes the calls, not where the connection lives. * **Nothing changes inside Markifact.** Reports, workflows, and agents behave identically. > [card] [Set Up White-label Connections](/core-concepts/white-label-connections) > > Supported channels, how verification works, and per-channel setup guides. *** ## Deleting Connections When you delete a connection: > ⚠️ **Warning:** Any active workflows using this connection will be deactivated until you reconfigure them with a new connection. ### Before deleting: * Check which workflows use this connection * Make sure you have alternative connections set up if needed * Consider if any scheduled workflows will be affected ### To delete a connection: 1. Go to the **Connections page** 2. Find the connection you want to remove 3. Click **Delete** 4. Confirm the deletion in the dialog *** ## Common Connection Issues > [accordion] My connection shows as expired or invalid > > Some platforms require periodic re-authentication. Go to the node using that connection and follow the authentication flow again. Your existing workflows will continue working once re-authenticated. > [accordion] I can't see data from my connected account > > Check that your connection has the right permissions and that you've selected the correct account in the node settings. Some platforms have multiple levels of access that affect what data you can pull. > [accordion] Can I share connections with team members? > > Yes. Connections are shared with your team by default, so team members can use them in workflows, Agents, and MCP tools. If you want to keep a connection to yourself, make it private from the Connections page — only you (the owner) can change a connection's sharing or delete it. See [Sharing and Visibility](#sharing-and-visibility) above. > [accordion] What happens to my workflows if I delete a connection? > > Workflows using the deleted connection will be deactivated and show errors. You'll need to reconfigure those nodes with a different connection before the workflows can run again. # Credits & Usage Source: https://docs.markifact.com/core-concepts/credits Understand how Markifact credits work, how they’re consumed, and how to manage usage efficiently. Credits are the currency used on Markifact to run workflows and use advanced features. Certain actions—like fetching external data or using AI models—cost credits. Others are free. The more credits you have, the more automations and AI tasks you can run. All subscription plans include a base number of credits. You can also purchase extra credits anytime. *** ## Workflows Workflow credits are charged per execution and per paid node. * **Every workflow run** consumes **1 credit**, no matter how it's triggered. * **External/data nodes** like Google Analytics, Google Ads, Google Sheets, or Slides start at **1 credit per successful execution**. * **AI node costs vary by model** (see model tables below). * **Utility nodes**—such as lists tools, date pickers, loops, and account selection—are **free** and never consume credits. * **Only successful nodes are charged.** If a node fails, no credit is consumed for that node. Other successful nodes in the same workflow **will** be charged. 💡 Before running a workflow, you can see the **credit estimate for each node directly in the node settings sidebar, in the footer area.** This is an **estimate, not a guaranteed cost**. * AI nodes vary based on model. * Data nodes may vary based on account count or request size. For full details, check each node help page or ask AI Copilot in the app. ![Node Credit Estimate Screenshot](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/credits/node-estimate.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=39af4098e258707b84f149be3068c50a) ### Workflow Credit-Saving Tips When testing workflows, avoid running the entire flow: 1. Click the dropdown on a specific node. 2. Select **Run Node** to execute only that part. > ⚠️ Note: If the node has downstream connections, those will also run and may consume credits. ### AI Model Credit Costs Two numbers matter per model: * **Node credits**: the flat cost of one **workflow AI node** run on that model. * **Agent multiplier**: what the model multiplies **agent** token usage by. See [Agents](#agents) below. > [!NOTE] > > New models are added regularly. The model picker in the app always shows exactly what is available to you right now, so treat it as the live list if a brand new model is not in these tables yet. ### OpenAI Models | Model Name | Node credits | Agent multiplier | | - | - | - | | gpt-6-astra | 60 | 12.5x | | gpt-6.1-sol | 5 | 1x | | gpt-6.1-terra | 3 | 0.5x | | gpt-6-sol | 5 | 1x | | gpt-6-luna | 1 | 0.25x | | gpt-5.6-sol | 25 | 5x | | gpt-5.6-terra | 5 | 1x | | gpt-5.6-luna | 1 | 0.5x | | gpt-5.5 | 40 | 7.5x | | gpt-5.4 | 10 | 2x | | gpt-5.4-mini | 2 | 0.75x | | gpt-5.4-nano | 1 | 0.25x | | gpt-5.2 | 7 | 1x | | gpt-5.1 | 5 | 1x | | gpt-5 (routed to gpt-6.1-sol) | 5 | 1x | | gpt-5-mini (routed to gpt-6.1-terra) | 3 | 0.5x | | gpt-5-nano (routed to gpt-6-luna) | 1 | 0.25x | | gpt-4o-mini | 2 | 0.5x | | gpt-4o | 5 | 2x | | gpt-4.5-preview | 100 | 1x | | o3-mini (routed to gpt-6-luna) | 1 | 0.25x | | o1 (routed to gpt-6.1-sol) | 5 | 1x | | o1-mini (routed to gpt-6-luna) | 1 | 0.25x | | gpt-4.1 | 3 | 2x | | gpt-4.1-mini | 2 | 0.5x | | gpt-4.1-nano (routed to gpt-6-luna) | 1 | 0.25x | | o4-mini (routed to gpt-6-luna) | 1 | 0.25x | | o3 (routed to gpt-6.1-sol) | 5 | 1x | ### Gemini Models | Model Name | Node credits | Agent multiplier | | - | - | - | | gemini-3.8-flash | 2 | 1x | | gemini-3.7-flash (routed to gemini-3.8-flash) | 2 | 1x | | gemini-3.6-flash (routed to gemini-3.8-flash) | 2 | 1x | | gemini-3.5-flash-lite | 1 | 0.25x | | gemini-3.5-flash (routed to gemini-3.8-flash) | 2 | 1x | | gemini-4-carbon | 5 | 1x | | gemini-4-argon | 5 | 1x | | gemini-3.1-pro-preview | 7 | 2x | | gemini-3-flash-preview (routed to gemini-3.8-flash) | 2 | 1x | | gemini-3-pro-preview (deprecated, use gemini-3.1-pro-preview) | 7 | 2x | | gemini-nano-banana-2.1 | 5 | 1x | | gemini-2.5-flash (routed to gemini-3.8-flash) | 2 | 1x | | gemini-3.1-flash-lite | 1 | 0.25x | | gemini-2.5-flash-lite | 1 | 0.25x | | gemini-2.5-pro | 5 | 1x | | gemini-2.5-pro-exp-03-25 | 5 | 1x | | gemini-2.5-pro-preview-05-06 | 7 | 1x | | gemini-2.5-pro-preview-06-05 | 7 | 1x | | gemini-2.0-flash (routed to gemini-3.8-flash) | 2 | 1x | | gemini-2.0-flash-lite | 1 | 1x | | gemini-1.5-flash (routed to gemini-3.8-flash) | 2 | 1x | | gemini-1.5-pro | 5 | 1x | ### Claude Models | Model Name | Node credits | Agent multiplier | | - | - | - | | claude-fable-5.2 | 80 | 16x | | claude-fable-5.1 | 100 | 20x | | claude-fable-5 | 100 | 20x | | claude-opus-5.5 | 40 | 8x | | claude-opus-5 (routed to claude-opus-5.5) | 40 | 8x | | claude-sonnet-5.5 | 10 | 1x | | claude-sonnet-5 (routed to claude-sonnet-5.5) | 10 | 1x | | claude-opus-4-8 (routed to claude-opus-5.5) | 40 | 8x | | claude-opus-4-7 (routed to claude-opus-5.5) | 40 | 8x | | claude-opus-4-6 (routed to claude-opus-5.5) | 40 | 8x | | claude-sonnet-4-6 (routed to claude-sonnet-5.5) | 10 | 1x | | claude-sonnet-4-5 (routed to claude-sonnet-5.5) | 10 | 1x | | claude-opus-4-5 (routed to claude-opus-5.5) | 40 | 8x | | claude-haiku-5.5 | 1 | 0.25x | | claude-haiku-4-5 (routed to claude-haiku-5.5) | 1 | 0.25x | | claude-opus-4-1 (routed to claude-opus-5.5) | 40 | 8x | | claude-3-7-sonnet-latest (routed to claude-sonnet-5.5) | 10 | 1x | | claude-3-5-sonnet-latest (routed to claude-sonnet-5.5) | 10 | 1x | | claude-3-5-haiku-latest (routed to claude-haiku-5.5) | 1 | 0.25x | | claude-opus-4-0 (routed to claude-opus-5.5) | 40 | 8x | | claude-sonnet-4-0 (routed to claude-sonnet-5.5) | 10 | 1x | ### Deepseek Models | Model Name | Node credits | Agent multiplier | | - | - | - | | deepseek-v4.1-flash | 1 | 0.25x | | deepseek-v4-flash | 1 | 0.25x | | deepseek-v4-pro | 1 | 0.5x | ### Image and Video Models These run as workflow AI nodes and are charged per run, not per token. | Model Name | Node credits | | - | - | | gpt-image-2.6-sunburst | 30 | | gpt-image-2.6-flare | 30 | | gpt-image-2.5-flare | 30 | | gpt-image-2.5-sunburst | 30 | | gpt-image-2 (routed to gpt-image-2.6-flare) | 30 | | gpt-image-1.5 | 25 | | gpt-image-1 (routed to gpt-image-2.6-flare) | 30 | | sora-2 | 100 | | sora-2-pro | 100 | | gemini-3.1-flash-image-preview | 10 | | gemini-3-pro-image-preview | 15 | | gemini-2.5-flash-image-preview | 10 | | gemini-2.5-flash-image | 10 | *** ## Agents Agent usage is separate from workflow execution and follows agent-specific rules. * **Markifact Copilot** costs **1 credit per message**. * **Task Agent** usage is based on **tokens consumed** and the **selected model multiplier**. ### Task Agent: How Credit Usage Works * Each response uses input + output tokens. * Different models apply different multipliers to token usage. See the **Agent multiplier** column in the model tables above. * Example: **gpt-6.1-sol** and **gpt-5.2** are treated as **1x**, **gpt-5.6-luna** is **0.5x**, **claude-haiku-5.5** is **0.25x**, while top reasoning models cost far more per token: **claude-opus-5.5** is **8x** and **claude-fable-5** is **20x**. ### Why Long Agent Threads Cost More * Longer conversations consume more tokens because history and context are included. * Markifact automatically compacts conversation history to reduce token usage. * Even with compaction, very long threads can become more expensive over time. ### Agent Credit-Saving Tips * Start a **fresh task** when switching to a different objective. * Use lower-cost models for simple tasks. **gpt-6-luna** (0.25x) and **claude-haiku-5.5** (0.25x) cost a quarter of a 1x model per token. * Reserve the premium reasoning models (**claude-fable-5**, **claude-opus-5.5**, **gpt-6-astra**) for complex reasoning or heavy document work such as deep PDF and PPT tasks. At 8x to 20x, a single long thread on those adds up fast. * For balanced quality and cost, default to **gpt-6.1-sol** (1x) for everyday tasks and switch up only when needed. * Bring your own API keys when possible to reduce platform AI credit usage. ### Using Your Own API Keys You can bring your own API keys for AI models and significantly reduce your credit costs. Markifact supports three AI providers: * **OpenAI** * **Google Gemini** * **Anthropic (Claude)** To add your own API keys, navigate to the **Connections** page in your account settings and configure your preferred AI provider. ### Credit Costs with Custom API Keys When using your own API keys: * **All AI nodes** (Ask, Structure, Analyze Data, Analyze Image, Generate Image, Edit Image) consume **0 credits** * **AI Agent node** costs **1 credit flat per run**, regardless of how many tools are used or time spent on the task * **Task Agent AI tokens** are billed through your provider key This makes it extremely cost-effective to run AI-heavy workflows when you have your own API keys. You'll pay for the AI usage directly through your provider account, while only consuming minimal credits on Markifact for orchestration. > [card] [Bring Your Own API Keys](/core-concepts/bring-your-own-keys) > > Learn how to connect your API keys, where to get them, and see the full credit breakdown. *** ## MCP Servers MCP lets you use Markifact operations from external AI clients like Claude, ChatGPT, and Cursor. Credit usage for MCP is simple: * **Discovery and utility tools are free.** `find_operations`, `get_operation_inputs`, `list_connections`, `get_file_url`, and `read_file` cost **0 credits**. * **Running operations** (`run_operation` and `run_write_operation`) costs credits based on the specific operation — the same as the equivalent workflow node. ### Examples | Action | Credits | | - | - | | Search for operations | 0 | | Get operation schema | 0 | | List connections | 0 | | Select accounts (e.g. `gads_select_accounts`) | 0 | | List report fields (e.g. `ga4_list_report_fields`) | 0 | | Pull a Google Ads report (`gads_get_report`) | 1 | | Pull a GA4 report (`ga4_get_report`) | 1 | | Read data from Sheets (`sheets_read_data`) | 1 | | Create a campaign (`gads_create_campaign`) | 1 | The rule of thumb: **utility and discovery operations** (account selection, listing fields, searching) are **free**. **Data operations** (pulling reports, reading/writing to platforms) cost credits, typically **1 credit per operation**. MCP credit consumption appears in the [Usage Dashboard](https://www.markifact.com/app/usage) under the **MCP** service type. > [card] [MCP Servers](/core-concepts/mcp) > > Learn how to set up MCP servers, connect AI clients, and configure permissions. *** ## Tracking Credit Usage You can monitor credit usage in the [Usage Dashboard](https://www.markifact.com/app/usage) (also available from the sidebar). In the Usage Dashboard, you can view: * Credit consumption by service (for example: **Workflows**, **Agents**, and **Copilot**) * Credit consumption by **team member** * **Usage over time** * **Recent activity** for Agents, Workflows, and Copilot If you send a message to an Agent and want to check how much it cost, you can find that entry in **Recent activity** table in the dashboard. For workflows, you can also track credits directly while running them: * During a workflow run, each node displays its credit consumption. * After the run finishes, the total credits used are shown in the footer. As shown in the image below, the workflow total and each node’s individual credit consumption are both visible. ![Credit Usage](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/credits/credits-sidebar.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=5aa7a5b0cd7b0257a5b2efcca7696751) # Custom Google Cloud App Source: https://docs.markifact.com/core-concepts/custom-google-app Create your own Google Cloud OAuth client and mint a refresh token so any Google connection in Markifact runs under your app (white-label). Every Google connection in Markifact (Google Ads, Google Analytics 4, Search Console, Merchant Center, Business Profile, Tag Manager, Display & Video 360, BigQuery, YouTube and Data Manager) can run under **your own Google Cloud app** instead of Markifact's. You create the app once, mint a refresh token for each channel (or one token that covers several), and paste three values into Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What Every Google Channel Needs Three values from your own Google Cloud project: | Value | Where it comes from | | :- | :- | | **Client ID** | An OAuth 2.0 client in your Cloud project | | **Client Secret** | The same OAuth client | | **Refresh Token** | Minted against that client with the channel's scope, by a Google account that has access to the assets you want to manage | Google no longer requires a developer token for Google Ads, so these three values are everything any Google connection needs. > [!NOTE] > > **Already have your own OAuth flow?** If your systems already authorize users against your Google Cloud app, skip to the channel page and paste the refresh token you already hold. Make sure it was minted with `access_type=offline`, `prompt=consent`, and the scope for that channel. *** ## Scopes and APIs per Channel Enable the APIs for every channel you plan to connect, and request the matching scope when you mint the token. You can request several scopes in one go and reuse that single refresh token across channels. | Channel | Scope to request | APIs to enable in your project | Setup page | | :- | :- | :- | :- | | Google Ads | `https://www.googleapis.com/auth/adwords` | Google Ads API | [Custom Google Ads App](/nodes/gads/gads_custom_app) | | Google Analytics 4 | `https://www.googleapis.com/auth/analytics.readonly`, `https://www.googleapis.com/auth/analytics.edit` | Google Analytics Admin API, Google Analytics Data API | [Custom GA4 App](/nodes/ga4/ga4_custom_app) | | Search Console | `https://www.googleapis.com/auth/webmasters` | Google Search Console API | [Custom Search Console App](/nodes/gsc/gsc_custom_app) | | Merchant Center | `https://www.googleapis.com/auth/content` | Merchant API | [Custom Merchant Center App](/nodes/gmc/gmc_custom_app) | | Business Profile | `https://www.googleapis.com/auth/business.manage` | My Business Account Management API, My Business Business Information API, Business Profile Performance API, Google My Business API. **Requires Google approval**, see the channel page | [Custom Business Profile App](/nodes/business_profile/business_profile_custom_app) | | Tag Manager | `https://www.googleapis.com/auth/tagmanager.edit.containers` `https://www.googleapis.com/auth/tagmanager.manage.accounts` `https://www.googleapis.com/auth/tagmanager.edit.containerversions` `https://www.googleapis.com/auth/tagmanager.publish` | Tag Manager API | [Custom Tag Manager App](/nodes/gtm/gtm_custom_app) | | Display & Video 360 | `https://www.googleapis.com/auth/display-video` `https://www.googleapis.com/auth/doubleclickbidmanager` | Display & Video 360 API, DoubleClick Bid Manager API | [Custom DV360 App](/nodes/dv360/dv360_custom_app) | | BigQuery | `https://www.googleapis.com/auth/bigquery` | BigQuery API | [Custom BigQuery App](/nodes/bigquery/bigquery_custom_app) | | YouTube | `https://www.googleapis.com/auth/yt-analytics.readonly` | YouTube Analytics API | [Custom YouTube App](/nodes/youtube/youtube_custom_app) | | Data Manager | `https://www.googleapis.com/auth/datamanager` | Data Manager API | [Custom Data Manager App](/nodes/data_manager/data_manager_custom_app) | *** ## Setting Up Your Google Cloud App **1. Enable the APIs** 1. Open [Google Cloud Console](https://console.cloud.google.com/) and select (or create) the project you want to use 2. Go to **APIs & Services** > **Library** 3. Search for each API from the table above and click **Enable** **2. Configure the OAuth Consent Screen** 1. Go to **APIs & Services** > **OAuth consent screen** 2. Choose **External** (or **Internal** if everyone who will authorize is in your Google Workspace organization) 3. Enter your app name, support email, and logo. This is the branding your users see when they authorize 4. Under **Scopes**, add the scopes for the channels you plan to connect 5. **Publish the app** (Publishing status: **In production**) > [!WARNING] > > Do not leave the app in **Testing** status. Google issues refresh tokens that expire after 7 days to apps in Testing, so your Markifact connections would stop working after a week. Publishing with sensitive scopes may show an "unverified app" screen to users who authorize; that is fine when only your own team authorizes. **3. Create an OAuth Client** 1. Go to **APIs & Services** > **Credentials** 2. Click **Create credentials** > **OAuth client ID** 3. Application type: **Web application** 4. Under **Authorized redirect URIs**, add: ```bash theme={"dark"} https://developers.google.com/oauthplayground ``` 5. Click **Create** and copy the **Client ID** and **Client secret** **4. Mint a Refresh Token** 1. Open the [OAuth 2.0 Playground](https://developers.google.com/oauthplayground/) 2. Click the gear icon (top right), tick **Use your own OAuth credentials**, and paste your Client ID and Client secret 3. In **Step 1**, enter the scope(s) for your channel in the input box (separate several scopes with a space) and click **Authorize APIs** 4. Sign in with the Google account that has access to the assets you want to manage 5. In **Step 2**, click **Exchange authorization code for tokens** 6. Copy the **Refresh token** > **Important:** Keep this token secure. Anyone holding it, together with your client ID and secret, can act on everything the Google account can access within the granted scopes. **5. Connect in Markifact** Open the channel's setup page from the table above, or go straight to [Connections](https://app.markifact.com/connections), click **Connect** on the channel, select the **Custom App (White-label)** tab, name the connection and paste the three values. Markifact verifies them with one API call before saving anything. *** ## Rotating or Replacing a Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Google rejected the client ID or client secret (invalid\_client) > > Check both values under **APIs & Services** > **Credentials**. A client secret that was reset in Google Cloud invalidates the old one. > [accordion] Google rejected the refresh token (invalid\_grant) > > The most common causes: > > * The token was minted with a different client ID than the one you pasted > * The OAuth consent screen is still in **Testing** status, so the token expired after 7 days > * The user revoked access under [Google account permissions](https://myaccount.google.com/connections) > * The token was minted without `prompt=consent`, so Google returned no refresh token at all > > Mint a new refresh token and add the connection again with the same name. > [accordion] The refresh token does not include the scope > > Repeat the Playground step with the channel's scope entered in Step 1 before clicking **Authorize APIs**. Several scopes can be entered at once, separated by a space. > [accordion] The API is not enabled on the Cloud project > > Enable the APIs listed for the channel under **APIs & Services** > **Library** in the project that owns your client ID, then try again. It can take a minute to propagate. *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Connections](/core-concepts/connections) > > How connections, sharing, and privacy work # Custom Meta App Source: https://docs.markifact.com/core-concepts/custom-meta-app Create your own Meta app and a Business Manager System User token so Meta Ads, Facebook and Instagram connections in Markifact run under your app (white-label). Every Meta connection in Markifact (Meta Ads, Facebook and Instagram) can run under **your own Meta app** instead of Markifact's. You create the app once, generate a System User token with the permissions for the channels you use, and paste that token into Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What Every Meta Channel Needs One value: an **access token** generated in your own Meta app. Use a **System User token** from Meta Business Manager. Unlike user tokens, which expire after one hour (short-lived) or 60 days (long-lived), System User tokens do not expire. > [!NOTE] > > **Already have a token?** If your systems already hold a long-lived or System User token with the permissions below, skip to the channel page and paste it. *** ## Permissions per Channel Tick the permissions for every channel you plan to connect when you generate the token. One token can serve all three channels. | Channel | Required permissions | Optional permissions | Setup page | | :- | :- | :- | :- | | Meta Ads | `ads_management`, `ads_read`, `business_management` | `pages_show_list`, `pages_read_engagement`, `pages_manage_ads` (page-backed ads, lead forms), `instagram_basic` (Instagram placements), `catalog_management` (catalogs), `leads_retrieval` (lead downloads) | [Custom Meta Ads App](/nodes/meta_ads/meta_ads_custom_app) | | Facebook | `pages_show_list`, `pages_read_engagement`, `pages_manage_posts`, `business_management` | `pages_read_user_content` (comments and reactions on posts), `read_insights` (Page insights) | [Custom Facebook App](/nodes/facebook/facebook_custom_app) | | Instagram | `instagram_basic`, `instagram_content_publish`, `instagram_manage_insights`, `pages_show_list`, `business_management` | `pages_read_engagement` | [Custom Instagram App](/nodes/instagram/instagram_custom_app) | Markifact shows Meta's own permission error if a node needs a permission you did not grant. *** ## Setting Up Your Meta App **1. Create a Meta App** 1. Go to [Meta for Developers](https://developers.facebook.com/apps/) and click **Create App** 2. Choose the **Business** app type and select the Business Manager that owns (or manages) your assets 3. Under **Add products**, add **Marketing API** for Meta Ads and **Facebook Login for Business** for Facebook and Instagram > [!NOTE] > > Meta applies its API access levels and rate limits per app. A new app starts on the default access level; if you manage many assets or hit limits, review the access level for each product in your app dashboard. That relationship is between you and Meta; Markifact does not need to be involved. **2. Create a System User** 1. Open [Meta Business Settings](https://business.facebook.com/settings/) 2. Go to **Users** > **System users** and click **Add** 3. Name it (for example "Markifact Automation") and choose the **Admin** role if it should publish and manage campaigns, or **Employee** for reporting only **3. Assign Assets to the System User** 1. Select the system user and click **Assign assets** 2. Assign every **Ad account**, **Page**, **Instagram account**, **Pixel** and **Catalog** Markifact should work with, with **Manage** access for publishing and campaign changes (or **View** for reporting only) The token can only see assets assigned here. A token with no assigned assets for a channel is rejected when you connect that channel. **4. Generate the Access Token** 1. Still on the system user, click **Generate new token** 2. Select **your app** from the list 3. Set the token expiration to **Never** 4. Tick the permissions from the table above for the channels you plan to connect 5. Click **Generate token** and copy it > **Important:** Keep this token secure. Anyone holding it can act on every asset assigned to the system user. **5. Connect in Markifact** Open the channel's setup page from the table above, or go straight to [Connections](https://app.markifact.com/connections), click **Connect** on the channel, select the **Custom App (White-label)** tab, name the connection and paste the token. Markifact verifies it with one Graph API call before saving anything. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new token. Markifact replaces the stored token in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Meta rejected the access token (session has expired / invalid OAuth access token) > > The token expired or was revoked. User tokens expire after 1 hour or 60 days; generate a **System User** token with expiration set to **Never** instead. Regenerating a system user token also invalidates the previous one. > [accordion] The token is missing the permissions Markifact needs > > Generate a new token and tick the required permissions for the channel from the table above. If you copied a **Page** access token by mistake, use the system user token instead. > [accordion] The token is valid, but it cannot see any assets > > Assign the ad accounts, Pages or Instagram accounts to the system user under **Business Settings** > **Users** > **System users** > **Assign assets**, then generate a new token. > [accordion] Calls fail with 'API calls from the server require an appsecret\_proof argument' > > Your app has **Require App Secret** turned on under **App settings** > **Advanced** > **Security**. Turn it off: Markifact authenticates with your token only and never holds your app secret. *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Connections](/core-concepts/connections) > > How connections, sharing, and privacy work # Custom Pinterest App Source: https://docs.markifact.com/core-concepts/custom-pinterest-app Create your own Pinterest app and mint a refresh token so Pinterest Ads and Pinterest organic connections in Markifact run under your app (white-label). Both Pinterest connections in Markifact (Pinterest Ads and Pinterest organic) can run under **your own Pinterest app** instead of Markifact's. You create the app once, mint a refresh token with the scopes for the channels you use, and paste three values into Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What Every Pinterest Channel Needs | Value | Where it comes from | | :- | :- | | **App ID** | Your app's page in the [Pinterest developer portal](https://developers.pinterest.com/apps/) | | **App Secret** | The same page | | **Refresh Token** | Minted against that app with the channel's scopes, by the Pinterest user who has access to the ad accounts or boards | Pinterest access tokens expire after 30 days; Markifact refreshes them with your app ID and secret on every run. Refresh tokens last one year, after which you mint a new one and add the connection again with the same name. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a refresh token issued by your app with the scopes below, skip to the channel page and paste it. *** ## Scopes per Channel Request the scopes for every channel you plan to connect. One token can serve both. | Channel | Scopes | Setup page | | :- | :- | :- | | Pinterest Ads | `ads:read`, `ads:write`, `user_accounts:read`, plus `pins:read`, `pins:write`, `boards:read`, `boards:write` for pin-based ads | [Custom Pinterest Ads App](/nodes/pinterest_ads/pinterest_ads_custom_app) | | Pinterest organic | `pins:read`, `pins:write`, `pins:read_secret`, `pins:write_secret`, `boards:read`, `boards:write`, `boards:read_secret`, `boards:write_secret`, `user_accounts:read` | [Custom Pinterest App](/nodes/pinterest/pinterest_custom_app) | *** ## Setting Up Your Pinterest App **1. Create the App** 1. Go to the [Pinterest developer portal](https://developers.pinterest.com/apps/) and click **Create app** 2. Enter the app name and description. This is the branding users see when they authorize 3. Under **Redirect URIs**, add a URL you control (for example `https://www.youragency.com/pinterest-callback`). Pinterest appends the auth code to this URL after authorization; the page does not need to do anything 4. Copy the **App ID** and **App secret** **2. Request Standard Access** New apps start with **trial access**, which is rate limited and only works for the accounts that own the app. Request **standard access** in the portal and wait for Pinterest's approval before connecting client accounts. Agencies that already run their own integrations will have this in place. **3. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the app ID, redirect URI and scopes (comma separated) for your channel: ```bash theme={"dark"} https://www.pinterest.com/oauth/?client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Fpinterest-callback&response_type=code&scope=ads:read,ads:write,user_accounts:read,pins:read,pins:write,boards:read,boards:write&state=markifact ``` 2. Sign in as the Pinterest user who has access to the ad accounts or boards you want to work with and click **Give access** 3. Pinterest redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire quickly and can be exchanged once, so do the next step right away **4. Exchange the Auth Code for a Refresh Token** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://api.pinterest.com/v5/oauth/token" \ -u "YOUR_APP_ID:YOUR_APP_SECRET" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=authorization_code" \ -d "code=THE_AUTH_CODE" \ -d "redirect_uri=https://www.youragency.com/pinterest-callback" ``` The response contains `refresh_token`. Copy it. > **Important:** Keep this token secure. Anyone holding it, together with your app ID and secret, can act on everything the Pinterest user can access within the granted scopes. **5. Connect in Markifact** Open the channel's setup page from the table above, or go straight to [Connections](https://app.markifact.com/connections), click **Connect** on the channel, select the **Custom App (White-label)** tab, name the connection and paste the three values. Markifact refreshes the token once with your app and makes one read call before saving anything. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Pinterest rejected the credentials (Authentication failed) > > Pinterest answers the same way for a wrong app ID or secret and for a refresh token that was issued by a different app, revoked, or expired (one year). Check the App ID and App secret on your app's page, then mint a new refresh token with that app and add the connection again with the same name. > [accordion] Pinterest refused access (403) > > The token is missing a scope for the channel, or your app is still on trial access and the account is not one that owns the app. Check the scopes and the access level in the developer portal, then mint a new token. *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Connections](/core-concepts/connections) > > How connections, sharing, and privacy work # Error Handling Source: https://docs.markifact.com/core-concepts/error-handling Configure how your workflows handle node failures with automatic retries and continuation settings Control how your workflows respond to failures by configuring error handling settings for any node. *** ## How to Access 1. **Click the three dots (⋯)** on any node 2. **Select "Execution Settings"** 3. **Configure your error handling options** ![Execution Settings Dialog](https://mintcdn.com/markifact/kU33iExRfaOftMQs/images/nodes/execution_settings.png?fit=max\&auto=format\&n=kU33iExRfaOftMQs\&q=85\&s=07bcd9c7de7621143fca6259c3fba9e4) *** ## Use Cases **BigQuery Reporting Pipeline:** If your Meta Ads report fails, retry 3 times with 10-second delays, but continue the workflow to still generate reports from other data sources. **API Data Collection:** When Meta Ads Get Report hits rate limits, retry 2 times with 15-second delays to wait for the API to recover. *** ## Settings ### Continue on Fail Keep the workflow running even if this node fails. Useful for optional steps like notifications or secondary data sources. ### Retry on Fail Automatically retry the node if it fails. Good for API calls that might hit rate limits or temporary network issues. ### Max Retries How many times to retry (1-5 attempts). More retries = higher chance of success but slower execution. ### Retry Delay Wait time between retries (1-30 seconds). Longer delays help with rate limits and service recovery. *** ## Common Configurations **For API calls:** * Retry: 2-3 times * Delay: 5-10 seconds * Continue on Fail: ✓ (if optional) **For critical operations:** * Retry: 4-5 times * Delay: 15-30 seconds * Continue on Fail: ✗ **For notifications:** * Retry: 1-2 times * Delay: 5 seconds * Continue on Fail: ✓ *** ## Tips * **Start simple**: 2 retries, 5-second delay * **Monitor logs**: Adjust based on what actually fails * **Enable "Continue on Fail"** for non-critical steps * **Use longer delays** for rate-limited APIs # Glossary Source: https://docs.markifact.com/core-concepts/glossary A quick reference to key concepts in Markifact — including workflows, nodes, triggers, AI agents, credits, and more. Markifact is built around a few simple but powerful concepts. Understanding these will help you build effective workflows and get the most out of the platform. *** ## Workflow A **workflow** is an automated sequence of steps that runs when triggered. Each workflow is made up of nodes—some pull data, others transform it, and some send it out. You can build workflows for things like: * Sending weekly ad performance reports * Launching creatives across ad platforms * Summarizing campaign results with AI *** ## Template A **template** is a pre-built workflow you can use out of the box. Templates are built for common use cases like: * "Weekly Meta Ads Report" * "Generate Ad Copy with AI" * "Campaign Insights to Slack" You can customize templates just like any other workflow. *** ## Node A **node** is a single step in a workflow. Nodes can: * Pull data from platforms (like Meta Ads or Google Ads) * Run actions (like send to Slack or generate a slide) * Use AI to summarize or analyze Each node has a clear input and output, making it easy to connect them together. *** ## Trigger A **trigger** is what starts a workflow. It could be: * A schedule (e.g. every Monday at 9am) * A manual run * A Slact message (e.g. "Chat with AI") Without a trigger, a workflow won’t run. *** ## Action An **action** node performs something—like sending an email, posting to Slack, or updating a Google Sheet. Actions usually come at the end of a workflow. *** ## Credit **Credits** are the currency used to run workflows. Each node or AI operation may consume credits based on complexity or usage. You can track your credit usage in your account settings. *** ## Agent An **Agent** is an autonomous AI that makes intelligent decisions about which tools to use based on context and user input. Markifact offers three types of agents: ### AI Agent Node A workflow component where you connect AI tools (like GA4, Google Ads, Sheets), and the agent decides which tools to use based on user input. Perfect for building conversational interfaces and adaptive workflows like Slack chatbots. ### Task Agent Operates outside workflows and handles marketing tasks on your behalf. Describe what you need and the agent figures out the steps. Run tasks on demand or on a schedule. ### Markifact Copilot Your AI assistant that builds workflows for you. Describe what you want to accomplish in natural language, and the Copilot constructs the workflow by selecting and connecting the right nodes. Learn more in the [Agent documentation](/core-concepts/agent). *** ## AI Tool An **AI tool** is a node that connects to an AI Agent node. When you build a workflow with an AI Agent, you connect various tools to it, and the agent decides which ones to use based on context. Examples include: * **GA4 Get Report** — Pulls data from Google Analytics * **Google Sheets - Write Data** — Writes data to a Google Sheet * **Send Email** — Sends an email with generated content AI tools are the building blocks that you connect to AI Agent nodes, giving them capabilities to perform tasks. *** ## Connections A **connection** is the link between Markifact and an external platform—like Google Ads, Meta Ads, or TikTok. Once connected, you can: * Pull in campaign performance * Launch creatives * Track conversions Each account you connect is available for all relevant nodes in your workflows. *** Now that you understand the core concepts, you’re ready to start building.\ [Jump to the Quickstart →](/quickstart) # MCP Servers Source: https://docs.markifact.com/core-concepts/mcp Use Markifact's 1000+ marketing operations directly from Claude, ChatGPT, Cursor, and other AI clients via the Model Context Protocol (MCP). **MCP** (Model Context Protocol) lets you use Markifact's operations directly inside your favorite AI client — Claude, ChatGPT, Gemini, Manus, Cursor, and any tool that supports MCP. Instead of building workflows or chatting with the Markifact agent, you stay in the AI tool you already use and ask it to pull reports, create campaigns, send emails, and more — all powered by Markifact behind the scenes. *** ## What is MCP? MCP is an open standard that lets AI clients connect to external tools and services. When you create an MCP server in Markifact, you're giving your AI client access to Markifact's 1000+ marketing operations. Your AI client can then: * Search for available operations * Pull reports from Google Ads, Meta Ads, GA4, and more * Create and manage campaigns * Send data to Sheets, Slides, Slack, and other destinations * Work with files and data across platforms All without leaving the AI conversation. *** ## MCP vs Workflows vs Agents Markifact gives you three ways to get things done. Each is suited to different scenarios: | | **Workflows** | **Agents** | **MCP** | | - | - | - | - | | **What it is** | Automated sequences of steps that run on a schedule or trigger | A conversational AI inside Markifact that executes operations for you | A bridge that lets external AI clients use Markifact operations | | **Best for** | Recurring, repeatable tasks (e.g. weekly reports, daily syncs) | Any marketing task, on demand or scheduled | Using Markifact from your preferred AI tool (Claude, ChatGPT, Cursor, etc.) | | **How it runs** | Automatically on a schedule, trigger, or manually | You chat and the agent picks the right operations | Your AI client calls Markifact operations during a conversation | | **Setup** | Build once on the canvas, runs forever | Just start a conversation | Create a server, add a token, paste the config into your AI client | ### When to use what * **Use Workflows** when you have a repeatable task that should run automatically — like sending a weekly Google Ads report to Slides every Monday. * **Use Agents** when you want to describe a task and let the AI handle it, like "pull last week's Meta Ads performance and summarize it." * **Use MCP** when you want to stay in your AI client and use Markifact's capabilities from there — like asking Claude to pull your GA4 data and compare it with last month. > [!NOTE] > > For a deeper breakdown with scenarios and a decision guide, see [Agent vs MCP vs Workflow](/core-concepts/agent-vs-mcp-vs-workflow). *** ## Getting Started ### 1. Create an MCP Server 1. Go to the **MCP** page from the sidebar. 2. Click **New MCP Server**. 3. Give it a name (e.g. "Claude", "Manus"). ### 2. Connect Your AI Client There are two ways to authenticate your AI client with Markifact: **OAuth** and **Manual Token**. The method you use depends on what your AI client supports. #### OAuth (Recommended) OAuth is the most secure and convenient way to connect. If your AI client supports OAuth — like **Claude** — you only need to paste the MCP server URL: ``` https://api.markifact.com/mcp ``` When you connect, your AI client will redirect you to Markifact where you authorize access. No tokens to copy or manage — everything is handled automatically. This is the **recommended method** whenever your AI client supports it. #### Manual Token For AI clients that don't support OAuth (like Cursor or other developer tools), you can use a manual token instead: 1. On your MCP server settings page, a token is automatically generated for you. 2. Copy the token and use it in your AI client's MCP configuration: ```json theme={"dark"} { "mcpServers": { "markifact": { "url": "https://api.markifact.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE" } } } } ``` Paste this into your AI client's MCP settings (the exact location depends on the client — check their docs for where to add MCP servers). If you want this MCP server config to always use a specific Markifact connection, add `X-Markifact-Context` to the headers: ```json theme={"dark"} { "mcpServers": { "markifact": { "url": "https://api.markifact.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE", "X-Markifact-Context": "{\"connection_ids\":[\"CONNECTION_ID_HERE\"]}" } } } } ``` Use the `connection_id` returned by the Markifact API or by the MCP `list_connections` tool. In static config files, the context value must be a string, so the JSON is escaped. If your MCP client does not support custom headers, you can pass the same restriction in the MCP URL: ```text theme={"dark"} https://api.markifact.com/mcp?connection_ids=CONNECTION_ID_HERE ``` Use the header when your client supports it. Query parameters are intended as a compatibility fallback for clients that only let you configure the MCP URL. *** ## Permissions & Security Each MCP server can be configured with fine-grained permissions to control exactly what your AI client can access. ### Operations By default, a server has access to **all operations**. You can restrict it to specific operations only — for example, allow only Google Ads reporting, or only Sheets operations. ### Connections By default, a server can use **all connected accounts**. You can restrict it to specific connections — useful when you want a server that only accesses one client's Google Ads account, for example. You configure these saved connection permissions on the MCP server details page in the Markifact UI after creating the MCP server. This makes it safe to create dedicated servers for different purposes or share access with team members without exposing everything. Saved MCP connection permissions are the server's maximum allowed access. Runtime context can choose a smaller set for a specific request, but it cannot add access to connections that the MCP server is not allowed to use. ### Runtime Connection Context If your MCP client supports custom headers, you can narrow which connections a request may use by passing `X-Markifact-Context`. This is the recommended option. ```http theme={"dark"} X-Markifact-Context: {"connection_ids":["CONNECTION_ID"]} ``` In a static MCP config file, put the context JSON in the `headers` object as an escaped string: ```json theme={"dark"} { "mcpServers": { "markifact": { "url": "https://api.markifact.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE", "X-Markifact-Context": "{\"connection_ids\":[\"CONNECTION_ID\"]}" } } } } ``` This is useful when your own app creates connections through the Markifact API and then calls the MCP server on behalf of a specific customer, store, workspace, or account. If your MCP client does not support custom headers, pass connection IDs as a comma-separated query parameter on the MCP URL: ```text theme={"dark"} https://api.markifact.com/mcp?connection_ids=CONNECTION_ID ``` For multiple connections: ```text theme={"dark"} https://api.markifact.com/mcp?connection_ids=CONNECTION_A,CONNECTION_B ``` To explicitly allow no connections for a request, include the parameter with an empty value: ```text theme={"dark"} https://api.markifact.com/mcp?connection_ids= ``` If both `X-Markifact-Context` and `connection_ids` are provided, Markifact uses `X-Markifact-Context`. Runtime context works in parallel with the MCP server's saved connection permissions, which are configured on the MCP server details page in the Markifact UI: | MCP saved connection permissions | Runtime context | Result | | - | - | - | | No saved restriction | Not provided | MCP can use any visible workspace connection. | | No saved restriction | `["A"]` or `?connection_ids=A` | MCP can use only connection `A` for this request. | | No saved restriction | `[]` or `?connection_ids=` | MCP cannot use any connection for this request. | | Saved restriction `["A", "B"]` | Not provided | MCP can use only `A` or `B`. | | Saved restriction `["A", "B"]` | `["B"]` or `?connection_ids=B` | MCP can use only `B` for this request. | | Saved restriction `["A", "B"]` | `[]` or `?connection_ids=` | MCP cannot use any connection for this request. | | Saved restriction `["A", "B"]` | `["C"]` or `?connection_ids=C` | Request is rejected because `C` is outside the saved MCP permissions. | In other words, saved MCP settings define the maximum allowed access, and runtime context selects a subset. Runtime context never grants access beyond the MCP server's saved permissions. If runtime context is omitted, Markifact uses the server's normal connection settings. If `connection_ids` is provided as an empty array or empty query parameter, no connection is allowed for that request. The `connection_id` value is the Markifact connection ID returned by the API, for example from the auth link status endpoint. ### Tool Permissions in Your AI Client Most AI clients let you control when each tool is allowed to run. We recommend the following setup: * **Always allow** all read-only tools — `find_operations`, `get_operation_inputs`, `list_connections`, `get_file_url`, `read_file`, and `run_operation`. These only read data and are safe to auto-approve. * **Require approval** for `run_write_operation`. This tool creates, updates, or deletes data on external platforms. Keeping it on "Needs approval" lets you review exactly what the AI is about to do before it executes. > [!WARNING] > > Do not set `run_write_operation` to "Always allow." Write operations can modify live campaigns, send emails, update budgets, and make other irreversible changes. Always review what the AI is requesting before approving a write action. In Claude, for example, this looks like setting **Read-only tools** to "Always allow" and **Write/delete tools** to "Needs approval" — which is the default. *** ## Available Tools When your AI client connects to Markifact via MCP, it gets access to the following tools: ### find\_operations Search for available operations across all platforms. This is the starting point — your AI client uses this to discover what's available. For example, searching "google ads report" returns matching operations with their IDs and descriptions. ### get\_operation\_inputs Get the input schema for a specific operation. This tells the AI client what fields are required, what the defaults are, and what values are accepted — so it can fill in the right parameters before running an operation. ### run\_operation Execute a **read-only** operation. This covers things like pulling reports, listing accounts, searching for metrics, reading data from Sheets, and similar non-destructive actions. ### run\_write\_operation Execute an operation that **creates, updates, or deletes** data. This includes actions like creating campaigns, updating ad budgets, sending emails, or modifying Sheets data. Write operations are separated from read operations as a safety measure. Before running a write operation, the AI client is instructed to describe exactly what will change and ask for your confirmation first. This ensures you always stay in control of destructive actions. ### list\_connections View which platform accounts are connected (e.g. Google Ads, Meta Ads, Slack). Useful when you have multiple accounts for the same platform and need to specify which one to use. Most of the time connections are resolved automatically — this tool is only needed when disambiguation is required. ### get\_file\_url Get a shareable link for a file produced by an operation. Some operations return files (like exported CSVs or generated charts) — this tool creates a temporary signed URL you can open or share. ### read\_file Inspect the contents of a file returned by a previous operation. Useful for reviewing data before passing it to another operation — like checking the structure of a CSV export before sending it to Sheets. *** ## How Credits Work MCP credit usage is straightforward: * **Discovery and utility tools are free.** `find_operations`, `get_operation_inputs`, `list_connections`, `get_file_url`, and `read_file` cost **0 credits**. * **Running operations costs credits**, and the cost depends on the specific operation — the same way workflow nodes are priced. ### Examples | Action | Credits | | - | - | | Search for operations (`find_operations`) | 0 | | Get operation schema (`get_operation_inputs`) | 0 | | List connections (`list_connections`) | 0 | | Pull a Google Ads report (`gads_get_report`) | 1 | | Pull a GA4 report (`ga4_get_report`) | 1 | | Select accounts (`gads_select_accounts`) | 0 | | List report fields (`ga4_list_report_fields`) | 0 | | Read data from Sheets (`sheets_read_data`) | 1 | | Create a Google Ads campaign (`gads_create_campaign`) | 1 | | Send an email (`email_send`) | 1 | The rule of thumb: **utility and discovery operations** (account selection, listing fields, searching) are **free**. **Data operations** (pulling reports, reading/writing to platforms) cost credits, typically **1 credit per operation**, same as the equivalent workflow node. You can check exact credit costs for any operation by looking at the corresponding node documentation, or by checking the credit estimate shown in the workflow editor. ### Tracking MCP Usage MCP credit consumption appears in the [Usage Dashboard](https://www.markifact.com/app/usage) under the **MCP** service type. Each operation execution is logged with the server name and operation ID so you can track exactly where credits are going. *** ## Token Management For manual token authentication, each MCP server can have one active token at a time. You can: * **Rotate a token** — generates a new token and revokes the old one. Use this if a token is compromised or you want to cycle credentials. * **Copy the token** — to paste into a new AI client configuration. Tokens are shown once when created. If you lose a token, simply rotate it to generate a new one. If you're using OAuth, token management is handled automatically — there's nothing to copy or rotate. *** ## Frequently Asked Questions > [accordion] Can I have multiple MCP servers? > > Yes. Create as many as you need — one per AI client, one per team member, or one per use case. Each server has its own token and permissions. > [accordion] Do I need to set up connections separately for MCP? > > No. MCP servers use the same connections you've already set up in Markifact. If you have Google Ads connected in your workspace, your MCP server can use it automatically. > [accordion] How does runtime connection context work with MCP connection permissions? > > The MCP server's saved connection permissions are always the maximum allowed access. Runtime context only narrows that access for a specific request or static client config. > > For example, if the MCP server is saved with connections `A` and `B`, a request can pass `{"connection_ids":["B"]}` in `X-Markifact-Context`, or use `?connection_ids=B`, to use only `B`. Passing `C` is rejected because `C` is not allowed by the MCP server. > > Passing `{"connection_ids":[]}` or `?connection_ids=` explicitly allows no connections for that request. Omit runtime context when you want to use the MCP server's normal saved connection settings. > > If the MCP server has no saved connection restriction, runtime context can still narrow the request to one or more visible workspace connections. Use `X-Markifact-Context` when your client supports custom headers; use the query parameter only when headers are not supported. > [accordion] Should I use OAuth or a manual token? > > Use **OAuth** whenever your AI client supports it — it's more secure and easier to manage. Use a **manual token** only when your AI client doesn't support OAuth (like Cursor or other developer tools). > [accordion] What happens if I delete an MCP server? > > All tokens for that server are immediately revoked. Any AI client using those tokens will lose access. OAuth sessions are also invalidated. > [accordion] Is there a limit on how many operations I can run? > > There's no rate limit specific to MCP. Operations consume credits the same way as workflows, and your usage is limited by your plan's credit balance. > [accordion] Why is my AI client not finding any operations? > > **Check your server permissions:** > > * If you restricted the server to specific operations, make sure the ones you need are included. > * Go to your MCP server settings and check the **Operations** section. > > **Check your connection:** > > * Make sure the MCP server URL and token are correct in your AI client. > * Try regenerating the token if using manual authentication. > [accordion] Why did my operation fail with a connection error? > > This usually means you haven't connected the required platform account in Markifact yet. > > **How to fix:** > > 1. Go to the [Connections page](https://www.markifact.com/app/connections) in Markifact. > 2. Connect the platform account your operation needs (e.g. Google Ads, Meta Ads). > 3. Try the operation again — connections are resolved automatically. > > If you have multiple accounts for the same platform, you may need to specify which one to use via the `list_connections` tool. # Node Source: https://docs.markifact.com/core-concepts/node Learn how nodes work in Markifact, how they pass data, and how to inspect inputs and outputs. A **node** is a single step in a workflow. Nodes fetch data, process it, or send it to another destination. Every workflow is built by chaining multiple nodes together. *** ## Trigger vs Action Nodes There are two types of nodes in Markifact: * **Trigger Node** – Starts the workflow. This could be time-based (e.g., every Monday), event-based (e.g., new Slack message), or manual. * **Action Node** – Performs a specific task. This includes pulling data, transforming it, sending it, or using AI to analyze it. *** ## Common Node Categories While all action nodes technically follow the same structure, they fall into categories based on behavior: | Category | Description | Examples | | - | - | - | | **Pull Data** | Fetches data from a source | Google Ads, BigQuery, Meta Ads | | **Transform** | Processes or reshapes the data | Filter Rows, Sort, Rename Fields | | **AI** | Uses language models to analyze or generate | Ask AI, Analyze Data, Summarize | | **Send** | Sends data to a destination | Google Sheets, Slides, Slack | *** ## Node Status Indicators Nodes display visual indicators to show their current state: | Status | Description | | - | - | | **No badge or icon** | Node is ready to run and properly configured | | **⚠️ Warning (orange circle)** | Configuration is incomplete - missing required fields or settings | | **❌ Error (red X)** | Last run failed - check the Logs panel for error details | | **✅ Success (blue checkmark)** | Last run completed successfully | These indicators help you quickly identify which nodes need attention before running your workflow. ![Node Status Indicators](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/node_status.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=732524e6733bf798eac9d0d734c0a68c) *** ## Inputs & Outputs Each node receives **input** from the previous step and produces **output** for the next one. ### Where to View Inputs and Outputs After running a workflow: 1. Open the **Logs panel** 2. Click any node to expand its details 3. Toggle between **Input** and **Output** tabs 4. You can view both **Table** and **JSON** formats This helps you understand what’s flowing between nodes — especially when debugging. ![Inspect Node Inputs and Outputs](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/node_input_output.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=c655b71ac41ed8da3aee76951cb23fff) *** ## Passing Data Between Nodes You can reference the output of any previous node using the **dynamic data picker**. For example, when sending data to Google Sheets: * Click on the **Data** field * Choose **"Insert Dynamic Data"** * Pick the output from a previous node (e.g., `Get Report`) * You can insert the **entire output**, or **individual fields** like `Sessions`, `Page Views`, etc. ![Dynamic Data Picker](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/node_dynamic_data.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=db9a0d7435f912449537b0d51483c08b) *** ## Common Issues: "I Don't See Any Output to Select" If a node's output doesn't show up in the dynamic data picker, here are the most likely reasons: ### 1. Node isn't fully configured * Some fields might be missing (e.g., missing credentials, dataset, or query). * You'll usually see a **warning badge** around the node. * Make sure all required fields are filled out and saved. ### 2. Node hasn't been run yet (for preview-only outputs) * Some nodes like **BigQuery** or **Google Sheets** require an actual run to generate outputs. * These nodes fetch **dynamic fields** (e.g., column names or schema) and can't predict output without executing. > 🔍 **Important:** Even if the node technically works, its output might not be "discoverable" in downstream nodes until it's run. ### 3. You're referencing a node that produced no output * If the node ran but returned nothing (e.g., an empty query result), the output might be technically "valid" but invisible. * Check the Logs tab → Output to confirm there's data. ### 4. Node isn't connected or dependent on the target node * The dynamic data picker only shows outputs from nodes that are **in the same execution path** as your current node. * If nodes are in different branches or not connected through the workflow path, their outputs won't be available. * Make sure there's a clear execution path from the source node to your current node. *** ## Best Practices * Give your nodes clear labels (e.g. “Pull Meta Ads – Last 7 Days” instead of just “Get Report”) * Always **run a node once** before using its output in another node (especially for BigQuery, Sheets, or Docs) * Use the **Logs** tab to confirm output and test your logic * Use **“Use All Data”** for tables and **field-level insertion** for messages and AI steps *** ## FAQ > [accordion] I got 'Resource limit exceeded. The data output from this node is too large' error > > This means a single node exceeded the 15 MB limit, or your total workflow exceeded 20 MB. Break your workflow into smaller pieces: split large data pulls across multiple workflows, use date ranges to get smaller chunks of data, and filter your reports to only essential metrics. > [accordion] Why is the dynamic data picker not showing any fields from my previous node? > > Some nodes (like BigQuery or Google Sheets) need to be run before their output becomes available. This is because they generate output dynamically based on actual query results or fetched data. Make sure the node has run successfully and returned valid data before using it in downstream nodes. > [accordion] How do I see what data is being passed between nodes? > > After running your workflow, open the Logs panel. Click on any node to inspect its input and output. You can switch between table view and raw JSON. This is helpful for debugging and validating your automation. > [accordion] Can I use output from a node that's not directly connected to my current node? > > Yes! You can reference output from any node that's in the same execution path as your current node, even if they're not directly connected. The dynamic data picker shows all available outputs from nodes that will execute before your current node in the workflow path. > [accordion] What happens if I delete a node that other nodes depend on? > > If you delete a node whose output is being used by other nodes, those dependent nodes will show errors and need to be reconfigured. You'll see "Missing Node Reference" errors in the UI where the deleted node's data was referenced. Always check for dependencies before deleting nodes. > [accordion] What does 'Missing Node Reference' mean and how do I fix it? > > This error appears when a node tries to reference data from another node that has been deleted or disconnected. To fix it: > > 1. Check if the referenced node was accidentally deleted and restore it if needed. > > 2. If the node was intentionally removed, update all fields that reference it by selecting a different data source from the dynamic data picker. > > 3. Remove any dynamic references that are no longer needed. The error will show exactly which field has the broken reference. > [accordion] Why do some nodes show a warning badge? > > Warning badges appear when a node has missing required fields, invalid configurations, or authentication issues. Click on the node to see specific error messages and fix the configuration. > [accordion] Can I rename a node without breaking my workflow? > > Yes, renaming a node won't break existing connections or references. The workflow uses internal IDs, not display names, to track node relationships. > [accordion] How do I know if my node configuration is correct before running the workflow? > > Some nodes provide preview capabilities or validation feedback. Look for preview buttons or run individual nodes to test their configuration. You can also check for warning badges or error messages in the node settings. > [accordion] What's the difference between 'Use All Data' and selecting individual fields? > > 'Use All Data' passes the entire output (all rows and columns) to the next node, while selecting individual fields lets you pick specific data points. Use 'Use All Data' for tables and data processing, and individual fields for messages, AI prompts, or specific values. > [accordion] Why does my workflow stop at a certain node? > > Workflows stop when a node encounters an error, fails authentication, or returns no data when data is expected. Check the Logs panel for specific error messages and ensure all nodes are properly configured with valid credentials. # Runs & Logs Source: https://docs.markifact.com/core-concepts/runs-logs Understand Markifact workflow execution history, logs, and how long your run data is retained based on your plan. Every time a workflow executes, Markifact creates a **run** record with detailed logs and results. This helps you monitor performance, debug issues, and track your automation history. *** ## Where to View Runs ### 1. Logs Sidebar (Live Debugging) When running a workflow manually from the canvas editor: * Click **Run Manually** button * The **Logs sidebar** opens automatically * Shows real-time execution progress * Click any node to see its input/output details ![Logs Sidebar Example](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/node_input_output.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=c655b71ac41ed8da3aee76951cb23fff) ### 2. Workflow Runs Page (Historical View) For all workflow executions (manual and triggered): * Navigate to **Runs** in the left sidebar * See complete execution history across all workflows * Filter by status, trigger type, or workflow name * Access detailed logs for any past run ## ![Runs Page Example](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/runs_page.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=6d395a504e4d23ac89b0cd61d57e9a04) ## Run Information Each run record includes: | Field | Description | | - | - | | **Status** | Success, Error, or Running | | **Trigger** | How the workflow started (Manual, Scheduler, Slack, etc.) | | **Duration** | Total execution time | | **Credits** | Credits consumed during the run | | **Started At** | Timestamp when execution began | | **Nodes** | Number of nodes executed and any errors | *** ## Failure Notifications When a workflow fails, you'll receive an **email notification** with: * **Error summary** - Brief description of what went wrong * **Failed node** - Which specific node encountered the error * **Workflow name** - So you know which automation needs attention The email will direct you to check the **Runs page** for detailed logs and troubleshooting information. > 💡 **Pro tip**: The email gives you a quick overview, but always check the Runs page for complete error details and debugging information. *** ## Log Details Click any run to see detailed execution logs: ### Node-Level Logs * **Input**: Data that entered each node * **Output**: Data produced by each node * **Table/JSON views**: Switch between formats for easier reading * **Error details**: Specific error messages and troubleshooting info ### Execution Flow * See which nodes executed successfully * Identify where workflows stopped or failed * Track data transformation through each step *** ## Who Can See Which Logs | Viewer | Workflow logs | MCP logs | Agent logs | | - | - | - | - | | **Team owner** | All | All, including private MCP servers | All, including other members' conversations | | **Team member** | All | Shared servers, plus their own private ones | Only their own conversations | Team owners see everything their workspace produced so they can debug and audit without chasing individual members. Only owners can create API keys, so the [Logs API](/api-reference/logs/list-logs) returns the same complete view. *** ## History Retention Your execution history is kept based on your plan: | Plan | History Kept | | - | - | | **Free** | 1 day | | **Pro** | 7 days | | **Team** | 30 days | After this period, execution logs are automatically deleted to keep your workspace clean. > 💡 **Tip**: Download important logs or results before they expire if you need them for longer-term analysis. *** ## Common Use Cases ### Debugging Workflows * Check the **Logs sidebar** when a workflow fails * Look for red error indicators on specific nodes * Review input/output data to identify issues ### Performance Monitoring * Track execution duration trends * Monitor credit usage patterns * Identify slow or expensive nodes ### Data Validation * Verify correct data is flowing between nodes * Confirm transformations are working as expected *** ## FAQ > [accordion] Why can't I see logs for older runs? > > Logs are automatically deleted based on your plan's retention period: > > * Free: 1 day > * Pro: 7 days > * Team: 30 days > > Upgrade your plan to keep logs longer, or download important data before it expires. > [accordion] What's the difference between the Logs sidebar and Runs page? > > **Logs sidebar**: Real-time view when manually running workflows from the editor. Great for debugging and development. > > **Runs page**: Historical view of all executions (manual and triggered). Better for monitoring and analysis. > [accordion] Why do some runs show 0 credits? > > Runs that fail before executing any nodes, or workflows that only use free operations (like simple data transformations), may show 0 credits consumed. > [accordion] How do I find runs from a specific workflow? > > On the Runs page: > > 1. Use the search bar to find workflows by name > 2. Filter by "All Triggers" to see specific trigger types > 3. Look at the "Workflow" column to identify runs > [accordion] What does 'X nodes • Y errors' mean? > > This shows the total number of nodes in the workflow and how many encountered errors during execution. For example, "5 nodes • 1 error" means 5 nodes total, with 1 node failing. # System Limits & Quotas Source: https://docs.markifact.com/core-concepts/system-limits Understanding Markifact data limits, execution history, and workflow runtime constraints. Markifact has some built-in limits to ensure smooth performance for everyone. Here's what you need to know about data sizes, execution history, and workflow runtimes. *** ## Data Size Limits ### Workflow Data Limit **Maximum total data per workflow: 100 MB** This is the total amount of data that can flow through all nodes in a single workflow run. If your workflow pulls large datasets from multiple sources, keep this limit in mind. ### Individual Node Limit **Maximum data per node: 90 MB** Each node can handle up to 90 MB of data. This applies to nodes that pull reports, generate content, or process information. **What happens if you hit these limits?** * Your workflow will stop running and show an error message * You'll get a clear explanation of which node exceeded the limit * No credits are charged for failed nodes *** ## Execution History Your execution history shows past workflow runs, logs, and results. How long this history is kept depends on your plan: | Plan | History Kept | | - | - | | **Free** | 1 day | | **Pro** | 7 days | | **Team** | 30 days | After this period, execution logs are automatically deleted to keep your workspace clean. *** ## Workflow Runtime ### Maximum Runtime: 1 hour All workflows will automatically stop after 1 hour to prevent runaway processes. **Pro tip:** For long-running workflows, use the execution history to track progress rather than watching the live feed. *** ## Frequently Asked Questions > [accordion] I got "Resource limit exceeded. The data output from this node is too large" error > > This means a single node exceeded the 15 MB limit, or your total workflow exceeded 20 MB. Break your workflow into smaller pieces: split large data pulls across multiple workflows, use date ranges to get smaller chunks of data, and filter your reports to only essential metrics. > [accordion] I can't see the history of my previous runs > > Check your plan's execution history limit. Free plan only keeps 1 day of history, Pro plan keeps 7 days, and Team plan keeps 30 days. Upgrade your plan to keep history longer, or run your workflows more frequently to stay within the history window. > [accordion] My workflow stopped tracking after 13 minutes but I need to see if it finished. > > This is normal for longer workflows. The UI connection times out, but your workflow keeps running. Go to your Run History tab, click on the workflow that was running, and check the Execution History to see if it completed and view the detailed logs. > [accordion] Why did my workflow stop at exactly 30 minutes? > > Workflows have a 30-minute maximum runtime for system stability. If you need longer processing, break complex workflows into smaller steps, use multiple workflows that run in sequence, or contact support if you have a specific use case. > [accordion] I'm getting errors about data limits, but my reports don't seem that big. > > Data limits include all the formatting and metadata, not just the visible numbers. Large date ranges create more data than expected, multiple metrics and dimensions add up quickly, and images and files count toward the 15 MB node limit. Try reducing your date range or selecting fewer metrics per workflow. > [accordion] Do failed workflows count toward my credit usage? > > No. Only successful nodes consume credits. If a node fails due to data limits, no credit is charged for that node. Other successful nodes in the same workflow will still be charged. Manual workflow runs from the UI are always free regardless of success or failure. # Templates Source: https://docs.markifact.com/core-concepts/templates Learn about Markifact's two template types: public templates in our curated library and private shared workflows for teams and collaborators. Markifact offers two types of templates to help you get started quickly or share your workflows with others. Whether you're looking for pre-built solutions or want to distribute your own creations, templates make workflow automation accessible to everyone. *** ## Template Types ### 1. Public Template Library Our curated collection of professional, ready-to-use templates designed for common marketing tasks. **Access**: [markifact.com/templates](https://www.markifact.com/templates) #### What's Included * **Markifact-created templates** - Built by our team for popular use cases * **Expert-vetted templates** - Community submissions approved by our team #### Getting Listed Want your template in our public library? 1. Create a high-quality workflow 2. Test thoroughly with multiple scenarios 3. Contact us to apply for inclusion 4. Our team reviews for quality and usefulness > 💡 **Requirements**: Templates must be well-documented, reliable, and solve common problems to be accepted into our public library. ### 2. Unlisted Shared Workflows Personal workflow sharing for teams, clients, or collaborators through secure, private links. **These templates are not listed publicly and can only be accessed by people you share the link with.** #### How It Works * **Link-only access** - Only people with the URL can use the template * **Not publicly indexed** - Hidden from Google and search engines * **Secure sharing** - Credentials and sensitive data are never shared * **Instant copying** - Recipients create their own copy with one click *** ## Creating Shared Workflows ### Enable Template Sharing 1. Open your workflow in the canvas editor 2. Click **Share** button (or workflow settings) 3. Toggle **"This workflow is shared as template"** 4. Add descriptions (optional but recommended) 5. Copy the generated URL to share ![Share Workflow as Template](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/nodes/shared_workflow.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=f3305e7988a358572d5a1b56e0c24077) ### Template Descriptions #### Short Description (Required) * **Character limit**: 200 characters maximum * **Purpose**: Brief summary shown on the template preview * **Best practices**: Focus on what the workflow does and key benefits **Example**: *"Automate monthly SEO reports by pulling data from Google Search Console and Analytics, then generating client-ready slides with key metrics and insights."* #### Detailed Description (Optional) * **Format**: Full Markdown support * **Purpose**: Landing page-style content when someone clicks your template * **Include**: Use cases, setup instructions, requirements, examples **Markdown features available**: * Headers (`# ## ###`) * Lists (bulleted and numbered) * Links and images * Code blocks * Emphasis (`**bold**`, `*italic*`) **Example**: ```markdown theme={"dark"} # Monthly SEO Performance Reports This workflow automatically generates comprehensive SEO reports for your clients or internal teams. ## What It Does - Pulls organic traffic data from Google Analytics - Fetches ranking and click data from Search Console - Creates professional slide presentations - Sends reports via email or Slack ## Requirements - Google Analytics account - Google Search Console access - Google Slides (for report generation) ## Setup Instructions 1. Connect your Google accounts 2. Configure the date range (default: last 30 days) 3. Customize the report template 4. Set up automated scheduling (optional) ``` *** ## Security & Privacy ### What's Protected * **Account credentials** - Never shared with template users * **Sensitive IDs** - Account IDs, Spreadsheet IDs, email addresses, etc ### What's Shared * **Workflow structure** - Node configuration and connections * **Template descriptions** - Your written content and instructions * **Node settings** - General configuration (without credentials) > 🔒 **Important**: Always test your template with a fresh account to ensure no sensitive data is accidentally exposed. *** ## Best Practices ### For Public Library Submissions 1. **Clear naming** - Use descriptive, searchable names 2. **Comprehensive testing** - Verify with different data sources 3. **Good documentation** - Include setup instructions and examples 4. **Error handling** - Add proper validation and fallbacks 5. **Modular design** - Make it easy to customize for different needs ### For Shared Workflows 1. **Test before sharing** - Create a new account and test the template 2. **Document requirements** - List all necessary integrations and access 3. **Provide examples** - Show sample inputs/outputs 4. **Include contact info** - Let users know how to get help *** ## Common Use Cases ### Team Collaboration * **Client templates** - Provide standardized solutions for common client needs * **Department sharing** - Distribute approved workflows across teams ### Education & Training * **Course materials** - Include workflow templates in marketing automation courses * **Workshops** - Provide hands-on examples for training sessions * **Documentation** - Supplement tutorials with working examples ### Business Development * **Client proposals** - Show potential clients exactly what they'll receive * **Proof of concepts** - Demonstrate workflow capabilities quickly * **Sales tools** - Help prospects understand workflow value *** ## FAQ > [accordion] How long do shared template links stay active? > > Template links remain active as long as: > > * Your account is active > * The original workflow still exists > * Template sharing is enabled > > If you delete the original workflow or disable sharing, the template link will stop working. > [accordion] Can I update a shared template after sharing the link? > > Yes! Changes to your original workflow automatically update the template. However: > > * Users who already copied the template won't see updates > * The template URL stays the same > * Consider versioning for major changes > [accordion] Who can access public library templates? > > All public library templates are available to any Markifact user. You don't need special permissions to use them, but you'll need the appropriate integrations (Google Ads, Slack, etc.) configured in your account. > [accordion] Who can access my shared workflow templates? > > Only users you explicitly share the template link with can access your shared workflow templates. Be cautious about sharing links publicly. > [accordion] Can I see who's using my shared template? > > Currently, you cannot see analytics on who accesses or copies your shared templates. The links are designed for privacy and security. # White-label Connections Source: https://docs.markifact.com/core-concepts/white-label-connections Connect every Google channel, every Meta channel, TikTok, Pinterest, Reddit Ads, Snapchat Ads, Amazon Ads, Spotify Ads, X Ads, LinkedIn Ads, Microsoft Ads and Slack through your own apps so Markifact never appears in your clients' accounts. Available on the Team plan. By default, every connection you add in Markifact goes through Markifact's own apps: our Google Cloud app, our Slack app, and so on. That is the fastest way to connect (Quick Connect), but it means "Markifact" is the name your clients see: on the consent screen, in the list of apps with access to their account, and in the change history of platforms that name the app behind a change, such as Google Ads. **White-label connections** let you connect through **your own apps** instead. You paste the credentials of an app you own, Markifact verifies them with one API call, and from then on every request runs under your app. Your clients only ever see your brand. > [card] [Quick Connect vs White-label](/core-concepts/connections#quick-connect-vs-white-label-connections) > > A side by side comparison, including what white-label changes for your clients and what it does not. > [!NOTE] > > White-label connections are available on the **Team** plan. Connections created earlier keep working regardless of plan; the plan is only checked when you add a new one. *** ## Quick Connect vs White-label | | Quick Connect | Custom App (White-label) | | :- | :- | :- | | **Best for** | Everyone. The default for any account | Agencies that want to run on their own app credentials | | **App your client authorizes** | Markifact | Yours | | **Name in change history and connected apps** | Markifact | Your app | | **Where credentials come from** | One click, Markifact handles it | You create the app and paste its credentials | | **Setup time** | About a minute | 15 to 30 minutes per platform, once | | **API quota and rate limits** | Shared across Markifact customers | Your app's own quota | | **Platform approvals** | Handled by Markifact | Yours to obtain where the platform requires them | | **Credential storage** | Encrypted by Markifact | Encrypted by Markifact | | **Credential rotation** | Automatic | You paste new credentials when they expire | | **Available on** | All plans | Team plan | Both options are equal once connected. The same nodes, agents, and MCP tools work either way, and you can mix them: Quick Connect for your own accounts, a custom app for the clients who ask. > [card] [What white-label changes for your clients](/core-concepts/connections#what-white-label-changes) > > What the client sees with each option, and what a custom app does not change. *** ## Supported Channels | Channel | What you paste | Setup guide | | :- | :- | :- | | **Google Ads** | Client ID, client secret, refresh token from your Google Cloud app | [Custom Google Ads App](/nodes/gads/gads_custom_app) | | **Google Analytics 4** | Client ID, client secret, refresh token from your Google Cloud app | [Custom GA4 App](/nodes/ga4/ga4_custom_app) | | **Google Search Console** | Client ID, client secret, refresh token from your Google Cloud app | [Custom Search Console App](/nodes/gsc/gsc_custom_app) | | **Google Merchant Center** | Client ID, client secret, refresh token from your Google Cloud app | [Custom Merchant Center App](/nodes/gmc/gmc_custom_app) | | **Google Business Profile** | Client ID, client secret, refresh token from your Google Cloud app | [Custom Business Profile App](/nodes/business_profile/business_profile_custom_app) | | **Google Tag Manager** | Client ID, client secret, refresh token from your Google Cloud app | [Custom Tag Manager App](/nodes/gtm/gtm_custom_app) | | **Display & Video 360** | Client ID, client secret, refresh token from your Google Cloud app | [Custom DV360 App](/nodes/dv360/dv360_custom_app) | | **BigQuery** | Client ID, client secret, refresh token from your Google Cloud app | [Custom BigQuery App](/nodes/bigquery/bigquery_custom_app) | | **YouTube** | Client ID, client secret, refresh token from your Google Cloud app | [Custom YouTube App](/nodes/youtube/youtube_custom_app) | | **Google Data Manager** | Client ID, client secret, refresh token from your Google Cloud app | [Custom Data Manager App](/nodes/data_manager/data_manager_custom_app) | | **Meta Ads** | System User access token from your Meta app | [Custom Meta Ads App](/nodes/meta_ads/meta_ads_custom_app) | | **Facebook** | System User access token from your Meta app | [Custom Facebook App](/nodes/facebook/facebook_custom_app) | | **Instagram** | System User access token from your Meta app | [Custom Instagram App](/nodes/instagram/instagram_custom_app) | | **Slack** | Bot token and signing secret from your Slack app | [Custom Slack App](/nodes/slack/slack_custom_app) | | **TikTok Ads** | App ID, app secret, access token from your TikTok for Business app | [Custom TikTok Ads App](/nodes/tiktok_ads/tiktok_ads_custom_app) | | **TikTok** (organic) | Client key, client secret, refresh token from your TikTok app | [Custom TikTok App](/nodes/tiktok/tiktok_custom_app) | | **LinkedIn Ads** | Access token from your LinkedIn app | [Custom LinkedIn Ads App](/nodes/linkedin_ads/linkedin_ads_custom_app) | | **Microsoft Ads** | Client ID, client secret, refresh token from your Azure app, plus your developer token | [Custom Microsoft Ads App](/nodes/microsoft_ads/microsoft_ads_custom_app) | | **Pinterest Ads** | App ID, app secret, refresh token from your Pinterest app | [Custom Pinterest Ads App](/nodes/pinterest_ads/pinterest_ads_custom_app) | | **Pinterest** (organic) | App ID, app secret, refresh token from your Pinterest app | [Custom Pinterest App](/nodes/pinterest/pinterest_custom_app) | | **Reddit Ads** | App ID, app secret, refresh token from your Reddit app | [Custom Reddit Ads App](/nodes/reddit_ads/reddit_ads_custom_app) | | **Snapchat Ads** | Client ID, client secret, refresh token from your Snapchat OAuth app | [Custom Snapchat Ads App](/nodes/snapchat_ads/snapchat_ads_custom_app) | | **Amazon Ads** | Client ID, client secret, refresh token from your Login with Amazon app | [Custom Amazon Ads App](/nodes/amazon_ads/amazon_ads_custom_app) | | **Spotify Ads** | Client ID, client secret, refresh token from your Spotify app | [Custom Spotify Ads App](/nodes/spotify_ads/spotify_ads_custom_app) | | **X Ads** | API key and secret, access token and secret from your X app | [Custom X Ads App](/nodes/x_ads/x_ads_custom_app) | All Google channels share one setup: create the Cloud app once, then mint a refresh token per channel (or one token with several scopes). See [Custom Google Cloud App](/core-concepts/custom-google-app). Google Drive is the one Google connection without a custom app option, because it relies on the Markifact file picker. The three Meta channels share one app and one System User token as well. See [Custom Meta App](/core-concepts/custom-meta-app). Both Pinterest channels share one app too. See [Custom Pinterest App](/core-concepts/custom-pinterest-app). *** ## How It Works **1. Create the app on the platform** Follow the setup guide for the channel. You create the app in your own account (Google Cloud Console, Meta for Developers, Slack API portal), so you own its name, icon, and credentials. **2. Open the Custom App tab** Go to [Connections](https://app.markifact.com/connections), click **Connect** on the channel, and select the **Custom App (White-label)** tab. **3. Name the connection and paste the credentials** Every custom app connection gets a name you choose (for example "Acme Agency Google Ads"). This is how it appears in node settings, agents, and MCP. **4. Verify & Connect** Markifact makes one read-only call to the platform with your credentials. Nothing is saved unless that call succeeds, and the platform's own error message is shown if it fails. Custom app connections show a **Custom app** badge on the Connections page. They work everywhere a Quick Connect connection works: Workflows, Agents, and MCP. *** ## Living With a Custom App * **Token refresh is automatic**, using your app's credentials, exactly as Quick Connect refreshes with Markifact's. * **When credentials expire**, add the connection again with the same name to replace them. Each channel page lists that platform's credential lifetime. * **Custom app connections show a Custom app badge** on the Connections page, so you can tell at a glance which client runs under which app. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > One Cloud app for every Google channel: create it, mint refresh tokens, connect. > [card] [Custom Meta App](/core-concepts/custom-meta-app) > > One Meta app for Meta Ads, Facebook and Instagram: create it, generate a token, connect. > [card] [Custom Slack App](/nodes/slack/slack_custom_app) > > Create a Slack app with your own name and icon. > [card] [Connections](/core-concepts/connections) > > How connections, sharing, and privacy work. > [card] [Bring Your Own API Keys](/core-concepts/bring-your-own-keys) > > Use your own AI provider keys to cut credit costs. # Automate Ad Reporting to Google Slides Source: https://docs.markifact.com/guides/automate-ads-reporting-to-slides Learn how to automate each element of your ad reports - tables, charts, text, and scorecards - using Google Ads data as an example. Every marketing report contains the same basic elements: **data tables**, **charts**, **text summaries**, and **scorecards**. Instead of copying and pasting these manually every week, you can automate each element. This guide shows you how to automate each report element step-by-step. We'll use Google Ads as an example, but the same approach works for any data source (Meta Ads, LinkedIn Ads, Google Analytics, etc.). **What you'll learn to automate:** * **Data Tables** - Campaign performance tables * **Scorecards** - Key metrics and KPIs * **Charts** - Visual trends and comparisons * **Text Updates** - AI-generated insights and summaries *** ## Video Tutorial Watch this step-by-step video guide to see the automation in action: [Automate Ad Reporting to Google Slides](https://www.youtube.com/embed/JyGwf3fxiMI) *** ## Report Elements Overview Most marketing reports contain these elements: | Element | What It Shows | Example | | - | - | - | | **Data Table** | Raw performance data | Campaign names, clicks, cost, conversions | | **Chart** | Visual trends | Monthly spend trend, campaign comparison | | **Text Summary** | Written insights | "Brand campaigns had 25% higher CTR this month" | | **Scorecard** | Key metrics | Total spend: \$12,500, Total conversions: 145 | Instead of building one complex workflow, we'll automate each element separately. This makes it easier to build, test, and troubleshoot. ## Creating Data Tables Most marketing reports start with a data table showing campaign performance, website metrics, or ad results. Instead of manually copying and pasting this data every week, let's automate it. ### The Manual Process (What We're Replacing) Normally, to create a data table in Google Slides, you would: 1. Create a table in Google Slides 2. Style it with colors, fonts, and formatting 3. Go to Google Ads (or your data source) 4. Export or copy the performance data 5. Paste it into your table 6. Repeat this every week/month **This is exactly what we're going to automate.** ### Overview of Steps Here's what we'll build: 1. **Create a styled table** in Google Slides (one-time setup) 2. **Add "alt text"** to identify the table (one-time setup) 3. **Build a workflow** that pulls fresh data and updates the table 4. **Schedule it** to run automatically ### What's Alt Text? **Alt text** is normally used for accessibility (describing images to screen readers), but we use it as a **unique identifier** to tell Markifact which table to update. You'll hear about alt text a lot in this guide - **it's the cornerstone of all our updates**. Every element we want to automate (tables, charts, text) needs alt text so Markifact knows what to update. ### Step 1: Create Your Table in Google Slides 1. **Open Google Slides** and create a new presentation 2. **Insert → Table** → Choose any size (it will auto-adjust) 3. **Style your table:** Add colors, fonts, borders - whatever you like 4. **Right-click the table** → **Alt text** → Set to `campaign_table` **That's it!** Don't worry about headers or exact size - Markifact handles all that automatically. ![Google Slides table](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_alt_text_table.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=988cde65e0ed88bb7252f7fd912b8331) ### Step 2: Build the Workflow in Markifact Now let's create the automation that will update your table. #### Create the Workflow 1. Go to **Workflows** in Markifact 2. **Click "+ New Workflow"** 3. **Name it:** `Update Campaign Table` ![empty-workflow](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/new_workflow.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=99c0dc1874357a7085a7e387f29a3742) #### Add a Scheduler If you want this to run automatically: 1. **Add Node** → **Scheduler** 2. **Set it up:** * **Frequency:** Weekly * **Day:** Monday * **Time:** 9:00 AM *This will update your table every Monday morning with fresh data.* ![scheduler-trigger](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/weekly_scheduler.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=6447a6308912d0875d81b04452155cc3) #### Add Google Ads Data 1. **Add Node** → **Google Ads** → **Get Report** 2. **Connect it** to your Scheduler (or skip scheduler for manual runs) 3. **Configure your data:** * **Accounts:** Select your Google Ads account * **Date Range:** Last week (or your preferred period) * **Metrics:** Choose what you want to see: * Cost * Impressions * Clicks * Conversions * **Dimensions:** Campaign name * **Options:** * **Pretty Column Names** (makes headers readable) * **Display Currency Symbol** (shows \$ for cost) * **Compact Numbers** (shows 10K instead of 10,000) This pulls clean, formatted data that's ready for your table. ![Google Ads node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gads_get_report.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=faeef8b4b5b3302f0ff22300acbbac0c) #### Update Your Google Slides Table 1. **Add Node** → **Google Slides** → **Update Table** 2. **Connect it** to your Google Ads node 3. **Configure:** * **Presentation URL:** Copy/paste your Google Slides URL * **Table Alt Text:** `campaign_table` (must match what you set earlier) * **Table Data:** Connect the output from your Google Ads node ![Google Slides node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_update_table.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=a70aecb91467b278ad18fabf90685aca) ### Step 3: Test It 1. **Click "Run"** button in the top right of Markifact 2. **Go to your Google Slides** and check your table 3. **Your table now shows fresh Google Ads data** with proper headers and formatting **That's it!** Your table updates automatically. ![Google Slides updated table](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_updated_table.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=1b5a8bb4e400d9288196d27cb51e6402) ### What Just Happened? * **Markifact found your table** using the alt text `campaign_table` * **Pulled fresh Google Ads data** and automatically created headers (Campaign Name, Cost, Clicks, etc.) * **Sized the table** to fit your data perfectly * **Preserved your styling** (colors, fonts, borders) * **Formatted the data** with currency symbols and readable numbers *** ## Creating Scorecards Key metrics displayed prominently - total spend, conversions, etc. This is much simpler than tables because we can use the metric names directly. ### The Manual Process (What We're Replacing) Normally, to create scorecards in your reports, you would: 1. Go to Google Ads and look up total spend, total clicks, etc. 2. Copy these numbers manually 3. Format them properly (\$12,450, 2.4%, etc.) 4. Type these numbers into text boxes in your slides 5. Repeat this every reporting period **This is exactly what we're going to automate** ### Step 1: Prepare Your Slide 1. **Create text boxes** for each metric in your Google Slides presentation 2. **Set alt text** for each text box to match the Google Ads metric names: * Total cost box: `cost` * Total clicks box: `clicks` * Total impressions box: `impressions` * Total conversions box: `conversions` **Key insight:** The alt text matches what Google Ads calls these metrics for easier identification. ![Google Slides scorecard example](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_text_box_alt.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=beac01fd625f064347de7cfd5e3bbaa4) ### Step 2: Get Totals from Google Ads 1. **Add Node** → **Google Ads** → **Get Report** 2. **Configure for totals:** * **Accounts:** Select your Google Ads account * **Date Range:** Last week (or your preferred period) * **Metrics:** Choose the metrics you want as scorecards: * Cost * Clicks * Impressions * Conversions * **Dimensions:** Leave empty (this gives you totals, not per-campaign) * **Options:** * **Display Currency Symbol** (shows \$ for cost) * **Compact Numbers** (shows 10K instead of 10,000) **Important:** No dimensions = total numbers across all campaigns! ![Google Ads node for totals](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gads_get_total.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=cb8e4b5f5c7d580001a717d67930d30b) ### Step 3: Update Your Scorecard Text Boxes **Add one Replace Text node for all metrics:** 1. **Add Node** → **Google Slides** → **Replace Text** 2. **Connect it** to your Google Ads totals node 3. **Configure:** * **Presentation URL:** Your slides URL * **Search Method:** Find by alt text * **Replacement Method:** Manual text replacement * **Text Replacements:** Add each metric: * `cost` → Connect Cost from Google Ads output * `clicks` → Connect Clicks from Google Ads output * `impressions` → Connect Impressions from Google Ads output * `conversions` → Connect Conversions from Google Ads output **One node updates all your scorecards at once!** ![Google Slides node for scorecards](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_replace_text.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=fffb57b6f023d0572d5b8d8caf2bb711) ### Step 4: Test Your Scorecards 1. **Run the workflow** 2. **Check your Google Slides** - each text box should show the total for that metric 3. **Your scorecards now update automatically with properly formatted numbers!** ![Google Slides updated scorecards](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_updated_scorecards.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=8a0e80cfbe8d51d2116193c79de32104) ### What Just Happened? * **Google Ads calculated totals** automatically (no dimensions = totals) * **Alt text matched metric names** - `cost` finds cost, `clicks` finds clicks * **Numbers are pre-formatted** with currency symbols and readable formatting *** ## Creating Charts Visual charts make data easier to understand. Here's how to automate them. ### The Manual Process (What We're Replacing) Normally, to add charts to your Google Slides reports, you would: 1. Export data from Google Ads to a spreadsheet 2. Create a chart in Google Sheets manually 3. Copy the chart and paste it into Google Slides 4. Every time you need fresh data, repeat steps 1-3 5. Or manually click "refresh" buttons on existing charts **This is exactly what we're going to automate.** ### The Solution: Refresh Existing Charts **The key insight:** When you paste a Google Sheets chart into Google Slides, the chart data doesn't automatically update. You have to manually open the slides and click the "refresh" button every time the underlying data changes. This approach automates that clicking for you! ### Step 1: Get Your Data in Google Sheets First **You need data before you can create a chart!** 1. **Add Node** → **Google Sheets** → **Write Data** 2. **Connect it** to your Google Ads node (from your table workflow) 3. **Configure:** * **Spreadsheet URL/ID:** Create a new Google Sheets or use existing * **Working Sheet:** "Chart Data" (or any sheet name) * **Write Mode:** Overwrite (to replace old data) * **Starting Row:** 1 (includes headers) * **Data:** Connect Google Ads output 4. **Run the workflow once** to populate your Google Sheets with data ![Google Sheets Write Data node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gsheet_write_data.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=4db03f074bb1a05e46bb060ffadce8d2) ### Step 2: Create Your Chart (One-Time Setup) Now that you have data in Google Sheets: 1. **Open your Google Sheets** (the one from Step 1) 2. **You'll see your Google Ads data** with proper headers and formatting 3. **Select all the data** (including headers) 4. **Insert → Chart** 5. **Choose your preferred chart type** 6. **Customize the styling** - colors, titles, labels, etc. ![Google Sheets chart example](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gsheet_chart.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=b451ee96b841a152f1e7886ea33ea992) ### Step 3: Copy Chart to Google Slides 1. **Copy the chart** from Google Sheets (right-click → Copy) 2. **Go to your Google Slides presentation** 3. **Paste the chart** where you want it 4. **Choose "Link to spreadsheet"** when prompted (this is important!) ![Google Slides chart paste](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_chart.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=5145c7731eab8aa0e9d1947c0c6104ad) ### Step 4: Build the Automation Now we'll automate the data updates and chart refreshing: **The data update is already done** (from Step 1), so we just need to add the chart refresh: 1. **Add Node** → **Google Slides** → **Refresh Sheets Chart** 2. **Connect it** to your Write Data node 3. **Configure:** * **Presentation URL/ID:** Your Google Slides URL * **Refresh Type:** Refresh all charts * **Slide Number:** Leave empty (refreshes all slides) ![Google Slides Refresh Chart node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_refresh_chart.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=68a9cf609f8037a2272a0cf023e4138e) ### Step 5: Test the Chart Automation 1. **Run the workflow** 2. **Check your Google Sheets** - data should be updated 3. **Check your Google Slides** - chart should show fresh data with no refresh button **Perfect! Your charts now update automatically with fresh data.** Note: if you want to refersh a specific chart, you can give the chart an ALT text like `spend_chart` and use that in the Refresh Sheets Chart node. > [accordion] Advanced: Dynamic Chart Creation for Templates > > There's also an advanced approach using **Get Chart** and **Add Sheets Chart** nodes that's primarily used in Markifact templates to create charts programmatically. This approach is more complex and mainly used when building reusable templates from scratch. For most users, the refresh approach above is simpler and more practical. > > Visit [Get Chart Node](/nodes/slides/slides_refresh_sheets_chart) and [Add Sheets Chart Node](/nodes/slides/slides_add_sheets_chart) for more details. *** ## Creating Text & Insights Replace static text with AI-generated insights that update automatically. ### The Manual Process (What We're Replacing) Normally, to add insights to your reports, you would: 1. Look at your Google Ads data manually 2. Identify trends and patterns yourself 3. Write summary text and insights 4. Type or paste this text into your slides 5. Repeat this analysis every reporting period **This is exactly what we're going to automate with AI.** ### Step 1: Prepare Your Slide 1. **Insert → Text box** 2. **Add placeholder text** like "Weekly insights will appear here" 3. **Right-click** → **Alt text** → Set to `weekly_insights` ![Google Slides text box alt text](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_ai_text.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=cdcef5b4dd37f329dd6404ebc35bc287) ### Step 2: Add AI Analysis **Add AI Node:** 1. **Add Node** → **AI** → **Analyze Data** 2. **Connect** to Google Ads node 3. **Configure:** * **Data:** Connect Google Ads output * **Model:** GPT-4o * **Prompt:** ``` Analyze this Google Ads campaign data and write 3-4 key insights: 1. Which campaigns performed best (by CTR and conversions) 2. Any significant changes vs typical performance 3. One specific recommendation for optimization Write in bullet points, keep each insight to one sentence. ``` ![Google AI Analyze Data node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/ai_analyze.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=d780f33016c9d17504f98305233e7fad) **Update Slides Text:** 1. **Add Node** → **Google Slides** → **Replace Text** 2. **Connect** to AI Analyze node 3. **Configure:** * **Presentation URL:** Your slides URL * **Alt Text:** `weekly_insights` * **New Text:** Connect AI output ![Google Slides Replace Text node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/automate-ad-reporting/gslides_replace_ai_text.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=a76803a927151fb18062f5394b516482) ### Step 3: Test AI Insights 1. **Run workflow** 2. **Check your slide** for AI-generated insights 3. **Adjust the prompt** if you want different insights *** ## Combining Elements Once you've built individual elements, combine them into one master workflow: ``` Scheduler → Google Ads → [Split to multiple paths] ├── Update Table ├── Create Chart → Add Chart to Slides ├── AI Insights → Update Text └── AI Metrics → Update Scorecards ``` **Pro Tips:** * **Test each element separately** before combining * **Use consistent alt text naming** (e.g., `campaign_table`, `spend_chart`) * **Start simple** - add one element at a time * **Screenshots help** - document your alt text setup *** ## Troubleshooting > [accordion] Table not updating > > Check these: - Alt text matches exactly (case-sensitive) - Table exists in the > slide before running - Google Ads data is coming through (check node output) - > Make sure you're using the correct presentation URL > [accordion] Chart not appearing or not refreshing > > Common issues: - Chart doesn't exist in Google Sheets yet - Wrong Chart Index > (try 0, then 1, 2...) - Chart placeholder shape needs alt text - Make sure you > chose "Link to spreadsheet" when pasting the chart - Check that the Google > Sheets data updated first > [accordion] AI text looks weird or incomplete > > Improve by: - Being more specific in your prompt - Using Force Python for > calculations - Testing prompt with sample data first - Check if the AI node is > receiving data (look at node outputs) - Try a simpler prompt if results are > inconsistent > [accordion] Scorecards showing wrong numbers > > Check these: - Alt text in slides matches metric names exactly (`cost`, not > `Cost`) - Google Ads node has no dimensions selected (for totals) - Currency > and number formatting options are enabled - The Replace Text node is connected > to the right Google Ads output > [accordion] Workflow runs but slides don't update > > Common causes: - Wrong presentation URL (make sure it's shareable) - Alt text > doesn't match between slides and workflow - Elements don't exist in slides yet > > * Google authentication expired - reconnect your accounts > [accordion] Google Ads data is empty or missing > > Check: - Google Ads account has data for the selected date range - Account > permissions are correct - Try a broader date range (last 30 days instead of > last week) - Verify the account selection in the Google Ads node > [accordion] Charts show old data even after running > > This usually means: - The chart refresh didn't work - check if refresh button > still appears - Google Sheets data didn't update - check the Write Data node > output - Chart is not properly linked to the spreadsheet - Try refreshing the > chart manually once to test the connection > [accordion] Can I use this with other ad platforms? > > Yes! Replace the Google Ads node with: - **Meta Ads Get Report** for > Facebook/Instagram ads - **LinkedIn Ads Get Report** for LinkedIn campaigns - > **Microsoft Ads Get Report** for Bing ads - **Google Analytics Get Report** > for website data All other steps remain the same. > [accordion] How do I schedule this to run automatically? > > Add a **Scheduler** node at the beginning: - Connect it to your first data > node (Google Ads, etc.) - Set frequency (daily, weekly, monthly) - Choose > day/time that works for your reporting schedule - Make sure your workflow is > set to "Active" > [accordion] Can I update multiple presentations with one workflow? > > Yes, but you'll need separate Google Slides nodes for each presentation: - Use > the same data nodes (Google Ads, AI, etc.) - Add multiple Update Table/Replace > Text nodes - Configure each with different presentation URLs - All will update > when the workflow runs *** ## What's Next? Now you know how to automate the core elements of any marketing report: **Apply to Other Channels:** * Use **Meta Ads Get Report** instead of Google Ads * Use **Google Analytics Get Report** for website data * Use **LinkedIn Ads Get Report** for B2B campaigns **Advanced Elements:** * **Comparison tables** (this month vs last month) * **Conditional formatting** based on performance * **Image automation** with AI-generated visuals The key is starting with one element, getting it working, then adding more. Each element follows the same pattern: data → processing → update slide. # Combine Multi-Platform Ad Data for Google Slides Source: https://docs.markifact.com/guides/combine-multi-platform-data-slides Learn how to blend data from Google Ads, Meta Ads, LinkedIn Ads, and other platforms into unified tables and insights for your slide presentations. Building comprehensive marketing reports means combining data from multiple advertising platforms. Instead of managing separate Google Ads, Meta Ads, and LinkedIn Ads reports, this guide shows you how to create unified cross-platform tables and insights that automatically update in Google Slides. *** ## What You'll Build By the end of this guide, you'll have automated workflows that: * **Combine platform data** into unified tables (Google Ads + Meta Ads in one table) * **Aggregate cross-platform data** into a single view (e.g., total clicks, cost, ROAS) * **Standardize metrics** across platforms (rename fields to match) * **Update Google Slides** with consolidated performance data. *** ## The Manual Problem We're Solving Normally, creating cross-platform reports involves: 1. **Export data** from Google Ads, Meta Ads, LinkedIn Ads separately 2. **Manually rename columns** to match (e.g., "Link Clicks" vs "Clicks") 3. **Copy-paste into spreadsheets** and merge data 4. **Calculate totals and comparisons** manually 5. **Update slides** with new data each reporting period 6. **Repeat every week/month** **This process takes hours and is error-prone.** We're going to automate all of it. *** ## Prerequisites Before starting, ensure you have: * **Google Slides presentation** ready for data * **Connected ad accounts** (Google Ads, Meta Ads, LinkedIn Ads, etc.) * **Basic workflow knowledge** (recommended: complete the [single-platform guide](/guides/automate-ads-reporting-to-slides) first) *** ## Method 1: Simple Merge (Same Column Names) When your platforms return similar column names, you can merge data directly without renaming fields. ### Example: Google Ads + Meta Ads with Matching Columns **Scenario:** You run campaigns on both Google Ads and Meta Ads and want to see all campaign performance in one table in your slides. Both platforms return: `Campaign Name`, `Clicks`, `Impressions`, `Cost` **Workflow Structure:** ``` Google Ads Get Report → → List Merge → Update Table Meta Ads Get Report → ``` ![Example Workflow](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/combine-multi-platforms/merge_tables.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=966bdd4aba638c144be5b4bedec41aa6) ### Step 1: Get Data from Each Platform **Add Google Ads Node:** 1. **Add Node** → **Google Ads** → **Get Report** 2. **Configure** your date range and metrics 3. **Select Metrics:** Clicks, Impressions, Cost 4. **Select Dimensions:** Data Source, Campaign Name **Add Meta Ads Node:** 1. **Add Node** → **Meta Ads** → **Get Report** 2. **Configure** same date range 3. **Select Metrics:** Link Clicks, Impressions, Cost 4. **Select Dimensions:** Data Source, Campaign Name ### Step 2: Merge the Data **Add List Merge Node:** 1. **Add Node** → **List Tools** → **Merge** 2. **Connect** both ad platform outputs 3. **Configure:** * **List 1:** Google Ads output * **List 2:** Meta Ads output ![Merge Lists](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/combine-multi-platforms/merge_lists.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=66bbdcd11ca2e31d72746905f1438f2b) ### Step 3: Update Google Slides **Prepare Your Slide:** 1. **Insert** → **Table** in Google Slides 2. **Right-click** → **Alt text** → Set to `cross_platform_table` Not sure how to set alt text? Check out our previous guide on [getting started with Google Slides.](/guides/automate-ads-reporting-to-slides) **Add Update Table Node:** 1. **Add Node** → **Google Slides** → **Update Table** 2. **Connect** to List Merge output 3. **Configure:** * **Presentation URL:** Your slides URL * **Table Alt Text:** `cross_platform_table` * **Table Data:** Connect merged data ![Update Table](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/combine-multi-platforms/gslides_update_table.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=18f4f83dbedf122158faca679a5474c5) *** ## Method 2: Rename Fields + Merge (Different Column Names) When platforms use different column names for the same metrics, we need to rename them first to ensure consistency. Otherwise, you will get a different field name for each platform, making it messy. ### Example: Standardizing Different Metric Names **The Problem:** Each platform uses different names for the same thing. * **Google Ads:** "Clicks" and "Conversions" * **Meta Ads:** "Link Clicks" and "Purchases" **The Solution:** Rename Meta Ads fields to match Google Ads so you get consistent column names. ### Step 1: Get Data from Each Platform **Add Google Ads Node:** 1. **Add Node** → **Google Ads** → **Get Report** 2. **Configure** your date range 3. **Select Metrics:** Clicks, Cost, Conversions 4. **Select Dimensions:** Data Source, Campaign Name **Add Meta Ads Node:** 1. **Add Node** → **Meta Ads** → **Get Report** 2. **Configure** same date range 3. **Select Metrics:** Link Clicks, Cost, Purchases 4. **Select Dimensions:** Data Source, Campaign Name ### Step 2: Rename Meta Ads Fields to Match Google Ads **Rename Meta Ads Fields:** 1. **Add Node** → **Utilities** → **Rename Conversion Fields** 2. **Connect** to Meta Ads output 3. **Configure field mappings:** * **Link Clicks** → **Clicks** * **Purchases** → **Conversions** *Note: Only rename the fields that differ. Cost, Campaign Name, and Data Source stay the same automatically.* ![Rename Fields](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/combine-multi-platforms/rename_fields.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=a241d88224eed8cd2ad3e81f4d55c8d9) ### Step 3: Merge Standardized Data **Add List Merge Node:** 1. **Add Node** → **List Tools** → **Merge** 2. **Connect** Google Ads output and renamed Meta Ads output 3. **Merge Type:** Combine **Result:** Now both platforms have consistent column names: `Data Source`, `Campaign Name`, `Clicks`, `Conversions`, `Cost` ![Merge Lists](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/combine-multi-platforms/merged_table.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=a00438d474dc113cc19f8da418a294e3) *** ## Method 3: AI Aggregation (Cross-Platform Totals) Use AI to aggregate data across platforms and create summary insights with totals and comparisons. ### Example: Combined Performance Summary **The Goal:** Instead of seeing individual campaign rows, create one summary showing your total advertising performance across all platforms. Perfect for executive dashboards where you want to show: * **Total advertising spend** across all channels * **Total Scorecards** (clicks, conversions, ctr) * **Ecommerce ROAS** (take revenue from Shopify and Cost from ads) ### Step 1: Collect Data Pull data from each platform you want to include in your summary. The AI will handle standardizing field names automatically. ### Step 2: AI Aggregation **Add AI Analyze Data Node:** 1. **Add Node** → **AI** → **Analyze Data** 2. **Connect** Google Ads and Meta Ads outputs 3. **Configure:** **Data:** * **Google Ads:** Connect Google Ads output * **Meta Ads:** Connect Meta Ads output **Prompt:** ``` Aggregate this cross-platform advertising data according to the schema provided. Format large numbers with K notation (10,000 = 10K) and use $ for costs. ``` **Force Python Execution:** this will ensure the AI use code to do the calculations and avoid any hallucinations. **Schema Fields:** * `cost` (text) - "the sum of spend/costs fields" * `clicks` (text) - "the sum of clicks fields" * `impressions` (text) - "the sum of impressions fields" * `conversions` (text) - "the sum of conversions fields" * `ctr` (text) - "(the sum of clicks fields) divided by (the sum of impressions fields). Add % sign to the number" ![AI Aggregation](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/guides/combine-multi-platforms/ai_aggregate.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=9c46b9c9629dfd3f33e751cb5c562d0d) ### Step 3: Update Slides with Summary **Create Summary Table:** 1. **Add Node** → **Google Slides** → **Update Table** 2. **Connect** to AI aggregation output 3. **Table Alt Text:** `platform_summary_table` **Result:** A single row showing your total cross-platform performance: | Cost | Clicks | Impressions | Conversions | CTR | | - | - | - | - | - | | \$4.3K | 2.15K | 83K | 77 | 2.6% | This summary is perfect for executive dashboards or high-level performance reviews. *** ## Which Method Should You Use? Choose the right approach based on what you want to show in your slides: | **Method** | **Best For** | **Result** | | - | - | - | | **Method 1: Simple Merge** | Campaign-level analysis | One table with all campaigns from both platforms | | **Method 2: Rename + Merge** | When platforms use different field names | Standardized table with consistent column names | | **Method 3: AI Aggregation** | Executive summaries and totals | Single row with combined performance across all platforms | *** ## Troubleshooting > [accordion] Merge not working - getting inconsistent columns > > Common causes: > > * **Field name mismatches** (check rename configuration) > * **Different date ranges** between platforms > * **Platform connection issues** (test individual nodes first) > * **Data format differences** (dates, currencies, numbers) > [accordion] AI aggregation returning wrong calculations > > Issues to check: > > * **Force Python Execution** is enabled > * **Data format consistency** between platforms > * **Prompt clarity** - be more specific about calculations > > **Solution:** Simplify the prompt, test with sample data, and gradually add complexity. > [accordion] Slides not updating with merged data > > Check these: > > * **Alt text matches exactly** (case-sensitive) > * **Table size** can accommodate all platform data > * **Data structure** - ensure merged data is properly formatted > * **Connection order** - make sure data flows correctly through merge node > > **Solution:** Test with single platform first, then add merge step. > [accordion] Different platforms have different metrics > > When platforms measure things differently: > > * **Map similar metrics** (Link Clicks → Clicks) > * **Document differences** in your presentation > * **Use AI to explain** metric differences in insights > * **Consider separate sections** for platform-specific metrics > > **Solution:** Focus on comparable metrics only, or create separate analysis for platform-specific insights. # Introduction Source: https://docs.markifact.com/index Build marketing workflows with AI copilot, run tasks with AI agents, and use Markifact from your favorite AI tools via MCP, all in one platform. Welcome to [Markifact](https://www.markifact.com) Docs — the AI marketing automation platform built for performance-driven teams. Build marketing workflows with AI copilot, run tasks with AI agents, and use your favorite AI tools via MCP, all in one platform. *** ## Three ways to automate your marketing Whether you need a quick task done, a structured recurring process, or Markifact inside the AI tool you already use, Markifact has you covered. All three run the same 1000+ operations. > [card] [AI Agents](/core-concepts/agent) > > **Ask. Approve. Done.** > > Describe any marketing task and the AI handles the rest. Build campaigns, add negative keywords, create presentations, and more. > > * 1000+ operations across all major ad platforms > * Human-in-the-loop, nothing goes live without approval > * Model agnostic: Claude, GPT, Gemini, or your own key > * Reach it from web, Slack, WhatsApp, or API, on demand or scheduled > [card] [Workflows](/quickstart) > > **Structured, multi-step automation** > > Build once, run forever. Automate weekly reports, budget alerts, and bulk ad creation across all platforms. > > * Describe what you want and the AI Copilot builds the workflow > * 100+ ready-made templates to launch in minutes > * Drag-and-drop visual canvas, no code needed > * Shared workspaces and folders for team collaboration > [card] [MCP](/core-concepts/mcp) > > **Markifact inside your AI tool** > > Use Markifact's operations from Claude, ChatGPT, Cursor, and any MCP-compatible client, without leaving the chat. > > * Pull reports and run campaigns from your AI tool > * Connect in minutes with OAuth or a token > * Fine-grained operation and connection permissions > * Uses the same connections you already set up > [!NOTE] > > Not sure which to use? See [Agent vs MCP vs Workflow](/core-concepts/agent-vs-mcp-vs-workflow) for a side-by-side guide. *** ## Who is Markifact for? * Marketing teams running paid campaigns across Meta, Google, TikTok, and more. * Performance marketers who need better reporting, faster iterations, and less manual work. * Agencies and freelancers managing multiple ad accounts or clients. * Founders and growth leads who want to automate execution without hiring full teams. *** ## Getting Started > [card] [Quick Start](/quickstart) > > Build your first automated marketing workflow in under 10 minutes. > [card] [Core Concepts](/core-concepts/glossary) > > Learn how flows, nodes, and triggers work together to power your automations. *** Ready to automate your marketing? [Get started →](/quickstart) # Get Report Source: https://docs.markifact.com/nodes/adjust/adjust_get_report Retrieves Adjust mobile analytics data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Adjust mobile analytics data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including performance, installs, revenue, cohort, SKAdNetwork, and fraud. | | | | - | - | | **App** | Adjust | | **Operation ID** | `adjust_get_report` | | **Type** | Action | | **Connection** | `adjust` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | AdjustReportOptions | No | - | Additional options for the report. | ### AdjustReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `attribution_types` | string | No | - | Which touch types to include in attribution. Comma-separated combination of: click, engaged\_click, engaged\_impression. Defaults to 'click,engaged\_click,engaged\_impression'. | | `attribution_source` | string | No | - | Attribution source to use. 'dynamic' uses the most granular available source. Options: dynamic, first | | `reattributed` | string | No | - | Whether to include reattributed users. 'all' includes everyone, 'true' shows only reattributed, 'false' excludes reattributed. | | `ad_spend_mode` | string | No | - | How ad spend is reported. 'mixed' combines network and Adjust-measured spend (default), 'network' uses network-reported spend only, 'adjust' uses Adjust-measured spend only. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Installs' instead of 'installs'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2024-01-01", "network": "Facebook", "installs": 500, "clicks": 25000, "cost": 200.0 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/adjust/adjust_list_report_fields Search and browse available Adjust reporting metrics and dimensions before running reports Search and browse available Adjust reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(installs|cost).*'}]. | | | | - | - | | **App** | Adjust | | **Operation ID** | `adjust_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Select Accounts Source: https://docs.markifact.com/nodes/adjust/adjust_select_accounts Select Adjust apps once and reuse them across multiple adjust_get_report nodes — no repeated account selection Select Adjust apps once and reuse them across multiple adjust\_get\_report nodes — no repeated account selection. You can also select and list all available apps. Skip if you have just one adjust\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Adjust | | **Operation ID** | `adjust_select_accounts` | | **Type** | Action | | **Connection** | `adjust` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of apps with label (app name) and value (app token). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Create Project Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_create_project Create a project in the connected Ahrefs workspace for a domain or URL (the same project powers Rank Tracker and Site Audit), with access level, owner and folder Create a project in the connected Ahrefs workspace for a domain or URL (the same project powers Rank Tracker and Site Audit), with access level, owner and folder. Free: does not consume API units, but projects count against the Ahrefs plan's project quota. Then add keywords with ahrefs\_manage\_tracked\_keywords. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_create_project` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_name` | string | Yes | - | Name of the new project. | | `url` | string | Yes | - | Target domain or URL of the project (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How the target is interpreted: 'subdomains' (default), 'domain', 'prefix' or 'exact'. | | `protocol` | string or SelectableOption | No | `both` | Protocol of the target: 'both' (default), 'https' or 'http'. | | `access` | string or SelectableOption | No | `shared` | 'shared' (default) makes the project visible to the whole Ahrefs workspace; 'private' only to its owner. | | `owned_by` | string | No | - | Email of the Ahrefs workspace member who should own the project. Defaults to the workspace owner. | | `folder_id` | integer | No | - | Folder to place the project in (the id in the Ahrefs folder URL). Leave empty for no folder. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the created project: project\_id, project\_name, url, mode, protocol, access, verified, folder, owned\_by, keyword\_count, web\_analytics\_data\_key. **Fields**: `project_id`, `project_name`, `url`, `mode`, `protocol`, `access`, `verified`, `folder`, `owned_by`, `keyword_count` **Example**: ```json theme={"dark"} [ { "project_id": "8123456", "project_name": "Client A", "url": "clienta.com/", "mode": "subdomains", "protocol": "both", "access": "shared" } ] ``` # Delete Project Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_delete_project Permanently delete one or more Ahrefs projects, including their Rank Tracker keywords, Site Audit crawls and history Permanently delete one or more Ahrefs projects, including their Rank Tracker keywords, Site Audit crawls and history. Free: does not consume API units. This cannot be undone. Ahrefs answers with the projects that remain. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_delete_project` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_ids` | array of string or string | Yes | - | Numeric IDs of the projects to delete permanently, as a list or comma-separated string. Deleting a project removes its Rank Tracker keywords, Site Audit crawls and history. | ## Output **Type**: `List[Dict]` Returns the projects remaining in the workspace after deletion, as Ahrefs reports them: project\_id, project\_name, url, mode, protocol, access, verified, folder, owned\_by, keyword\_count. **Fields**: `project_id`, `project_name`, `url`, `mode`, `protocol`, `access` **Example**: ```json theme={"dark"} [ { "project_id": "7297356", "project_name": "Marketingauditor", "url": "marketingauditor.com/", "mode": "subdomains", "protocol": "both", "access": "shared" } ] ``` # Find Keyword Ideas Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_find_keyword_ideas Discover keyword ideas from seed keywords using Ahrefs Keywords Explorer: matching terms (optionally questions only or exact phrase), related terms (what top pages also rank for or talk about), or ... Discover keyword ideas from seed keywords using Ahrefs Keywords Explorer: matching terms (optionally questions only or exact phrase), related terms (what top pages also rank for or talk about), or search suggestions, with volume, difficulty, CPC and more. Use ahrefs\_get\_keyword\_overview for metrics on known keywords. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_find_keyword_ideas` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Seed keywords to generate ideas from. Accepts a list or a newline/comma-separated string. | | `country` | string or SelectableOption | No | `us` | Two-letter country code for search volume and SERP data (e.g. us, gb, de). Defaults to us. | | `idea_source` | string or SelectableOption | No | `matching_terms` | Which Keywords Explorer ideas report to use: 'matching\_terms' (keywords containing the seed words), 'related\_terms' (keywords the top-ranking pages also rank for or talk about), or 'search\_suggestions' (autocomplete suggestions). | | `questions_only` | boolean | No | `False` | Return only keyword ideas phrased as questions. Applies to matching\_terms only. | | `match_mode` | string or SelectableOption | No | `terms` | 'terms' matches the seed words in any order, 'phrase' matches them in the exact order. Applies to matching\_terms only. | | `related_terms_type` | string or SelectableOption | No | `all` | 'also\_rank\_for' (keywords the top pages also rank for), 'also\_talk\_about' (keywords frequently mentioned in the top pages), or 'all'. Applies to related\_terms only. | | `view_for` | string or SelectableOption | No | `top_10` | Derive related terms from the top 10 or top 100 ranking pages. Applies to related\_terms only. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return (keyword is always included). Available: volume, volume\_monthly, global\_volume, difficulty, cpc (USD), cps, traffic\_potential, intents, parent\_topic, serp\_features, serp\_last\_update, first\_seen, volume\_desktop\_pct, volume\_mobile\_pct. Ahrefs API unit cost per row: volume, volume\_monthly, global\_volume, difficulty, traffic\_potential and intents cost 10 units each, the rest 1. Defaults to volume, difficulty, cpc, parent\_topic. | | `filters` | array of FilterItem | No | - | Filters on the available metrics, e.g. volume GREATER\_THAN 500 or keyword CONTAINS 'best' (volume\_monthly and intents cannot be filtered on). Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more metrics (volume\_monthly is not sortable). | | `limit` | integer | No | `100` | Maximum number of ideas to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword idea with the selected Ahrefs fields: keyword, volume, volume\_monthly, global\_volume, difficulty, cpc (USD), cps, traffic\_potential, intents (comma-separated), parent\_topic, serp\_features (comma-separated), serp\_last\_update, first\_seen, volume\_desktop\_pct, volume\_mobile\_pct. **Fields**: `keyword`, `volume`, `difficulty`, `cpc`, `parent_topic` **Example**: ```json theme={"dark"} [ { "keyword": "best seo tools", "volume": 18000, "difficulty": 78, "cpc": 9.5, "parent_topic": "seo tools" }, { "keyword": "free seo tools", "volume": 12000, "difficulty": 61, "cpc": 4.1, "parent_topic": "free seo tools" } ] ``` # Get Anchors Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_anchors List the anchor texts used in backlinks to a target from Ahrefs Site Explorer, with referring domains and pages, link counts, dofollow links, new and lost links and the top Domain Rating per anchor List the anchor texts used in backlinks to a target from Ahrefs Site Explorer, with referring domains and pages, link counts, dofollow links, new and lost links and the top Domain Rating per anchor. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_anchors` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to list backlink anchor texts for (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `history` | string or SelectableOption | No | `all_time` | 'live' counts only currently live backlinks; 'all\_time' also includes lost ones. Ignored when since\_date is set. | | `since_date` | string | No | - | Include backlinks lost since this date (YYYY-MM-DD) in addition to live ones. Overrides history. | | `metrics` | array of string or SelectableOption | No | - | Columns to return (anchor is always included). Available: refdomains, refpages, links\_to\_target, dofollow\_links, new\_links, lost\_links, top\_domain\_rating, first\_seen, last\_seen, is\_spam. Ahrefs API unit cost per row: refdomains costs 5 units, the rest 1. Defaults to refdomains, refpages, links\_to\_target, dofollow\_links, top\_domain\_rating. | | `filters` | array of FilterItem | No | - | Filters on the available columns, e.g. refdomains GREATER\_THAN 5 or anchor CONTAINS 'brand'. Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more columns. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per anchor text with the selected Ahrefs fields: anchor, refdomains, refpages, links\_to\_target, dofollow\_links, new\_links, lost\_links, top\_domain\_rating, first\_seen, last\_seen, is\_spam. **Fields**: `anchor`, `refdomains`, `refpages`, `links_to_target`, `dofollow_links`, `top_domain_rating` **Example**: ```json theme={"dark"} [ { "anchor": "ahrefs", "refdomains": 18234, "refpages": 91022, "links_to_target": 120453, "dofollow_links": 88210, "top_domain_rating": 99.0 } ] ``` # Get API Usage Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_api_usage Get the Ahrefs subscription plan and API unit limits, usage and remaining units for the connected workspace and API key, plus the usage reset date and key expiry Get the Ahrefs subscription plan and API unit limits, usage and remaining units for the connected workspace and API key, plus the usage reset date and key expiry. Free: this request does not consume API units. Use it to check the remaining allowance before running unit-heavy Ahrefs reports. All Ahrefs tools need a Markifact connection holding an API key from an Ahrefs Lite plan or higher. Tools not marked free consume Ahrefs API units from that plan: at least 50 per request, and more per row for volume, traffic, cost, difficulty and referring-domain fields, so select only the fields you need. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_api_usage` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `List[Dict]` Returns a single row: subscription, units\_limit\_workspace, units\_usage\_workspace, units\_remaining\_workspace, units\_limit\_api\_key (null when uncapped), units\_usage\_api\_key, units\_remaining\_api\_key, usage\_reset\_date, api\_key\_expiration\_date. **Fields**: `subscription`, `units_limit_workspace`, `units_usage_workspace`, `units_remaining_workspace`, `units_limit_api_key`, `units_usage_api_key`, `units_remaining_api_key`, `usage_reset_date`, `api_key_expiration_date` **Example**: ```json theme={"dark"} [ { "subscription": "Lite, billed monthly", "units_limit_workspace": 100000, "units_usage_workspace": 1250, "units_remaining_workspace": 98750 } ] ``` # Get Backlinks Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_backlinks List backlinks pointing to a domain, subfolder or URL from Ahrefs Site Explorer (all backlinks, live only, lost since a date, or the broken backlinks report), with referring page, anchor, Domain Ra... List backlinks pointing to a domain, subfolder or URL from Ahrefs Site Explorer (all backlinks, live only, lost since a date, or the broken backlinks report), with referring page, anchor, Domain Rating, URL Rating, link attributes and dates. Use ahrefs\_get\_referring\_domains for the domain-level view and ahrefs\_get\_anchors for anchor text. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_backlinks` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to list backlinks for (e.g. example.com, example.com/blog/post). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `report` | string or SelectableOption | No | `all` | 'all' lists every backlink (live plus lost, see history); 'broken' lists only backlinks pointing to pages that return errors or redirects. | | `history` | string or SelectableOption | No | `all_time` | 'live' returns only currently live backlinks; 'all\_time' also includes lost backlinks. Ignored for the broken report and when since\_date is set. | | `since_date` | string | No | - | Include backlinks lost since this date (YYYY-MM-DD) in addition to live ones. Overrides history. Ignored for the broken report. | | `aggregation` | string or SelectableOption | No | `similar_links` | How to group backlinks: 'similar\_links' (group near-duplicate links, default), '1\_per\_domain' (one link per referring domain), or 'all' (every link). | | `metrics` | array of string or SelectableOption | No | - | Columns to return (url\_from is always included). Available for both reports: url\_to, anchor, title, alt, snippet\_left, snippet\_right, domain\_rating\_source, url\_rating\_source, ahrefs\_rank\_source, traffic, traffic\_domain, refdomains\_source, positions, links\_external, links\_internal, is\_dofollow, is\_nofollow, is\_sponsored, is\_ugc, is\_redirect, is\_spam, is\_content, is\_image, is\_text, link\_type, http\_code, first\_seen, first\_seen\_link, last\_seen, last\_visited, languages, page\_type\_source, name\_source, root\_name\_source, name\_target, root\_name\_target, link\_group\_count, url\_redirect, redirect\_code, powered\_by. Only for report 'all': is\_lost, is\_new, lost\_reason, drop\_reason, discovered\_status. Only for report 'broken': http\_code\_target, last\_visited\_target. Ahrefs API unit cost per row: traffic and traffic\_domain cost 10 units, refdomains\_source 5, the rest 1. Defaults to url\_to, anchor, title, domain\_rating\_source, url\_rating\_source, is\_dofollow, link\_type, first\_seen, last\_seen. | | `filters` | array of FilterItem | No | - | Filters on the available columns, e.g. domain\_rating\_source GREATER\_THAN 30 or is\_dofollow EQUALS true. Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more columns. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per backlink with the selected Ahrefs fields: url\_from, url\_to, anchor, title, domain\_rating\_source, url\_rating\_source, traffic, traffic\_domain, is\_dofollow, is\_nofollow, is\_sponsored, is\_ugc, is\_lost, is\_new, link\_type, http\_code, first\_seen, last\_seen and more (http\_code\_target and last\_visited\_target for the broken report). **Fields**: `url_from`, `url_to`, `anchor`, `title`, `domain_rating_source`, `url_rating_source`, `is_dofollow`, `link_type`, `first_seen`, `last_seen` **Example**: ```json theme={"dark"} [ { "url_from": "https://www.example.org/seo-tools", "url_to": "https://ahrefs.com/", "anchor": "Ahrefs", "title": "Best SEO tools", "domain_rating_source": 72.0, "url_rating_source": 18.0 } ] ``` # Get Domain Overview Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_domain_overview Get an SEO snapshot for up to 100 domains or URLs per request from Ahrefs Batch Analysis: Domain Rating, Ahrefs Rank, backlinks, referring domains, organic keywords by position bucket, organic traf... Get an SEO snapshot for up to 100 domains or URLs per request from Ahrefs Batch Analysis: Domain Rating, Ahrefs Rank, backlinks, referring domains, organic keywords by position bucket, organic traffic and value, paid search metrics, and optional AI citation counts. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_domain_overview` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targets` | array of string or string | Yes | - | Domains or URLs to analyse (e.g. example.com, blog.example.com, `https://example.com/pricing`). Accepts a list or a newline/comma-separated string. Ahrefs analyses up to 100 targets per request; longer lists are split into several requests. One row is returned per target. | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret each target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `country` | string or SelectableOption | No | - | Two-letter country code (e.g. us, gb, de) to restrict organic and paid search metrics to one country. Leave empty for worldwide totals. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return (url is always included). Available: domain\_rating, ahrefs\_rank, url\_rating, backlinks, backlinks\_dofollow, backlinks\_nofollow, backlinks\_internal, backlinks\_redirect, refdomains, refdomains\_dofollow, refdomains\_nofollow, refips, refips\_subnets, linked\_domains, linked\_domains\_dofollow, outgoing\_links, outgoing\_links\_dofollow, org\_keywords, org\_keywords\_1\_3, org\_keywords\_4\_10, org\_keywords\_11\_20, org\_keywords\_21\_50, org\_keywords\_51\_plus, org\_traffic, org\_cost, org\_traffic\_top\_by\_country, paid\_keywords, paid\_traffic, paid\_cost, paid\_ads, ip. Each selected field adds to the Ahrefs API unit cost per row: org\_traffic, org\_cost, paid\_traffic, paid\_cost and org\_traffic\_top\_by\_country cost 10 units, refdomains fields cost 5, the rest cost 1. Defaults to domain\_rating, ahrefs\_rank, backlinks, refdomains, org\_keywords, org\_traffic, org\_cost, paid\_keywords, paid\_traffic. | | `top_countries` | integer | No | - | Number of countries to include in org\_traffic\_top\_by\_country (1 to 10, Ahrefs default 1). Only used when that metric is selected. | | `include_ai_citations` | boolean | No | `False` | Also return ai\_citations (links to the target in AI answers) and ai\_cited\_pages (distinct pages cited) across ChatGPT, Google AI Overviews, AI Mode, Gemini, Perplexity, Copilot, Claude and Grok combined. Makes one extra Ahrefs request per target (about 50 API units each). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per target with url plus the selected metrics using Ahrefs field names: domain\_rating, ahrefs\_rank, url\_rating, backlinks, refdomains, org\_keywords (and position buckets), org\_traffic, org\_cost (USD), org\_traffic\_top\_by\_country, paid\_keywords, paid\_traffic, paid\_cost (USD), paid\_ads, ip, and ai\_citations / ai\_cited\_pages when include\_ai\_citations is on. **Fields**: `url`, `domain_rating`, `ahrefs_rank`, `backlinks`, `refdomains`, `org_keywords`, `org_traffic`, `org_cost`, `paid_keywords`, `paid_traffic`, `ai_citations`, `ai_cited_pages` **Example**: ```json theme={"dark"} [ { "url": "ahrefs.com/", "domain_rating": 91.0, "ahrefs_rank": 616, "backlinks": 25909669, "refdomains": 112947, "org_keywords": 25279 } ] ``` # Get Keyword Overview Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_keyword_overview Get Ahrefs Keywords Explorer metrics for a list of keywords in one country: search volume, keyword difficulty, CPC, clicks, traffic potential, search intents, parent topic and SERP features Get Ahrefs Keywords Explorer metrics for a list of keywords in one country: search volume, keyword difficulty, CPC, clicks, traffic potential, search intents, parent topic and SERP features. Use ahrefs\_find\_keyword\_ideas to discover new keywords and ahrefs\_get\_serp\_overview to see who ranks. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_keyword_overview` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to look up. Accepts a list or a newline/comma-separated string. Ahrefs is queried in batches of 100 keywords; one row is returned per keyword Ahrefs has data for. | | `country` | string or SelectableOption | No | `us` | Two-letter country code for search volume and SERP data (e.g. us, gb, de). Defaults to us. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return (keyword is always included). Available: volume, volume\_monthly, global\_volume, difficulty, cpc (USD), clicks, cps, traffic\_potential, intents, parent\_topic, parent\_volume, serp\_features, serp\_last\_update, first\_seen, volume\_desktop\_pct, volume\_mobile\_pct, searches\_pct\_clicks\_organic\_only, searches\_pct\_clicks\_paid\_only, searches\_pct\_clicks\_organic\_and\_paid. Ahrefs API unit cost per row: volume, volume\_monthly, global\_volume, difficulty, traffic\_potential, intents and parent\_volume cost 10 units each, the rest 1. Defaults to volume, difficulty, cpc, clicks, traffic\_potential, intents, parent\_topic, serp\_features. | | `filters` | array of FilterItem | No | - | Filters on the available metrics, e.g. volume GREATER\_THAN 1000 (volume\_monthly, intents and the click-share fields cannot be filtered on). Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more metrics (volume\_monthly is not sortable). | | `limit` | integer | No | - | Maximum number of rows to return. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with the selected Ahrefs fields: keyword, volume, volume\_monthly, global\_volume, difficulty, cpc (USD), clicks, cps, traffic\_potential, intents (comma-separated), parent\_topic, parent\_volume, serp\_features (comma-separated), serp\_last\_update, first\_seen, volume\_desktop\_pct, volume\_mobile\_pct. **Fields**: `keyword`, `volume`, `difficulty`, `cpc`, `clicks`, `traffic_potential`, `intents`, `parent_topic`, `serp_features` **Example**: ```json theme={"dark"} [ { "keyword": "seo tools", "volume": 434000, "difficulty": 25, "cpc": 5.7, "clicks": 310000, "traffic_potential": 129000 } ] ``` # Get Keyword Volume History Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_keyword_volume_history Get search volume trends for keywords from Ahrefs Keywords Explorer: monthly volume in one country over a period (seasonality), or average monthly volume per country (market sizing) Get search volume trends for keywords from Ahrefs Keywords Explorer: monthly volume in one country over a period (seasonality), or average monthly volume per country (market sizing). One request per keyword. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_keyword_volume_history` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to look up. Accepts a list or a newline/comma-separated string. One Ahrefs request per keyword (minimum 50 API units each). | | `breakdown` | string or SelectableOption | No | `monthly` | 'monthly' (default): search volume per month in one country over a period. 'by\_country': average monthly volume per country (10 units per country row). | | `country` | string or SelectableOption | No | `us` | Two-letter country code for the monthly breakdown (e.g. us, gb, de). Defaults to us. Ignored for by\_country. | | `date_from` | string | No | - | Monthly breakdown: start month in YYYY-MM-DD format. Leave empty for the full history Ahrefs has. | | `date_to` | string | No | - | Monthly breakdown: end month in YYYY-MM-DD format. Defaults to the latest month. | | `limit` | integer | No | - | by\_country: maximum number of countries per keyword, largest first. Leave empty for all. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword and month (keyword, date, volume) for the monthly breakdown, or per keyword and country (keyword, country, volume) for by\_country. **Fields**: `keyword`, `date`, `volume` **Example**: ```json theme={"dark"} [ { "keyword": "ahrefs", "date": "2026-07-01T00:00:00Z", "volume": 80770 }, { "keyword": "ahrefs", "date": "2026-08-01T00:00:00Z", "volume": 77317 } ] ``` # Get Locations Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_locations List the Rank Tracker locations (country, regions, cities with their location IDs) and languages Ahrefs supports for a country List the Rank Tracker locations (country, regions, cities with their location IDs) and languages Ahrefs supports for a country. Free: does not consume API units. Use the IDs and codes with ahrefs\_manage\_tracked\_keywords to track keywords at city or region level. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_locations` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `country` | string or SelectableOption | Yes | - | Two-letter country code (e.g. us, gb, de) to list Rank Tracker locations and languages for. | | `us_state` | string | No | - | Two-letter US state code (e.g. ny, ca). Required when country is us, since Ahrefs lists US locations per state. | | `search` | string | No | - | Only return locations and languages whose name contains this text (case-insensitive), e.g. 'London'. Leave empty for the full list, which can be thousands of rows. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per language (kind 'language', id is the language code) and per location (kind 'location', id is the numeric location ID): kind, country, id, name. **Fields**: `kind`, `country`, `id`, `name` **Example**: ```json theme={"dark"} [ { "kind": "language", "country": "gb", "id": "en", "name": "English" } ] ``` # Get Metrics By Country Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_metrics_by_country Break down a domain or URL's organic and paid search metrics by country from Ahrefs Site Explorer: keywords, top-3 keywords, traffic, traffic value, paid keywords, paid pages, paid traffic and cost Break down a domain or URL's organic and paid search metrics by country from Ahrefs Site Explorer: keywords, top-3 keywords, traffic, traffic value, paid keywords, paid pages, paid traffic and cost. Traffic and cost fields cost 10 units per country row. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_metrics_by_country` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to break down by country (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today (latest data). | | `metrics` | array of string or SelectableOption | No | - | Metrics to return per country (country is always included). Available: org\_keywords, org\_keywords\_1\_3, org\_traffic, org\_cost (USD), paid\_keywords, paid\_pages, paid\_traffic, paid\_cost (USD). Ahrefs API unit cost per row: org\_traffic, org\_cost, paid\_traffic and paid\_cost cost 10 units each, the rest 1. Defaults to all of them. | | `limit` | integer | No | - | Maximum number of countries to return, ordered by organic traffic. Leave empty for all countries with data. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per country with country plus the selected fields: org\_keywords, org\_keywords\_1\_3, org\_traffic, org\_cost (USD), paid\_keywords, paid\_pages, paid\_traffic, paid\_cost (USD). **Fields**: `country`, `org_keywords`, `org_keywords_1_3`, `org_traffic`, `org_cost`, `paid_keywords`, `paid_pages`, `paid_traffic`, `paid_cost` **Example**: ```json theme={"dark"} [ { "country": "US", "org_keywords": 24739, "org_keywords_1_3": 9835, "org_traffic": 5168733, "org_cost": 7384141.91, "paid_keywords": 53 } ] ``` # Get Metrics History Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_metrics_history Get a time series for a domain or URL from Ahrefs Site Explorer: organic and paid traffic and value, ranking keywords by position bucket, referring domains, Domain Rating, URL Rating, ranking pages... Get a time series for a domain or URL from Ahrefs Site Explorer: organic and paid traffic and value, ranking keywords by position bucket, referring domains, Domain Rating, URL Rating, ranking pages, or total search volume, grouped daily, weekly or monthly. Every data point is a billed row (10 units per traffic or cost metric, 5 for referring domains, 1 otherwise). | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_metrics_history` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to get history for (e.g. example.com). url\_rating needs a page URL. | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). Ignored for domain\_rating and url\_rating. | | `metric_group` | string or SelectableOption | No | `traffic_and_cost` | Which history to return: 'traffic\_and\_cost' (org\_traffic, org\_cost, paid\_traffic, paid\_cost; 10 units per metric per row), 'keywords\_by\_position' (ranking keywords in top3, top4\_10, top11\_20, top21\_50, top51\_plus), 'referring\_domains' (5 units per row), 'domain\_rating', 'url\_rating', 'pages' (ranking pages), or 'total\_search\_volume' (10 units per row). | | `country` | string or SelectableOption | No | - | Two-letter country code to restrict to one country. Leave empty for all countries. Applies to traffic\_and\_cost, keywords\_by\_position, pages and total\_search\_volume. | | `date_from` | string | Yes | - | Start of the period in YYYY-MM-DD format. | | `date_to` | string | No | - | End of the period in YYYY-MM-DD format. Defaults to today. | | `grouping` | string or SelectableOption | No | `monthly` | Time interval of the data points: 'monthly' (default), 'weekly' or 'daily'. Every data point is a billed row. | | `page_positions` | string or SelectableOption | No | `top100` | For metric\_group 'pages': count pages ranking in the 'top100' (default) or only the 'top10'. | | `top_positions` | string or SelectableOption | No | `top_10` | For metric\_group 'total\_search\_volume': sum the volume of keywords the target ranks for in the 'top\_10' (default) or 'top\_100'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per period with date plus the metric group's fields: org\_traffic, org\_cost (USD), paid\_traffic, paid\_cost (USD) | top3, top4\_10, top11\_20, top21\_50, top51\_plus | refdomains | domain\_rating | url\_rating | pages | total\_search\_volume. **Fields**: `date`, `org_traffic`, `org_cost`, `paid_traffic`, `paid_cost` **Example**: ```json theme={"dark"} [ { "date": "2026-07-01T00:00:00Z", "org_traffic": 2396849, "org_cost": 4613286.26, "paid_traffic": 8612, "paid_cost": 36468.81 } ] ``` # Get Organic Competitors Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_organic_competitors Find the domains (or pages, with an exact URL target) competing with a target in Google organic search according to Ahrefs, with common and unique keyword counts, share, Domain Rating, traffic and ... Find the domains (or pages, with an exact URL target) competing with a target in Google organic search according to Ahrefs, with common and unique keyword counts, share, Domain Rating, traffic and traffic value. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_organic_competitors` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain or URL to find organic search competitors for (e.g. example.com). Use mode 'exact' with a page URL to get competing pages (competitor\_url) instead of competing domains. | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `country` | string or SelectableOption | No | `us` | Two-letter country code (e.g. us, gb, de). Required by Ahrefs for this report; defaults to us. | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today (latest data). | | `date_compared` | string | No | - | Optional earlier date in YYYY-MM-DD format to compare against; enables the \*\_prev and \*\_diff metrics. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return. Available: competitor\_domain, competitor\_url (pages mode), domain\_rating, keywords\_common, keywords\_competitor, keywords\_target, share, pages, pages\_prev, pages\_diff, traffic, traffic\_prev, traffic\_diff, value (USD), value\_prev, value\_diff. Ahrefs API unit cost per row: traffic, traffic\_prev, value and value\_prev cost 10 units, the rest 1. Defaults to competitor\_domain, domain\_rating, keywords\_common, keywords\_competitor, keywords\_target, share, pages, traffic, value. | | `filters` | array of FilterItem | No | - | Filters on the available metrics, e.g. keywords\_common GREATER\_THAN 100 or domain\_rating GREATER\_THAN 40. Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more metrics. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per competitor with the selected Ahrefs fields: competitor\_domain or competitor\_url, domain\_rating, keywords\_common, keywords\_competitor, keywords\_target, share, pages, traffic, value (USD) and \*\_prev / \*\_diff comparison fields. **Fields**: `competitor_domain`, `domain_rating`, `keywords_common`, `keywords_competitor`, `keywords_target`, `share`, `pages`, `traffic`, `value` **Example**: ```json theme={"dark"} [ { "competitor_domain": "backlinko.com", "domain_rating": 90.0, "keywords_common": 3436, "keywords_competitor": 8279, "keywords_target": 21303, "share": 10.4 } ] ``` # Get Organic Keywords Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_organic_keywords List the organic keywords a domain, subfolder or URL ranks for in Ahrefs Site Explorer with position, ranking URL, volume, difficulty, CPC, traffic and SERP features, optionally compared against an... List the organic keywords a domain, subfolder or URL ranks for in Ahrefs Site Explorer with position, ranking URL, volume, difficulty, CPC, traffic and SERP features, optionally compared against an earlier date. Use ahrefs\_get\_top\_pages for the page-level view. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_organic_keywords` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to pull ranking keywords for (e.g. example.com, example.com/blog/). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `country` | string or SelectableOption | No | - | Two-letter country code (e.g. us, gb, de) to restrict results to one country. Leave empty for all countries. | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today (latest data). | | `date_compared` | string | No | - | Optional earlier date in YYYY-MM-DD format to compare against; enables the \*\_prev and \*\_diff metrics. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return (keyword is always included). Available: best\_position, best\_position\_prev, best\_position\_diff, best\_position\_url, best\_position\_kind, best\_position\_has\_thumbnail, best\_position\_has\_video, volume, volume\_prev, keyword\_difficulty, cpc (USD), sum\_traffic, sum\_traffic\_prev, sum\_paid\_traffic, serp\_features, serp\_features\_count, is\_branded, is\_commercial, is\_informational, is\_local, is\_navigational, is\_transactional, words, language, keyword\_country, last\_update, status (needs date\_compared), all\_positions, entities, serp\_target\_positions\_count, volume\_desktop\_pct, volume\_mobile\_pct. Ahrefs API unit cost per row: volume, volume\_prev, keyword\_difficulty, sum\_traffic, sum\_traffic\_prev and sum\_paid\_traffic cost 10 units each, all\_positions 5, the rest 1. Defaults to best\_position, best\_position\_url, volume, keyword\_difficulty, cpc, sum\_traffic, serp\_features. | | `filters` | array of FilterItem | No | - | Filters on the available metrics, e.g. best\_position LESS\_THAN 11 or volume GREATER\_THAN 1000 (all\_positions cannot be filtered on). Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more metrics. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with the selected Ahrefs fields: keyword, best\_position, best\_position\_url, best\_position\_prev, best\_position\_diff, volume, keyword\_difficulty, cpc (USD), sum\_traffic, serp\_features (comma-separated), intent flags (is\_informational, is\_commercial...), words, last\_update and more. **Fields**: `keyword`, `best_position`, `best_position_url`, `volume`, `keyword_difficulty`, `cpc`, `sum_traffic`, `serp_features` **Example**: ```json theme={"dark"} [ { "keyword": "backlink checker", "best_position": 1, "best_position_url": "https://ahrefs.com/backlink-checker", "volume": 3860000, "keyword_difficulty": 79, "cpc": 3.2 } ] ``` # Get Outgoing Links Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_outgoing_links List where a domain or page links out to, from Ahrefs Site Explorer: linked external domains with Domain Rating and link counts, or the anchor texts of its external or internal links List where a domain or page links out to, from Ahrefs Site Explorer: linked external domains with Domain Rating and link counts, or the anchor texts of its external or internal links. Useful for link audits, affiliate and sponsorship checks and internal anchor analysis. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_outgoing_links` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL whose outgoing links to list (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `report` | string or SelectableOption | No | `linked_domains` | 'linked\_domains' (default): external domains the target links to with link counts and Domain Rating. 'external\_anchors': anchor texts of outbound external links. 'internal\_anchors': anchor texts of internal links. | | `metrics` | array of string or SelectableOption | No | - | Fields to return; the report decides which are valid (domain or anchor is always included). linked\_domains: domain\_rating, links\_from\_target, linked\_pages, dofollow\_links, first\_seen, is\_root\_domain, dofollow\_linked\_domains, dofollow\_refdomains (5 units), linked\_domain\_traffic (10 units). external\_anchors: links\_from\_target, dofollow\_links, linked\_domains, linked\_pages, first\_seen. internal\_anchors: links\_from\_target, dofollow\_links, linked\_pages, first\_seen. Leave empty for a sensible default per report. | | `filters` | array of FilterItem | No | - | Filters on the report's fields, e.g. domain\_rating GREATER\_THAN 50 or anchor CONTAINS 'sponsor'. | | `orders` | array of OrderItem | No | - | Sort by one or more of the report's fields. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per linked domain (domain, domain\_rating, links\_from\_target, linked\_pages, dofollow\_links, first\_seen, is\_root\_domain, dofollow\_linked\_domains, dofollow\_refdomains, linked\_domain\_traffic) or per anchor (anchor, links\_from\_target, dofollow\_links, linked\_domains, linked\_pages, first\_seen), depending on the report. **Fields**: `domain`, `domain_rating`, `links_from_target`, `linked_pages`, `dofollow_links`, `first_seen` **Example**: ```json theme={"dark"} [ { "domain": "google.com", "domain_rating": 99.0, "links_from_target": 1240, "linked_pages": 310, "dofollow_links": 980, "first_seen": "2013-08-19T17:59:53Z" } ] ``` # Get Page Content Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_page_content Get the content of a page as crawled by an Ahrefs Site Audit project: page text as Markdown, plain text, raw HTML or rendered HTML, from the latest or a past crawl Get the content of a page as crawled by an Ahrefs Site Audit project: page text as Markdown, plain text, raw HTML or rendered HTML, from the latest or a past crawl. Fixed cost of 50 Ahrefs API units per request. Only projects with verified ownership are supported. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_page_content` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Site Audit project (numeric ID from the Ahrefs project URL) that crawled the page. Only projects with verified ownership are supported. | | `url` | string | Yes | - | The full URL of the crawled page to retrieve. | | `content` | string or SelectableOption | No | `page_text_md` | What to return: 'page\_text\_md' (page text as Markdown, default), 'page\_text' (plain text), 'raw\_html' or 'rendered\_html'. | | `date` | string | No | - | Crawl to read from, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). Defaults to the most recent crawl. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a single row: url, crawl\_datetime, and one of page\_text\_md, page\_text, raw\_html or rendered\_html depending on the content input. **Fields**: `url`, `crawl_datetime`, `page_text_md` **Example**: ```json theme={"dark"} [ { "url": "https://markifact.com/pricing", "crawl_datetime": "2026-09-01T03:12:44Z", "page_text_md": "# Pricing\n\nSimple pricing for marketing automation..." } ] ``` # Get Pages By Links Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_pages_by_links Rank the pages of a domain by inbound links from Ahrefs Site Explorer: by external backlinks and referring domains (with new and lost links over a period) or by internal links Rank the pages of a domain by inbound links from Ahrefs Site Explorer: by external backlinks and referring domains (with new and lost links over a period) or by internal links. Useful for finding link equity to redistribute and orphaned or broken linked pages. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_pages_by_links` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain or subfolder whose pages to rank by inbound links (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `report` | string or SelectableOption | No | `backlinks` | 'backlinks' (default): pages ranked by external backlinks and referring domains. 'internal\_links': pages ranked by internal links. | | `history` | string or SelectableOption | No | `all_time` | Backlinks report only: 'live' counts only live links, 'all\_time' also includes lost ones. Ignored when since\_date is set. | | `since_date` | string | No | - | Backlinks report only: include links lost since this date (YYYY-MM-DD). Overrides history. | | `metrics` | array of string or SelectableOption | No | - | Fields to return (url\_to is always included). Both reports: title\_target, url\_rating\_target, links\_to\_target, dofollow\_to\_target, nofollow\_to\_target, redirects\_to\_target, first\_seen\_link, last\_seen, last\_visited\_target, http\_code\_target, target\_redirect, languages\_target, powered\_by\_target. Backlinks report only: refdomains\_target (5 units), top\_domain\_rating\_source, new\_links\_to\_target, lost\_links\_to\_target, is\_spam. Internal links report only: canonical\_to\_target. Defaults to title\_target, url\_rating\_target, links\_to\_target, dofollow\_to\_target, refdomains\_target (backlinks) or canonical\_to\_target (internal links), http\_code\_target. | | `filters` | array of FilterItem | No | - | Filters on the report's fields, e.g. links\_to\_target GREATER\_THAN 10 or url\_to CONTAINS '/blog/'. | | `orders` | array of OrderItem | No | - | Sort by one field (http\_code\_target, languages\_target, last\_visited\_target, powered\_by\_target, target\_redirect and title\_target are not sortable). | | `limit` | integer | No | `100` | Maximum number of pages to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per page: url\_to plus the selected fields such as title\_target, url\_rating\_target, links\_to\_target, dofollow\_to\_target, nofollow\_to\_target, redirects\_to\_target, refdomains\_target, top\_domain\_rating\_source, new\_links\_to\_target, lost\_links\_to\_target, canonical\_to\_target (internal links), http\_code\_target, target\_redirect, first\_seen\_link, last\_seen, is\_spam. **Fields**: `url_to`, `title_target`, `url_rating_target`, `links_to_target`, `dofollow_to_target`, `refdomains_target`, `http_code_target` **Example**: ```json theme={"dark"} [ { "url_to": "https://ahrefs.com/backlink-checker", "title_target": "Free Backlink Checker by Ahrefs", "url_rating_target": 27.0, "links_to_target": 812345, "dofollow_to_target": 640120, "refdomains_target": 4887 } ] ``` # Get Paid Pages Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_paid_pages List the landing pages a domain advertises in Google paid search according to Ahrefs Site Explorer, with paid keyword counts, ad counts, paid traffic and cost, top keyword and URL Rating List the landing pages a domain advertises in Google paid search according to Ahrefs Site Explorer, with paid keyword counts, ad counts, paid traffic and cost, top keyword and URL Rating. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_paid_pages` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to list paid search landing pages for (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `country` | string or SelectableOption | No | - | Two-letter country code (e.g. us, gb, de) to restrict results to one country. Leave empty for all countries. | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today (latest data). | | `date_compared` | string | No | - | Optional earlier date in YYYY-MM-DD format to compare against; enables the \*\_prev and \*\_diff metrics. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return (url is always included). Available: keywords, keywords\_prev, keywords\_diff, ads\_count, ads\_count\_prev, ads\_count\_diff, sum\_traffic, sum\_traffic\_prev, traffic\_diff, value (USD), value\_prev, value\_diff, top\_keyword, top\_keyword\_volume, top\_keyword\_best\_position, top\_keyword\_country, ur, referring\_domains, status (needs date\_compared). Ahrefs API unit cost per row: sum\_traffic, sum\_traffic\_prev, value, value\_prev and top\_keyword\_volume cost 10 units, referring\_domains 5, the rest 1. Defaults to keywords, ads\_count, sum\_traffic, value, top\_keyword, top\_keyword\_best\_position, ur. | | `filters` | array of FilterItem | No | - | Filters on the available metrics, e.g. ads\_count GREATER\_THAN 1 or url CONTAINS '/landing/'. Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more metrics. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per paid landing page with the selected Ahrefs fields: url, keywords, ads\_count, sum\_traffic, value (USD), top\_keyword, top\_keyword\_volume, top\_keyword\_best\_position, ur, referring\_domains and \*\_prev / \*\_diff comparison fields. **Fields**: `url`, `keywords`, `ads_count`, `sum_traffic`, `value`, `top_keyword`, `top_keyword_best_position`, `ur` **Example**: ```json theme={"dark"} [ { "url": "https://ahrefs.com/brand-radar", "keywords": 19, "ads_count": 19, "sum_traffic": 59, "value": 41.32, "top_keyword": "brand radar" } ] ``` # Get Rank Tracker Competitors Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_rank_tracker_competitors Get competitor performance from an Ahrefs Rank Tracker project: share of voice, traffic, average position and position buckets per competitor (stats), every competitor's position per tracked keywor... Get competitor performance from an Ahrefs Rank Tracker project: share of voice, traffic, average position and position buckets per competitor (stats), every competitor's position per tracked keyword (keywords), or all domains and pages ranking for the tracked keywords (domains, pages). Free: does not consume API units. The domains and pages reports need competitors added to the project in Ahrefs. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_rank_tracker_competitors` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | | `report` | string or SelectableOption | No | `stats` | 'stats' (default): one row per target and tracked competitor with share of voice, traffic, traffic value, average position, position buckets and SERP feature counts. 'keywords': one row per tracked keyword with every competitor's position in competitors\_list. 'domains' / 'pages': every domain or page ranking for the tracked keywords with share of voice and traffic (needs competitors added to the project). | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today. | | `date_compared` | string | No | - | Earlier date in YYYY-MM-DD format to compare against (keywords, domains and pages reports); enables the \*\_prev fields. | | `device` | string or SelectableOption | No | `desktop` | Rankings for 'desktop' (default) or 'mobile'. | | `tracked_competitors_only` | boolean | No | `False` | For the domains and pages reports: only include the target and the competitors tracked in the project. | | `metrics` | array of string or SelectableOption | No | - | Fields to return; the report decides which are valid. stats: competitor, share\_of\_voice, share\_of\_traffic\_value, traffic, traffic\_value (USD), average\_position, pos\_1\_3, pos\_4\_10, pos\_11\_20, pos\_21\_50, pos\_51\_plus, pos\_no\_rank, ai\_overview\_count, featured\_snippet\_count, image\_pack\_count, knowledge\_card\_count, knowledge\_panel\_count, sitelinks\_count, thumbnail\_count, top\_stories\_count, video\_preview\_count, videos\_count, discussions\_count, x\_count. keywords: keyword, volume, keyword\_difficulty, competitors\_list, serp\_features, serp\_updated, serp\_updated\_prev, country, location, language, tags, keyword\_has\_data, keyword\_is\_frozen. domains: domain, keywords, pages, traffic, traffic\_prev, traffic\_value (USD), traffic\_value\_prev, share\_of\_voice, share\_of\_voice\_prev, share\_of\_traffic\_value, share\_of\_traffic\_value\_prev, status. pages: url, title, title\_prev, keywords, traffic, traffic\_prev, traffic\_value, traffic\_value\_prev, share\_of\_voice, share\_of\_voice\_prev, share\_of\_traffic\_value, share\_of\_traffic\_value\_prev, status. Leave empty for a sensible default per report. | | `filters` | array of FilterItem | No | - | Filters on the tracked keywords (keywords, domains and pages reports): keyword, country, location, language, tags, plus volume, keyword\_difficulty, serp\_features and serp\_updated for the keywords report, domain for domains and pages, url for pages. | | `orders` | array of OrderItem | No | - | Sort by one or more fields (keywords, domains and pages reports only). | | `limit` | integer | No | - | Maximum number of rows (keywords, domains and pages reports only). Free endpoint; your Ahrefs plan still caps rows per request. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per competitor (stats), tracked keyword (keywords; competitors\_list holds each competitor's url, position, traffic and value in USD cents as returned by Ahrefs), domain or page, with the selected fields such as share\_of\_voice, traffic, traffic\_value (USD), average\_position, pos\_1\_3 to pos\_no\_rank, keywords, status. **Fields**: `competitor`, `share_of_voice`, `traffic`, `traffic_value`, `average_position`, `pos_1_3`, `pos_4_10`, `pos_11_20`, `pos_21_50`, `pos_51_plus`, `pos_no_rank` **Example**: ```json theme={"dark"} [ { "competitor": "marketingauditor.com/", "share_of_voice": 0.28, "traffic": 5, "traffic_value": 67.5, "average_position": 17.5, "pos_1_3": 0 } ] ``` # Get Rank Tracker Overview Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_rank_tracker_overview Get tracked keyword rankings from an Ahrefs Rank Tracker project for a date and device: position, ranking URL, traffic, volume, difficulty, SERP features, location, tags and intents, with position ... Get tracked keyword rankings from an Ahrefs Rank Tracker project for a date and device: position, ranking URL, traffic, volume, difficulty, SERP features, location, tags and intents, with position and traffic change against a compare date. Free: does not consume API units. Use ahrefs\_list\_projects to find the project\_id and ahrefs\_get\_rank\_tracker\_competitors for share of voice. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_rank_tracker_overview` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today. | | `date_compared` | string | No | - | Earlier date in YYYY-MM-DD format to compare against; enables position\_prev, position\_diff, traffic\_prev, traffic\_diff and url\_prev. | | `device` | string or SelectableOption | No | `desktop` | Rankings for 'desktop' (default) or 'mobile'. | | `metrics` | array of string or SelectableOption | No | - | Fields to return (keyword is always included). Available: position, position\_prev, position\_diff, url, url\_prev, traffic, traffic\_prev, traffic\_diff, volume, volume\_desktop\_pct, volume\_mobile\_pct, keyword\_difficulty, cost\_per\_click (USD), clicks, clicks\_per\_search, country, location, language, tags, serp\_features, serp\_updated, parent\_topic, target\_positions\_count, best\_position\_kind, best\_position\_has\_thumbnail, best\_position\_has\_video\_preview, keyword\_has\_data, keyword\_is\_frozen, created\_at, is\_branded, is\_commercial, is\_informational, is\_local, is\_navigational, is\_transactional, search\_type\_web, search\_type\_image, search\_type\_news, search\_type\_video. The \*\_prev and \*\_diff fields need date\_compared. Defaults to position, url, traffic, volume, keyword\_difficulty, serp\_features, location, tags. | | `filters` | array of FilterItem | No | - | Filters on the available fields, e.g. position LESS\_THAN 11 or tags CONTAINS 'brand'. | | `orders` | array of OrderItem | No | - | Sort by one or more fields, e.g. position ASC. | | `limit` | integer | No | - | Maximum number of keywords to return. Free endpoint; your Ahrefs plan still caps rows per request. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per tracked keyword with keyword plus the selected fields: position, position\_prev, position\_diff, url, url\_prev, traffic, traffic\_prev, traffic\_diff, volume, keyword\_difficulty, cost\_per\_click (USD), clicks, serp\_features (comma-separated), location, language, country, tags (comma-separated), intent flags and more. **Fields**: `keyword`, `position`, `url`, `traffic`, `volume`, `keyword_difficulty`, `serp_features`, `location`, `tags` **Example**: ```json theme={"dark"} [ { "keyword": "google ads audit", "position": 19, "url": "https://www.marketingauditor.com/", "traffic": 1, "volume": 350, "keyword_difficulty": 0 } ] ``` # Get Rank Tracker Serp Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_rank_tracker_serp Get the stored Google SERP for a keyword tracked in an Ahrefs Rank Tracker project (desktop or mobile, per tracked country, location and language) with each result's type, Domain Rating, URL Rating... Get the stored Google SERP for a keyword tracked in an Ahrefs Rank Tracker project (desktop or mobile, per tracked country, location and language) with each result's type, Domain Rating, URL Rating, backlinks, referring domains, keywords and traffic. Free: does not consume API units, unlike ahrefs\_get\_serp\_overview which works for any keyword. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_rank_tracker_serp` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | | `keyword` | string | Yes | - | A keyword tracked in the project. Use ahrefs\_list\_tracked\_keywords to see them with their country, location and language. | | `country` | string or SelectableOption | No | `us` | Two-letter country code the keyword is tracked in (e.g. us, gb). Defaults to us. | | `device` | string or SelectableOption | No | `desktop` | SERP for 'desktop' (default) or 'mobile'. | | `location_id` | integer | No | - | Location ID the keyword is tracked for, when it is tracked at city or region level (from ahrefs\_list\_tracked\_keywords). | | `language_code` | string | No | - | Language code the keyword is tracked in (e.g. en), when the project tracks several languages. | | `top_positions` | integer | No | - | Only return the top N organic positions. Leave empty for every position Ahrefs stored. | | `date` | string | No | - | Return the last SERP snapshot on or before this date, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss. Defaults to the most recent snapshot. | | `metrics` | array of string or SelectableOption | No | - | Columns to return (position and url are always included). Available: type, title, domain\_rating, url\_rating, ahrefs\_rank, backlinks, refdomains, keywords, traffic, value (USD), top\_keyword, top\_keyword\_volume, nr\_words, page\_type, update\_date. Free endpoint. Defaults to type, title, domain\_rating, url\_rating, backlinks, refdomains, keywords, traffic. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per SERP position: position, url plus the selected fields (type comma-separated, title, domain\_rating, url\_rating, ahrefs\_rank, backlinks, refdomains, keywords, traffic, value (USD), top\_keyword, top\_keyword\_volume, nr\_words, page\_type, update\_date). **Fields**: `position`, `url`, `type`, `title`, `domain_rating`, `url_rating`, `backlinks`, `refdomains`, `keywords`, `traffic` **Example**: ```json theme={"dark"} [ { "position": 1, "url": "https://www.marketingauditor.com/", "type": "organic", "title": "Marketing Auditor", "domain_rating": 31.0, "url_rating": 12.0 } ] ``` # Get Referring Domains Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_referring_domains List the domains linking to a target from Ahrefs Site Explorer with Domain Rating, number of links, dofollow links, new and lost links, spam flag and dates List the domains linking to a target from Ahrefs Site Explorer with Domain Rating, number of links, dofollow links, new and lost links, spam flag and dates. Use ahrefs\_get\_backlinks for individual links. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_referring_domains` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to list referring domains for (e.g. example.com). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `history` | string or SelectableOption | No | `all_time` | 'live' counts only currently live backlinks; 'all\_time' also includes lost ones. Ignored when since\_date is set. | | `since_date` | string | No | - | Include backlinks lost since this date (YYYY-MM-DD) in addition to live ones. Overrides history. | | `metrics` | array of string or SelectableOption | No | - | Columns to return (domain is always included). Available: domain\_rating, links\_to\_target, dofollow\_links, new\_links, lost\_links, first\_seen, last\_seen, is\_spam, is\_root\_domain, ip\_source, traffic\_domain, positions\_source\_domain, dofollow\_refdomains, dofollow\_linked\_domains. Ahrefs API unit cost per row: traffic\_domain costs 10 units, dofollow\_refdomains 5, the rest 1. Defaults to domain\_rating, links\_to\_target, dofollow\_links, first\_seen, last\_seen, is\_spam. | | `filters` | array of FilterItem | No | - | Filters on the available columns, e.g. domain\_rating GREATER\_THAN 50 or is\_spam EQUALS false. Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more columns. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per referring domain with the selected Ahrefs fields: domain, domain\_rating, links\_to\_target, dofollow\_links, new\_links, lost\_links, first\_seen, last\_seen, is\_spam, is\_root\_domain, ip\_source, traffic\_domain, positions\_source\_domain, dofollow\_refdomains, dofollow\_linked\_domains. **Fields**: `domain`, `domain_rating`, `links_to_target`, `dofollow_links`, `first_seen`, `last_seen`, `is_spam` **Example**: ```json theme={"dark"} [ { "domain": "google.com", "domain_rating": 99.0, "links_to_target": 326, "dofollow_links": 127, "first_seen": "2013-08-19T17:59:53Z", "last_seen": null, "is_spam": false } ] ``` # Get Serp Overview Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_serp_overview Get the Google top 100 search results for one or more keywords from Ahrefs SERP Overview, with each result's position, type (organic, paid, snippet, AI Overview...), Domain Rating, URL Rating, back... Get the Google top 100 search results for one or more keywords from Ahrefs SERP Overview, with each result's position, type (organic, paid, snippet, AI Overview\...), Domain Rating, URL Rating, backlinks, referring domains, keywords and traffic. Use ahrefs\_get\_keyword\_overview for keyword metrics. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_serp_overview` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to get the SERP for. Accepts a list or a newline/comma-separated string. One Ahrefs request is made per keyword (minimum 50 API units each); rows carry a keyword column. | | `country` | string or SelectableOption | No | `us` | Two-letter country code of the Google SERP (e.g. us, gb, de). Defaults to us. | | `serp_types` | array of string or SelectableOption | No | - | Only return positions of these SERP result types, e.g. organic, paid\_top, snippet, ai\_overview, video, local\_pack, question. Leave empty for all types. Available: organic, paid\_top, paid\_bottom, paid\_right, paid\_sitelink, sitelink, snippet, image, image\_th, article, knowledge\_card, knowledge\_panel, local\_pack, local\_teaser, news, question, review, shopping, organic\_shopping, tweet, spelling, video, video\_th, discussion, ai\_overview, ai\_overview\_sitelink, ai\_overview\_found. | | `top_positions` | integer | No | - | Only return the top N organic positions. Leave empty for the full top 100 SERP. | | `metrics` | array of string or SelectableOption | No | - | Columns to return (position and url are always included). Available: type, title, domain\_rating, url\_rating, ahrefs\_rank, backlinks, refdomains, keywords, traffic, value (USD), top\_keyword, top\_keyword\_volume, page\_type, update\_date. Ahrefs API unit cost per row: traffic, value and top\_keyword\_volume cost 10 units, refdomains 5, the rest 1. Defaults to type, title, domain\_rating, url\_rating, backlinks, refdomains, keywords, traffic. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per SERP position per keyword with keyword plus the selected Ahrefs fields: position, url, type (comma-separated), title, domain\_rating, url\_rating, ahrefs\_rank, backlinks, refdomains, keywords, traffic, value (USD), top\_keyword, top\_keyword\_volume, page\_type, update\_date. **Fields**: `keyword`, `position`, `url`, `type`, `title`, `domain_rating`, `url_rating`, `backlinks`, `refdomains`, `keywords`, `traffic` **Example**: ```json theme={"dark"} [ { "keyword": "ahrefs", "position": 1, "url": "https://ahrefs.com/", "type": "organic", "title": "Ahrefs - AI Marketing Platform", "domain_rating": 91.0 } ] ``` # Get Site Audit Health Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_site_audit_health Get Site Audit health scores from Ahrefs for one or all projects: health score, crawl status and date, URLs crawled, and URLs with errors, warnings and notices, for the latest or a past crawl Get Site Audit health scores from Ahrefs for one or all projects: health score, crawl status and date, URLs crawled, and URLs with errors, warnings and notices, for the latest or a past crawl. Projects whose crawl has never finished, or is still running, come back with null crawl fields. Free: does not consume API units. Use the returned date as the crawl timestamp for ahrefs\_get\_site\_audit\_issues and ahrefs\_get\_site\_audit\_pages. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_site_audit_health` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | No | - | A Site Audit project (numeric ID from the Ahrefs project URL). Leave empty for every project in the workspace. | | `date` | string | No | - | Crawl to report on, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). Defaults to the most recent crawl. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns one row per project: project\_id, project\_name, target\_url, target\_mode, target\_protocol, date (crawl timestamp), status, health\_score, total, urls\_with\_errors, urls\_with\_warnings, urls\_with\_notices. The crawl fields are null until a crawl has finished, including while one is still running, so a null health\_score means no completed crawl rather than a perfect site. **Fields**: `project_id`, `project_name`, `target_url`, `date`, `status`, `health_score`, `total`, `urls_with_errors`, `urls_with_warnings`, `urls_with_notices` **Example**: ```json theme={"dark"} [ { "project_id": "8070430", "project_name": "Markifact", "status": "Completed", "health_score": 92, "total": 412, "urls_with_errors": 6 } ] ``` # Get Site Audit Issues Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_site_audit_issues List the issues found by an Ahrefs Site Audit crawl: issue name, category, importance (Error, Warning, Notice), number of affected URLs, and added, removed, new, missing and net change against a co... List the issues found by an Ahrefs Site Audit crawl: issue name, category, importance (Error, Warning, Notice), number of affected URLs, and added, removed, new, missing and net change against a compared crawl. Fixed cost of 50 Ahrefs API units per request. Use the issue\_id with ahrefs\_get\_site\_audit\_pages to list the affected URLs. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_site_audit_issues` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Site Audit project (numeric ID from the Ahrefs project URL). Use ahrefs\_get\_site\_audit\_health to list projects and crawl dates. | | `date` | string | No | - | Crawl to report on, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). Defaults to the most recent crawl, whose counts keep rising while that crawl is still running. | | `date_compared` | string | No | - | Earlier crawl to compare against (same format); fills added, removed, new, missing and change per issue. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns one row per issue: issue\_id, name, category, importance, is\_indexable, crawled, added, removed, new, missing, change. **Fields**: `issue_id`, `name`, `category`, `importance`, `is_indexable`, `crawled`, `added`, `removed`, `new`, `missing`, `change` **Example**: ```json theme={"dark"} [ { "issue_id": "404_page", "name": "4XX page", "category": "Indexability", "importance": "Error", "is_indexable": false, "crawled": 6 } ] ``` # Get Site Audit Pages Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_site_audit_pages List crawled pages from an Ahrefs Site Audit project with technical, content, link, ranking and Core Web Vitals fields, filterable by issue, by any field, and by change versus a compared crawl List crawled pages from an Ahrefs Site Audit project with technical, content, link, ranking and Core Web Vitals fields, filterable by issue, by any field, and by change versus a compared crawl. Fixed cost of 50 Ahrefs API units per request regardless of rows. Only projects with verified ownership are supported. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_site_audit_pages` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Site Audit project (numeric ID from the Ahrefs project URL). Only projects with verified ownership are supported. | | `date` | string | No | - | Crawl to report on, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). Defaults to the most recent crawl. | | `date_compared` | string | No | - | Earlier crawl to compare against (same format); enables the \*\_prev and \*\_diff fields and filter\_mode. | | `issue_id` | string | No | - | Only return pages affected by this issue. Get issue IDs from ahrefs\_get\_site\_audit\_issues. | | `filter_mode` | string or SelectableOption | No | - | With date\_compared: return only pages that were 'added', 'new', 'removed', 'missing' or had 'no\_change' versus the compared crawl. | | `metrics` | array of string or SelectableOption | No | - | Fields to return (url is always included). Available: http\_code, is\_html, is\_rendered, compliant, page\_is\_noindex, page\_is\_nofollow, meta\_robots, depth, canonical, self\_canonical, canonical\_is\_canonical, redirect, redirect\_code, redirect\_counts, final\_redirect, is\_redirect\_loop, title, titles\_length, nr\_titles, serp\_title, meta\_description, meta\_description\_length, nr\_meta\_description, h1, h1\_length, nr\_h1, h2, html\_lang, hreflang, content\_length, content\_nr\_word, size, size\_uncompressed, loading\_time, time\_to\_first\_byte, links\_count\_internal, links\_count\_external, links\_count\_internal3xx, links\_count\_internal4xx, links\_count\_internal5xx, links\_count\_external4xx, links\_count\_images, links\_count\_images\_without\_alt, incoming\_links, incoming\_follow, incoming\_nofollow, incoming\_redirect, dofollow, nofollow, backlinks, refhosts, refpages, positions, positions\_top3, positions\_top10, traffic, top\_keyword, top\_keyword\_position, page\_type, page\_rating, is\_in\_sitemap, found\_in\_sitemaps, jsonld\_schema\_types, og\_tags\_valid, meta\_twitter\_tags\_valid, duplicate\_content, duplicate\_title, duplicate\_description, duplicate\_h1, ai\_content\_level, ai\_content\_status, allowed\_search\_bots, blocked\_search\_bots, allowed\_training\_bots, blocked\_training\_bots, psi\_lighthouse\_score, psi\_lighthouse\_lcp\_value, psi\_lighthouse\_cls\_value, psi\_lighthouse\_tbt\_value, psi\_crux\_lcp\_percentile, psi\_crux\_lcp\_category, psi\_crux\_cls\_percentile, psi\_crux\_cls\_category, psi\_crux\_inp\_percentile, psi\_crux\_inp\_category, source, origin, stamp. Add \_prev or \_diff to any field when date\_compared is set. Defaults to http\_code, title, meta\_description, h1, canonical, page\_is\_noindex, depth, incoming\_links, links\_count\_internal, content\_nr\_word, size, loading\_time, positions, traffic. | | `filters` | array of FilterItem | No | - | Filters on the available fields, e.g. http\_code EQUALS 404, page\_is\_noindex EQUALS true or url CONTAINS '/blog/'. | | `orders` | array of OrderItem | No | - | Sort by one field, e.g. traffic DESC. | | `limit` | integer | No | `100` | Maximum number of pages to return. Defaults to 100. Fixed cost of 50 API units per request regardless of rows. | | `offset` | integer | No | - | Number of pages to skip, for paging through large sites. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per page with url plus the selected fields: http\_code, title, meta\_description, h1, canonical, page\_is\_noindex, depth, incoming\_links, links\_count\_internal, content\_nr\_word, size, loading\_time, positions, traffic and any other Page Explorer field, with \_prev / \_diff variants when date\_compared is set. Array fields (title, h1, meta\_description) are comma-joined. **Fields**: `url`, `http_code`, `title`, `meta_description`, `h1`, `canonical`, `page_is_noindex`, `depth`, `incoming_links`, `links_count_internal`, `content_nr_word`, `size`, `loading_time`, `positions`, `traffic` **Example**: ```json theme={"dark"} [ { "url": "https://markifact.com/pricing", "http_code": 200, "title": "Pricing - Markifact", "depth": 1, "positions": 12, "traffic": 35.0 } ] ``` # Get Top Pages Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_get_top_pages List the pages of a domain or subfolder that get the most organic search traffic in Ahrefs Site Explorer, with keyword counts, traffic, traffic value, top keyword, URL Rating and referring domains List the pages of a domain or subfolder that get the most organic search traffic in Ahrefs Site Explorer, with keyword counts, traffic, traffic value, top keyword, URL Rating and referring domains. For AI citation counts per page, use ahrefs\_get\_domain\_overview with the page URLs as exact targets and include\_ai\_citations. Use ahrefs\_get\_organic\_keywords for the keyword-level view. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_get_top_pages` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, subfolder or URL to list top organic pages for (e.g. example.com, example.com/blog/). | | `mode` | string or SelectableOption | No | `subdomains` | How to interpret the target: 'subdomains' (domain and all subdomains, default), 'domain' (the exact host only), 'prefix' (every URL starting with the target), or 'exact' (the exact URL only). | | `country` | string or SelectableOption | No | - | Two-letter country code (e.g. us, gb, de) to restrict results to one country. Leave empty for all countries. | | `date` | string | No | - | Report date in YYYY-MM-DD format. Defaults to today (latest data). | | `date_compared` | string | No | - | Optional earlier date in YYYY-MM-DD format to compare against; enables the \*\_prev and \*\_diff metrics. | | `metrics` | array of string or SelectableOption | No | - | Metrics to return (url is always included). Available: keywords, keywords\_prev, keywords\_diff, keywords\_diff\_percent, sum\_traffic, sum\_traffic\_prev, traffic\_diff, traffic\_diff\_percent, value (USD), value\_prev, value\_diff, value\_diff\_percent, top\_keyword, top\_keyword\_volume, top\_keyword\_best\_position, top\_keyword\_country, ur, referring\_domains, page\_type, status (needs date\_compared). For AI citation counts per page use ahrefs\_get\_domain\_overview with the page URLs as targets, mode 'exact' and include\_ai\_citations. Ahrefs API unit cost per row: sum\_traffic, sum\_traffic\_prev, value, value\_prev and top\_keyword\_volume cost 10 units, referring\_domains 5, the rest 1. Defaults to keywords, sum\_traffic, value, top\_keyword, top\_keyword\_best\_position, ur, referring\_domains. | | `filters` | array of FilterItem | No | - | Filters on the available metrics, e.g. sum\_traffic GREATER\_THAN 100 or url CONTAINS '/blog/'. Filter fields count towards the unit cost per row. | | `orders` | array of OrderItem | No | - | Sort by one or more metrics. | | `limit` | integer | No | `100` | Maximum number of rows to return. Defaults to 100. Your Ahrefs plan caps rows per request (Lite 100, Standard 250, Advanced 500). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per page with the selected Ahrefs fields: url, keywords, sum\_traffic, value (USD), top\_keyword, top\_keyword\_volume, top\_keyword\_best\_position, ur, referring\_domains, page\_type and \*\_prev / \*\_diff comparison fields. **Fields**: `url`, `keywords`, `sum_traffic`, `value`, `top_keyword`, `top_keyword_best_position`, `ur`, `referring_domains` **Example**: ```json theme={"dark"} [ { "url": "https://ahrefs.com/backlink-checker", "keywords": 1411, "sum_traffic": 3114948, "value": 520661.27, "top_keyword": "backlink checker", "top_keyword_best_position": 1 } ] ``` # List Projects Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_list_projects List every project the connected Ahrefs API key has access to (the same projects power Rank Tracker and Site Audit) with project ID, name, target URL, mode, verification status, folder, owner and t... List every project the connected Ahrefs API key has access to (the same projects power Rank Tracker and Site Audit) with project ID, name, target URL, mode, verification status, folder, owner and the number of tracked keywords. Free: does not consume API units. Use the project\_id with the Rank Tracker and Site Audit tools. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_list_projects` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `has_keywords` | boolean | No | `False` | Return only projects that have Rank Tracker keywords. | ## Output **Type**: `List[Dict]` Returns one row per project: project\_id, project\_name, url, mode, protocol, access, verified, folder (id and name or null), owned\_by, keyword\_count, web\_analytics\_data\_key. **Fields**: `project_id`, `project_name`, `url`, `mode`, `protocol`, `access`, `verified`, `folder`, `owned_by`, `keyword_count` **Example**: ```json theme={"dark"} [ { "project_id": "7297356", "project_name": "Marketingauditor", "url": "marketingauditor.com/", "mode": "subdomains", "protocol": "both", "access": "shared" } ] ``` # List Tracked Competitors Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_list_tracked_competitors List the competitors tracked in an Ahrefs Rank Tracker project with their target mode List the competitors tracked in an Ahrefs Rank Tracker project with their target mode. Free: does not consume API units. Use ahrefs\_manage\_tracked\_competitors to add or remove competitors. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_list_tracked_competitors` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns one row per tracked competitor: url, mode. **Fields**: `url`, `mode` **Example**: ```json theme={"dark"} [ { "url": "semrush.com/", "mode": "subdomains" } ] ``` # List Tracked Keywords Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_list_tracked_keywords List the keywords tracked in an Ahrefs Rank Tracker project with their country, location, language and tags List the keywords tracked in an Ahrefs Rank Tracker project with their country, location, language and tags. Free: does not consume API units. Use ahrefs\_manage\_tracked\_keywords to add, remove or tag keywords and ahrefs\_get\_rank\_tracker\_overview for their rankings. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_list_tracked_keywords` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns one row per tracked keyword: keyword, location, location\_id, language, language\_code, tags (comma-separated). **Fields**: `keyword`, `location`, `location_id`, `language`, `language_code`, `tags` **Example**: ```json theme={"dark"} [ { "keyword": "marketing audit", "location": "United States", "location_id": 2840, "language": "English", "language_code": "en", "tags": "brand" } ] ``` # Manage Tracked Competitors Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_manage_tracked_competitors Add competitor domains or pages to an Ahrefs Rank Tracker project or remove them Add competitor domains or pages to an Ahrefs Rank Tracker project or remove them. Free: does not consume API units. Competitors power the share of voice reports in ahrefs\_get\_rank\_tracker\_competitors. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_manage_tracked_competitors` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | | `action` | string or SelectableOption | No | `add` | 'add' (default) starts tracking the competitors in the project; 'remove' stops tracking them. | | `competitors` | array of string or string | Yes | - | Competitor domains or URLs. Accepts a list or a newline/comma-separated string. | | `mode` | string or SelectableOption | No | `subdomains` | How each competitor is interpreted: 'subdomains' (default), 'domain', 'prefix' or 'exact'. To remove a competitor, use the mode it was added with. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the tracked competitors of the project after the change (empty after removing the last one): url, mode. **Fields**: `url`, `mode` **Example**: ```json theme={"dark"} [ { "url": "semrush.com/", "mode": "subdomains" } ] ``` # Manage Tracked Keywords Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_manage_tracked_keywords Add keywords to an Ahrefs Rank Tracker project (per country, optional city or region location and language, with tags), remove them, or add, replace and remove their tags Add keywords to an Ahrefs Rank Tracker project (per country, optional city or region location and language, with tags), remove them, or add, replace and remove their tags. Free: does not consume API units, but tracked keywords count against the Ahrefs plan's Rank Tracker quota. Use ahrefs\_get\_locations for location IDs and language codes. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_manage_tracked_keywords` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The Rank Tracker project (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | | `action` | string or SelectableOption | No | `add` | 'add' (default) starts tracking the keywords in the given country/location/language; 'remove' stops tracking them; 'add\_tags' appends tags to the keywords; 'replace\_tags' overwrites their tags; 'remove\_tags' removes the given tags from them. | | `keywords` | array of string or string | Yes | - | Keywords to act on. Accepts a list or a newline/comma-separated string. | | `country` | string or SelectableOption | No | `us` | Two-letter country code the keywords are (or will be) tracked in. Defaults to us. | | `location_id` | integer | No | - | Track at city or region level instead of the whole country: a location ID from ahrefs\_get\_locations. Leave empty for the country. | | `language` | string | No | - | Language code (e.g. en, de) from ahrefs\_get\_locations. Leave empty for the project's default. | | `tags` | string or array of string | No | - | Tags: assigned to the keywords on 'add', and required for the tag actions. Accepts a list or a comma-separated string. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the tracked keywords of the project after the change, as Ahrefs reports them (empty after removing the last ones): keyword, location, location\_id, language, language\_code, tags (comma-separated). **Fields**: `keyword`, `location`, `location_id`, `language`, `language_code`, `tags` **Example**: ```json theme={"dark"} [ { "keyword": "seo audit tool", "location": "United States", "location_id": 2840, "language": "English", "language_code": "en", "tags": "tools" } ] ``` # Update Project Source: https://docs.markifact.com/nodes/ahrefs/ahrefs_update_project Change an Ahrefs project's access level (shared or private) or move it into or out of a folder Change an Ahrefs project's access level (shared or private) or move it into or out of a folder. Free: does not consume API units. | | | | - | - | | **App** | Ahrefs | | **Operation ID** | `ahrefs_update_project` | | **Type** | Action | | **Connection** | `ahrefs` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project_id` | string or SelectItem | Yes | - | The project to update (numeric ID from the Ahrefs project URL). Use ahrefs\_list\_projects to find it. | | `access` | string or SelectableOption | No | - | New access setting: 'shared' (whole workspace) or 'private' (owner only). Leave empty to keep it. | | `folder_id` | integer | No | - | Move the project into this folder (the id in the Ahrefs folder URL). | | `remove_from_folder` | boolean | No | `False` | Move the project out of its folder to the top level. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the updated project: project\_id, project\_name, url, mode, protocol, access, folder. **Fields**: `project_id`, `project_name`, `url`, `mode`, `protocol`, `access`, `folder` **Example**: ```json theme={"dark"} [ { "project_id": "8123456", "project_name": "Client A", "url": "clienta.com/", "mode": "subdomains", "protocol": "both", "access": "private", "folder": null } ] ``` # Agent Source: https://docs.markifact.com/nodes/ai/ai_agent Build an AI chat agent that interacts on Slack Build an AI chat agent that interacts on Slack. Typically used with the `slack_on_new_message` trigger to pass the incoming message to the agent, then `slack_send_channel_message` to post the reply. The agent exposes a **tools** source handle located beneath the node, connect tool-capable nodes to this handle and place them directly **below** the agent (not downstream in the main flow). Not all nodes can be tools; check each node’s `ai_tools` property to confirm availability. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_agent` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `instructions` | string | No | `You are a helpful agent, your name is Markifact.` | Instructions for the AI agent that define its role, behavior, and capabilities. This sets the personality and core directives for the agent. | | `prompt` | string | Yes | - | The message or question to send to the AI agent. This is a multi-line text area where you can: - Write multiple lines of text - Reference dynamic data from other nodes using \{\{nodeId\_\_data}} syntax - Combine multiple node references in the same prompt - Use line breaks to structure your message Example: "Analyze this Google Ads data: \{\{googleAdsNodeId\_\_data}} And this Meta Ads data: \{\{metaAdsNodeId\_\_data}} | | `model` | string or SelectableOption | Yes | - | The AI model to use for processing. Some available options: 'gpt-6.1-sol' - Default. Strong all-round OpenAI model 'gpt-6-astra' - OpenAI's most capable model, for complex tasks 'gemini-3.8-flash' - Fast, efficient Gemini model 'gemini-3.1-pro-preview' - Google's most powerful model 'claude-sonnet-5.5' - Anthropic's balanced model 'claude-opus-5.5' - Anthropic's top-tier model Note: Some models require Advanced tier subscription. | | `reasoning` | string or SelectableOption | No | - | Control how much reasoning effort supported OpenAI, Anthropic, and Google models apply. Options: 'low' - Basic reasoning 'medium' - Balanced reasoning (default) 'high' - Deep, thorough reasoning Only applicable to models configured with reasoning support. | | `tools` | array of object | No | - | External tools and APIs that the AI agent can call to perform actions. This is mainly the output from upstream workflow nodes that provide tool definitions. The agent will automatically decide when and how to use these tools based on the conversation context. | | `schema_fields` | array of SchemaField | No | - | Define the structure for structured data output when you want the agent to return data in a specific format (like a table). Each schema field should specify the variable name, data type, and description to guide the AI in formatting its response. Use this when you need the AI to return data in a consistent, structured format that can be used by downstream nodes like Google Sheets, Slides, etc. | | `enable_code_interpreter` | boolean | No | `True` | Enable the agent to execute Python code for data analysis, calculations, and generating charts & visualizations. When enabled, the agent can write and run code to solve complex problems. | | `conversation_id` | string | No | - | Unique identifier to group related messages and maintain conversation context across multiple interactions. Use the same ID to give your AI agent memory of previous exchanges. You can reference conversation IDs from other nodes like Slack, email, using \{\{nodeId\_\_data.conversation\_id}} syntax. | ### SchemaField | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | The name of the field. | | `type` | string | Yes | - | Data type of the field, available types: text, number, boolean, object, list. | | `description` | string | Yes | - | Description of the field. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str | Dict` Returns markdown text. If schema\_fields provided, returns structured data matching the schema. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "name": "John", "score": 85 } ] ``` # Analyze Data Source: https://docs.markifact.com/nodes/ai/ai_analyze_data Perform data analysis with AI insights, generate charts & graphs, aggregate data, calculate custom metrics Perform data analysis with AI insights, generate charts & graphs, aggregate data, calculate custom metrics. You need to provide dataset from other nodes and a prompt, it can return either a markdown response (graphs, tables, etc.) or structured data you provide in schema, structure data can be used in nodes like Google Sheets, Google Slides Table, etc. Note: charts will be returned as image URLs in markdown — no other formats are supported. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_analyze_data` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Instructions for analyzing the data. This is a multi-line text area where you can: - Describe what analysis to perform - Ask specific questions about the data - Request insights, trends, or patterns - Use line breaks to structure complex analysis requests - Request charts and visualizations if needed. IMPORTANT RULES: - NEVER include actual data, datasets, or data content in this prompt field - ALWAYS use the separate 'data' field below for all datasets and data content - This prompt should ONLY contain analysis instructions, questions, and what insights you want - Even if the user provides data in their request, extract it and put it in the 'data' field instead - Charts will be returned as image URLs in markdown — no other formats are supported. - Do NOT request technical details for charts like image resolution or format — just describe the chart you want - When using 'schema\_fields', do not ask the AI to return JSON, it will be returned automatically by default. | | `model` | string or SelectableOption | Yes | - | The AI model to use for data analysis. Some available options: 'gpt-6.1-sol' - Default, best for data analysis 'gpt-6-astra' - Most capable, for complex analysis 'gpt-6-luna' - Fastest, lowest-cost option | | `data` | string | Yes | - | The data to analyze. This is mainly the output from upstream workflow nodes containing datasets, tables, or structured information. Reference data from other nodes using \{\{nodeId\_\_data}} syntax. Example: \{\{googleSheetsNodeId\_\_data}} For multiple datasets, add the dataset name before, for example: Meta Ads: \{\{metaAdsNodeId\_\_data}} Google Analytics: \{\{googleAnalyticsNodeId\_\_data}} | | `schema_fields` | array of SchemaField | No | - | - Defines a LIST of objects, where each object represents a field definition for the structured output. You are explicitly defining the keys of each object in the output schema. - Each object in the list must include: - name: The key name that will appear in the structured output (e.g., "clicks", "impressions"). - type: Must be one of: `text`, `number`, `boolean`, `list`. Note that `list` represents a list of strings. - description – A clear explanation of what this field represents. - The schema fields can be referenced by downstream nodes using: \{\{nodeId\_\_data.field}}. - Use this when you need the analysis results in a consistent format for downstream nodes like Google Sheets, Slides, etc. - Don't use it to generate summary/markdown tables, this should be normal text output using the `prompt` field. | | `force_python` | boolean | No | - | Force the AI to use Python code for data analysis instead of just text analysis. When enabled, the AI will write and execute Python code to: - Perform statistical calculations - Generate charts and visualizations - Handle complex data manipulations - Provide more precise numerical analysis | ### SchemaField | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | The name of the field. This becomes the key in the output object. | | `type` | string | Yes | - | Allowed values: 'text', 'number', 'boolean', 'list'. The list is a list of strings. | | `description` | string | Yes | - | A clear explanation of what this field represents. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str | List[Dict]` Returns markdown text with analysis/charts. If schema\_fields provided, it returns structured data matching the schema in list\[Dict] format. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "metric": "sessions", "value": 1500 } ] ``` # Analyze Image Source: https://docs.markifact.com/nodes/ai/ai_analyze_image Analyzes and describes the content of images using artificial intelligence Analyzes and describes the content of images using artificial intelligence | | | | - | - | | **App** | AI | | **Operation ID** | `ai_analyze_image` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Agent / MCP tool** | Yes | | **MCP** | Not exposed via MCP | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Instructions for analyzing the images. This is a multi-line text area where you can: - Describe what to look for in the images - Ask specific questions about visual content - Request analysis of charts, graphs, or documents - Use line breaks to structure complex analysis requests Example: "Analyze these product images and identify: 1. Product features and quality 2. Any defects or issues 3. Compliance with brand guidelines" | | `model` | string or SelectableOption | Yes | - | The AI model to use for image analysis. Some available options: 'gpt-6.1-sol' (DEFAULT) - Balanced performance 'gpt-6-luna' - Cost-effective | | `images` | array of string | Yes | - | List of image URLs to analyze (maximum 5 images). You can reference images from upstream nodes using \{\{nodeId\_\_data}} syntax. Supported formats: JPEG, PNG, GIF, WebP Images can be from URLs, file uploads through the UI, or outputs from other workflow nodes. Example: \["`https://example.com/image1.jpg`", "\{\{imageNodeId\_\_data.url}}"] | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns AI analysis of the image(s) as markdown text. # Analyze Video Source: https://docs.markifact.com/nodes/ai/ai_analyze_video Analyzes video content using AI Analyzes video content using AI. Supports uploaded videos and YouTube URLs. Can transcribe audio, provide timestamps, and answer questions about video content. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_analyze_video` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 20 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Instructions for analyzing the video. This is a multi-line text area where you can: - Ask questions about video content - Request descriptions of specific scenes or actions - Ask for transcription of dialogue or audio - Request timestamps for specific events - Analyze visual elements, movements, or changes Example: "Analyze this video and provide: 1. A summary of what happens 2. Timestamps of key moments 3. Transcription of any spoken dialogue" | | `model` | string or SelectableOption | Yes | - | The AI model to use for video analysis. Available Gemini models: 'gemini-3.8-flash' (RECOMMENDED) - Best for video analysis 'gemini-3.5-flash-lite' (FAST) - Fast and efficient 'gemini-3.1-pro-preview' - Advanced capabilities for complex analysis | | `video_source` | string or SelectableOption | Yes | - | Source of the video to analyze: 'upload' - Upload a video file (MP4, MOV, AVI, etc.) 'youtube' - Provide a YouTube URL | | `video` | string | No | - | Video to analyze. Depending on the video\_source: - For 'upload': Video file URL from upload - For 'youtube': YouTube video URL (e.g., `https://www.youtube.com/watch?v=...`) Supported formats for upload: MP4, MOV, AVI, WebM, FLV, MKV | | `youtube_url` | string | No | - | YouTube URL if video\_source is 'youtube'. Must be a public video (not private or unlisted). Example: `https://www.youtube.com/watch?v=9hE5-98ZeCg` | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns AI analysis of the video as markdown text. # Ask Source: https://docs.markifact.com/nodes/ai/ai_ask Processes natural language questions and provides AI-powered answers, explanations, and insights Processes natural language questions and provides AI-powered answers, explanations, and insights. Proive a prompt to the AI and it will return a response. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_ask` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | The question or instruction for the AI. This is a multi-line text area where you can: - Ask questions about data, analysis, or general topics - Reference dynamic data from other nodes using \{\{nodeId\_\_data}} syntax - Combine multiple data sources in your prompt - Use line breaks to structure complex questions Example: "Analyze this sales data: \{\{salesNodeId\_\_data}} What are the key trends and insights?" | | `model` | string or SelectableOption | Yes | - | The AI model to use for processing. Some available options: 'gpt-6.1-sol' - Default. Strong all-round OpenAI model 'gpt-6-astra' - OpenAI's most capable model, for complex tasks 'gpt-6-luna' - Fastest, lowest-cost OpenAI model 'gemini-3.8-flash' - Fast, efficient Gemini model 'gemini-3.1-pro-preview' - Google's most powerful model 'claude-sonnet-5.5' - Anthropic's balanced model 'claude-opus-5.5' - Anthropic's top-tier model Note: Some models require Advanced tier subscription. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns AI response as markdown text. # Edit Image Source: https://docs.markifact.com/nodes/ai/ai_edit_image Edit or enhance an existing image, ad, infographic, slide or creative using AI Edit or enhance an existing image, ad, infographic, slide or creative using AI. Provide an image URL and describe the changes you want to make to generate a new version. Supports multiple AI image models, including the leading Gemini Nano Banana model. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_edit_image` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 25 | | **Agent / MCP tool** | Yes | | **MCP** | Not exposed via MCP | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Instructions for editing the image. This is a multi-line text area where you can: - Describe the changes you want to make - Specify styles, objects to add/remove, or modifications - Reference dynamic data for personalized edits - Use line breaks to structure complex edit instructions Example: "Remove the background and add a professional office setting Make the lighting more vibrant Ensure the person looks professional" | | `images` | array of string | Yes | - | List of image URLs to edit (first image will be used for editing). You can reference images from upstream nodes using \{\{nodeId\_\_data}} syntax. Supported formats: JPEG, PNG, GIF, WebP Images can be from URLs, file uploads, or outputs from other workflow nodes. Example: \["`https://example.com/image.jpg`"] or \["\{\{imageNodeId\_\_data.url}}"] | | `model` | string or SelectableOption | Yes | - | The AI model to use for image generation and editing. Available options: 'gemini-nano-banana-2.1' - This is the RECOMMENDED model. AKA 'Nano Banana 2.1'. 'gemini-3.1-flash-image-preview' - AKA 'Nano Banana 2'. 'gemini-3-pro-image-preview' - AKA 'Nano Banana Pro'. 'gpt-image-2.6-flare' - Fast image generation and editing; also outputs animated GIFs. 'gpt-image-2.6-sunburst' - Highest quality image generation and editing; also outputs animated GIFs. | | `numImages` | integer | No | `1` | Number of edited image variations to generate (1-10). More variations give you more options to choose from. | | `output_format` | string or SelectableOption | No | - | Format of the edited images (GPT-Image only). Available options: 'png' - High quality, supports transparency 'jpeg' - Smaller file size, good for photos ('jpg' is also accepted) 'webp' - Modern format, good compression 'gif' - Animated GIF (GPT Image 2.6 only); set frame\_count and frame\_duration\_ms | | `quality` | string or SelectableOption | No | - | Quality of the edited images (GPT-Image only): auto, low, medium, high. GPT Image 2.6 Flare and Sunburst also support xhigh and max. | | `size` | string or SelectableOption | No | - | Size of the edited images (GPT-Image only): auto, 1024x1024, 1536x1024, or 1024x1536. GPT Image 2.6 also supports 2048x2048, 2048x1152, 3840x2160, 2160x3840, or custom WIDTHxHEIGHT sizes. Custom edges must be multiples of 16, at most 3840 pixels, with an aspect ratio no greater than 3:1 and 655360 to 8294400 total pixels. Outputs above 3686400 pixels are experimental. | | `complexity` | string or SelectableOption | No | - | How much GPT Image 2.6 plans before drawing: low, medium or high (default high). Lower suits focused edits; higher helps dense text and complex layouts but is slower. GPT Image 2.6 only. | | `frame_count` | integer | No | - | Number of frames in the animation, 2 to 16 (default 9). Only used when output\_format is 'gif'. | | `frame_duration_ms` | integer | No | - | How long each frame shows, 20 to 2000 milliseconds (default 200). Only used when output\_format is 'gif'. | | `background` | string or SelectableOption | No | - | Background type for the edited images (GPT-Image only): 'transparent' - No background (PNG or WebP only) 'opaque' - Solid background 'auto' - Let the model decide | | `aspect_ratio` | string or SelectableOption | No | - | Aspect ratio for the edited images (Gemini model only). Available options: '1:1' - Square '1:4' - Ultra Tall '1:8' - Ultra Tall '2:3' - Portrait '3:2' - Portrait '3:4' - Portrait '4:1' - Ultra Wide '4:3' - Portrait '4:5' - Portrait '5:4' - Portrait '8:1' - Panorama '9:16' - Portrait '16:9' - Landscape '21:9' - Wide Landscape | | `resolution` | string or SelectableOption | No | - | Resolution for edited images (Gemini only). Available options: '512px' '1K' '2K' '4K' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str | List[str]` Returns URL(s) of edited image(s). Single URL if one image, list if multiple. # Generate Image Source: https://docs.markifact.com/nodes/ai/ai_generate_image Create brand-new images such as ads, banners, infographics, slides or creative visuals using AI Create brand-new images such as ads, banners, infographics, slides or creative visuals using AI. Supports multiple AI image models, including the leading Gemini Nano Banana model. For modifying an existing image, use the `ai_edit_image` operation instead. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_generate_image` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 20 | | **Agent / MCP tool** | Yes | | **MCP** | Not exposed via MCP | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Description of the image you want to generate. This is a multi-line text area where you can: - Describe the subject, style, and composition - Include details about colors, lighting, and mood - Reference dynamic data for personalized content using \{\{nodeId\_\_data}} syntax - Use line breaks to structure detailed descriptions Example: "A professional headshot of \{\{customerNodeId\_\_data.name}} Corporate style, good lighting, blue background High quality, business professional look" | | `model` | string or SelectableOption | Yes | - | The AI model to use for image generation and editing. Available options: 'gemini-nano-banana-2.1' - This is the RECOMMENDED model. AKA 'Nano Banana 2.1'. 'gemini-3.1-flash-image-preview' - AKA 'Nano Banana 2'. 'gemini-3-pro-image-preview' - AKA 'Nano Banana Pro', 'gpt-image-2.6-flare' - Fast image generation and editing; also outputs animated GIFs. 'gpt-image-2.6-sunburst' - Highest quality image generation and editing; also outputs animated GIFs. | | `numImages` | integer | No | `1` | Number of image variations to generate (1-10). More variations give you more options to choose from. | | `output_format` | string or SelectableOption | No | - | Format of the generated images (GPT-Image only). Available options: 'png' - High quality, supports transparency 'jpeg' - Smaller file size, good for photos ('jpg' is also accepted) 'webp' - Modern format, good compression 'gif' - Animated GIF (GPT Image 2.6 only); set frame\_count and frame\_duration\_ms | | `quality` | string or SelectableOption | No | - | Quality of the generated images (GPT-Image only): auto, low, medium, high. GPT Image 2.6 Flare and Sunburst also support xhigh and max. | | `size` | string or SelectableOption | No | - | Size of the generated images (GPT-Image only): auto, 1024x1024, 1536x1024, or 1024x1536. GPT Image 2.6 also supports 2048x2048, 2048x1152, 3840x2160, 2160x3840, or custom WIDTHxHEIGHT sizes. Custom edges must be multiples of 16, at most 3840 pixels, with an aspect ratio no greater than 3:1 and 655360 to 8294400 total pixels. Outputs above 3686400 pixels are experimental. | | `complexity` | string or SelectableOption | No | - | How much GPT Image 2.6 plans before drawing: low, medium or high (default high). Lower suits focused edits; higher helps dense text and complex layouts but is slower. GPT Image 2.6 only. | | `frame_count` | integer | No | - | Number of frames in the animation, 2 to 16 (default 9). Only used when output\_format is 'gif'. | | `frame_duration_ms` | integer | No | - | How long each frame shows, 20 to 2000 milliseconds (default 200). Only used when output\_format is 'gif'. | | `background` | string or SelectableOption | No | - | Background type for the generated images (GPT-Image only): 'transparent' - No background (PNG or WebP only) 'opaque' - Solid background 'auto' - Let the model decide | | `aspect_ratio` | string or SelectableOption | No | - | Aspect ratio for the generated images (Gemini only). Available options: '1:1' - Square '1:4' - Ultra Tall '1:8' - Ultra Tall '2:3' - Portrait '3:2' - Portrait '3:4' - Portrait '4:1' - Ultra Wide '4:3' - Portrait '4:5' - Portrait '5:4' - Portrait '8:1' - Panorama '9:16' - Portrait '16:9' - Landscape '21:9' - Wide Landscape | | `resolution` | string or SelectableOption | No | - | Resolution for generated images (Gemini only). Available options: '512px' '1K' # Default '2K' '4K' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str | List[str]` Returns URL(s) of generated image(s). Single URL if one image, list if multiple. # Generate Video Source: https://docs.markifact.com/nodes/ai/ai_generate_video Generate high-quality videos using OpenAI's Sora 2 models from text prompts and optional reference images Generate high-quality videos using OpenAI's Sora 2 models from text prompts and optional reference images. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_generate_video` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 100 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Description of the video you want to generate. Be specific about: - Subject and action (what should happen in the video) - Camera movement and shot type (wide shot, close-up, pan, etc.) - Setting and environment - Lighting and mood - Any specific visual style Example: "Wide shot of a child flying a red kite in a grassy park, golden hour sunlight, camera slowly pans upward." | | `model` | string or SelectableOption | Yes | - | The AI model to use for video generation. Available options: 'sora-2' - Fast generation, good for experimentation and quick iterations 'sora-2-pro' - Higher quality results, best for production content (takes longer) | | `reference_image` | array of string | No | - | Optional reference image to use as the first frame of the video. Upload a single image that matches your desired video style. The image will guide the generation and serve as the starting frame. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[str]` Returns list of generated video URLs. # Jev Evaluate Source: https://docs.markifact.com/nodes/ai/ai_jev_evaluate Use TypeSafe Jev for fast, low-credit classification, yes/no checks, and scoring across thousands of text items Use TypeSafe Jev for fast, low-credit classification, yes/no checks, and scoring across thousands of text items. Evaluate content as a whole or each list item with automatic batching. Text only; images are not supported. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_jev_evaluate` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `processing_mode` | enum (`whole_content`, `each_item`) | No | `whole_content` | whole\_content (default): evaluate all content together, including a conversation or related records. each\_item: apply the same questions independently to each list item, automatically batching many evaluations per API request. | | `content` | string or object or array of any | Yes | - | Text, a JSON object, or a list to evaluate. Accepts native objects/lists or JSON text. In each\_item mode provide a list, e.g. \[\{"query":"buy running shoes","clicks":120}]. Content is supplied as text/structured data; media URLs are not fetched. | | `content_fields` | array of string | No | - | In each\_item mode, top-level keys to evaluate from each object, e.g. \['query']. Omit or pass \[] to evaluate the entire item. Other fields are preserved in the output. Selected keys must exist in every item. | | `questions` | object or string | Yes | - | Nonempty map of questions keyed by output name, or its JSON string. Use the exact types choice, score, and noul; yes/no uses noul, not boolean or yes\_no. Each question needs instructions describing the task; its output name is only an ID. You can combine different question types in one map. Questions run independently. Classification (choice): choose one category. criteria is an object mapping category names to descriptions (or null). Include an other/no-match category when appropriate. Example: \{"intent":\{"type":"choice","instructions":"Classify the search intent.","criteria":\{"informational":"Users seeking information or answers","transactional":"Users ready to make a purchase or complete an action"}}}. Returns choice, confidence, and probabilities for the categories. Scoring (score): rate one dimension using criteria as an ordered array of descriptive levels, lowest to highest. Use 2 to 10 concrete descriptions, not numeric labels. Example: \{"offer\_clarity":\{"type":"score","instructions":"How clearly does the ad describe its offer?","criteria":\["No product or service is identified","The product or service is named but its benefit is unclear","The product or service and its customer benefit are explicit"]}}. Returns score, confidence, probabilities, and legend. Levels start at 0; this example returns a score from 0 to 2, including fractional values. Yes/no (noul): ask whether a condition holds. criteria is optional; when supplied, it is an object with true and false descriptions. Example: \{"has\_cta":\{"type":"noul","instructions":"Does the ad explicitly ask the reader to take an action?","criteria":\{"true":"Explicitly asks the reader to buy, sign up, book, call, or visit","false":"No explicit request to take an action"}}}. Returns noul, the probability of yes from 0 to 1, not a boolean or a separate confidence. Use several noul questions when multiple labels can apply. In each\_item mode define questions once, referring to the current item or its field names; Markifact binds each question to its item. No \{item} placeholder is needed. Instructions and criteria descriptions also accept structured objects/arrays; these pass through without losing nested fields. | | `flatten_output` | boolean | No | `False` | Default false: return native answer objects keyed by question ID; list results are an array of \{item, answers}. True: add flat fields named after each question, with \_confidence/\_probabilities for choice and score, \_legend for score, and \_probability for noul. A flattened noul is true at probability >= 0.5; use its probability for your own threshold. Existing columns are never overwritten. | | `model` | string | No | `jev-latest` | Jev model ID or alias. Defaults to jev-latest, which follows the latest stable release. | ## Output **Type**: `Any` Whole content returns answers directly keyed by question ID; each\_item returns an array \[\{item, answers}] in input order, with no rows wrapper. Model and token usage are kept in execution logs, not output. Native answers preserve choice/noul/score, probabilities, confidence and score legends. flatten\_output=true places answers in named columns (original columns retained for list items): \, \\_confidence, \\_probabilities, \\_legend for scores, or \ boolean and \\_probability for noul. Flattened booleans use probability >= 0.5. No text explanations are generated. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "intent": { "type": "choice", "choice": "transactional", "confidence": 1.0, "probabilities": { "informational": 0.0, "transactional": 1.0 } } } ``` # Structure Source: https://docs.markifact.com/nodes/ai/ai_structure Use AI to convert unstructured text or documents into structured JSON data using custom schemas fields you provide Use AI to convert unstructured text or documents into structured JSON data using custom schemas fields you provide. | | | | - | - | | **App** | AI | | **Operation ID** | `ai_structure` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `prompt` | string | Yes | - | Instructions for how to structure the data. This is a multi-line text area where you can: - Describe what data to extract or analyze - Reference dynamic data from other nodes using \{\{nodeId\_\_data}} syntax - Specify formatting requirements - Use line breaks to structure complex instructions Example: "Structure this customer data: \{\{customerNodeId\_\_data}} Extract key information and organize it properly" | | `model` | string or SelectableOption | Yes | - | The AI model to use for data structuring. Some available options: 'gpt-6.1-sol' - Default. Strong all-round OpenAI model 'gpt-6-astra' - OpenAI's most capable model, for complex tasks 'gpt-6-luna' - Fastest, lowest-cost OpenAI model 'gemini-3.8-flash' - Fast, efficient Gemini model 'gemini-3.1-pro-preview' - Google's most powerful model Note: Some models require Advanced tier subscription. | | `schema_type` | string or SelectableOption | No | - | The type of structured output format. Available options: 'object' - Return one structured object 'array' - Return multiple structured objects Choose based on whether you expect one result or multiple results. | | `schema_fields` | array of SchemaField | Yes | - | Define the structure for the output data. Each field specifies: - name: The variable name for this field - type: The data type (text, number, boolean, etc.) - description: What this field should contain This ensures the AI returns data in the exact format you need for downstream processing. | ### SchemaField | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | The name of the field. | | `type` | string | Yes | - | Data type of the field, available types: text, number, boolean, object, list. | | `description` | string | Yes | - | Description of the field. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict] | Dict` Returns structured data matching the provided schema\_fields. Output is either a list or single object based on 'schema\_type' set by user. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "name": "John", "email": "john@example.com", "score": 85 } ] ``` # Check Product Eligibility Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_check_product_eligibility Checks whether ASINs are eligible to be advertised, with ineligibility reasons Checks whether ASINs are eligible to be advertised, with ineligibility reasons. Use before creating campaigns or ads. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_check_product_eligibility` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to check product eligibility in. | | `asins` | array of string (also accepts a comma-separated string) | Yes | - | The ASINs to check advertising eligibility for (like B07FZ8S74R), as a list or comma-separated text. Up to 50. | | `ad_type` | string or SelectableOption | No | `{'value': 'sp', 'label': 'Sponsored Products'}` | The ad product to check eligibility against: sp, sb, or sd. Default: sp. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns per-product eligibility with overallStatus ELIGIBLE, ELIGIBLE\_WITH\_WARNING, or INELIGIBLE. # Create Ad Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_create_ad Creates an Amazon Ads ad in an ad group: Sponsored Products product ads, or creative-based ads for Sponsored Brands, Display, and TV Creates an Amazon Ads ad in an ad group: Sponsored Products product ads, or creative-based ads for Sponsored Brands, Display, and TV. Use amazon\_ads\_upload\_creative\_asset or amazon\_ads\_search\_assets for creative assets. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_create_ad` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile (advertiser + marketplace) to create the ad in. | | `ad_product` | string or SelectableOption | Yes | - | The Amazon ad product of the ad group. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, or SPONSORED\_TELEVISION. Sponsored Products ads use the simple product fields; other products take a raw creative object. | | `ad_group_id` | string or SelectItem | Yes | - | The Amazon Ads ad group to create the ad in. | | `ad_type` | string or SelectableOption | No | - | The ad format: PRODUCT\_AD (Sponsored Products), COMPONENT (Sponsored Brands product collection, store spotlight, brand video, and other component formats), VIDEO, DISPLAY, AUDIO, or THIRD\_PARTY. Defaults to PRODUCT\_AD for Sponsored Products and COMPONENT for Sponsored Brands. | | `ad_name` | string | No | - | Name of the ad. Required for Sponsored Brands ads. | | `state` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Ad state on creation. Options: ENABLED, PAUSED, DRAFT, PROPOSED. Default: PAUSED. | | `product_id` | string | No | - | For Sponsored Products PRODUCT\_AD: the product to advertise, as an ASIN (like B07FZ8S74R) or SKU. Sellers use SKU; vendors use ASIN. | | `product_id_type` | string or SelectableOption | No | `{'value': 'ASIN', 'label': 'ASIN'}` | Whether product\_id is an ASIN or SKU. Default: ASIN. | | `headline` | string | No | - | Optional custom headline text for the Sponsored Products ad. | | `creative` | object or string | No | - | Raw Amazon Ads API v1 creative object, sent as-is; required for every ad except Sponsored Products product ads (which can use product\_id instead). Exactly one key: productCreative, componentCreative (Sponsored Brands: productCollectionSettings, storeSpotlightSettings, productVideoSettings, brandStoreSettings, and other component formats), videoCreative (onlineVideoSettings or streamingTvSettings for Sponsored TV), displayCreative, audioCreative, or thirdPartyCreative. Image and video assets are referenced by assetId + assetVersion from amazon\_ads\_upload\_creative\_asset or amazon\_ads\_search\_assets. Example: \{"componentCreative": \{"productVideoSettings": \{"products": \[\{"productId": "B003UKM9CO", "productIdType": "ASIN"}], "videos": \[\{"assetId": "amzn1...", "assetVersion": "version\_v1"}]}}} | | `tags` | array of object or string | No | - | Open-ended labels applied to the ad, as a raw JSON array of \{"key": ..., "value": ...} objects. Example: \[\{"key": "team", "value": "growth"}] | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Amazon ad details including the full ad object. **Fields**: `ad_id`, `ad_name`, `ad_group_id`, `ad_product`, `ad_type`, `state`, `ad` # Create Ad Group Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_create_ad_group Creates an Amazon Ads ad group in a campaign for any sponsored ads product Creates an Amazon Ads ad group in a campaign for any sponsored ads product. Use amazon\_ads\_list\_campaigns to find the campaign ID. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_create_ad_group` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile (advertiser + marketplace) to create the ad group in. | | `ad_product` | string or SelectableOption | Yes | - | The Amazon ad product of the parent campaign. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, or SPONSORED\_TELEVISION. Must match the campaign's ad product. Sponsored Products requires a default\_bid. | | `campaign_id` | string or SelectItem | Yes | - | The Amazon Ads campaign to create the ad group in. | | `ad_group_name` | string | Yes | - | Name of the Amazon Ads ad group. | | `state` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Ad group state on creation. Options: ENABLED, PAUSED, DRAFT, or PROPOSED. Default: PAUSED. | | `default_bid` | number | No | - | Default bid for targets in this ad group, in the profile's currency (for example 1.5 for \$1.50). Required for Sponsored Products; also used by Sponsored Display and Sponsored TV. | | `bid` | object or string | No | - | Advanced alternative to default\_bid: the raw Amazon Ads API v1 bid object, sent as-is. Keys: defaultBid, baseBid, maxAverageBid, marketplaceSettings (per-marketplace defaultBid with currencyCode for global campaigns). Example: \{"defaultBid": 1.5} | | `marketplace_scope` | string or SelectableOption | No | - | SINGLE\_MARKETPLACE or GLOBAL. Only send when needed (for example Sponsored Display single-marketplace ad groups); read-only for Sponsored Products and Sponsored Brands ad groups. | | `marketplaces` | array of string or SelectableOption | No | - | Retail marketplaces for the ad group (for example US). Used with SINGLE\_MARKETPLACE scope where the ad product supports it. | | `creative_type` | string or SelectableOption | No | - | Creative type for the ad group: IMAGE or VIDEO. Availability varies by ad product; leave unset unless the product requires it. | | `start_date_time` | string | No | - | Optional ad group start as an ISO datetime or YYYY-MM-DD date. Not supported for Sponsored Products or Sponsored Brands ad groups. | | `end_date_time` | string | No | - | Optional ad group end as an ISO datetime or YYYY-MM-DD date. Not supported for Sponsored Products or Sponsored Brands ad groups. | | `tags` | array of object or string | No | - | Open-ended labels applied to the ad group, as a raw JSON array of \{"key": ..., "value": ...} objects. Example: \[\{"key": "team", "value": "growth"}] | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Amazon ad group details including the full ad group object. **Fields**: `ad_group_id`, `ad_group_name`, `campaign_id`, `ad_product`, `state`, `ad_group` # Create Budget Rule Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_create_budget_rule Creates a Sponsored Products budget rule that automatically increases campaign budgets on a schedule or performance condition Creates a Sponsored Products budget rule that automatically increases campaign budgets on a schedule or performance condition. Attach it to campaigns with amazon\_ads\_manage\_budget\_rule\_campaigns. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_create_budget_rule` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to create the budget rule in. | | `rule_name` | string | Yes | - | Name of the budget rule. Must be unique within the profile. | | `rule_type` | string or SelectableOption | Yes | - | SCHEDULE increases campaign budgets during a date range or event; PERFORMANCE increases budgets when a performance metric crosses a threshold. Sponsored Products only. | | `budget_increase_percent` | number | Yes | - | How much to increase campaign budgets by, as a percentage (for example 50 for +50%). | | `start_date` | string | No | - | Rule start date (YYYY-MM-DD). Required unless event\_id is used for SCHEDULE rules. | | `end_date` | string | No | - | Optional rule end date (YYYY-MM-DD). | | `event_id` | string | No | - | Only for SCHEDULE rules tied to a special event (like Prime Day): the event ID from Amazon's recommended events. Used instead of start\_date/end\_date. | | `days_of_week` | array of string or SelectableOption | No | - | Optional days of the week the rule applies on (MONDAY through SUNDAY). Applies every day when omitted. | | `performance_metric` | string or SelectableOption | No | - | For PERFORMANCE rules: the metric to watch (ACOS, CTR, CVR, ROAS). | | `comparison_operator` | string or SelectableOption | No | - | For PERFORMANCE rules: how to compare the metric to the threshold. | | `threshold` | number | No | - | For PERFORMANCE rules: the metric threshold value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created budget rule details. **Fields**: `rule_name`, `rule_type`, `response` # Create Campaign Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_create_campaign Creates an Amazon Ads campaign for any sponsored ads product: Sponsored Products, Sponsored Brands, Sponsored Display, or Sponsored Television Creates an Amazon Ads campaign for any sponsored ads product: Sponsored Products, Sponsored Brands, Sponsored Display, or Sponsored Television. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_create_campaign` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile (advertiser + marketplace) to create the campaign in. | | `ad_product` | string or SelectableOption | Yes | - | The Amazon ad product for the campaign. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, or SPONSORED\_TELEVISION. Determines which fields are required: Sponsored Products needs a budget, start date, and auto\_create\_targets choice; Sponsored Brands additionally needs cost\_type and a goal KPI inside optimizations. | | `campaign_name` | string | Yes | - | Name of the Amazon Ads campaign. | | `state` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Campaign state on creation. Options: ENABLED, PAUSED, DRAFT, or PROPOSED. Default: PAUSED. | | `budget_value` | number | No | - | Campaign budget in the profile's currency (for example 50 for \$50; Amazon takes plain currency amounts, not micro-units). Required for Sponsored Products and Sponsored Brands unless the raw budgets field is used. | | `budget_recurrence` | string or SelectableOption | No | `{'value': 'DAILY', 'label': 'Daily'}` | How the budget recurs: DAILY, LIFETIME, or MONTHLY. Default: DAILY. Used together with budget\_value. | | `budgets` | array of object or string | No | - | Advanced alternative to budget\_value: the raw Amazon Ads API v1 budgets array, sent as-is. Each entry needs budgetType (MONETARY), budgetValue, and recurrenceTimePeriod (DAILY, LIFETIME, or MONTHLY). Use for advanced cases like marketplace-level budget settings on global campaigns. Example: \[\{"budgetType": "MONETARY", "budgetValue": \{"monetaryBudgetValue": \{"monetaryBudget": \{"value": 100}}}, "recurrenceTimePeriod": "DAILY"}] | | `start_date_time` | string | No | - | Campaign start as an ISO datetime (2026-09-01T00:00:00Z) or YYYY-MM-DD date. Required for Sponsored Products and Sponsored Brands. | | `end_date_time` | string | No | - | Optional campaign end as an ISO datetime or YYYY-MM-DD date. The campaign runs indefinitely when omitted. | | `marketplace_scope` | string or SelectableOption | No | - | SINGLE\_MARKETPLACE targets one retail marketplace; GLOBAL creates a global campaign across marketplaces. Defaults to SINGLE\_MARKETPLACE for Sponsored Products and Sponsored Brands (where Amazon requires it). | | `marketplaces` | array of string or SelectableOption | No | - | Retail marketplaces for the campaign (for example US, GB, DE, JP). Required for Sponsored Products and Sponsored Brands: with SINGLE\_MARKETPLACE scope pass exactly one, matching the profile's marketplace (shown in the profile name). | | `countries` | string or array of string | No | - | Optional two-letter country codes that impact targeted supply (for Sponsored Ads, countries the campaign serves in). List or comma-separated text. | | `cost_type` | string or SelectableOption | No | - | How the campaign is charged: CPC, CPM, FIXED\_PRICE, or VCPM. Required for Sponsored Brands (CPC is the common choice). | | `auto_create_targets` | boolean | No | - | Whether Amazon auto-creates targets for the campaign (auto targeting). Required for Sponsored Products: true for auto-targeting campaigns, false for manual targeting (add keywords or product targets afterwards). | | `auto_manage_campaign` | boolean | No | - | Let Amazon fully auto-manage the campaign (autoCreationSettings.autoManageCampaign). Leave unset unless you explicitly want it. | | `optimizations` | object or string | No | - | Raw Amazon Ads API v1 optimizations object, sent as-is. Keys: bidSettings (bidStrategy such as MANUAL, SALES\_UP\_AND\_DOWN, SPEND\_BUDGET\_IN\_FULL, plus bidAdjustments with placementBidAdjustments/audienceBidAdjustments/shopperSegmentBidAdjustments), goalSettings (kpi such as CLICKS, PURCHASES, ROAS, with optional kpiValue; required for Sponsored Brands), budgetSettings (offAmazonBudgetControlStrategy), and primaryInventoryTypes. Example: \{"bidSettings": \{"bidStrategy": "SALES\_UP\_AND\_DOWN"}, "goalSettings": \{"kpi": "CLICKS"}} | | `portfolio_id` | string or SelectItem | No | - | Optional portfolio ID to place the campaign in. | | `brand_id` | string | No | - | Optional brand ID the campaign is associated with (Sponsored Brands). | | `product_category_id` | string | No | - | Optional product category ID associated with the campaign. | | `sales_channel` | string or SelectableOption | No | - | Where sales happen: AMAZON or OFF\_AMAZON (Sponsored Brands only). | | `site_restrictions` | array of string or SelectableOption | No | - | Restrict the campaign to particular Amazon sites: AMAZON\_BUSINESS and/or AMAZON\_HAUL (Sponsored Products only). | | `tags` | array of object or string | No | - | Open-ended labels applied to the campaign, as a raw JSON array of \{"key": ..., "value": ...} objects. Example: \[\{"key": "team", "value": "growth"}] | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Amazon campaign details including the full campaign object. **Fields**: `campaign_id`, `campaign_name`, `ad_product`, `state`, `campaign` # Create Portfolio Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_create_portfolio Creates an Amazon Ads portfolio, optionally with a budget cap Creates an Amazon Ads portfolio, optionally with a budget cap. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_create_portfolio` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to create the portfolio in. | | `portfolio_name` | string | Yes | - | Name of the portfolio. Must be unique within the profile. | | `budget_policy` | string or SelectableOption | No | - | Optional budget cap policy: DATE\_RANGE (budget for a date range), MONTHLY\_RECURRING (budget resets monthly), or NO\_CAP. Leave unset for no budget. | | `budget_amount` | number | No | - | Budget cap in the profile's currency. Required with DATE\_RANGE or MONTHLY\_RECURRING policies. | | `budget_start_date` | string | No | - | Budget start date (YYYY-MM-DD). Required for DATE\_RANGE; optional for MONTHLY\_RECURRING. | | `budget_end_date` | string | No | - | Optional budget end date (YYYY-MM-DD) for DATE\_RANGE budgets. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created portfolio's ID and details. **Fields**: `portfolio_id`, `portfolio_name`, `portfolio` # Create Targets Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_create_targets Creates Amazon Ads targets in bulk: keywords, product targets, category targets, themes, and audiences, including negatives Creates Amazon Ads targets in bulk: keywords, product targets, category targets, themes, and audiences, including negatives. Use amazon\_ads\_list\_ad\_groups to find the ad group ID. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_create_targets` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile (advertiser + marketplace) to create the targets in. | | `ad_product` | string or SelectableOption | Yes | - | The Amazon ad product of the campaign. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, or SPONSORED\_TELEVISION. Target type support varies: Sponsored Products and Brands take KEYWORD, PRODUCT, PRODUCT\_CATEGORY, and THEME; Sponsored Display also takes PRODUCT\_AUDIENCE; Sponsored TV takes AUDIENCE. | | `target_type` | string or SelectableOption | Yes | - | What to target. KEYWORD (search keywords with match types), PRODUCT (specific ASINs/SKUs), PRODUCT\_CATEGORY (category with refinements), THEME (Amazon-managed keyword groups), AUDIENCE (audience ID), or PRODUCT\_AUDIENCE (viewers/purchasers of a product). | | `ad_group_id` | string or SelectItem | No | - | The Amazon Ads ad group to create the targets in. Required except for Sponsored Products campaign-level negative targets (set campaign\_id instead). | | `campaign_id` | string or SelectItem | No | - | Only for Sponsored Products campaign-level negative targets: the campaign to attach the negatives to (leave ad\_group\_id empty). | | `negative` | boolean | No | `False` | Set true to create negative (excluding) targets, for example negative keywords or negative product targets. Default false. | | `state` | string or SelectableOption | No | `{'value': 'ENABLED', 'label': 'Enabled'}` | Target state on creation. Options: ENABLED, PAUSED, DRAFT, PROPOSED. Default: ENABLED. | | `bid` | number | No | - | Bid for these targets in the profile's currency (for example 0.75 for \$0.75). Applied to every target created by this run. Not allowed on negative targets. Required for Sponsored Brands targets. | | `keywords` | array of string (also accepts a comma-separated string) | No | - | For KEYWORD targets: the keywords to add, as a list or comma/newline separated text. One target is created per keyword. | | `match_type` | string or SelectableOption | No | - | For KEYWORD targets: match type applied to all keywords. Options: BROAD, PHRASE, EXACT. | | `product_ids` | array of string (also accepts a comma-separated string) | No | - | For PRODUCT targets: the product IDs (ASINs like B07FZ8S74R, or SKUs) to target, as a list or comma-separated text. One target is created per product. | | `product_id_type` | string or SelectableOption | No | `{'value': 'ASIN', 'label': 'ASIN'}` | For PRODUCT targets: whether product\_ids are ASINs or SKUs. Default: ASIN. | | `product_match_type` | string or SelectableOption | No | `{'value': 'PRODUCT_EXACT', 'label': 'Product Exact'}` | For PRODUCT targets: PRODUCT\_EXACT (the exact product), PRODUCT\_SIMILAR, PRODUCT\_COMPLEMENTS, or PRODUCT\_REMARKETING. Default: PRODUCT\_EXACT. | | `product_category_refinement` | object or string | No | - | For PRODUCT\_CATEGORY targets: the raw Amazon Ads API v1 productCategoryRefinement object, sent as-is. Keys: productCategoryId, productBrandId, productGenreId, productAgeRangeId, productPriceGreaterThan, productPriceLessThan, productRatingGreaterThan, productRatingLessThan, productPrimeShippingEligible. Find category and refinement IDs with amazon\_ads\_get\_category\_targets. Example: \{"productCategoryId": "679255011", "productRatingGreaterThan": 4} | | `theme_match_type` | string or SelectableOption | No | - | For THEME targets: the Amazon-managed keyword group to target. Sponsored Products supports KEYWORDS\_RELATED\_TO\_YOUR\_BRAND, KEYWORDS\_RELATED\_TO\_YOUR\_PRODUCT\_CATEGORY, KEYWORDS\_RELATED\_TO\_PEER\_BRANDS\_PRODUCT\_CATEGORY, KEYWORDS\_RELATED\_TO\_GIFTS, and KEYWORDS\_RELATED\_TO\_PRIME\_DAY; Sponsored Brands supports KEYWORDS\_RELATED\_TO\_YOUR\_BRAND and KEYWORDS\_RELATED\_TO\_YOUR\_LANDING\_PAGES. Note: the auto-targeting clauses (KEYWORDS\_CLOSE\_MATCH, KEYWORDS\_LOOSE\_MATCH, PRODUCT\_SUBSTITUTES, PRODUCT\_COMPLEMENTS) cannot be created manually; Amazon creates them when a campaign is made with auto\_create\_targets enabled. | | `audience_id` | string | No | - | For AUDIENCE targets: the Amazon audience ID to target. | | `product_audience` | object or string | No | - | For PRODUCT\_AUDIENCE targets: the raw Amazon Ads API v1 productAudienceTarget object, sent as-is. Keys: asin (\{"defaultValue": "B0..."}), event, lookback, matchType (PRODUCT\_EXACT or PRODUCT\_SIMILAR). All four are required by Amazon. | | `targets` | array of object or string | No | - | Advanced alternative to the fields above: the raw Amazon Ads API v1 targets array, sent as-is (each entry needs adProduct, negative, state, targetType, targetDetails, and adGroupId or campaignId). Use for mixed batches or target types not covered by the simple fields. Example: \[\{"adGroupId": "123", "adProduct": "SPONSORED\_PRODUCTS", "negative": false, "state": "ENABLED", "targetType": "KEYWORD", "targetDetails": \{"keywordTarget": \{"keyword": "running shoes", "matchType": "EXACT"}}}] | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created\_count and the created targets with their IDs. **Fields**: `created_count`, `targets` # Custom Amazon Ads App Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_custom_app Connect Amazon Ads through your own Login with Amazon app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Amazon Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Login with Amazon app** (Custom App). With a custom app, every request Markifact makes to the Amazon Advertising API runs under your app and your client ID, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 20-30 minutes, plus Amazon's API access approval | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's client ID | Your client ID | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Three values from your own Login with Amazon app: | Value | Where it comes from | | :- | :- | | **Client ID** | Your security profile in the [Amazon Developer console](https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html) | | **Client Secret** | The same security profile | | **Refresh Token** | Minted against that app with the `advertising::campaign_management` scope, by the Amazon account that has access to the advertising accounts | Amazon access tokens last one hour; Markifact refreshes them with your client ID and secret on every run. Refresh tokens stay valid until the user revokes the app. > [!NOTE] > > Amazon rejects any Advertising API call whose `Amazon-Ads-ClientId` header does not match the app that issued the token, which is why Markifact stores the client ID alongside the refresh token and sends them together. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a refresh token issued by your app with the scope below, skip to [Connect to Markifact](#connect-to-markifact). *** ## Setting Up Your Custom Amazon Ads App **1. Create the Login with Amazon Security Profile** 1. Open the [Login with Amazon console](https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html) and click **Create a New Security Profile** 2. Enter the profile name, description, and a privacy policy URL. The profile name is the branding users see when they authorize 3. Once created, open **Web Settings** and add a **Allowed Return URL** you control (for example `https://www.youragency.com/amazon-callback`). Amazon appends the auth code to this URL after authorization; the page does not need to do anything, but the URL must be HTTPS 4. Copy the **Client ID** and **Client Secret** **2. Apply for Amazon Advertising API Access** The Advertising API is not open to every app. Apply through the [Amazon Advertising API onboarding](https://advertising.amazon.com/API/docs/en-us/guides/onboarding/overview) and wait for Amazon to allow-list your client ID. Agencies that already run their own integrations will have this in place; until it is approved, the profiles endpoint returns authorization errors. **3. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the client ID and return URL. Use the regional login host that matches your advertiser: `amazon.com` for North America, `eu.account.amazon.com` for Europe, `apac.account.amazon.com` for the Far East ```bash theme={"dark"} https://www.amazon.com/ap/oa?client_id=YOUR_CLIENT_ID&scope=advertising::campaign_management&response_type=code&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Famazon-callback&state=markifact ``` 2. Sign in as the Amazon account that has access to the advertising accounts you want to manage and click **Allow** 3. Amazon redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire after a few minutes and can be exchanged once, so do the next step right away **4. Exchange the Auth Code for a Refresh Token** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://api.amazon.com/auth/o2/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=authorization_code" \ -d "code=THE_AUTH_CODE" \ -d "client_id=YOUR_CLIENT_ID" \ -d "client_secret=YOUR_CLIENT_SECRET" \ -d "redirect_uri=https://www.youragency.com/amazon-callback" ``` The response contains `refresh_token`. Copy it. > **Important:** Keep this token secure. Anyone holding it, together with your client ID and secret, can act on every advertising account the user can reach. **5. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **Amazon Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency Amazon Ads") 5. Paste your **Client ID**, **Client Secret**, and **Refresh Token** 6. Click **Verify & Connect** Markifact refreshes the token once with your app, then reads the advertising profiles from the North America, Europe and Far East endpoints. Nothing is saved unless at least one region returns a profile. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in Amazon Ads nodes, agents, and MCP exactly like any other Amazon Ads connection, then pick the advertising profile in the node. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Amazon rejected the client ID or client secret (invalid\_client) > > Check both values on your security profile in the Login with Amazon console. The client ID starts with `amzn1.application-oa2-client.`. > [accordion] Amazon rejected the refresh token (invalid\_grant) > > The token was issued by a different security profile than the one whose client ID you pasted, or the user revoked the app under their Amazon account's **Login with Amazon** settings. Authorize again and paste the new refresh token. > [accordion] Amazon Ads API rejected the credentials (UNAUTHORIZED) > > The client ID and the refresh token must come from the same app. Amazon checks the `Amazon-Ads-ClientId` header against the token's issuing client and rejects a mismatch, so pasting a client ID from one security profile with a token from another always fails here. > [accordion] Amazon Ads API refused access (403) > > Your client ID has not been allow-listed for the Advertising API yet, or the token is missing the `advertising::campaign_management` scope. Check the onboarding status with Amazon and authorize again with the scope. > [accordion] This Amazon account has no advertising profiles in any region > > The account that authorized has no access to an advertising account. Invite it under **Account settings** > **User management** in the Amazon Ads console, then authorize again. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Client ID** | Login with Amazon console > your security profile | `amzn1.application-oa2-client.abc123...` | | **Client Secret** | Same security profile | `amzn1.oa2-cs.v1.abc123...` | | **Refresh Token** | Response of the auth code exchange | `Atzr\|IwEBI...` | | **Scope** | Authorization URL | `advertising::campaign_management` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/amazon_ads/amazon_ads_get_report) > > Pull Amazon Ads performance data # Get Bid Recommendations Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_bid_recommendations Gets Sponsored Products bid recommendations for keywords and targeting expressions Gets Sponsored Products bid recommendations for keywords and targeting expressions. Feed the suggested bids into amazon\_ads\_create\_targets or amazon\_ads\_update\_targets. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_bid_recommendations` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to get bid recommendations for. | | `recommend_for` | string or SelectableOption | Yes | - | Get Sponsored Products theme-based bid recommendations for an existing ad group or for a new ad group planned around a list of ASINs. Options: existing\_ad\_group or new\_ad\_group. | | `campaign_id` | string or SelectItem | No | - | The campaign of the ad group. Required when recommend\_for is existing\_ad\_group. | | `ad_group_id` | string or SelectItem | No | - | The ad group to recommend bids for. Required when recommend\_for is existing\_ad\_group. | | `asins` | array of string (also accepts a comma-separated string) | No | - | The ad ASINs planned for the new ad group, as a list or comma-separated text. Required when recommend\_for is new\_ad\_group. | | `targeting_expressions` | array of object or string | Yes | - | Raw Amazon targeting expressions to get bid recommendations for, sent as-is (up to 100). Each entry: \{"type": ...} with optional "value". Types: CLOSE\_MATCH, LOOSE\_MATCH, SUBSTITUTES, COMPLEMENTS (auto targeting); KEYWORD\_BROAD\_MATCH, KEYWORD\_PHRASE\_MATCH, KEYWORD\_EXACT\_MATCH with a keyword value; PAT\_ASIN, PAT\_CATEGORY, PAT\_CATEGORY\_REFINEMENT with an ASIN or category value. Example: \[\{"type": "KEYWORD\_EXACT\_MATCH", "value": "running shoes"}, \{"type": "CLOSE\_MATCH"}] | | `bidding` | object or string | No | - | Only for new\_ad\_group: the raw bidding control configuration of the planned campaign, sent as-is. Example: \{"strategy": "AUTO\_FOR\_SALES"} | | `include_analysis` | boolean | No | `False` | Include bid analyzer impact data with the recommendations. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns suggested bid ranges per targeting expression. # Get Budget Recommendations Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_budget_recommendations Gets Amazon's budget recommendations and missed-opportunity estimates for Sponsored Products campaigns Gets Amazon's budget recommendations and missed-opportunity estimates for Sponsored Products campaigns. Feed the results into amazon\_ads\_update\_campaign\_budget. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_budget_recommendations` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to get budget recommendations for. | | `campaign_ids` | array of string (also accepts a comma-separated string) | Yes | - | Sponsored Products campaign IDs to get budget recommendations and missed opportunities for, as a list or comma-separated text. Up to 100. | ## Output **Type**: `Dict` Returns per-campaign budget recommendations and missed opportunities. # Get Budget Usage Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_budget_usage Gets the current budget usage percentage of Amazon Ads campaigns or portfolios Gets the current budget usage percentage of Amazon Ads campaigns or portfolios. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_budget_usage` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to get budget usage for. | | `usage_scope` | string or SelectableOption | Yes | - | What to get budget usage for: sp\_campaigns, sb\_campaigns, sd\_campaigns, or portfolios. | | `ids` | array of string (also accepts a comma-separated string) | Yes | - | The campaign IDs (or portfolio IDs when usage\_scope is portfolios) to get budget usage percentages for, as a list or comma-separated text. Up to 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-entity budget usage percentages with success and error lists. # Get Category Targets Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_category_targets Discovers Sponsored Products category targets: the categories Amazon recommends for given ASINs with their full path and parents, the whole targetable category tree of the marketplace, the brand, a... Discovers Sponsored Products category targets: the categories Amazon recommends for given ASINs with their full path and parents, the whole targetable category tree of the marketplace, the brand, age range and genre refinements of a category, and how many ASINs a category would target. Gives the category and refinement IDs that amazon\_ads\_create\_targets needs for PRODUCT\_CATEGORY targets. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_category_targets` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile; categories are per marketplace. | | `lookup` | string or SelectableOption | No | `recommended_for_asins` | What to look up. recommended\_for\_asins: the categories Amazon recommends for your ASINs, with the full category path and parent, the usual starting point for PRODUCT\_CATEGORY targets. browse\_tree: the whole targetable category tree of the marketplace, flattened to one row per category with its path; use name\_search to narrow it. refinements: the brands, age ranges and genres you can refine a category with (their ids go into product\_category\_refinement). asin\_count: how many ASINs a category, optionally narrowed by a refinement, would target. | | `asins` | array of string (also accepts a comma-separated string) | No | - | ASINs to get category recommendations for, as a list or comma-separated text. Required for recommended\_for\_asins. | | `include_ancestors` | boolean | No | `True` | For recommended\_for\_asins: also return the parent categories of the recommended ones, which is how you find the broad category above your product. Default true. | | `category_id` | string or SelectItem | No | - | Category ID from a previous lookup. Required for refinements and asin\_count. | | `refinement` | object or string | No | - | For asin\_count: the same productCategoryRefinement object amazon\_ads\_create\_targets takes (productBrandId, productGenreId, productAgeRangeId, productPriceGreaterThan, productPriceLessThan, productRatingGreaterThan, productRatingLessThan, productPrimeShippingEligible), so you can size a target before creating it. productCategoryId inside it is ignored in favour of category\_id. | | `name_search` | string | No | - | Return only categories whose name or path contains this text (case-insensitive). Applies to browse\_tree and recommended\_for\_asins. | | `locale` | string | No | - | Optional locale for translated category names, for example en\_US or de\_DE. Passed to Amazon as-is. | | `limit` | integer | No | `200` | Maximum number of rows to return (1-5000). Default: 200. The full tree can hold thousands of categories, so narrow with name\_search. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per category (category\_id, name, path, parent\_category\_id, ASIN count range), per refinement (refinement\_type, id, name, refinement\_key), or the ASIN count for asin\_count. **Fields**: dynamic (depend on the inputs) # Get Change History Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_change_history Gets the change history of an Amazon Ads profile: who changed what and when across campaigns, ad groups, ads, and targets Gets the change history of an Amazon Ads profile: who changed what and when across campaigns, ad groups, ads, and targets. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_change_history` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to get change history for. | | `event_types` | array of string or SelectableOption | No | - | Entity types to get change events for: CAMPAIGN, AD\_GROUP, AD, KEYWORD, NEGATIVE\_KEYWORD, PRODUCT\_TARGETING. Defaults to CAMPAIGN when omitted. | | `time_range` | string or SelectableOption | No | `{'value': 'last_30_days', 'label': 'Last 30 days'}` | Time period for the change history. Options: last\_90\_days, last\_30\_days, last\_14\_days, last\_7\_days, today, yesterday. Amazon keeps up to 90 days. Default: last\_30\_days. | | `entity_ids` | array of string (also accepts a comma-separated string) | No | - | Optional entity IDs to filter by, matching the selected event types (for example campaign IDs for CAMPAIGN). Up to 10. | | `limit` | integer | No | `200` | Maximum number of change events to return. Default: 200. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of change events. # Get Keyword Recommendations Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_keyword_recommendations Gets Amazon's ranked Sponsored Products keyword recommendations with suggested bids Gets Amazon's ranked Sponsored Products keyword recommendations with suggested bids. Feed the results into amazon\_ads\_create\_targets. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_keyword_recommendations` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to get keyword recommendations for. | | `recommend_for` | string or SelectableOption | Yes | - | Get Sponsored Products keyword recommendations for a list of ASINs (before a campaign exists) or for an existing ad group's advertised products. Options: asins or ad\_group. | | `asins` | array of string (also accepts a comma-separated string) | No | - | The ASINs to recommend keywords for (like B07FZ8S74R), as a list or comma-separated text. Required when recommend\_for is asins. | | `campaign_id` | string or SelectItem | No | - | The campaign of the ad group. Required when recommend\_for is ad\_group. | | `ad_group_id` | string or SelectItem | No | - | The ad group to recommend keywords for. Required when recommend\_for is ad\_group. | | `bids_enabled` | boolean | No | `True` | Include suggested bids with each recommended keyword. Default true. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Amazon's ranked keyword recommendations with themed suggested bids. # Get Moderation Results Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_moderation_results Gets the moderation status and policy violations of an Amazon Ads ad Gets the moderation status and policy violations of an Amazon Ads ad. Use to diagnose why an ad is not delivering. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_moderation_results` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | The Amazon Ads ad ID to get moderation results for. | | `ad_program_type` | string or SelectableOption | Yes | - | The ad program of the ad: SPONSORED\_PRODUCTS, SPONSORED\_DISPLAY, or the Sponsored Brands format (SB\_PRODUCT\_COLLECTION, SB\_STORE\_SPOTLIGHT, SB\_VIDEO). | | `status_filter` | array of string or SelectableOption | No | - | Filter results by moderation status: APPROVED, REJECTED, IN\_PROGRESS, FAILED. Returns all statuses when omitted. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns moderation results with status and policy violations per ad version. # Get Report Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_get_report Retrieves Amazon Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Amazon Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports Sponsored Products (SP), Sponsored Brands (SB), Sponsored Display (SD), and Sponsored Television (ST) reports. Selecting the Placement dimension returns a placement breakdown such as top of search, detail page and other, for Sponsored Brands and Sponsored Products only; Amazon has the Sponsored Brands placement report in preview and returns no rows for older campaigns that do not have multiple ad groups. Important: Amazon Ads reports are not generated in real time. Although most reports are ready within 20-30 minutes, a report can take up to 3 hours to complete. This processing time is determined by Amazon Ads and is outside Markifact's control. Do not use this operation through MCP or an AI agent; clients such as Claude and ChatGPT typically time out after 3-5 minutes, long before the report is ready. For reliable reporting, use a Markifact workflow to schedule the report to run daily and save the results to Google Sheets or a data warehouse such as BigQuery then use Claude or ChatGPT to analyze the saved data. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_get_report` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Summer Sale", "clicks": 150, "impressions": 5000, "cost": 75.0 } ] ``` # List Ad Groups Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_ad_groups Lists ad groups for an Amazon Ads profile across all sponsored ads products, with filtering options Lists ad groups for an Amazon Ads profile across all sponsored ads products, with filtering options. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose ad groups should be listed. | | `ad_products` | array of string or SelectableOption | No | - | Filter ad groups by ad product. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, SPONSORED\_TELEVISION. Defaults to all four when omitted. | | `entity_states` | array of string or SelectableOption | No | - | Filter ad groups by state. Options: ENABLED, PAUSED, ARCHIVED, DRAFT, PROPOSED. Defaults to ENABLED and PAUSED when omitted. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list ad groups for, as a list or comma-separated text. Up to 100. | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to fetch, as a list or comma-separated text. | | `name_contains` | string | No | - | Optional name filter: returns ad groups whose name matches the given text (Amazon broad match). | | `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving ad groups. The available fields to filter by are: - adGroupId: Filter by ad group ID - campaignId: Filter by campaign ID - name: Filter by ad group name - state: Filter by ad group state Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad groups to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Amazon Ads ad groups as provided by the Ads API v1 query/adGroups endpoint. # List Ads Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_ads Lists ads for an Amazon Ads profile across all sponsored ads products, with filtering options Lists ads for an Amazon Ads profile across all sponsored ads products, with filtering options. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_ads` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose ads should be listed. | | `ad_products` | array of string or SelectableOption | No | - | Filter ads by ad product. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, SPONSORED\_TELEVISION. Defaults to all four when omitted. | | `entity_states` | array of string or SelectableOption | No | - | Filter ads by state. Options: ENABLED, PAUSED, ARCHIVED, DRAFT, PROPOSED. Defaults to ENABLED and PAUSED when omitted. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list ads for, as a list or comma-separated text. Up to 100. | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to list ads for, as a list or comma-separated text. Up to 100. | | `ad_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad IDs to fetch, as a list or comma-separated text. Up to 100. | | `name_contains` | string | No | - | Optional name filter: returns ads whose name matches the given text (Amazon broad match). | | `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving ads. The available fields to filter by are: - adId: Filter by ad ID - adGroupId: Filter by ad group ID - campaignId: Filter by campaign ID - adType: Filter by ad type - name: Filter by ad name - state: Filter by ad state Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ads to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Amazon Ads ads as provided by the Ads API v1 query/ads endpoint. # List Brand Store Pages Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_brand_store_pages Lists brand store pages; the page URLs can be used as Sponsored Brands landing pages Lists brand store pages; the page URLs can be used as Sponsored Brands landing pages. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_brand_store_pages` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose brand store pages should be listed. | | `store_id` | string | No | - | Optional brand store ID to list pages for (from amazon\_ads\_list\_brand\_stores). Lists pages across stores when omitted. | | `limit` | integer | No | `50` | Maximum number of store pages to return. Default: 50. | ## Output **Type**: `List[Dict]` Returns the raw list of brand store pages as provided by the Ads API v1 query/brandStorePages endpoint. # List Brand Stores Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_brand_stores Searches Amazon brand stores by name; store URLs can be used as Sponsored Brands landing pages Searches Amazon brand stores by name; store URLs can be used as Sponsored Brands landing pages. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_brand_stores` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose brand stores should be listed. | | `store_name` | string | Yes | - | Store name to search for (Amazon requires a name filter with exactly one value). The store URLs returned can be used as Sponsored Brands landing pages. | ## Output **Type**: `List[Dict]` Returns the raw list of brand stores as provided by the Ads API v1 query/brandStores endpoint. # List Budget Rules Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_budget_rules Lists the Sponsored Products budget rules of an Amazon Ads profile Lists the Sponsored Products budget rules of an Amazon Ads profile. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_budget_rules` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose budget rules should be listed. | | `limit` | integer | No | `100` | Maximum number of budget rules to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the raw list of budget rules. # List Campaigns Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_campaigns Lists campaigns for an Amazon Ads profile across all sponsored ads products, with filtering options Lists campaigns for an Amazon Ads profile across all sponsored ads products, with filtering options. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_campaigns` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose campaigns should be listed. | | `ad_products` | array of string or SelectableOption | No | - | Filter campaigns by ad product. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, SPONSORED\_TELEVISION. Defaults to all four when omitted. | | `entity_states` | array of string or SelectableOption | No | - | Filter campaigns by state. Options: ENABLED, PAUSED, ARCHIVED, DRAFT, PROPOSED. Defaults to ENABLED and PAUSED when omitted. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to fetch, as a list or comma-separated text. | | `name_contains` | string | No | - | Optional name filter: returns campaigns whose name matches the given text (Amazon broad match). | | `portfolio_ids` | array of string (also accepts a comma-separated string) | No | - | Optional portfolio IDs to filter campaigns by, as a list or comma-separated text. | | `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving campaigns. The available fields to filter by are: - campaignId: Filter by campaign ID - name: Filter by campaign name - state: Filter by campaign state Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Amazon Ads campaigns as provided by the Ads API v1 query/campaigns endpoint. # List Manager Accounts Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_manager_accounts Lists the Amazon Ads manager accounts the connected user has access to Lists the Amazon Ads manager accounts the connected user has access to. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_manager_accounts` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `List[Dict]` Returns the raw list of manager accounts. # List Portfolios Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_portfolios Lists portfolios for an Amazon Ads profile with their budgets Lists portfolios for an Amazon Ads profile with their budgets. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_portfolios` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose portfolios should be listed. | | `portfolio_ids` | array of string (also accepts a comma-separated string) | No | - | Optional portfolio IDs to fetch, as a list or comma-separated text. | | `name_contains` | string | No | - | Optional name filter: returns portfolios whose name matches the given text (Amazon broad match). | | `include_extended_data` | boolean | No | `False` | Include read-only extended data fields (creation date, serving status). Default false. | | `limit` | integer | No | `100` | Maximum number of portfolios to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the raw list of portfolios as provided by the Portfolios v3 API. # List Products Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_products Lists the advertiser's product catalog with per-product advertising eligibility Lists the advertiser's product catalog with per-product advertising eligibility. The starting point for choosing what to advertise. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_products` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose product catalog should be listed. | | `ad_type` | string or SelectableOption | No | `{'value': 'SP', 'label': 'Sponsored Products'}` | The ad product to check advertising eligibility against: SP, SB, or SD. Default: SP. | | `search_text` | string | No | - | Optional text to search the catalog by product title. | | `asins` | array of string (also accepts a comma-separated string) | No | - | Optional ASINs to fetch, as a list or comma-separated text. Up to 300. | | `skus` | array of string (also accepts a comma-separated string) | No | - | Optional seller SKUs to fetch, as a list or comma-separated text. Up to 300. | | `check_eligibility` | boolean | No | `True` | Include per-product advertising eligibility status and ineligibility reasons. Default true. | | `check_item_details` | boolean | No | `False` | Include item details like title, image, brand, category, and price. Default false. | | `sort_by` | string or SelectableOption | No | - | Sort by SUGGESTED (Amazon's suggestion ranking) or CREATED\_DATE. | | `limit` | integer | No | `100` | Maximum number of products to return (single page, up to 300). Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw product metadata list with eligibility status per product. # List Report Fields Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_report_fields Search and browse available Amazon Ads reporting metrics and dimensions before running reports Search and browse available Amazon Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|acos).*'}]. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # List Targets Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_list_targets Lists targets for an Amazon Ads profile: keywords, product targets, category targets, themes, and audiences, including negatives, with filtering options Lists targets for an Amazon Ads profile: keywords, product targets, category targets, themes, and audiences, including negatives, with filtering options. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_list_targets` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose targets should be listed. | | `ad_products` | array of string or SelectableOption | No | - | Filter targets by ad product. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, SPONSORED\_TELEVISION. Defaults to all four when omitted. | | `target_types` | array of string or SelectableOption | No | - | Filter by target type: KEYWORD, PRODUCT, PRODUCT\_CATEGORY, PRODUCT\_AUDIENCE, THEME, AUDIENCE. Returns all types when omitted. | | `negative` | string or SelectableOption | No | `{'value': 'all', 'label': 'All'}` | Filter by negative flag: all (default), positive (targeting), or negative (exclusions). | | `entity_states` | array of string or SelectableOption | No | - | Filter targets by state. Options: ENABLED, PAUSED, ARCHIVED, DRAFT, PROPOSED. Defaults to ENABLED and PAUSED when omitted. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list targets for, as a list or comma-separated text. Up to 100. | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to list targets for, as a list or comma-separated text. Up to 100. | | `target_ids` | array of string (also accepts a comma-separated string) | No | - | Optional target IDs to fetch, as a list or comma-separated text. Up to 100. | | `keywords` | array of string (also accepts a comma-separated string) | No | - | Optional keyword texts to filter keyword targets by, as a list or comma-separated text. Up to 100. | | `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving targets. The available fields to filter by are: - targetId: Filter by target ID - adGroupId: Filter by ad group ID - campaignId: Filter by campaign ID - targetType: Filter by target type - state: Filter by target state Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of targets to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Amazon Ads targets as provided by the Ads API v1 query/targets endpoint. # Manage Budget Rule Campaigns Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_manage_budget_rule_campaigns Associates a Sponsored Products budget rule to campaigns, or removes it from them Associates a Sponsored Products budget rule to campaigns, or removes it from them. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_manage_budget_rule_campaigns` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile that owns the budget rule. | | `action` | string or SelectableOption | Yes | - | Whether to associate the budget rule to campaigns or remove it from them. | | `budget_rule_id` | string or SelectItem | Yes | - | The budget rule ID (from amazon\_ads\_list\_budget\_rules or amazon\_ads\_create\_budget\_rule). | | `campaign_ids` | array of string (also accepts a comma-separated string) | Yes | - | Sponsored Products campaign IDs to apply the action to, as a list or comma-separated text. Up to 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the action, campaign count, and Amazon's response. **Fields**: `budget_rule_id`, `action`, `campaign_count`, `response` # Rename Ad Group Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_rename_ad_group Renames Amazon Ads ad groups, one at a time or in bulk Renames Amazon Ads ad groups, one at a time or in bulk. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_rename_ad_group` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to rename ad groups in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple ad groups at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Amazon Ads ad group ID to rename. Required for single update. | | `ad_group_name` | string | No | - | The new name for the ad group. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and ad\_group\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group rename. # Rename Campaign Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_rename_campaign Renames Amazon Ads campaigns, one at a time or in bulk Renames Amazon Ads campaigns, one at a time or in bulk. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_rename_campaign` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to rename campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Amazon Ads campaign ID to rename. Required for single update. | | `campaign_name` | string | No | - | The new name for the campaign. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and campaign\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign rename. # Search Assets Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_search_assets Searches the Amazon Ads creative asset library for image and video assets to use in ad creatives Searches the Amazon Ads creative asset library for image and video assets to use in ad creatives. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_search_assets` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose creative asset library should be searched. | | `text` | string | No | - | Optional text to search assets by (matches asset names). | | `asset_type` | string or SelectableOption | No | `{'value': 'all', 'label': 'All'}` | Filter by asset type: all (default), IMAGE, or VIDEO. | | `search_criteria` | object or string | No | - | Advanced alternative to the fields above: the raw creative asset library search request, sent as-is. Keys: text, filterCriteria (valueFilters with valueField/values, rangeFilters), sortCriteria (field, order), pageCriteria. Example: \{"filterCriteria": \{"valueFilters": \[\{"valueField": "ASSET\_TYPE", "values": \["IMAGE"]}]}} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of matching assets from the creative asset library. # Select Accounts Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_select_accounts Select Amazon Ads accounts once and reuse them across multiple amazon_ads_get_report nodes—no repeated account selection Select Amazon Ads accounts once and reuse them across multiple amazon\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one amazon\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_select_accounts` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Group Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_ad_group Updates Amazon Ads ad groups with a raw Ads API v1 payload; only the provided fields are changed (for example the default bid) Updates Amazon Ads ad groups with a raw Ads API v1 payload; only the provided fields are changed (for example the default bid). Prefer amazon\_ads\_update\_ad\_group\_status or amazon\_ads\_rename\_ad\_group for plain changes. Supports dry\_run. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_ad_group` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | Amazon Ads ad group ID to update. Markifact sends it as adGroupId; do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad group fields to update as a JSON object in raw Amazon Ads API v1 format (camelCase), sent as-is; only the fields you include are changed. Common fields: name, state (ENABLED/PAUSED/DRAFT), bid (defaultBid in plain currency), startDateTime and endDateTime (ISO datetimes), tags. Prefer amazon\_ads\_update\_ad\_group\_status or amazon\_ads\_rename\_ad\_group for plain status or name changes. Example: \{"bid": \{"defaultBid": 2.5}} | | `dry_run` | boolean | No | `False` | When true, do not call Amazon. Return the resolved endpoint and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns ad\_group\_id, updated\_fields, endpoint, final payload, and dry\_run status. **Fields**: `ad_group_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Ad Group Status Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_ad_group_status Enable, pause, or archive Amazon Ads ad groups, one at a time or in bulk Enable, pause, or archive Amazon Ads ad groups, one at a time or in bulk. Archiving is permanent in Amazon Ads and cannot be undone. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to update ad groups in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Amazon Ads ad group ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad group state. Options: ENABLED, PAUSED, or ARCHIVED. Required for single update. Note: ARCHIVED is permanent in Amazon Ads and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and status (ENABLED, PAUSED, or ARCHIVED). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group status update. # Update Ad Status Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_ad_status Enable, pause, or archive Amazon Ads ads, one at a time or in bulk Enable, pause, or archive Amazon Ads ads, one at a time or in bulk. Archiving is permanent in Amazon Ads and cannot be undone. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_ad_status` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to update ads in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Amazon Ads ad ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad state. Options: ENABLED, PAUSED, or ARCHIVED. Required for single update. Note: ARCHIVED is permanent in Amazon Ads and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and status (ENABLED, PAUSED, or ARCHIVED). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad status update. # Update Campaign Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_campaign Updates Amazon Ads campaigns with a raw Ads API v1 payload; only the provided fields are changed Updates Amazon Ads campaigns with a raw Ads API v1 payload; only the provided fields are changed. Prefer amazon\_ads\_update\_campaign\_status, amazon\_ads\_update\_campaign\_budget, or amazon\_ads\_rename\_campaign for plain changes. Supports dry\_run. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_campaign` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | Amazon Ads campaign ID to update. Markifact sends it as campaignId; do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object in raw Amazon Ads API v1 format (camelCase), sent as-is; only the fields you include are changed. Common fields: name, state (ENABLED/PAUSED/DRAFT), startDateTime and endDateTime (ISO datetimes), budgets (array with budgetType MONETARY, budgetValue.monetaryBudgetValue.monetaryBudget.value in plain currency, and recurrenceTimePeriod DAILY/LIFETIME/MONTHLY), costType, optimizations (bidSettings/goalSettings/budgetSettings), portfolioId, tags. Prefer amazon\_ads\_update\_campaign\_status, amazon\_ads\_update\_campaign\_budget, or amazon\_ads\_rename\_campaign for plain status, budget, or name changes. Example: \{"endDateTime": "2026-12-31T23:59:59Z", "budgets": \[\{"budgetType": "MONETARY", "budgetValue": \{"monetaryBudgetValue": \{"monetaryBudget": \{"value": 75}}}, "recurrenceTimePeriod": "DAILY"}]} | | `dry_run` | boolean | No | `False` | When true, do not call Amazon. Return the resolved endpoint and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, updated\_fields, endpoint, final payload, and dry\_run status. **Fields**: `campaign_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Campaign Budget Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_campaign_budget Updates the budget of Amazon Ads campaigns, one at a time or in bulk Updates the budget of Amazon Ads campaigns, one at a time or in bulk. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to update campaign budgets in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign budget or multiple at once. Options: single or bulk. | | `budget_recurrence` | string or SelectableOption | No | `{'value': 'DAILY', 'label': 'Daily'}` | How the budget recurs: DAILY, LIFETIME, or MONTHLY. Should match the campaign's existing budget recurrence. Applies to all rows in bulk mode. Default: DAILY. | | `campaign_id` | string or SelectItem | No | - | Amazon Ads campaign ID to update. Required for single update. | | `budget_value` | number | No | - | The new budget in the profile's currency (for example 100 for \$100; Amazon takes plain currency amounts, not micro-units). Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and budget\_value (in the profile's currency). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign budget update. # Update Campaign Status Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_campaign_status Enable, pause, or archive Amazon Ads campaigns, one at a time or in bulk Enable, pause, or archive Amazon Ads campaigns, one at a time or in bulk. Archiving is permanent in Amazon Ads and cannot be undone. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to update campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Amazon Ads campaign ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New campaign state. Options: ENABLED, PAUSED, or ARCHIVED. Required for single update. Note: ARCHIVED is permanent in Amazon Ads and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and status (ENABLED, PAUSED, or ARCHIVED). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Update Portfolio Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_portfolio Updates Amazon Ads portfolios with a raw payload; only the provided fields are changed Updates Amazon Ads portfolios with a raw payload; only the provided fields are changed. Supports dry\_run. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_portfolio` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile that owns the portfolio. | | `portfolio_id` | string or SelectItem | Yes | - | Amazon Ads portfolio ID to update. Markifact sends it as portfolioId; do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Portfolio fields to update as a JSON object in raw Portfolios v3 format (camelCase), sent as-is; only the fields you include are changed. Fields: name, budget (policy DATE\_RANGE/MONTHLY\_RECURRING/NO\_CAP, amount in the profile's currency, startDate/endDate as YYYY-MM-DD), budgetControls. Example: \{"budget": \{"policy": "MONTHLY\_RECURRING", "amount": 500}} | | `dry_run` | boolean | No | `False` | When true, do not call Amazon. Return the final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns portfolio\_id, updated\_fields, final payload, and dry\_run status. **Fields**: `portfolio_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Targets Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_update_targets Updates the bid and/or state of Amazon Ads targets, one at a time or in bulk Updates the bid and/or state of Amazon Ads targets, one at a time or in bulk. Use amazon\_ads\_list\_targets to find target IDs. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_update_targets` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile to update targets in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single target or multiple targets at once. Options: single or bulk. | | `target_id` | string or SelectItem | No | - | Amazon Ads target ID to update (from amazon\_ads\_list\_targets or amazon\_ads\_create\_targets). Required for single update. | | `bid` | number | No | - | New bid for the target in the profile's currency (for example 0.9 for \$0.90). Provide a bid and/or a status. | | `status` | string or SelectableOption | No | - | New target state. Options: ENABLED, PAUSED, or ARCHIVED. Note: ARCHIVED is permanent in Amazon Ads and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required column: target\_id, plus bid and/or status (ENABLED, PAUSED, or ARCHIVED) per row. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming target updates. # Upload Creative Asset Source: https://docs.markifact.com/nodes/amazon_ads/amazon_ads_upload_creative_asset Uploads an image or video to the Amazon Ads creative asset library and returns the asset ID to reference in ad creatives Uploads an image or video to the Amazon Ads creative asset library and returns the asset ID to reference in ad creatives. | | | | - | - | | **App** | Amazon Ads | | **Operation ID** | `amazon_ads_upload_creative_asset` | | **Type** | Action | | **Connection** | `amazon_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose asset library the file is uploaded to. | | `image_url` | string | No | - | URL of the image to upload: a Markifact file URL, a Google Drive share link, or any public URL. Provide an image or a video, not both. | | `video_url` | string | No | - | URL of the video to upload: a Markifact file URL, a Google Drive share link, or any public URL. Provide an image or a video, not both. | | `asset_name` | string | Yes | - | Name for the asset in the creative asset library. | | `asset_sub_types` | array of string or SelectableOption | No | - | Optional asset sub types: LOGO, PRODUCT\_IMAGE, LIFESTYLE\_IMAGE, AUTHOR\_IMAGE, OTHER\_IMAGE, or BACKGROUND\_VIDEO. Defaults to OTHER\_IMAGE for images and BACKGROUND\_VIDEO for videos; Amazon may reclassify the asset based on its specifications. | | `asins` | array of string (also accepts a comma-separated string) | No | - | Optional ASINs to associate with the asset, as a list or comma-separated text. | | `associated_sub_entities` | array of object or string | No | - | Optional raw associatedSubEntityList array, sent as-is, for example to associate the asset with a brand: \[\{"brandEntityId": "ENTITY..."}] | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the registered asset's assetId and versionId. **Fields**: `asset_id`, `version_id`, `asset_name`, `asset_type`, `register_response` # Get Report Source: https://docs.markifact.com/nodes/apple_ads/apple_ads_get_report Retrieves Apple Ads reporting data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Apple Ads reporting data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports campaign, ad group, ad, keyword, and search term report levels. | | | | - | - | | **App** | Apple Ads | | **Operation ID** | `apple_ads_get_report` | | **Type** | Action | | **Connection** | `apple_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | AppleAdsReportOptions | No | - | Additional options for the report. | ### AppleAdsReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | Whether to include records with no metrics in the Apple Ads report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Brand Search", "impressions": 15000, "taps": 300, "localSpend": 95.0 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/apple_ads/apple_ads_list_report_fields Search and browse available Apple Ads reporting metrics and dimensions before running reports Search and browse available Apple Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(impressions|taps|campaign).*'}]. | | | | - | - | | **App** | Apple Ads | | **Operation ID** | `apple_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Select Accounts Source: https://docs.markifact.com/nodes/apple_ads/apple_ads_select_accounts Select Apple Ads accounts once and reuse them across multiple apple_ads_get_report nodes - no repeated account selection Select Apple Ads accounts once and reuse them across multiple apple\_ads\_get\_report nodes - no repeated account selection. You can also select and list all available accounts. Skip if you have just one apple\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Apple Ads | | **Operation ID** | `apple_ads_select_accounts` | | **Type** | Action | | **Connection** | `apple_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Create Dataset Source: https://docs.markifact.com/nodes/bigquery/bigquery_create_dataset Creates a new dataset in a Google BigQuery project (idempotent if exists_ok=true) Creates a new dataset in a Google BigQuery project (idempotent if exists\_ok=true) | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_create_dataset` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `dataset_id` | string | Yes | - | Dataset ID (alphanumeric or underscore). Must not already exist unless exists\_ok is true. | | `location` | string | No | - | Location for the dataset (e.g. US, EU). If omitted BigQuery default is used. | | `description` | string | No | - | Optional description for the dataset. | | `exists_ok` | boolean | No | `False` | If true, the operation will succeed even if the dataset already exists. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created dataset details. **Fields**: `dataset_id`, `full_dataset_id`, `project_id`, `location`, `reference_path` # Create Table Source: https://docs.markifact.com/nodes/bigquery/bigquery_create_table Creates a new table in a specified BigQuery dataset Creates a new table in a specified BigQuery dataset. Suppport manual and automatic schema detection. Auto is recommended for most use cases. | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_create_table` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `dataset` | string or SelectItem | Yes | - | Select the BigQuery dataset to create the table in | | `table_id` | string | Yes | - | Table name (letters, numbers, underscore). Must not already exist unless 'Skip Error If Already There' is enabled. | | `schema_mode` | string or SelectableOption | Yes | - | Provide schema manually or auto-detect from data. Default is auto | | `schema_json` | string | No | - | (Manual mode) JSON array of column definitions. Example: \[\{"name":"user\_id","type":"STRING","mode":"REQUIRED"}] | | `sample_data` | array of object (also accepts a comma-separated string) | No | - | (Auto mode) Sample rows (list of objects) for schema autodetection | | `exists_ok` | boolean | No | `False` | If true, reuse existing table if it already exists instead of erroring. | | `enable_partitioning` | boolean | No | `False` | Enable time partitioning (use partition\_field & partition\_type). | | `partition_field` | string | No | - | Optional column name to use for time partitioning (must be DATE or TIMESTAMP in schema/autodetected). If provided and table exists already, this operation does not modify the existing table's partitioning. | | `partition_type` | string or SelectableOption | No | - | Partition granularity (DAY, HOUR, MONTH, YEAR) when partition\_field is set. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created table details. **Fields**: `table_id`, `full_table_id`, `project_id`, `dataset_id`, `num_rows`, `rows_loaded`, `enable_partitioning` # Custom BigQuery App Source: https://docs.markifact.com/nodes/bigquery/bigquery_custom_app Connect BigQuery through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect BigQuery: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in the project's audit logs, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/bigquery` | | **APIs to enable** | BigQuery API | | **Google account for the token** | a Google account with BigQuery roles (at least BigQuery Job User and Data Viewer) on the projects you want to query | Query costs are billed to the project you query, exactly as with Quick Connect. The Cloud project that owns your OAuth client can be a different project from the ones holding your data. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **BigQuery**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency BigQuery"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the BigQuery API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Verification passes but no projects are listed > > The Google account behind the token has no BigQuery access on any project. Grant it BigQuery roles in IAM, then re-add the connection with the same name. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Run Query](/nodes/bigquery/bigquery_run_query) > > Query BigQuery tables # Get Table Schema Source: https://docs.markifact.com/nodes/bigquery/bigquery_get_table_schema Retrieves the schema and structure information of Google BigQuery tables Retrieves the schema and structure information of Google BigQuery tables | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_get_table_schema` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `dataset` | string or SelectItem | Yes | - | Select the BigQuery dataset containing your target table | | `table` | string or SelectItem | Yes | - | Select the target BigQuery table to get schema from | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns table schema fields. **Fields**: `field_name`, `field_type`, `mode`, `description`, `is_nullable`, `is_required`, `is_repeated` # Insert Rows Source: https://docs.markifact.com/nodes/bigquery/bigquery_insert_rows Inserts data rows into Google BigQuery tables with schema validation Inserts data rows into Google BigQuery tables with schema validation | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_insert_rows` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `dataset` | string or SelectItem | Yes | - | Select the BigQuery dataset containing your target table | | `table` | string or SelectItem | Yes | - | Select the target BigQuery table to insert rows into | | `write_type` | string or SelectableOption | Yes | - | Choose how to map your data into the BigQuery table. Available options: 'all' (Use All Data), 'mapped' (Map Specific Columns) | | `data` | array of object (also accepts a comma-separated string) | No | - | Select the data to insert into the BigQuery table. This will be mainly the output of upstream nodes in the workflow. Don't worry about data conversion, it will be handled automatically. | | `column_mapping` | ColumnMapping | No | - | Map your data to BigQuery table columns when using 'mapped' write type | | `allow_new_columns` | boolean | No | `True` | Automatically add new columns to the table schema if they don't exist | ### ColumnMapping Column mapping configuration where key, value pairs. | Field | Type | Required | Default | Description | | - | - | - | - | - | | `root` | object | Yes | - | | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns insert confirmation. **Fields**: `success`, `rows_inserted`, `invalid_rows`, `new_columns_added` # List Datasets Source: https://docs.markifact.com/nodes/bigquery/bigquery_list_datasets Lists all available datasets in a Google BigQuery project Lists all available datasets in a Google BigQuery project | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_list_datasets` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `limit` | integer | No | `1000` | The maximum number of datasets to return | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns list of datasets. **Fields**: `dataset_id`, `full_dataset_id`, `friendly_name`, `reference_path`, `location` # List Tables Source: https://docs.markifact.com/nodes/bigquery/bigquery_list_tables Lists all tables in Google BigQuery datasets with metadata information Lists all tables in Google BigQuery datasets with metadata information | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_list_tables` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `dataset` | string or SelectItem | No | - | Select the BigQuery dataset containing your target table, ask the user for it if not provided. Leave empty to list tables from all datasets. | | `limit` | integer | No | `1000` | The maximum number of tables to return | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns list of tables. **Fields**: `table_id`, `full_table_id`, `dataset_id`, `table_type` # Run Query Source: https://docs.markifact.com/nodes/bigquery/bigquery_run_query Executes SQL queries on Google BigQuery datasets and returns query results Executes SQL queries on Google BigQuery datasets and returns query results | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_run_query` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `project` | string or SelectItem | Yes | - | Select the Google BigQuery project, ask the user for it if not provided | | `query` | string | Yes | - | Enter the SQL query to execute (e.g., SELECT \* FROM `project.dataset.table`) | | `enable_write_mode` | boolean | No | `False` | Allow queries that modify data (INSERT, UPDATE, DELETE, etc.). Use with caution to avoid accidental data loss. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns query results as rows. **Fields**: dynamic (depend on the inputs) # Select Projects Source: https://docs.markifact.com/nodes/bigquery/bigquery_select_projects Select BigQuery projects once and reuse them across multiple BigQuery nodes—no repeated project selection Select BigQuery projects once and reuse them across multiple BigQuery nodes—no repeated project selection. You can also select and list all available projects. | | | | - | - | | **App** | BigQuery | | **Operation ID** | `bigquery_select_projects` | | **Type** | Action | | **Connection** | `bigquery` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of projects. **Fields**: `label`, `value` # Add Site Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_add_site Adds a site to the connected Bing Webmaster Tools account Adds a site to the connected Bing Webmaster Tools account. The site starts unverified: publish Bing's verification meta tag, XML file, or DNS record, then run the verify site node. Adding an already-added site succeeds without changes. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_add_site` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site_url` | string | Yes | - | Full URL of the site to add to your Bing Webmaster Tools account, for example `https://example.com.` Typed rather than picked because the site does not exist in the account yet. Adding a site does not verify it: publish Bing's verification meta tag, XML file, or DNS record, then run the verify site node. Adding an already-added site succeeds without changes. | ## Output **Type**: `Dict` Returns a confirmation with the added site URL. is\_verified is always false; verification is a separate step. **Fields**: `status`, `site_url`, `is_verified` **Example**: ```json theme={"dark"} { "status": "added", "site_url": "https://example.com", "is_verified": false } ``` # Block URLs Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_block_urls Blocks URLs or directories from Bing search results for a site Blocks URLs or directories from Bing search results for a site. FullRemoval hides the page entirely, CacheOnly only drops Bing's cached copy. Accepts one URL or many; Bing blocks expire after 90 days. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_block_urls` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site the URLs belong to. | | `urls` | array of string or string | Yes | - | URLs to block from Bing search results, one per line or comma-separated. Every URL must belong to the selected site. Blocks expire after 90 days in Bing Webmaster Tools. | | `entity_type` | enum (`Page`, `Directory`) | No | `Page` | Page blocks the exact URL. Directory blocks everything under the URL path, so pass a directory URL ending in / when using it. Applies to every URL in this run. | | `request_type` | enum (`FullRemoval`, `CacheOnly`) | No | `FullRemoval` | FullRemoval hides the page from Bing search results entirely. CacheOnly keeps the result but removes Bing's cached copy. Applies to every URL in this run. | ## Output **Type**: `Dict` Returns a confirmation with the blocked URLs and the block settings used. **Fields**: `status`, `site`, `entity_type`, `request_type`, `blocked_count`, `blocked_urls` **Example**: ```json theme={"dark"} { "status": "blocked", "site": "https://example.com", "entity_type": "Page", "request_type": "FullRemoval", "blocked_count": 2 } ``` # Get Crawl Stats Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_get_crawl_stats Retrieves daily Bingbot crawl statistics per site: crawled pages, crawl errors, pages in index, inbound links, robots.txt blocks, HTTP response code counts (2xx, 301, 302, 4xx, 5xx), connection tim... Retrieves daily Bingbot crawl statistics per site: crawled pages, crawl errors, pages in index, inbound links, robots.txt blocks, HTTP response code counts (2xx, 301, 302, 4xx, 5xx), connection timeouts, DNS failures, and malware-infected pages. Every metric except crawled pages is a daily snapshot of the site's current state (e.g. total inbound links Bing knows that day), so values are averaged, not summed, when aggregated across days. Bing keeps a rolling window of recent crawl data, so older date ranges may return nothing. At least one metric is required; discover metric IDs with bing\_webmaster\_list\_report\_fields (supported\_reports = crawl\_stats). | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_get_crawl_stats` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Crawled Pages' instead of 'crawledPages'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-08-01", "crawledPages": 1240, "crawlErrors": 3, "inIndex": 5210, "code4xx": 12 } ] ``` # Get Report Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_get_report Retrieves Bing search performance data (clicks, impressions, CTR, positions) by query, page, or day, with a built-in sites selector Retrieves Bing search performance data (clicks, impressions, CTR, positions) by query, page, or day, with a built-in sites selector. Bing returns a rolling window of recent months; query and page stats come in weekly buckets, so totals near the edges of a date range can differ slightly from the Bing UI's daily windows. Query and page cannot be combined unless one of them is pinned with an EQUALS filter. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_get_report` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "query": "best shoes", "clicks": 120, "impressions": 3400, "ctr": 3.53, "avgImpressionPosition": 6.4 } ] ``` # Get URL Info Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_get_url_info Gets Bing's index and traffic details for one exact URL: discovery date, last crawl date, HTTP status, document size, anchor count, plus clicks and impressions Gets Bing's index and traffic details for one exact URL: discovery date, last crawl date, HTTP status, document size, anchor count, plus clicks and impressions. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_get_url_info` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site the URL belongs to. | | `url` | string | Yes | - | The exact URL to look up, for example `https://example.com/pricing.` Returns Bing's index details for the URL (last crawl date, discovery date, HTTP status, document size, anchor count) plus its traffic details (clicks and impressions). | ## Output **Type**: `Dict` Returns one merged dict with the URL's index details (DiscoveryDate, LastCrawledDate, HttpStatus, DocumentSize, AnchorCount, TotalChildUrlCount, IsPage) and traffic details (Clicks, Impressions). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "Url": "https://example.com/pricing", "LastCrawledDate": "2026-08-05", "HttpStatus": 200, "Clicks": 240, "Impressions": 5100 } ``` # List Blocked URLs Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_list_blocked_urls Lists the URLs and directories currently blocked from Bing search results for a site, with the block type (page or directory), the action (cache-only or full removal), and the request date Lists the URLs and directories currently blocked from Bing search results for a site, with the block type (page or directory), the action (cache-only or full removal), and the request date. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_list_blocked_urls` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site whose blocked URLs should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving blocked URLs. The available fields to filter by are: - Url: Filter by the blocked URL or directory - EntityType: Filter by what is blocked (Page or Directory) - RequestType: Filter by block action (CacheOnly or FullRemoval) - Date: Filter by the date the block was requested Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `1000` | Maximum number of blocked URLs to return. Default: 1000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the blocked URL entries exactly as Bing reports them. **Fields**: `Url`, `Date`, `EntityType`, `RequestType` **Example**: ```json theme={"dark"} [ { "Url": "https://example.com/private/", "Date": "2026-07-14", "EntityType": "Directory", "RequestType": "FullRemoval" } ] ``` # List Crawl Issues Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_list_crawl_issues Lists URLs on a site where Bingbot found crawl issues, with the HTTP code received, the issue flags value, and the number of inbound links to each affected URL Lists URLs on a site where Bingbot found crawl issues, with the HTTP code received, the issue flags value, and the number of inbound links to each affected URL. Bing often returns no rows from this legacy endpoint even when crawl stats report crawl errors, so an empty result does not mean the site is error free. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_list_crawl_issues` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site whose crawl issues should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving crawl issues. The available fields to filter by are: - Url: Filter by the affected URL - HttpCode: Filter by the HTTP status code Bing received - Issues: Filter by the issue flags value - InLinks: Filter by the number of inbound links to the URL Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `1000` | Maximum number of URLs with issues to return. Default: 1000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns URLs with crawl issues exactly as Bing reports them. **Fields**: `Url`, `HttpCode`, `Issues`, `InLinks` **Example**: ```json theme={"dark"} [ { "Url": "https://example.com/old-page", "HttpCode": 404, "Issues": 2, "InLinks": 7 } ] ``` # List Inbound Links Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_list_inbound_links Lists inbound links Bing knows for a site Lists inbound links Bing knows for a site. Without a URL: per-page inbound link counts for the whole site. With a specific page URL: the external URLs linking to that page with their anchor texts. Bing often returns no rows from this legacy endpoint even when crawl stats report inbound links, so an empty result does not mean the site has none. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_list_inbound_links` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site whose inbound links should be listed. | | `url` | string | No | - | Leave empty to get inbound link counts per page of your site (which pages have links and how many). Provide a specific page URL from your site to instead list the external URLs linking to that page with their anchor texts. | | `filters` | array of FilterItem | No | - | Additional filters to apply. The available fields depend on the mode: - Without url: Url (your page), Count (number of inbound links) - With url: Url (the linking external page), AnchorText Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `1000` | Maximum number of rows to return. Default: 1000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Without url: rows with Url (your page) and Count (inbound links). With url: rows with Url (linking external page), AnchorText, and TargetUrl (the page you asked about). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "Url": "https://example.com/pricing", "Count": 128 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_list_report_fields Search and browse available Bing Webmaster reporting metrics and dimensions before running reports: search performance fields (for bing_webmaster_get_report) and crawl statistics fields (for bing_w... Search and browse available Bing Webmaster reporting metrics and dimensions before running reports: search performance fields (for bing\_webmaster\_get\_report) and crawl statistics fields (for bing\_webmaster\_get\_crawl\_stats). Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(clicks|crawl).*'}]. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. supported\_reports names the report(s) a field belongs to: search\_performance (bing\_webmaster\_get\_report) and/or crawl\_stats (bing\_webmaster\_get\_crawl\_stats); time and account dimensions belong to both. **Fields**: `id`, `name`, `type`, `data_type`, `supported_reports` # List Sitemaps Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_list_sitemaps Lists the sitemaps and feeds submitted for a site with their type, processing status, URL count, and last processed date Lists the sitemaps and feeds submitted for a site with their type, processing status, URL count, and last processed date. Provide a sitemap index URL to list its child sitemaps instead. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_list_sitemaps` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site whose sitemaps should be listed. | | `sitemap_url` | string | No | - | Leave empty to list all sitemaps submitted for the site. Provide a specific sitemap index URL to instead list the child sitemaps it contains with their own status details. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving sitemaps. The available fields to filter by are: - Url: Filter by sitemap URL - Type: Filter by feed type (for example Sitemap, RSS, Atom) - Status: Filter by processing status - UrlCount: Filter by the number of URLs in the sitemap Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `1000` | Maximum number of sitemaps to return. Default: 1000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the site's sitemaps/feeds exactly as Bing reports them. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "Url": "https://example.com/sitemap.xml", "Type": "Sitemap", "Status": "Processed", "UrlCount": 320 } ] ``` # Remove Site Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_remove_site Removes a site and its Webmaster Tools history from the connected Bing Webmaster Tools account Removes a site and its Webmaster Tools history from the connected Bing Webmaster Tools account. This does not remove the site from Bing search results; use the block URLs node for that. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_remove_site` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site_url` | string | Yes | - | Full URL of the site to remove from your Bing Webmaster Tools account, for example `https://example.com.` This removes the site and its Webmaster Tools history from the account; it does not remove the site from Bing search results. Typed rather than picked so an unverified site can be removed too. | ## Output **Type**: `Dict` Returns a confirmation with the removed site URL. **Fields**: `status`, `site_url` **Example**: ```json theme={"dark"} { "status": "removed", "site_url": "https://example.com" } ``` # Remove Sitemap Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_remove_sitemap Removes a submitted sitemap or feed from Bing Webmaster Tools for a site Removes a submitted sitemap or feed from Bing Webmaster Tools for a site. Only the submission is removed; the sitemap file stays on the site. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_remove_sitemap` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site the sitemap belongs to. | | `sitemap_url` | string | Yes | - | Full URL of the submitted sitemap to remove from Bing Webmaster Tools, for example `https://example.com/sitemap.xml.` This only removes the submission; the sitemap file stays on your site and Bing may still discover it through robots.txt. | ## Output **Type**: `Dict` Returns a confirmation with the removed sitemap URL. **Fields**: `status`, `site`, `sitemap_url` **Example**: ```json theme={"dark"} { "status": "removed", "site": "https://example.com", "sitemap_url": "https://example.com/sitemap.xml" } ``` # Research Keywords Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_research_keywords Researches keywords on Bing search: KEYWORD_HISTORY returns each keyword's exact and broad impressions over time, RELATED_KEYWORDS returns related keywords with impressions for a date range Researches keywords on Bing search: KEYWORD\_HISTORY returns each keyword's exact and broad impressions over time, RELATED\_KEYWORDS returns related keywords with impressions for a date range. Optionally restricted by country and language. Bing keeps roughly 6 months of keyword research data. Search-wide data, not tied to your sites. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_research_keywords` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to research, one per line or comma-separated. Bing keyword research is search-wide, not tied to one of your sites. | | `mode` | enum (`KEYWORD_HISTORY`, `RELATED_KEYWORDS`) | No | `KEYWORD_HISTORY` | KEYWORD\_HISTORY returns each keyword's impressions over time (exact and broad match). RELATED\_KEYWORDS returns related keywords with their impressions for the selected date range. | | `date_range` | DateRange | No | - | For RELATED\_KEYWORDS this is the period Bing sums impressions over, and it is required. For KEYWORD\_HISTORY it filters the returned history client-side and can be omitted for the full history Bing keeps (about 6 months). | | `country` | string | No | - | Restrict to a country using its 2-letter code, for example us or gb. Leave empty for worldwide. | | `language` | string | No | - | Restrict to a language-locale, for example en-US. Leave empty for all languages. | | `limit` | integer | No | `1000` | Maximum number of rows to return. Default: 1000. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns keyword rows. KEYWORD\_HISTORY rows: Query, Date, Impressions, BroadImpressions. RELATED\_KEYWORDS rows: Query, Impressions, BroadImpressions, SeedKeyword. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "Query": "running shoes", "Date": "2026-08-01", "Impressions": 4200, "BroadImpressions": 18100 } ] ``` # Select Accounts Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_select_accounts Select Bing Webmaster sites once and reuse them across multiple bing_webmaster_get_report nodes, no repeated site selection Select Bing Webmaster sites once and reuse them across multiple bing\_webmaster\_get\_report nodes, no repeated site selection. You can also select and list all available sites. Skip if you have just one bing\_webmaster\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_select_accounts` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of sites with label (site URL) and value (site URL). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Submit Sitemap Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_submit_sitemap Submits a sitemap or feed URL to Bing Webmaster Tools for a site Submits a sitemap or feed URL to Bing Webmaster Tools for a site. Bing accepts Sitemap, RSS 2.0, Atom 0.3, Atom 1.0 and plain text URL lists. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_submit_sitemap` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site the sitemap belongs to. | | `sitemap_url` | string | Yes | - | Full URL of the sitemap or feed to submit, for example `https://example.com/sitemap.xml.` Bing accepts Sitemap, RSS 2.0, Atom 0.3, Atom 1.0 and plain text URL lists. | ## Output **Type**: `Dict` Returns a confirmation with the submitted sitemap URL. Bing processes the sitemap asynchronously. **Fields**: `status`, `site`, `sitemap_url` **Example**: ```json theme={"dark"} { "status": "submitted", "site": "https://example.com", "sitemap_url": "https://example.com/sitemap.xml" } ``` # Submit URLs Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_submit_urls Submits URLs to Bing for indexing (Bing's IndexNow-style direct submission) Submits URLs to Bing for indexing (Bing's IndexNow-style direct submission). Handles one URL or many: a single URL uses the single-URL endpoint, more use batches of 500. Checks the site's remaining daily quota first and reports the quota left afterwards. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_submit_urls` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site the URLs belong to. | | `urls` | array of string or string | Yes | - | URLs to submit for indexing, one per line or comma-separated. Every URL must belong to the selected site. One URL uses Bing's single-URL endpoint, more than one is submitted in batches of 500. Submissions consume your site's daily and monthly URL submission quota. | | `skip_over_quota` | boolean | No | `False` | When the number of URLs exceeds the remaining daily quota: off (default) fails without submitting anything, on submits as many as the quota allows and reports the rest as skipped. | ## Output **Type**: `Dict` Returns the submitted and skipped URLs plus the daily and monthly quota Bing has left for the site. **Fields**: `status`, `site`, `submitted_count`, `submitted_urls`, `skipped_count`, `skipped_urls`, `daily_quota_remaining`, `monthly_quota_remaining` **Example**: ```json theme={"dark"} { "status": "submitted", "site": "https://example.com", "submitted_count": 3, "daily_quota_remaining": 7, "monthly_quota_remaining": 118 } ``` # Unblock URLs Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_unblock_urls Removes URL or directory blocks so the pages can appear in Bing search results again Removes URL or directory blocks so the pages can appear in Bing search results again. The entity type and request type must match how the URL was originally blocked; use the list blocked URLs node to check. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_unblock_urls` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the site the URLs belong to. | | `urls` | array of string or string | Yes | - | URLs to unblock, one per line or comma-separated. Use the list blocked URLs node to see what is currently blocked. | | `entity_type` | enum (`Page`, `Directory`) | No | `Page` | Must match how the URL was blocked: Page for an exact URL, Directory for a path block. Applies to every URL in this run. | | `request_type` | enum (`FullRemoval`, `CacheOnly`) | No | `FullRemoval` | Must match how the URL was blocked: FullRemoval or CacheOnly. Applies to every URL in this run. | ## Output **Type**: `Dict` Returns a confirmation with the unblocked URLs and the settings used. **Fields**: `status`, `site`, `entity_type`, `request_type`, `unblocked_count`, `unblocked_urls` **Example**: ```json theme={"dark"} { "status": "unblocked", "site": "https://example.com", "entity_type": "Page", "request_type": "FullRemoval", "unblocked_count": 1 } ``` # Verify Site Source: https://docs.markifact.com/nodes/bing_webmaster/bing_webmaster_verify_site Asks Bing to verify ownership of a site already added to the account Asks Bing to verify ownership of a site already added to the account. Bing's verification meta tag, XML file, or DNS record must be live first. Returns whether verification succeeded; a false result is a normal outcome, not an error. | | | | - | - | | **App** | Bing Webmaster Tools | | **Operation ID** | `bing_webmaster_verify_site` | | **Type** | Action | | **Connection** | `bing_webmaster` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site_url` | string | Yes | - | Full URL of the site to verify, for example `https://example.com.` Typed rather than picked because the site picker only lists already-verified sites. The site must already be added to the account, and Bing's verification meta tag, XML file, or DNS record must be live before running this. | ## Output **Type**: `Dict` Returns the verification verdict for the site. **Fields**: `status`, `site_url`, `is_verified` **Example**: ```json theme={"dark"} { "status": "verified", "site_url": "https://example.com", "is_verified": true } ``` # Answer Question Source: https://docs.markifact.com/nodes/business_profile/business_profile_answer_question Answers a customer question on a Business Profile location as the business Answers a customer question on a Business Profile location as the business. A business has one answer per question; answering again replaces it. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_answer_question` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `question_name` | string | No | - | Full resource name of the question to answer, from business\_profile\_list\_questions (format: locations/x/questions/y). | | `answer` | string | No | - | The answer text, posted publicly as the business. A business has one answer per question; answering again replaces the previous answer. | ## Output **Type**: `Dict` Returns the posted answer details. **Fields**: `question_name`, `answer`, `answer_name`, `update_time`, `status` # Check Location Status Source: https://docs.markifact.com/nodes/business_profile/business_profile_check_location_status Checks whether Business Profile locations are in good standing on Google: verified and controlled by the business, awaiting verification or review, suspended for guideline violations, or in an owne... Checks whether Business Profile locations are in good standing on Google: verified and controlled by the business, awaiting verification or review, suspended for guideline violations, or in an ownership conflict with a duplicate listing. Use it to audit many locations at once. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_check_location_status` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select the Business Profile locations to check, ask the user for it if not provided | ## Output **Type**: `List[Dict]` Returns one row per location with hasVoiceOfMerchant, hasBusinessAuthority, a readable statusSummary, and Google's raw state fields (verify, complyWithGuidelines, resolveOwnershipConflict, waitForVoiceOfMerchant). Uses 1 credit per location. **Fields**: `locationId`, `locationName`, `hasVoiceOfMerchant`, `hasBusinessAuthority`, `statusSummary` **Example**: ```json theme={"dark"} [ { "locationId": "123", "locationName": "My Store Downtown", "hasVoiceOfMerchant": false, "hasBusinessAuthority": true, "statusSummary": "needs verification" } ] ``` # Custom Business Profile App Source: https://docs.markifact.com/nodes/business_profile/business_profile_custom_app Connect Google Business Profile through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Business Profile: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in Business Profile, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/business.manage` | | **APIs to enable** | My Business Account Management API, My Business Business Information API, Business Profile Performance API and Google My Business API | | **Google account for the token** | a Google account that manages the Business Profile locations you want to work with | **Google approval is required.** Business Profile APIs are enabled with a quota of 0. Your Cloud project must be approved by Google through the [Business Profile APIs access request](https://developers.google.com/my-business/content/prereqs#request-access) before any call succeeds. Agencies that already manage clients through the API will have this in place; if you do not, apply first and connect once Google has raised the quota. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Business Profile**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Business Profile"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the My Business Account Management API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Verification fails with a permission or quota error > > Your Cloud project has not been approved for Business Profile APIs yet, or the approval was granted to a different project than the one that owns your client ID. Check the request status with Google and make sure the client ID belongs to the approved project. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/business_profile/business_profile_get_report) > > Pull Business Profile performance data # Delete Media Source: https://docs.markifact.com/nodes/business_profile/business_profile_delete_media Permanently deletes a photo or video from a Business Profile location Permanently deletes a photo or video from a Business Profile location. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_delete_media` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `media_name` | string | No | - | Full resource name of the media item to delete, from business\_profile\_list\_media or business\_profile\_upload\_photo (format: accounts/x/locations/y/media/z). Deletion is permanent. | ## Output **Type**: `Dict` Returns the deleted media name and status. **Fields**: `media_name`, `status` # Delete Post Source: https://docs.markifact.com/nodes/business_profile/business_profile_delete_post Permanently deletes a Business Profile post Permanently deletes a Business Profile post. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_delete_post` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `post_name` | string | No | - | Full resource name of the post to delete, from business\_profile\_list\_posts or business\_profile\_publish\_post (format: accounts/x/locations/y/localPosts/z). Deletion is permanent. | ## Output **Type**: `Dict` Returns the deleted post name and status. **Fields**: `post_name`, `status` # Delete Review Reply Source: https://docs.markifact.com/nodes/business_profile/business_profile_delete_review_reply Deletes the business reply to a Business Profile review Deletes the business reply to a Business Profile review. The review itself stays; only the reply is removed. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_delete_review_reply` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `location` | string or SelectItem | Yes | - | Select the Business Profile location the review belongs to, ask the user for it if not provided | | `review_id` | string | No | - | ID of the review whose reply should be removed, from business\_profile\_list\_reviews (reviewId field). The review itself stays; only the business reply is deleted. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the review whose reply was deleted. **Fields**: `review_id`, `location_id`, `location_name`, `status` # Get Location Info Source: https://docs.markifact.com/nodes/business_profile/business_profile_get_location_info Get detailed information about Business Profile locations including address, phone numbers, categories, hours, avg rating, total reviews count and more Get detailed information about Business Profile locations including address, phone numbers, categories, hours, avg rating, total reviews count and more. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_get_location_info` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Business Profile locations to retrieve details for, ask the user for it if not provided | ## Output **Type**: `List[Dict]` Returns list of location info objects with details like title, address, phone, categories, hours, etc. **Fields**: `locationId`, `title`, `primaryPhone`, `locality`, `primaryCategory`, `primaryCategoryId`, `serviceArea`, `averageRating`, `totalReviewCount`, `websiteUri`, `mapsUri` # Get Report Source: https://docs.markifact.com/nodes/business_profile/business_profile_get_report Retrieves Google Business Profile performance data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Google Business Profile performance data with customizable metrics, dimensions, filters, date ranges, and sorting options. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_get_report` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2025-12-01", "views": 150, "websiteClicks": 12, "calls": 5 } ] ``` # List Attributes Source: https://docs.markifact.com/nodes/business_profile/business_profile_list_attributes Lists the attributes a Business Profile location can have, such as payment methods, accessibility, amenities and service options, with their value types and allowed values Lists the attributes a Business Profile location can have, such as payment methods, accessibility, amenities and service options, with their value types and allowed values. Use it before setting attributes with business\_profile\_update\_location; current values come from business\_profile\_get\_location\_info. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_list_attributes` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | The Business Profile location to list available attributes for. One location at a time: the available attributes depend on its category and country. | ## Output **Type**: `List[Dict]` Returns Google's attribute metadata for the location: parent (the attribute name, e.g. attributes/pay\_cash\_only), valueType, displayName, groupDisplayName, repeatable, valueMetadata (allowed values for enums) and deprecated. **Fields**: `parent`, `valueType`, `displayName`, `groupDisplayName`, `repeatable`, `valueMetadata`, `deprecated` # List Media Source: https://docs.markifact.com/nodes/business_profile/business_profile_list_media Lists the photos and videos on Business Profile locations Lists the photos and videos on Business Profile locations. Use it to audit which locations are missing a cover or logo photo, and to find media names for business\_profile\_delete\_media. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_list_media` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Business Profile locations to list photos and videos for, ask the user for it if not provided | | `limit` | integer | No | - | Maximum number of media items to return across all locations. Leave empty for no limit. | ## Output **Type**: `List[Dict]` Returns raw media items as Google returns them, plus locationId and locationName. Uses 1 credit per location. **Fields**: `name`, `mediaFormat`, `locationAssociation`, `googleUrl`, `thumbnailUrl`, `createTime`, `dimensions`, `insights`, `locationId`, `locationName` # List Posts Source: https://docs.markifact.com/nodes/business_profile/business_profile_list_posts Lists posts for Business Profile locations, including their text, type, state, media, and search URL Lists posts for Business Profile locations, including their text, type, state, media, and search URL. Use it to find post names for business\_profile\_update\_post and business\_profile\_delete\_post. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_list_posts` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Business Profile locations to list posts for, ask the user for it if not provided | | `limit` | integer | No | - | Maximum number of posts to return across all locations. Leave empty for no limit. | ## Output **Type**: `List[Dict]` Returns raw local post objects as Google returns them, plus locationId and locationName. Uses 1 credit per location. **Fields**: `name`, `topicType`, `summary`, `state`, `createTime`, `updateTime`, `searchUrl`, `locationId`, `locationName` # List Questions Source: https://docs.markifact.com/nodes/business_profile/business_profile_list_questions Lists customer questions (with their answers) for Business Profile locations Lists customer questions (with their answers) for Business Profile locations. Use it to find question names for business\_profile\_answer\_question. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_list_questions` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Business Profile locations to list customer questions for, ask the user for it if not provided | | `limit` | integer | No | - | Maximum number of questions to return across all locations. Leave empty for no limit. | ## Output **Type**: `List[Dict]` Returns raw question objects as Google returns them, including up to 10 answers each, plus locationId and locationName. Uses 1 credit per location. **Fields**: `name`, `text`, `author`, `upvoteCount`, `totalAnswerCount`, `topAnswers`, `createTime`, `locationId`, `locationName` # List Report Fields Source: https://docs.markifact.com/nodes/business_profile/business_profile_list_report_fields Search and browse available Google Business Profile reporting metrics and dimensions before running reports Search and browse available Google Business Profile reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(impressions|clicks).*'}]. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # List Reviews Source: https://docs.markifact.com/nodes/business_profile/business_profile_list_reviews List reviews for Business Profile locations including reviewer name, star rating, comment, and reply status List reviews for Business Profile locations including reviewer name, star rating, comment, and reply status. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_list_reviews` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Business Profile locations to retrieve reviews for, ask the user for it if not provided | | `date_range` | DateRange | No | - | Optional date range to filter reviews. If not provided, all reviews will be fetched. | | `limit` | integer | No | - | Maximum number of reviews to return. Leave empty for no limit. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of reviews with reviewer details, star rating, comment, and reply information. **Fields**: `locationId`, `locationName`, `reviewId`, `reviewerName`, `starRating`, `comment`, `createTime`, `hasReply` # Publish Post Source: https://docs.markifact.com/nodes/business_profile/business_profile_publish_post Publishes a post to one or more Business Profile locations: a standard update, an event, or an offer, with optional photo and call to action Publishes a post to one or more Business Profile locations: a standard update, an event, or an offer, with optional photo and call to action. Supports publishing immediately or scheduling for later. For cases the standard fields do not cover, such as recurring event posts, alert posts, or several media items, pass raw LocalPost fields in advanced\_fields. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_publish_post` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select the Business Profile locations to publish the post to, ask the user for it if not provided. The same post is published to every selected location. | | `post_type` | string or SelectableOption | Yes | - | Type of post. Available options: 'whats\_new' (standard update), 'event' (has a title and start/end times), 'offer' (an event plus optional coupon code, redeem link, and terms). | | `summary` | string | No | - | The post text, up to 1500 characters. Required for whats\_new posts, optional for event and offer posts. | | `image_url` | string | No | - | Optional photo for the post. Accepts a direct image URL or a Google Drive share link with sharing set to 'Anyone with the link'. minimum 400x300 pixels. | | `cta_type` | string or SelectableOption | No | - | Optional call to action button. Available options: 'BOOK', 'ORDER', 'SHOP', 'LEARN\_MORE', 'SIGN\_UP', 'CALL'. All except CALL need cta\_url; CALL uses the location's phone number. Ignored on offer posts; Google adds its own offer button. | | `cta_url` | string | No | - | URL the call to action button opens. Required for every cta\_type except CALL. | | `event_title` | string | No | - | Title of the event or offer. Required for event and offer posts. | | `event_start` | string | No | - | When the event or offer starts, in the location's local time. Format 'YYYY-MM-DD HH:MM' or 'YYYY-MM-DD' for all day. Required for event and offer posts. | | `event_end` | string | No | - | When the event or offer ends, in the location's local time. Format 'YYYY-MM-DD HH:MM' or 'YYYY-MM-DD' for all day. Required for event and offer posts. | | `coupon_code` | string | No | - | Offer posts only: coupon code customers redeem. | | `redeem_online_url` | string | No | - | Offer posts only: link where customers redeem the offer. | | `terms_conditions` | string | No | - | Offer posts only: terms and conditions text. | | `language_code` | string | No | `en` | BCP-47 language code of the post text. Default is 'en'. | | `publish_mode` | string or SelectableOption | No | `now` | Choose 'now' to publish immediately (default) or 'scheduled' to schedule for later. | | `scheduled_publish_time` | string or integer or number | No | - | When to publish, required when publish\_mode is 'scheduled'. Accepts a unix timestamp in seconds, 'YYYY-MM-DD HH:MM' interpreted as UTC, or ISO 8601 with a timezone offset. Must be in the future. | | `advanced_fields` | object or string | No | - | Optional raw LocalPost fields, as an object or JSON string, for anything the fields above do not cover: recurring events via event.recurrenceInfo (dailyPattern, weeklyPattern with daysOfWeek, or monthlyPattern), several media items, or topicType "ALERT" with alertType. Merged over what the fields above build, keeping nested values that are not overridden, so event.recurrenceInfo adds to the event without dropping its title and schedule. Do not include name, state, createTime, updateTime or searchUrl. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-location results with the post name and Google search URL. Uses 1 credit per location. Does not raise on partial failures so multi-location workflows can continue; check failed\_count. **Fields**: `success_count`, `failed_count`, `total_count`, `results` **Example**: ```json theme={"dark"} { "success_count": 2, "failed_count": 0, "total_count": 2, "results": [ { "location_id": "123", "location_name": "My Store Downtown", "success": true } ] } ``` # Reply To Review Source: https://docs.markifact.com/nodes/business_profile/business_profile_reply_to_review Replies to a Business Profile review as the business Replies to a Business Profile review as the business. If the review already has a reply, it is replaced. Get review IDs from business\_profile\_list\_reviews. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_reply_to_review` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `location` | string or SelectItem | Yes | - | Select the Business Profile location the review belongs to, ask the user for it if not provided | | `review_id` | string | No | - | ID of the review to reply to, from business\_profile\_list\_reviews (reviewId field). | | `comment` | string | No | - | The reply text, up to 4096 characters, posted publicly as the business. If the review already has a reply, it is replaced with this one. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the posted reply details. **Fields**: `review_id`, `location_id`, `location_name`, `comment`, `update_time`, `status` **Example**: ```json theme={"dark"} { "review_id": "AbC123", "location_id": "123", "location_name": "My Store Downtown", "comment": "Thanks for the kind words!", "update_time": "2026-08-03T10:00:00Z", "status": "replied" } ``` # Search Categories Source: https://docs.markifact.com/nodes/business_profile/business_profile_search_categories Searches Google's Business Profile categories by name for a country Searches Google's Business Profile categories by name for a country. Use it to find category IDs (name, like 'categories/gcid:fishing\_charter') before changing a location's categories with business\_profile\_update\_location. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_search_categories` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search` | string | No | - | Text to match in category names, for example 'fishing'. Leave empty to list all categories. | | `region_code` | string | No | `US` | ISO 3166-1 alpha-2 country code of the location, for example 'US' or 'GB'. Categories differ by country. | | `language_code` | string | No | `en` | BCP 47 language code for the category names, for example 'en' | | `limit` | integer | No | - | Maximum number of categories to return. Leave empty for no limit. | ## Output **Type**: `List[Dict]` Returns matching categories with their ID and display name. **Fields**: `name`, `displayName` # Select Accounts Source: https://docs.markifact.com/nodes/business_profile/business_profile_select_accounts Select Google Business Profile locations once and reuse them across multiple business_profile_get_report nodes Select Google Business Profile locations once and reuse them across multiple business\_profile\_get\_report nodes. You can also select and list all available locations. Skip if you have just one business\_profile\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_select_accounts` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of locations with label (location name) and value (location ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Hours Source: https://docs.markifact.com/nodes/business_profile/business_profile_update_hours Sets the weekly opening hours or the holiday and special hours for one or more Business Profile locations Sets the weekly opening hours or the holiday and special hours for one or more Business Profile locations. Each update replaces the existing hours of that type, so send the complete set. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_update_hours` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select the Business Profile locations to update, ask the user for it if not provided. The same hours are applied to every selected location. | | `hours_type` | string or SelectableOption | Yes | - | Which hours to set. Available options: 'regular' (the weekly opening hours) or 'special' (holiday and one off hours that override the weekly hours). | | `regular_hours` | array (also accepts a comma-separated string) | No | - | Used when hours\_type is 'regular'. One row per opening period with fields: 'day' (Monday to Sunday), 'open' and 'close' as 24 hour 'HH:MM' times. Optional 'close\_day' for periods running past midnight, and 'closed' set to true to mark a day closed. IMPORTANT: this replaces the whole week, so include every open day; any day without a row becomes closed. Add two rows for the same day to create a split shift such as a lunch break. | | `special_hours` | array (also accepts a comma-separated string) | No | - | Used when hours\_type is 'special'. One row per date with fields: 'date' (YYYY-MM-DD), optional 'end\_date' for a range, and either 'closed' set to true or 'open' and 'close' as 24 hour 'HH:MM' times. IMPORTANT: this replaces all existing special hours, so include every date you want to keep. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-location results and the hour periods that were sent to Google. Uses 1 credit per location. Does not raise on partial failures; check failed\_count. **Fields**: `success_count`, `failed_count`, `total_count`, `hours_type`, `periods`, `results` # Update Location Source: https://docs.markifact.com/nodes/business_profile/business_profile_update_location Updates Business Profile location details: description, phone numbers, website, internal labels, store code, open or closed status, and attributes such as payment methods or accessibility (find the... Updates Business Profile location details: description, phone numbers, website, internal labels, store code, open or closed status, and attributes such as payment methods or accessibility (find them with business\_profile\_list\_attributes). For any other Location field, such as categories, storefront address, service area, service items, or more hours, pass raw fields in advanced\_fields, and optionally set update\_mask to target a nested path. Use business\_profile\_update\_hours for opening hours. Warning: changing business name, address, or categories can trigger Google re-verification. Use business\_profile\_get\_location\_info first to inspect current values, and business\_profile\_search\_categories to find category IDs. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_update_location` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select the Business Profile locations to update, ask the user for it if not provided. The same values are applied to every selected location, so use one location at a time for per location details like a phone number. | | `description` | string | No | - | The business description shown on the profile, up to 750 characters. Leave empty to keep the current description. | | `primary_phone` | string | No | - | Main phone number customers call. Setting this replaces all phone numbers on the location, so include additional\_phones if the location has extra numbers to keep. | | `additional_phones` | string or array of string | No | - | Extra phone numbers, as a list or one string separated by commas. Only used when primary\_phone is also provided. | | `website_url` | string | No | - | The website customers are sent to, ideally a page specific to this location. | | `labels` | string or array of string | No | - | Internal labels for grouping locations, visible only to the business, up to 10 labels of 255 characters. Provide as a list or one string separated by commas. Setting this replaces all existing labels. | | `store_code` | string | No | - | Internal identifier linking this location to your own records. | | `open_status` | string or SelectableOption | No | - | Whether the location is open for business. Available options: 'OPEN', 'CLOSED\_TEMPORARILY' (still listed, marked temporarily closed), 'CLOSED\_PERMANENTLY' (the listing stops showing as an operating business; only use this when the location has actually closed for good). | | `advanced_fields` | object or string | No | - | Optional raw Business Information API Location fields, as an object or JSON string, for anything the fields above do not cover: categories, storefrontAddress, serviceArea, serviceItems, moreHours, latlng, adWordsLocationExtensions, title. Merged over the fields above, so a value here wins if both are set. Google replaces the whole object at each field it updates, so send complete objects. Do not include name, metadata, relationshipData or languageCode. Use business\_profile\_update\_hours for opening hours. Warning: changing title, storefrontAddress, or categories can send the profile back through Google verification. | | `attributes` | array of object or string | No | - | Optional location attributes to set, such as payment methods, accessibility or amenities, as Google's native Attribute list or a JSON string. Only the attributes listed are changed; all others keep their current values. Find the attribute names, value types and allowed values with business\_profile\_list\_attributes. Use 'values' for BOOL and ENUM attributes, 'repeatedEnumValue' (\{setValues, unsetValues}) for REPEATED\_ENUM and 'uriValues' (\[\{uri}]) for URL. Example: \[\{"name": "attributes/pay\_credit\_card\_types\_accepted", "repeatedEnumValue": \{"setValues": \["visa", "mastercard"]}}, \{"name": "attributes/pay\_cash\_only", "values": \[false]}] | | `update_mask` | string | No | - | Optional comma separated field paths to update, overriding the mask derived from the fields provided. Use it to target a nested path, for example 'serviceArea.places' to change the places without replacing the rest of serviceArea. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-location results and which fields were changed. Uses 1 credit per location. Does not raise on partial failures; check failed\_count. **Fields**: `success_count`, `failed_count`, `total_count`, `updated`, `results` # Update Post Source: https://docs.markifact.com/nodes/business_profile/business_profile_update_post Updates an existing Business Profile post: text, call to action, event details, or offer details Updates an existing Business Profile post: text, call to action, event details, or offer details. The post's photo and type cannot be changed. | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_update_post` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `post_name` | string | No | - | Full resource name of the post to update, from business\_profile\_list\_posts or business\_profile\_publish\_post (format: accounts/x/locations/y/localPosts/z). Only the provided fields are changed; the post's photo and type cannot be changed. | | `summary` | string | No | - | New post text, up to 1500 characters. Leave empty to keep the current text. | | `cta_type` | string or SelectableOption | No | - | New call to action button. Available options: 'BOOK', 'ORDER', 'SHOP', 'LEARN\_MORE', 'SIGN\_UP', 'CALL'. All except CALL need cta\_url. | | `cta_url` | string | No | - | URL the call to action button opens. Required for every cta\_type except CALL. | | `event_title` | string | No | - | New title for event and offer posts. | | `event_start` | string | No | - | New start, in the location's local time ('YYYY-MM-DD HH:MM' or 'YYYY-MM-DD'). Provide event\_start and event\_end together. | | `event_end` | string | No | - | New end, in the location's local time ('YYYY-MM-DD HH:MM' or 'YYYY-MM-DD'). Provide event\_start and event\_end together. | | `coupon_code` | string | No | - | Offer posts only: new coupon code. | | `redeem_online_url` | string | No | - | Offer posts only: new redeem link. | | `terms_conditions` | string | No | - | Offer posts only: new terms and conditions text. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated post and which fields were changed. **Fields**: `post_name`, `updated`, `status`, `post` # Upload Photo Source: https://docs.markifact.com/nodes/business_profile/business_profile_upload_photo Uploads a photo to one or more Business Profile locations, placed by category (cover, logo, interior, product, and more) Uploads a photo to one or more Business Profile locations, placed by category (cover, logo, interior, product, and more). | | | | - | - | | **App** | Google Business Profile | | **Operation ID** | `business_profile_upload_photo` | | **Type** | Action | | **Connection** | `business_profile` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select the Business Profile locations to upload the photo to, ask the user for it if not provided. The photo is uploaded to every selected location. | | `image_url` | string | No | - | The photo to upload. Accepts a direct image URL or a Google Drive share link with sharing set to 'Anyone with the link'. Must be publicly reachable, JPG or PNG, minimum 250x250 pixels and at least 10KB. | | `category` | string or SelectableOption | No | `ADDITIONAL` | Where the photo appears on the profile. Available options: 'COVER', 'PROFILE', 'LOGO', 'EXTERIOR', 'INTERIOR', 'PRODUCT', 'AT\_WORK', 'FOOD\_AND\_DRINK', 'MENU', 'COMMON\_AREA', 'ROOMS', 'TEAMS', 'ADDITIONAL' (default). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-location results with the media name and Google URL. Does not raise on partial failures; check failed\_count. **Fields**: `success_count`, `failed_count`, `total_count`, `results` # Python Source: https://docs.markifact.com/nodes/code/code_python Executes arbitrary Python code and returns the result Executes arbitrary Python code and returns the result. Use only for actions not supported by existing nodes. Supports all standard and data analysis libraries (e.g., pandas, numpy, requests, seaborn, urllib, nltk, beautifulsoup4) You can also install additional packages . The last line of your code must be the value to return. To return multiple values, combine them into a single dict (e.g., \{'key1': value1, 'key2': value2}). Provide valid Python code as input. Dynamic values from other nodes are automatically injected as direct variables into the execution context, so you can reference them directly in your code without defining them (e.g., if you set 'payload' in variables, just use 'payload' directly). | | | | - | - | | **App** | Code | | **Operation ID** | `code_python` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `variables` | object | No | - | Top-level variables injected into the execution context before your code runs. • Keys must be valid Python identifiers (e.g., account\_ids, keywords). • Values can be literals or placeholders like \{\{nodeId.data}}; placeholders are resolved and type-cast to the correct Python types automatically. Example: \{"keywords": "\{\{googleAdsNodeId.data}}", "accounts": "\{\{accountNode.data}}"} You can reference these directly in code (no imports or parsing needed), e.g.: result = \{"count": len(accounts), "first\_kw": keywords\[0]} | | `packages` | array of string | No | - | Additional Python packages to install in the sandbox (max 5 packages). • Provide a list of package names • Common packages like pandas, numpy, requests are already available. Don't try to reinstall them. • Packages will be installed using pip before code execution Example: \['countryinfo==0.1.2'] | | `code` | string | Yes | - | The Python code to be executed supports all standard and data analysis libraries. Examples include: pandas, numpy, requests, seaborn, urllib, nltk, beautifulsoup4. Follow the instructions below when writing your code: - Your code must return a result — place it as the last line so it is captured as the output. - To return multiple values, combine them into a single dict, e.g.: \{"key1": value1, "key2": value2} - The final value must be one of these JSON-safe types: dict, list, str, int, float, bool, or None. - Do not print the result; only return it as the last expression. - Do not return complex objects such as DataFrames, NumPy arrays, sets, custom classes, or functions. Convert them to plain lists or dicts first. **Important**: Do not define or assign dynamic variables here. They are provided automatically and will already exist as direct variables in the execution context (e.g., if you defined 'payload' in variables, just use 'payload' directly in your code). | ## Output **Type**: `Any` Returns whatever the last line of the code evaluates to. Can be any type (str, int, list, dict, etc). If files are created, returns dict with 'result' and 'files' keys. # Custom Data Manager App Source: https://docs.markifact.com/nodes/data_manager/data_manager_custom_app Connect Google Data Manager through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Data Manager: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app as the uploader in Google Ads, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/datamanager` | | **APIs to enable** | Data Manager API | | **Google account for the token** | a Google account with access to the Google Ads accounts or audiences you upload to | Data Manager only ingests data, so verification checks the token and its scope. Make sure the Data Manager API is enabled on your project as well, otherwise the first upload fails with an API-disabled error. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Data Manager**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Data Manager"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Data Manager API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] An upload fails with 'API has not been used in project' > > Enable the Data Manager API under APIs & Services > Library in the project that owns your client ID and retry the upload. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Upload Offline Conversions](/nodes/data_manager/data_manager_upload_offline_conversions) > > Send conversions to Google Ads # Get Request Status Source: https://docs.markifact.com/nodes/data_manager/data_manager_get_request_status Check the processing status of a Google Data Manager ingest or remove request by its request ID, returning per-destination status with error and warning counts Check the processing status of a Google Data Manager ingest or remove request by its request ID, returning per-destination status with error and warning counts. Ingestion is asynchronous, so run this after an upload to verify processing | | | | - | - | | **App** | Google Data Manager | | **Operation ID** | `data_manager_get_request_status` | | **Type** | Action | | **Connection** | `data_manager` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `request_id` | string | Yes | - | The request ID returned by a Data Manager ingest or remove operation, for example 't-5dc6ac8b-f352-4d89-a8b3-5f31cce2ba86' | ## Output **Type**: `Dict` Returns the raw request status per destination. **Fields**: `requestStatusPerDestination` # Ingest Audience Members Source: https://docs.markifact.com/nodes/data_manager/data_manager_ingest_audience_members Upload Customer Match audience members to Google Ads user lists, or audience members to Display & Video 360 or Google Ad Manager, through the Google Data Manager audienceMembers:ingest endpoint Upload Customer Match audience members to Google Ads user lists, or audience members to Display & Video 360 or Google Ad Manager, through the Google Data Manager audienceMembers:ingest endpoint. Members are identified by hashed emails, phones, or addresses (userData) or mobile advertising IDs (mobileData). The user list itself is created first, for example with gads\_mutate userListOperation. Requires accepting the Customer Match terms of service | | | | - | - | | **App** | Google Data Manager | | **Operation ID** | `data_manager_ingest_audience_members` | | **Type** | Action | | **Connection** | `data_manager` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `destinations` | string or array of object or object | Yes | - | List of native Destination objects for the audienceMembers:ingest endpoint, in Google's camelCase JSON. Each destination needs operatingAccount \{accountType, accountId} and productDestinationId. accountType options for audiences: 'GOOGLE\_ADS' (productDestinationId is a user list ID; create the list first, for example with gads\_mutate userListOperation), 'DISPLAY\_VIDEO\_ADVERTISER', 'DISPLAY\_VIDEO\_PARTNER', 'GOOGLE\_AD\_MANAGER\_AUDIENCE\_LINK' (productDestinationId is an audience ID), 'DATA\_PARTNER'. Optional per destination: 'reference' and 'loginAccount' \{accountType, accountId} for manager (MCC) access. Example: \[\{"operatingAccount": \{"accountType": "GOOGLE\_ADS", "accountId": "1234567890"}, "productDestinationId": "456789"}] | | `audience_members` | string or array of object or object | Yes | - | List of native AudienceMember objects in Google's camelCase JSON. Each member carries exactly one data type: userData \{userIdentifiers: \[\{emailAddress \| phoneNumber \| address \{givenName, familyName, regionCode, postalCode}}]} (max 10 identifiers per member; raw emails, E.164 phones, and names are normalized and SHA-256 hashed automatically, 64-hex digests pass through), or mobileData \{mobileIds} (advertising IDs), or pairData, userIdData, ppidData, compositeData, googleUserIdData, partnerProvidedIdData for partner setups, passed through as-is. Optional per member: destinationReferences and consent \{adUserData, adPersonalization: 'CONSENT\_GRANTED'\|'CONSENT\_DENIED'}. Only include fields valid for the AudienceMember schema. Batching is handled automatically, Google accepts up to 10000 audience members per request | | `customer_match_terms_of_service` | string or SelectableOption | No | - | Customer Match terms of service decision (`https://support.google.com/adspolicy/answer/6299717`). Google requires 'ACCEPTED' when ingesting userData or mobileData members; ask the user to confirm they accept before setting it. Options: 'ACCEPTED', 'REJECTED' | | `ad_user_data_consent` | string or SelectableOption | No | - | Request-level consent for ad user data, applied to all members unless a member carries its own consent. Options: 'GRANTED', 'DENIED' | | `ad_personalization_consent` | string or SelectableOption | No | - | Request-level consent for ad personalization, applied to all members unless a member carries its own consent. Options: 'GRANTED', 'DENIED' | | `encoding` | string or SelectableOption | No | - | Encoding of hashed user identifiers: 'HEX' or 'BASE64'. Set automatically to 'HEX' when this operation hashes raw identifiers; set it only when providing pre-hashed identifiers in BASE64 | | `encryption_info` | object or string | No | - | Optional native EncryptionInfo object for encrypted user identifiers (DEK/KMS setups), passed through as-is | | `validate_only` | boolean | No | `False` | When true, validates the request without ingesting. Only errors are returned | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the Data Manager request IDs and any field warnings. **Fields**: `requestIds`, `audience_members_sent`, `fieldWarnings` # Ingest Events Source: https://docs.markifact.com/nodes/data_manager/data_manager_ingest_events Upload offline conversions and enhanced conversions through the Google Data Manager events:ingest endpoint, to Google Ads conversion actions, Campaign Manager 360 / DV360 Floodlight activities, or ... Upload offline conversions and enhanced conversions through the Google Data Manager events:ingest endpoint, to Google Ads conversion actions, Campaign Manager 360 / DV360 Floodlight activities, or Google Analytics properties. Events are matched by click ID (gclid, gbraid, wbraid, dclid) or hashed user identifiers (email, phone, address), with value, currency, transaction ID, cart data, and consent. For straightforward Google Ads offline conversions prefer data\_manager\_upload\_offline\_conversions; use this operation for CM360 Floodlight, Google Analytics, multi-destination, cart data, custom variables, or encrypted identifier cases. Offline conversions cannot be uploaded through gads\_mutate. Conversion actions are created with gads\_create\_conversion\_action | | | | - | - | | **App** | Google Data Manager | | **Operation ID** | `data_manager_ingest_events` | | **Type** | Action | | **Connection** | `data_manager` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `destinations` | string or array of object or object | Yes | - | List of native Destination objects for the events:ingest endpoint, in Google's camelCase JSON. Each destination needs operatingAccount \{accountType, accountId} and productDestinationId. accountType options: 'GOOGLE\_ADS' (productDestinationId is a conversion action ID), 'FLOODLIGHT\_CONFIG' (Campaign Manager 360 / DV360 conversions, productDestinationId is a Floodlight activity ID), 'GOOGLE\_ANALYTICS\_PROPERTY' (productDestinationId is a measurement ID or Firebase app ID). Optional per destination: 'reference' (string used by events' destinationReferences) and 'loginAccount' \{accountType, accountId} when access goes through a manager (MCC) account. Example: \[\{"reference": "d1", "operatingAccount": \{"accountType": "GOOGLE\_ADS", "accountId": "1234567890"}, "productDestinationId": "987654"}] | | `events` | string or array of object or object | Yes | - | List of native Event objects in Google's camelCase JSON. Supported fields per event: destinationReferences (omit to send to all destinations), eventTimestamp (required, RFC 3339 with timezone; normalized automatically), eventSource ('WEB', 'APP', 'IN\_STORE', 'PHONE', 'MESSAGE', 'OTHER'; defaults to 'WEB' when omitted), transactionId (order ID, deduplicates conversions), adIdentifiers \{gclid \| gbraid \| wbraid \| dclid, sessionAttributes, landingPageDeviceInfo}, userData \{userIdentifiers: \[\{emailAddress \| phoneNumber \| address \{givenName, familyName, regionCode, postalCode}}]} for enhanced conversions (max 10 identifiers; raw emails, E.164 phones, and names are normalized and SHA-256 hashed automatically, 64-hex digests pass through), conversionValue and currency, conversionCount, consent \{adUserData, adPersonalization: 'CONSENT\_GRANTED'\|'CONSENT\_DENIED'}, cartData \{merchantId, feedCountryCode, feedLanguageCode, localTransactionCost, items \[\{productId, quantity, unitPrice}]}, customVariables, eventName, userProperties, eventDeviceInfo, eventLocation, userId, clientId, appInstanceId. Only include fields valid for the Event schema; do not invent fields. Batching is handled automatically, Google accepts up to 2000 events per request | | `ad_user_data_consent` | string or SelectableOption | No | - | Request-level consent for ad user data, applied to all events unless an event carries its own consent. Options: 'GRANTED', 'DENIED' | | `ad_personalization_consent` | string or SelectableOption | No | - | Request-level consent for ad personalization, applied to all events unless an event carries its own consent. Options: 'GRANTED', 'DENIED' | | `encoding` | string or SelectableOption | No | - | Encoding of hashed user identifiers: 'HEX' or 'BASE64'. Set automatically to 'HEX' when this operation hashes raw identifiers; set it only when providing pre-hashed identifiers in BASE64 | | `encryption_info` | object or string | No | - | Optional native EncryptionInfo object for encrypted user identifiers (DEK/KMS setups), passed through as-is | | `validate_only` | boolean | No | `False` | When true, validates the request without ingesting. Only errors are returned | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the Data Manager request IDs and any field warnings. **Fields**: `requestIds`, `events_sent`, `fieldWarnings` # Remove Audience Members Source: https://docs.markifact.com/nodes/data_manager/data_manager_remove_audience_members Remove members from remarketing audiences through the Google Data Manager audienceMembers:remove endpoint: Customer Match user lists in Google Ads, and audiences in Display & Video 360 or Google Ad... Remove members from remarketing audiences through the Google Data Manager audienceMembers:remove endpoint: Customer Match user lists in Google Ads, and audiences in Display & Video 360 or Google Ad Manager, matching the identifiers that were originally ingested | | | | - | - | | **App** | Google Data Manager | | **Operation ID** | `data_manager_remove_audience_members` | | **Type** | Action | | **Connection** | `data_manager` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `destinations` | string or array of object or object | Yes | - | List of native Destination objects for the audienceMembers:remove endpoint, in Google's camelCase JSON. Each destination needs operatingAccount \{accountType, accountId} and productDestinationId (the user list or audience ID to remove members from). accountType options: 'GOOGLE\_ADS', 'DISPLAY\_VIDEO\_ADVERTISER', 'DISPLAY\_VIDEO\_PARTNER', 'GOOGLE\_AD\_MANAGER\_AUDIENCE\_LINK', 'DATA\_PARTNER'. Optional per destination: 'reference' and 'loginAccount' \{accountType, accountId} for manager (MCC) access | | `audience_members` | string or array of object or object | Yes | - | List of native AudienceMember objects to remove, in Google's camelCase JSON, matching the identifiers that were originally ingested: userData \{userIdentifiers: \[\{emailAddress \| phoneNumber \| address \{givenName, familyName, regionCode, postalCode}}]} (raw emails, E.164 phones, and names are normalized and SHA-256 hashed automatically, 64-hex digests pass through), or mobileData, pairData, or other AudienceMember data types passed through as-is. Optional per member: destinationReferences. Batching is handled automatically, Google accepts up to 10000 audience members per request | | `encoding` | string or SelectableOption | No | - | Encoding of hashed user identifiers: 'HEX' or 'BASE64'. Set automatically to 'HEX' when this operation hashes raw identifiers; set it only when providing pre-hashed identifiers in BASE64 | | `encryption_info` | object or string | No | - | Optional native EncryptionInfo object for encrypted user identifiers (DEK/KMS setups), passed through as-is | | `validate_only` | boolean | No | `False` | When true, validates the request without removing. Only errors are returned | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the Data Manager request IDs and any field warnings. **Fields**: `requestIds`, `audience_members_removed`, `fieldWarnings` # Upload Offline Conversions Source: https://docs.markifact.com/nodes/data_manager/data_manager_upload_offline_conversions Upload offline conversions to Google Ads conversion actions with simple inputs: single conversion or bulk rows from a data source such as a Google Sheet, matched by Google click ID (gclid) or hashe... Upload offline conversions to Google Ads conversion actions with simple inputs: single conversion or bulk rows from a data source such as a Google Sheet, matched by Google click ID (gclid) or hashed email and phone (enhanced conversions for leads), with value, currency, order ID, event source, and consent. Rows can target different accounts and conversion actions. Prefer this operation for simple Google Ads offline conversion uploads; for advanced cases and full API coverage (CM360 Floodlight, Google Analytics, multi-destination, cart data, custom variables, encrypted identifiers), use data\_manager\_ingest\_events. Conversion actions are created with gads\_create\_conversion\_action | | | | - | - | | **App** | Google Data Manager | | **Operation ID** | `data_manager_upload_offline_conversions` | | **Type** | Action | | **Connection** | `data_manager` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `update_type` | string or SelectableOption | No | - | Choose 'single' to upload one conversion from the individual fields, or 'bulk' to upload many conversions from a data source such as a Google Sheet. Defaults to 'single' | | `account_id` | string | No | - | The Google Ads account ID receiving the conversions, for example '123-456-7890'. Required in single mode; in bulk mode it can instead come from an 'account\_id' column in the rows, with this field as the default | | `login_account_id` | string | No | - | Optional manager (MCC) account ID, when access to the account goes through a manager. In bulk mode it can also come from a 'manager\_account\_id' column in the rows | | `conversion_action_id` | string | No | - | The Google Ads conversion action ID the conversions are uploaded to. Must be an UPLOAD\_CLICKS type conversion action (create one with gads\_create\_conversion\_action). Required in single mode; in bulk mode it can instead come from a 'conversion\_action\_id' column in the rows, with this field as the default | | `structured_data` | array (also accepts a comma-separated string) | No | - | Bulk mode: rows of conversions from a previous node. Supported columns: 'gclid', 'email', 'phone', 'event\_time' (RFC 3339 with timezone, 'conversion\_time' also accepted), 'conversion\_value', 'currency', 'order\_id', 'event\_source', and optionally 'account\_id', 'manager\_account\_id', and 'conversion\_action\_id' to override the node-level values per row. Each row needs event\_time and at least one of gclid, email, or phone. Emails and phones are normalized and SHA-256 hashed before sending | | `gclid` | string | No | - | Single mode: the Google click ID (gclid) that led to the conversion | | `email` | string | No | - | Single mode: email address of the converting user, used for matching when no click ID is available. Normalized and SHA-256 hashed before sending; a pre-hashed 64-character hex value is also accepted | | `phone` | string | No | - | Single mode: phone number of the converting user in E.164 format, for example '+14155550123'. Normalized and SHA-256 hashed before sending; a pre-hashed 64-character hex value is also accepted | | `event_time` | string | No | - | Single mode: when the conversion happened, in RFC 3339 format, for example '2026-08-25T14:30:00Z' or '2026-08-25 14:30:00+04:00'. Must not be in the future | | `conversion_value` | number | No | - | Single mode: the value of the conversion for the advertiser | | `currency` | string | No | - | Single mode: ISO 4217 currency code for the conversion value, for example 'USD' | | `order_id` | string | No | - | Single mode: optional unique transaction or order ID, used to avoid duplicate conversions | | `event_source` | string or SelectableOption | No | - | Where the conversions originated, applied to all uploaded conversions. Options: 'WEB', 'APP', 'IN\_STORE', 'PHONE', 'MESSAGE', 'OTHER'. Defaults to 'WEB' (conversions attributed to ad clicks in a browser). In bulk mode an 'event\_source' column can override it per row | | `ad_user_data_consent` | string or SelectableOption | No | - | Whether the users consented to ad user data, applied to all uploaded conversions. Options: 'GRANTED', 'DENIED' | | `ad_personalization_consent` | string or SelectableOption | No | - | Whether the users consented to ad personalization, applied to all uploaded conversions. Options: 'GRANTED', 'DENIED' | | `validate_only` | boolean | No | `False` | When true, validates the upload without applying it. Only errors are returned | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the Data Manager request IDs and any field warnings. **Fields**: `requestIds`, `conversions_sent`, `fieldWarnings` # Audit Assistant Answer Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_audit_assistant_answer Audit what the real ChatGPT or Gemini app answers for a prompt in one country and language, scraped from the assistant rather than the API, for AI visibility, AEO and GEO: returns the markdown answ... Audit what the real ChatGPT or Gemini app answers for a prompt in one country and language, scraped from the assistant rather than the API, for AI visibility, AEO and GEO: returns the markdown answer, the cited sources, the brands named and a link that reproduces the prompt. Only for measuring AI answers, never as a general assistant to draft content or answer the user. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_audit_assistant_answer` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `platform` | string or SelectableOption | No | `chat_gpt` | Which assistant to query: 'chat\_gpt' (default) or 'gemini'. | | `prompt` | string | Yes | - | The prompt a user would type into the assistant, e.g. 'best CRM for small businesses' (up to 2000 characters). | | `location` | string or SelectableOption | No | `2840` | Country or city the assistant is queried from: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States) or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the conversation, e.g. en, de, es, fr, nl. Defaults to en. | | `force_web_search` | boolean | No | `False` | chat\_gpt only: force ChatGPT to search the web and cite live sources instead of letting it decide. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a single row: platform, prompt, model, answer (markdown), sources (list of title, domain, url, source\_name, snippet, publication\_date), cited\_domains (comma-separated unique domains), search\_results (list of title, domain, url, description), brand\_entities (list of title, category, urls), fan\_out\_queries, check\_url (link that reproduces the prompt in the assistant), datetime. **Fields**: `platform`, `prompt`, `answer`, `sources`, `cited_domains`, `brand_entities`, `check_url` **Example**: ```json theme={"dark"} [ { "platform": "chat_gpt", "prompt": "best backlink checker tools", "answer": "My top picks are Ahrefs, Semrush and Moz...", "cited_domains": "ahrefs.com, semrush.com, moz.com" } ] ``` # Audit Llm Answer Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_audit_llm_answer Audit how ChatGPT, Claude, Gemini or Perplexity answer a prompt about a brand, product or category, for AI visibility, answer engine optimization (AEO) and generative engine optimization (GEO): ret... Audit how ChatGPT, Claude, Gemini or Perplexity answer a prompt about a brand, product or category, for AI visibility, answer engine optimization (AEO) and generative engine optimization (GEO): returns the answer, the sources it cited and the brands it names. Only for measuring AI answers, never as a general assistant to draft content or answer the user: each call is billed to the user's DataForSEO balance plus the model provider's token cost. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_audit_llm_answer` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `provider` | string or SelectableOption | No | `chat_gpt` | AI provider to ask: 'chat\_gpt' (OpenAI, default), 'claude' (Anthropic), 'gemini' (Google) or 'perplexity'. | | `model` | string | No | - | Model name as listed by dataforseo\_list\_llm\_models, e.g. gpt-4.1-mini, gpt-5.5, claude-sonnet-5, gemini-2.5-flash, sonar-pro. Leave empty for the provider default (gpt-4.1-mini, claude-haiku-4-5, gemini-2.5-flash, sonar). Reasoning models such as the gpt-5 family cost more and cannot be forced to search the web. | | `prompt` | string | Yes | - | The question or task to send, e.g. 'What are the best project management tools for agencies?' | | `system_message` | string | No | - | Optional instructions that set the role, tone or format of the answer. | | `web_search` | string or SelectableOption | No | `auto` | 'auto' (default) lets the model decide whether to search the web, 'always' forces a web search so the answer cites live sources (chat\_gpt non-reasoning models such as gpt-4.1-mini, and claude), 'off' answers from training data only. Perplexity always searches the web. | | `country` | string or SelectableOption | No | - | Two-letter country code (US, GB, DE...) used to localise the web search; a DataForSEO country location code such as 2840 also works. Not supported by gemini. Leave empty for the provider default. | | `max_output_tokens` | integer | No | - | Maximum length of the answer in tokens (16 to 4096). Leave empty for the model default. Reasoning models such as the gpt-5 family and the o-series do not accept it. | | `temperature` | number | No | - | Randomness of the answer from 0 (deterministic) to 2 (creative). Leave empty for the provider default. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a single row: provider, model\_name, answer (markdown), sources (list of title, domain, url), cited\_domains (comma-separated unique domains), fan\_out\_queries, web\_search (whether the model searched), input\_tokens, output\_tokens, reasoning\_tokens, money\_spent (provider cost in USD), datetime. **Fields**: `provider`, `model_name`, `answer`, `sources`, `cited_domains`, `web_search`, `money_spent` **Example**: ```json theme={"dark"} [ { "provider": "chat_gpt", "model_name": "gpt-4.1-mini", "answer": "The most popular backlink checkers are Ahrefs and Semrush.", "cited_domains": "ahrefs.com, semrush.com", "web_search": true } ] ``` # Find Keyword Ideas Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_find_keyword_ideas Discover new keywords from seed keywords with DataForSEO Labs: ideas by topic, long-tail suggestions containing the seed, or related searches, each with search volume, CPC, competition, difficulty ... Discover new keywords from seed keywords with DataForSEO Labs: ideas by topic, long-tail suggestions containing the seed, or related searches, each with search volume, CPC, competition, difficulty and intent. Use dataforseo\_get\_keyword\_overview for metrics on keywords you already have. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_find_keyword_ideas` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Seed keywords, as a list or newline/comma-separated text. keyword\_ideas takes up to 200 seeds in one request; keyword\_suggestions and related\_keywords run one request per seed. | | `idea_source` | string or SelectableOption | No | `keyword_ideas` | 'keyword\_ideas' (default): keywords relevant to the seeds by category and meaning. 'keyword\_suggestions': long-tail phrases containing the seed. 'related\_keywords': terms from the 'searches related to' block, expandable by depth. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `exact_match` | boolean | No | `False` | keyword\_suggestions only: return phrases containing the seed exactly as written. | | `depth` | integer | No | `1` | related\_keywords only: how many levels of related searches to expand (1 to 4). Each level multiplies the number of keywords, up to 8 at depth 1 and 4680 at depth 4. | | `ignore_synonyms` | boolean | No | `False` | Skip keywords that are near-duplicates of others in the result. | | `include_serp_info` | boolean | No | `False` | Also return SERP facts per keyword: result types on the page, number of results and the check URL. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. keyword\_info.search\_volume GREATER\_THAN 500, keyword\_properties.keyword\_difficulty LESS\_THAN 40, keyword CONTAINS 'best', search\_intent\_info.main\_intent EQUALS commercial. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. keyword, keyword\_info.search\_volume, keyword\_info.cpc, keyword\_info.competition\_level, keyword\_info.monthly\_searches, keyword\_info.search\_volume\_trend.yearly, keyword\_properties.keyword\_difficulty, search\_intent\_info.main\_intent, serp\_info.serp\_item\_types, avg\_backlinks\_info.backlinks. Leave empty for the default set listed in the output description. Does not change the cost. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword idea with the same dotted columns as keyword overview (keyword, keyword\_info.*, keyword\_properties.*, search\_intent\_info.*, avg\_backlinks\_info.*) plus seed\_keyword, and for related\_keywords also depth and related\_keywords. **Fields**: `seed_keyword`, `keyword`, `keyword_info.search_volume`, `keyword_info.cpc`, `keyword_info.competition_level`, `keyword_properties.keyword_difficulty`, `search_intent_info.main_intent` **Example**: ```json theme={"dark"} [ { "keyword": "seo tools", "keyword_info.search_volume": 40500, "keyword_info.cpc": 6.2, "keyword_info.competition_level": "MEDIUM", "keyword_properties.keyword_difficulty": 72, "search_intent_info.main_intent": "commercial" } ] ``` # Get Account Balance Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_account_balance Get the DataForSEO account balance, deposits, spend today and this month, spend limits, and whether the Backlinks and LLM Mentions subscriptions are active and until when Get the DataForSEO account balance, deposits, spend today and this month, spend limits, and whether the Backlinks and LLM Mentions subscriptions are active and until when. Free. All DataForSEO tools need a Markifact connection holding the API login and API password from app.dataforseo.com/api-access; every other tool is billed to the balance and reports its cost in USD. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_account_balance` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `List[Dict]` Returns a single row: login, balance (USD), total\_deposited, spent\_today, spent\_this\_month, daily\_spend\_limit, total\_spend\_limit, backlinks\_subscription\_expiry\_date, llm\_mentions\_subscription\_expiry\_date, timezone. **Fields**: `login`, `balance`, `total_deposited`, `spent_today`, `spent_this_month`, `daily_spend_limit`, `total_spend_limit`, `backlinks_subscription_expiry_date`, `llm_mentions_subscription_expiry_date`, `timezone` **Example**: ```json theme={"dark"} [ { "login": "you@example.com", "balance": 48.52, "total_deposited": 50.0, "spent_today": 0.31, "spent_this_month": 1.48, "daily_spend_limit": null } ] ``` # Get Backlink Anchors Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_backlink_anchors Get the anchor text distribution of a link profile from DataForSEO, one row per anchor with its backlinks, referring domains, rank and spam score, to check whether anchors look natural or over-opti... Get the anchor text distribution of a link profile from DataForSEO, one row per anchor with its backlinks, referring domains, rank and spam score, to check whether anchors look natural or over-optimised for exact-match keywords. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_backlink_anchors` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain, subdomain or page to analyse. Domains go in bare (example.com, blog.example.com); a single page needs its full URL (`https://example.com/pricing`). | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the target as well. Defaults to true. | | `exclude_internal_backlinks` | boolean | No | `True` | Leave out links coming from the target's own subdomains. Defaults to true. | | `backlinks_status_type` | string or SelectableOption | No | `live` | Which backlinks to count: 'live' (default, found on the last crawl), 'all' (live and lost together) or 'lost' (only links that disappeared). | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank, domain\_from\_rank and page\_from\_rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `top_n` | integer | No | `5` | How many entries to keep in each distribution per row (top TLDs, countries, link types), 1 to 10. Defaults to 5. | | `filters` | array of FilterItem | No | - | Up to 8 filters on anchor fields, e.g. backlinks GREATER\_THAN 10, referring\_domains GREATER\_THAN 3, anchor CONTAINS seo tools, backlinks\_spam\_score LESS\_THAN 30. | | `orders` | array of OrderItem | No | - | Sort by up to 3 anchor fields, e.g. backlinks DESC or referring\_domains DESC. | | `limit` | integer | No | `100` | Maximum number of anchors to return (1 to 1000). Defaults to 100. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Result columns to keep, e.g. anchor, rank, backlinks, referring\_pages, referring\_domains, backlinks\_spam\_score, broken\_backlinks, first\_seen, lost\_date, referring\_links\_types, referring\_links\_countries. Leave empty for the default set listed in the output description. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per anchor. Default columns: anchor, rank, backlinks, referring\_pages, referring\_domains, referring\_ips, backlinks\_spam\_score, broken\_backlinks, referring\_links\_types, referring\_links\_countries, first\_seen, lost\_date. Other columns available through fields include referring\_main\_domains, referring\_pages\_nofollow, referring\_subnets, broken\_pages and the remaining referring\_links\_\* maps. **Fields**: `anchor`, `rank`, `backlinks`, `referring_domains`, `backlinks_spam_score` **Example**: ```json theme={"dark"} [ { "anchor": "backlink checker", "rank": 388, "backlinks": 940, "referring_domains": 210, "backlinks_spam_score": 9 } ] ``` # Get Backlink Gap Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_backlink_gap Link intersect and link gap from DataForSEO: the referring domains or pages that up to 20 sites have in common, with each target's metrics side by side Link intersect and link gap from DataForSEO: the referring domains or pages that up to 20 sites have in common, with each target's metrics side by side. Only domains linking to EVERY target are returned, so put competitors in targets and your own site in exclude\_targets to list only the prospects you are missing. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_backlink_gap` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targets` | array of string or string | Yes | - | Two to 20 domains, subdomains or pages, as a list or newline/comma-separated text. Only the referring domains or pages that link to EVERY target are returned, so put the competitors whose common links you want here. Domains go in bare (example.com); a single page needs its full URL. The per-target columns follow this order. | | `comparison` | string or SelectableOption | No | `domains` | 'domains' (default): one row per referring domain that links to every target, with each target's metrics side by side. 'pages': one row per referring page, with the exact link it points at each target. | | `intersection_mode` | string or SelectableOption | No | `all` | Which backlinks the per-target metrics are based on: 'all' (default) counts every backlink each target has from that referring domain, 'partial' counts only the intersecting ones. It does not change which rows are returned. | | `exclude_targets` | string or array of string | No | - | Up to 10 domains, subdomains or pages to subtract: any referring domain or page that also links to one of these is dropped. Put your own site here to turn the report into a link gap, listing only the prospects your competitors have and you do not. | | `backlinks_status_type` | string or SelectableOption | No | `live` | Which backlinks to count: 'live' (default), 'all' or 'lost'. | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the targets as well. Defaults to true. | | `include_indirect_links` | boolean | No | `True` | Count links that reach a target through a redirect or a canonical. Defaults to true. | | `exclude_internal_backlinks` | boolean | No | `True` | Leave out links coming from a target's own subdomains. Defaults to true. | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `filters` | array of FilterItem | No | - | Up to 8 filters, addressing a target by its position in the targets list: 1.rank GREATER\_THAN 300, 2.backlinks GREATER\_THAN 5 (domains comparison) or 1.dofollow EQUALS true, 1.anchor CONTAINS review (pages comparison). | | `orders` | array of OrderItem | No | - | Sort by up to 3 of the same fields, e.g. 1.rank DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `top_n` | integer | No | `5` | domains comparison: how many entries to keep in each distribution per row, 1 to 10. Defaults to 5. | | `fields` | string or array of string | No | - | Per-target result columns to keep, addressing a target by its position in the targets list: domain\_intersection.1.rank, domain\_intersection.1.backlinks, domain\_intersection.2.rank (domains comparison) or page\_intersection.1.url\_to, page\_intersection.1.anchor, page\_intersection.1.dofollow (pages comparison). The referring\_domain, referring\_page and intersections\_count columns are always returned. Leave empty for a compact set covering every target. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Every row starts with referring\_domain, referring\_page (pages comparison only) and intersections\_count, followed by one block of columns per compared target, numbered by its position in the targets list. domains comparison: domain\_intersection.N.rank, .backlinks, .referring\_pages, .first\_seen. pages comparison: page\_intersection.N.url\_to, .anchor, .dofollow, .domain\_from\_rank, .first\_seen. The full per-target profile and the referring\_links\_\* maps are available through fields. **Fields**: `referring_domain`, `intersections_count`, `domain_intersection.1.rank`, `domain_intersection.1.backlinks`, `domain_intersection.2.rank`, `domain_intersection.2.backlinks` **Example**: ```json theme={"dark"} [ { "referring_domain": "blog.example.com", "intersections_count": 2, "domain_intersection.1.backlinks": 4, "domain_intersection.2.backlinks": 11 } ] ``` # Get Backlink Pages Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_backlink_pages Find which pages of a site attract its backlinks, from DataForSEO: backlinks, referring domains, rank and spam score per page, optionally with the crawled on-page data (status code, title, headings... Find which pages of a site attract its backlinks, from DataForSEO: backlinks, referring domains, rank and spam score per page, optionally with the crawled on-page data (status code, title, headings, word count, technologies). Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_backlink_pages` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain, subdomain or page to analyse. Domains go in bare (example.com, blog.example.com); a single page needs its full URL (`https://example.com/pricing`). | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the target as well. Defaults to true. | | `exclude_internal_backlinks` | boolean | No | `True` | Leave out links coming from the target's own subdomains. Defaults to true. | | `backlinks_status_type` | string or SelectableOption | No | `live` | Which backlinks to count: 'live' (default, found on the last crawl), 'all' (live and lost together) or 'lost' (only links that disappeared). | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank, domain\_from\_rank and page\_from\_rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `report` | string or SelectableOption | No | `summary` | 'summary' (default): one row per page of the target with its backlink counts, the fastest way to find the most linked pages. 'pages': the same pages with the crawled on-page data as well (title, headings, word count, technologies, spam score). | | `top_n` | integer | No | `5` | summary only: how many entries to keep in each distribution per row (top TLDs, countries, link types), 1 to 10. Defaults to 5. | | `filters` | array of FilterItem | No | - | Up to 8 filters. summary: url, backlinks, referring\_domains, rank, backlinks\_spam\_score, broken\_backlinks. pages: page, status\_code, meta.title, meta.words\_count, meta.page\_spam\_score, page\_summary.backlinks, page\_summary.referring\_domains. | | `orders` | array of OrderItem | No | - | Sort by up to 3 result fields, e.g. backlinks DESC (summary) or page\_summary.backlinks DESC (pages). | | `limit` | integer | No | `100` | Maximum number of pages to return (1 to 1000). Defaults to 100. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Result columns to keep. summary: url, backlinks, referring\_domains, rank, backlinks\_spam\_score, broken\_backlinks, first\_seen, lost\_date. pages: page, status\_code, meta.title, meta.h1, meta.words\_count, meta.internal\_links\_count, meta.external\_links\_count, meta.page\_spam\_score, page\_summary.backlinks, page\_summary.referring\_domains, page\_summary.rank. Leave empty for the default set listed in the output description. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` summary: one row per page with url, rank, backlinks, referring\_domains, referring\_pages, referring\_ips, backlinks\_spam\_score, broken\_backlinks, referring\_links\_types, first\_seen, lost\_date. pages: page, status\_code, meta.title, meta.h1, meta.words\_count, meta.internal\_links\_count, meta.external\_links\_count, meta.page\_spam\_score, page\_summary.rank, page\_summary.backlinks, page\_summary.referring\_domains, page\_summary.broken\_backlinks, fetch\_time, with meta.h2, meta.h3, meta.canonical, meta.language, meta.technologies, meta.social\_media\_tags and the rest of page\_summary available through fields. **Fields**: `url`, `rank`, `backlinks`, `referring_domains`, `backlinks_spam_score` **Example**: ```json theme={"dark"} [ { "url": "https://ahrefs.com/blog/", "rank": 512, "backlinks": 84200, "referring_domains": 9120, "backlinks_spam_score": 11 } ] ``` # Get Backlinks Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_backlinks List the individual backlinks pointing to a domain, subdomain or page from DataForSEO, with the linking URL and page title, anchor text, dofollow, source rank and spam score, and first and last see... List the individual backlinks pointing to a domain, subdomain or page from DataForSEO, with the linking URL and page title, anchor text, dofollow, source rank and spam score, and first and last seen dates. Filter to new, lost or broken links. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_backlinks` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain, subdomain or page to analyse. Domains go in bare (example.com, blog.example.com); a single page needs its full URL (`https://example.com/pricing`). | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the target as well. Defaults to true. | | `exclude_internal_backlinks` | boolean | No | `True` | Leave out links coming from the target's own subdomains. Defaults to true. | | `backlinks_status_type` | string or SelectableOption | No | `live` | Which backlinks to count: 'live' (default, found on the last crawl), 'all' (live and lost together) or 'lost' (only links that disappeared). | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank, domain\_from\_rank and page\_from\_rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `mode` | string or SelectableOption | No | `as_is` | 'as\_is' (default) returns every backlink, 'one\_per\_domain' one backlink per referring domain, 'one\_per\_anchor' one backlink per anchor text. | | `filters` | array of FilterItem | No | - | Up to 8 filters on backlink fields, e.g. dofollow EQUALS true, domain\_from\_rank GREATER\_THAN 500, is\_new EQUALS true, anchor CONTAINS 'seo tools', backlink\_spam\_score LESS\_THAN 30, page\_from\_language EQUALS en. | | `orders` | array of OrderItem | No | - | Sort by up to 3 backlink fields, e.g. domain\_from\_rank DESC or first\_seen DESC. | | `limit` | integer | No | `100` | Maximum number of backlinks to return (1 to 1000). Defaults to 100. | | `offset` | integer | No | - | Number of backlinks to skip, for paging. | | `fields` | string or array of string | No | - | Result columns to keep, e.g. url\_from, url\_to, anchor, dofollow, domain\_from\_rank, page\_from\_rank, backlink\_spam\_score, first\_seen, last\_seen, is\_new, is\_lost, is\_broken, tld\_from, domain\_from\_country, page\_from\_title, text\_pre, text\_post, links\_count, semantic\_location. Leave empty for the default set listed in the output description. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per backlink. Default columns: url\_from, url\_to, anchor, dofollow, domain\_from\_rank, page\_from\_rank, backlink\_spam\_score, tld\_from, domain\_from\_country, page\_from\_title, links\_count, is\_new, is\_lost, is\_broken, first\_seen, last\_seen. Other columns available through fields include text\_pre, text\_post, semantic\_location, attributes, item\_type, page\_from\_language, page\_from\_size, page\_from\_external\_links, url\_to\_status\_code, url\_to\_spam\_score, is\_indirect\_link and ranked\_keywords\_info. **Fields**: `url_from`, `url_to`, `anchor`, `dofollow`, `domain_from_rank`, `backlink_spam_score`, `first_seen` **Example**: ```json theme={"dark"} [ { "url_from": "https://blog.example.com/seo-tools", "url_to": "https://ahrefs.com/", "anchor": "Ahrefs", "dofollow": true, "domain_from_rank": 412, "first_seen": "2024-03-11 08:12:04 +00:00" } ] ``` # Get Backlinks History Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_backlinks_history Track how a domain's backlink profile changed over time with DataForSEO, back to January 2019: monthly snapshots with links gained and lost, the same metrics grouped by day, week, month or year, or... Track how a domain's backlink profile changed over time with DataForSEO, back to January 2019: monthly snapshots with links gained and lost, the same metrics grouped by day, week, month or year, or only the gains and losses per period. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_backlinks_history` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain to analyse, without the scheme or www (example.com). Pages are not supported by the history reports. | | `report` | string or SelectableOption | No | `monthly` | 'monthly' (default): one row per month with the full profile snapshot plus the new and lost counts of that month. 'period': the same profile metrics grouped by day, week, month or year. 'new\_lost': only the gained and lost backlinks and referring domains per period. | | `date_from` | string | No | - | Start of the range in YYYY-MM-DD format, not earlier than 2019-01-01. Defaults to one year ago for monthly and to the whole history for the other reports. | | `date_to` | string | No | - | End of the range in YYYY-MM-DD format. Defaults to today. | | `group_range` | string or SelectableOption | No | `month` | period and new\_lost reports: period length, one of day, week, month (default) or year. | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the target as well. Defaults to true. | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `fields` | string or array of string | No | - | Result columns to keep, e.g. date, rank, backlinks, new\_backlinks, lost\_backlinks, referring\_domains, new\_referring\_domains, lost\_referring\_domains, referring\_main\_domains, referring\_ips, broken\_backlinks, crawled\_pages. Leave empty for the default set listed in the output description. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per period, sorted by date. monthly: date, rank, backlinks, new\_backlinks, lost\_backlinks, referring\_domains, new\_referring\_domains, lost\_referring\_domains, referring\_main\_domains, referring\_ips, broken\_backlinks, crawled\_pages. period: date, rank, backlinks, backlinks\_nofollow, referring\_domains, referring\_domains\_nofollow, referring\_main\_domains, referring\_pages, referring\_ips, referring\_subnets. new\_lost: date, new\_backlinks, lost\_backlinks, new\_referring\_domains, lost\_referring\_domains, new\_referring\_main\_domains, lost\_referring\_main\_domains. **Fields**: `date`, `rank`, `backlinks`, `referring_domains`, `new_backlinks`, `lost_backlinks` **Example**: ```json theme={"dark"} [ { "date": "2026-08-31 00:00:00 +00:00", "rank": 596, "backlinks": 7061158, "referring_domains": 58420, "new_backlinks": 41203, "lost_backlinks": 38112 } ] ``` # Get Backlinks Summary Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_backlinks_summary Get the backlink profile of a domain, subdomain or page from DataForSEO: backlinks, referring domains, IPs and subnets, rank, spam score, broken links, and the TLD, country, link type and platform ... Get the backlink profile of a domain, subdomain or page from DataForSEO: backlinks, referring domains, IPs and subnets, rank, spam score, broken links, and the TLD, country, link type and platform distributions. The competitors report instead lists the domains sharing the most referring domains with the target. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_backlinks_summary` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain, subdomain or page to analyse. Domains go in bare (example.com, blog.example.com); a single page needs its full URL (`https://example.com/pricing`). | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the target as well. Defaults to true. | | `exclude_internal_backlinks` | boolean | No | `True` | Leave out links coming from the target's own subdomains. Defaults to true. | | `backlinks_status_type` | string or SelectableOption | No | `live` | Which backlinks to count: 'live' (default, found on the last crawl), 'all' (live and lost together) or 'lost' (only links that disappeared). | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank, domain\_from\_rank and page\_from\_rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `report` | string or SelectableOption | No | `profile` | 'profile' (default): one row of backlink profile metrics for the target. 'competitors': the domains that share part of the target's backlink profile, ranked by how many referring domains they have in common with it. | | `include_indirect_links` | boolean | No | `True` | profile only: count links that reach the target through a redirect or a canonical. Defaults to true. | | `backlinks_filters` | array of FilterItem | No | - | profile only: up to 8 filters applied to the backlinks before they are counted, on backlink fields such as dofollow, backlink\_spam\_score, domain\_from\_rank or tld\_from, e.g. dofollow EQUALS true. | | `top_n` | integer | No | `5` | profile only: how many entries to keep in each distribution (top TLDs, countries, link types), 1 to 10. Defaults to 5. | | `main_domain_only` | boolean | No | `True` | competitors only: compare main domains only, ignoring subdomains. Defaults to true, matching DataForSEO; turn it off to let subdomains count as separate competitors. | | `exclude_large_domains` | boolean | No | `True` | competitors only: leave out very large sites such as google.com and amazon.com. Defaults to true. | | `filters` | array of FilterItem | No | - | competitors only: up to 8 filters on target, rank or intersections, e.g. intersections GREATER\_THAN 50. | | `orders` | array of OrderItem | No | - | competitors only: sort by up to 3 of target, rank or intersections. Defaults to intersections descending. | | `limit` | integer | No | `100` | competitors only: maximum number of competitor domains to return (1 to 1000). Defaults to 100. | | `offset` | integer | No | - | competitors only: number of competitors to skip, for paging. | | `fields` | string or array of string | No | - | Result columns to keep, e.g. backlinks, referring\_domains, rank, backlinks\_spam\_score, broken\_backlinks, referring\_links\_types. Leave empty for every column the report returns. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` profile: a single row with target, rank, backlinks, backlinks\_spam\_score, referring\_domains, referring\_domains\_nofollow, referring\_main\_domains, referring\_pages, referring\_ips, referring\_subnets, broken\_backlinks, broken\_pages, crawled\_pages, internal\_links\_count, external\_links\_count, first\_seen, lost\_date, info (server, cms, platform types, IP, country, target spam score) and the referring\_links\_tld, referring\_links\_types, referring\_links\_attributes, referring\_links\_platform\_types, referring\_links\_semantic\_locations and referring\_links\_countries maps. competitors: one row per domain with target, rank and intersections. **Fields**: `target`, `rank`, `backlinks`, `referring_domains`, `referring_main_domains`, `backlinks_spam_score`, `broken_backlinks` **Example**: ```json theme={"dark"} [ { "target": "ahrefs.com", "rank": 596, "backlinks": 7061158, "referring_domains": 58420, "backlinks_spam_score": 12 } ] ``` # Get Bulk Backlink Metrics Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_bulk_backlink_metrics Score up to 1000 domains, subdomains or pages in one DataForSEO request: backlink counts, referring domains, links gained and lost since a date, rank, spam score, or the full profile per target Score up to 1000 domains, subdomains or pages in one DataForSEO request: backlink counts, referring domains, links gained and lost since a date, rank, spam score, or the full profile per target. Built for qualifying prospect lists or tracking a portfolio cheaply. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_bulk_backlink_metrics` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targets` | array of string or string | Yes | - | Up to 1000 domains, subdomains or pages, as a list or newline/comma-separated text. Domains go in bare (example.com); pages need their full URL. One request covers the whole list, which makes this the cheap way to score a large prospect or client list. | | `metric` | string or SelectableOption | No | `backlinks` | Which metric to pull for every target: 'backlinks' (default, backlink count), 'referring\_domains' (referring and main referring domains, with the nofollow split), 'new\_lost\_backlinks' or 'new\_lost\_referring\_domains' (gained and lost since a date), 'ranks' (DataForSEO rank), 'spam\_score', or 'pages\_summary' (the full profile per target: backlinks, referring domains, IPs, broken links, spam score). | | `date_from` | string | No | - | new\_lost metrics only: the date from which links count as new or lost, in YYYY-MM-DD format, not earlier than 2019-01-01. Defaults to one month ago. | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of each target as well. Defaults to true. | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `fields` | string or array of string | No | - | pages\_summary only: result columns to keep, e.g. url, rank, main\_domain\_rank, backlinks, referring\_domains, referring\_main\_domains, referring\_ips, broken\_backlinks, backlinks\_spam\_score, first\_seen, lost\_date. Leave empty for the default set listed in the output description. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per target. backlinks: target, backlinks. referring\_domains: target, referring\_domains, referring\_domains\_nofollow, referring\_main\_domains, referring\_main\_domains\_nofollow. new\_lost\_backlinks: target, new\_backlinks, lost\_backlinks. new\_lost\_referring\_domains: target, new\_referring\_domains, lost\_referring\_domains, new\_referring\_main\_domains, lost\_referring\_main\_domains. ranks: target, rank. spam\_score: target, spam\_score. pages\_summary: url, rank, main\_domain\_rank, backlinks, referring\_domains, referring\_main\_domains, referring\_ips, referring\_pages, broken\_backlinks, broken\_pages, backlinks\_spam\_score, first\_seen, lost\_date. **Fields**: `target`, `backlinks` **Example**: ```json theme={"dark"} [ { "target": "ahrefs.com", "backlinks": 7061158 }, { "target": "semrush.com", "backlinks": 31240980 } ] ``` # Get Domain Overview Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_domain_overview Get organic and paid search visibility for one or more domains from DataForSEO Labs: keyword counts by ranking position bucket, estimated monthly traffic and its value, and new, up, down and lost k... Get organic and paid search visibility for one or more domains from DataForSEO Labs: keyword counts by ranking position bucket, estimated monthly traffic and its value, and new, up, down and lost keyword movements. The traffic\_only detail covers up to 1000 domains in one cheap request. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_domain_overview` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targets` | array of string or string | Yes | - | Domains to analyse, without scheme or www, as a list or newline/comma-separated text (e.g. example.com). 'full' detail runs one request per domain; 'traffic\_only' takes up to 1000 domains in one request. | | `detail` | string or SelectableOption | No | `full` | 'full' (default): organic and paid ranking distribution by position bucket, estimated traffic and its value, keyword counts and new, up, down and lost keyword movements. 'traffic\_only': just estimated monthly traffic and keyword counts per SERP type, cheapest for long lists. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. target, metrics.organic.etv, metrics.organic.count, metrics.organic.pos\_1, metrics.organic.pos\_2\_3, metrics.organic.pos\_4\_10, metrics.organic.is\_new, metrics.organic.is\_up, metrics.organic.is\_down, metrics.organic.is\_lost, metrics.organic.estimated\_paid\_traffic\_cost, metrics.paid.etv, metrics.paid.count. Leave empty for the default set (see the output description). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per domain with target plus dotted metric columns: metrics.organic.pos\_1, metrics.organic.pos\_2\_3, metrics.organic.pos\_4\_10 ... metrics.organic.pos\_91\_100, metrics.organic.etv (estimated monthly traffic), metrics.organic.count (ranking keywords), metrics.organic.estimated\_paid\_traffic\_cost, metrics.organic.is\_new, metrics.organic.is\_up, metrics.organic.is\_down, metrics.organic.is\_lost, and the same under metrics.paid. traffic\_only returns metrics.organic.etv and count per SERP type only. **Fields**: `target`, `metrics.organic.etv`, `metrics.organic.count`, `metrics.organic.pos_1`, `metrics.organic.pos_2_3`, `metrics.organic.pos_4_10`, `metrics.organic.is_new`, `metrics.organic.is_lost`, `metrics.paid.etv`, `metrics.paid.count` **Example**: ```json theme={"dark"} [ { "target": "ahrefs.com", "metrics.organic.etv": 2904961.5, "metrics.organic.count": 25279, "metrics.organic.pos_1": 2100, "metrics.organic.pos_2_3": 3400, "metrics.organic.pos_4_10": 6100 } ] ``` # Get Keyword Gap Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_keyword_gap Keyword gap analysis from DataForSEO Labs: the keywords two domains both rank for with each one's position, the keywords only the first ranks for, or the keywords shared across up to 20 specific pa... Keyword gap analysis from DataForSEO Labs: the keywords two domains both rank for with each one's position, the keywords only the first ranks for, or the keywords shared across up to 20 specific pages, each with volume, CPC, difficulty and intent. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_keyword_gap` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targets` | array of string or string | Yes | - | Domains (comparison 'domains': exactly two, without scheme or www) or page URLs (comparison 'pages': 2 to 20 full URLs), as a list or newline/comma-separated text. | | `comparison` | string or SelectableOption | No | `domains` | 'domains' (default): compare the keyword sets of two domains. 'pages': compare the keyword sets of 2 to 20 specific pages. | | `shared_only` | boolean | No | `True` | Domains: true returns keywords BOTH domains rank for (with each domain's position); false returns keywords the FIRST domain ranks for and the second does not. Pages: true returns keywords all pages share; false returns keywords any of them ranks for. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `item_types` | string or array of string | No | - | SERP element types to compare on: organic, paid, featured\_snippet, local\_pack, ai\_overview\_reference. Defaults to organic and paid. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. keyword\_data.keyword\_info.search\_volume GREATER\_THAN 500, first\_domain\_serp\_element.rank\_group LESS\_THAN 11, second\_domain\_serp\_element.rank\_group GREATER\_THAN 10. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. keyword\_data.keyword, keyword\_data.keyword\_info.search\_volume, keyword\_data.keyword\_info.cpc, keyword\_data.keyword\_properties.keyword\_difficulty, first\_domain\_serp\_element.rank\_group, first\_domain\_serp\_element.url, second\_domain\_serp\_element.rank\_group, second\_domain\_serp\_element.url (domains comparison), or intersection\_result.1.rank\_group, intersection\_result.2.rank\_group (pages comparison). Leave empty for the default set listed in the output description. Does not change the cost. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with dotted columns: keyword\_data.keyword, keyword\_data.keyword\_info.search\_volume, keyword\_data.keyword\_info.cpc, keyword\_data.keyword\_properties.keyword\_difficulty, keyword\_data.search\_intent\_info.main\_intent, then first\_domain\_serp\_element.\* and second\_domain\_serp\_element.\* (type, rank\_group, rank\_absolute, url, title, etv) for the domains comparison, or intersection\_result.\.\* per page for the pages comparison. **Fields**: `keyword_data.keyword`, `keyword_data.keyword_info.search_volume`, `first_domain_serp_element.rank_group`, `first_domain_serp_element.url`, `second_domain_serp_element.rank_group`, `second_domain_serp_element.url` **Example**: ```json theme={"dark"} [ { "keyword_data.keyword": "keyword research tool", "keyword_data.keyword_info.search_volume": 22200, "first_domain_serp_element.rank_group": 4, "second_domain_serp_element.rank_group": 2 } ] ``` # Get Keyword Overview Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_keyword_overview Get DataForSEO Labs metrics for a list of known keywords in one location and language: search volume with monthly history and trend, CPC, competition, keyword difficulty and search intent, optional... Get DataForSEO Labs metrics for a list of known keywords in one location and language: search volume with monthly history and trend, CPC, competition, keyword difficulty and search intent, optionally with SERP facts and clickstream volume. Use dataforseo\_find\_keyword\_ideas to discover new keywords. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_keyword_overview` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to look up, as a list or newline/comma-separated text. Up to 700 per request; longer lists are split into several requests. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `include_serp_info` | boolean | No | `False` | Also return SERP facts per keyword: result types on the page, number of results and the check URL. | | `include_clickstream_data` | boolean | No | `False` | Also return clickstream-based volume with gender and age distribution. Doubles the request cost. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. keyword, keyword\_info.search\_volume, keyword\_info.cpc, keyword\_info.competition\_level, keyword\_info.monthly\_searches, keyword\_info.search\_volume\_trend.yearly, keyword\_properties.keyword\_difficulty, search\_intent\_info.main\_intent, serp\_info.serp\_item\_types, avg\_backlinks\_info.backlinks. Leave empty for the default set listed in the output description. Does not change the cost. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with DataForSEO's fields flattened to dotted columns: keyword, keyword\_info.search\_volume, keyword\_info.cpc, keyword\_info.competition, keyword\_info.competition\_level, keyword\_info.monthly\_searches (list), keyword\_info.search\_volume\_trend.monthly/quarterly/yearly, keyword\_properties.keyword\_difficulty, keyword\_properties.core\_keyword, search\_intent\_info.main\_intent, search\_intent\_info.foreign\_intent, avg\_backlinks\_info.\* and, when requested, serp\_info.\* and clickstream\_keyword\_info.\*. **Fields**: `keyword`, `keyword_info.search_volume`, `keyword_info.cpc`, `keyword_info.competition_level`, `keyword_properties.keyword_difficulty`, `search_intent_info.main_intent` **Example**: ```json theme={"dark"} [ { "keyword": "seo tools", "keyword_info.search_volume": 40500, "keyword_info.cpc": 6.2, "keyword_info.competition_level": "MEDIUM", "keyword_properties.keyword_difficulty": 72, "search_intent_info.main_intent": "commercial" } ] ``` # Get Keywords For Site Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_keywords_for_site List the keywords a domain ranks for according to DataForSEO Labs, with search volume, CPC, competition, difficulty and intent List the keywords a domain ranks for according to DataForSEO Labs, with search volume, CPC, competition, difficulty and intent. Use dataforseo\_get\_ranked\_keywords for the positions and ranking URLs. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_keywords_for_site` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain to pull ranking keywords for, without scheme or www (e.g. example.com). | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `include_subdomains` | boolean | No | `True` | Include keywords the domain's subdomains rank for. | | `include_serp_info` | boolean | No | `False` | Also return SERP facts per keyword: result types on the page, number of results and the check URL. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. keyword\_info.search\_volume GREATER\_THAN 500, keyword\_properties.keyword\_difficulty LESS\_THAN 40, keyword CONTAINS 'best', search\_intent\_info.main\_intent EQUALS commercial. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. keyword, keyword\_info.search\_volume, keyword\_info.cpc, keyword\_info.competition\_level, keyword\_info.monthly\_searches, keyword\_info.search\_volume\_trend.yearly, keyword\_properties.keyword\_difficulty, search\_intent\_info.main\_intent, serp\_info.serp\_item\_types, avg\_backlinks\_info.backlinks. Leave empty for the default set listed in the output description. Does not change the cost. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with the dotted columns keyword, keyword\_info.*, keyword\_properties.*, search\_intent\_info.*, avg\_backlinks\_info.* and, when requested, serp\_info.\*. **Fields**: `keyword`, `keyword_info.search_volume`, `keyword_info.cpc`, `keyword_info.competition_level`, `keyword_properties.keyword_difficulty`, `search_intent_info.main_intent` **Example**: ```json theme={"dark"} [ { "keyword": "seo tools", "keyword_info.search_volume": 40500, "keyword_info.cpc": 6.2, "keyword_info.competition_level": "MEDIUM", "keyword_properties.keyword_difficulty": 72, "search_intent_info.main_intent": "commercial" } ] ``` # Get Llm Mentions Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_llm_mentions Search the DataForSEO database of AI answers (Google AI Overviews and AI Mode, plus ChatGPT for the United States in English) for answers that mention a brand, keyword or domain, and return the pro... Search the DataForSEO database of AI answers (Google AI Overviews and AI Mode, plus ChatGPT for the United States in English) for answers that mention a brand, keyword or domain, and return the prompts, answers, cited sources and AI search volume. Core AI visibility data for AEO and GEO; needs the DataForSEO LLM Mentions subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_llm_mentions` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domains` | string or array of string | No | - | Domains that must appear in the AI answer, as a list or newline/comma-separated text (bare domains such as ahrefs.com). Use this to track a brand's website being cited or linked. At least one domain or keyword is required; up to 10 targets in total. | | `keywords` | string or array of string | No | - | Words or phrases that must appear in the AI answer, question or named brands, e.g. a brand name or a product category. List or newline/comma-separated text. All included domains and keywords must match together (AND). | | `excluded_domains` | string or array of string | No | - | Domains that must NOT appear in the matched answers, e.g. wikipedia.org. | | `excluded_keywords` | string or array of string | No | - | Words or phrases that must NOT appear in the matched answers. | | `domain_scope` | string or SelectableOption | No | `any` | Where a domain has to appear: 'any' (default), 'sources' (cited in the answer) or 'search\_results' (retrieved by the web search behind the answer; ChatGPT only). | | `keyword_scope` | string or SelectableOption | No | `any` | Where a keyword has to appear: 'any' (default), 'question' (the user prompt), 'answer' (the AI answer text), 'brand\_entities' (brands named in the answer) or 'fan\_out\_queries' (the follow-up searches the model ran). | | `keyword_match_type` | string or SelectableOption | No | `word_match` | 'word\_match' (default) matches whole words, so 'light' also matches 'light bulb'; 'partial\_match' matches substrings, so 'light' also matches 'lighting'. | | `include_subdomains` | boolean | No | `True` | Also match subdomains of the target domains, which includes the [www](http://www). host most sites are cited under. Defaults to true; turn it off to count only the bare domain. | | `platform` | string or SelectableOption | No | `all` | AI platform: 'all' (default), 'google' (Google AI Overviews and AI Mode) or 'chat\_gpt'. ChatGPT data exists for the United States in English only; every other location and language is Google only. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States) or a full location name. Defaults to the United States. Only locations listed by DataForSEO for LLM Mentions have data. | | `language` | string or SelectableOption | No | `en` | Language code of the AI answers, e.g. en, de, es, fr, nl. Defaults to en. | | `filters` | array of FilterItem | No | - | Up to 8 filters on ai\_search\_volume, model\_name, platform, location\_code, language\_code, is\_web\_search\_based, first\_response\_at or last\_response\_at, e.g. ai\_search\_volume GREATER\_THAN 100. | | `orders` | array of OrderItem | No | - | Sort by up to 3 of the filterable fields, e.g. ai\_search\_volume DESC or last\_response\_at DESC. | | `limit` | integer | No | `20` | Maximum number of AI answers to return (1 to 1000). Defaults to 20. Each answer is a full markdown response with its sources, so keep this small; DataForSEO also bills per row on top of the request fee. | | `offset` | integer | No | - | Number of answers to skip, for paging. | | `fields` | string or array of string | No | - | Result columns to keep: platform, model\_name, question, answer, ai\_search\_volume, monthly\_searches, sources, search\_results, brand\_entities, fan\_out\_queries, is\_web\_search\_based, first\_response\_at, last\_response\_at, location\_code, language\_code. Leave empty for the default set listed in the output description. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per AI answer with DataForSEO's fields flattened to dotted columns. Default columns: platform, model\_name, question, answer (markdown), ai\_search\_volume, sources (list of title, domain, url, snippet...), brand\_entities (list of title, category), is\_web\_search\_based, last\_response\_at. Other columns available through fields: monthly\_searches, search\_results, fan\_out\_queries, first\_response\_at, location\_code, language\_code. **Fields**: `platform`, `model_name`, `question`, `answer`, `ai_search_volume`, `sources`, `brand_entities`, `is_web_search_based`, `last_response_at` **Example**: ```json theme={"dark"} [ { "platform": "google", "question": "best backlink checker", "answer": "Popular backlink checkers include Ahrefs and Semrush...", "ai_search_volume": 1300 } ] ``` # Get Llm Mentions History Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_llm_mentions_history Track AI answer mentions of a brand, keyword or domain over time: monthly totals, change per period, or new and lost mentions, for AI visibility trend reporting (AEO and GEO) Track AI answer mentions of a brand, keyword or domain over time: monthly totals, change per period, or new and lost mentions, for AI visibility trend reporting (AEO and GEO). Data starts August 2025; needs the DataForSEO LLM Mentions subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_llm_mentions_history` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domains` | string or array of string | No | - | Domains that must appear in the AI answer, as a list or newline/comma-separated text (bare domains such as ahrefs.com). Use this to track a brand's website being cited or linked. At least one domain or keyword is required; up to 10 targets in total. | | `keywords` | string or array of string | No | - | Words or phrases that must appear in the AI answer, question or named brands, e.g. a brand name or a product category. List or newline/comma-separated text. All included domains and keywords must match together (AND). | | `excluded_domains` | string or array of string | No | - | Domains that must NOT appear in the matched answers, e.g. wikipedia.org. | | `excluded_keywords` | string or array of string | No | - | Words or phrases that must NOT appear in the matched answers. | | `domain_scope` | string or SelectableOption | No | `any` | Where a domain has to appear: 'any' (default), 'sources' (cited in the answer) or 'search\_results' (retrieved by the web search behind the answer; ChatGPT only). | | `keyword_scope` | string or SelectableOption | No | `any` | Where a keyword has to appear: 'any' (default), 'question' (the user prompt), 'answer' (the AI answer text), 'brand\_entities' (brands named in the answer) or 'fan\_out\_queries' (the follow-up searches the model ran). | | `keyword_match_type` | string or SelectableOption | No | `word_match` | 'word\_match' (default) matches whole words, so 'light' also matches 'light bulb'; 'partial\_match' matches substrings, so 'light' also matches 'lighting'. | | `include_subdomains` | boolean | No | `True` | Also match subdomains of the target domains, which includes the [www](http://www). host most sites are cited under. Defaults to true; turn it off to count only the bare domain. | | `platform` | string or SelectableOption | No | `all` | AI platform: 'all' (default), 'google' (Google AI Overviews and AI Mode) or 'chat\_gpt'. ChatGPT data exists for the United States in English only; every other location and language is Google only. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States) or a full location name. Defaults to the United States. Only locations listed by DataForSEO for LLM Mentions have data. | | `language` | string or SelectableOption | No | `en` | Language code of the AI answers, e.g. en, de, es, fr, nl. Defaults to en. | | `report` | string or SelectableOption | No | `monthly` | 'monthly' (default): mentions and AI search volume per calendar month. 'change': the difference in mentions and AI search volume between consecutive periods. 'new\_lost': AI answers that started or stopped mentioning the targets per period. | | `date_from` | string | No | - | Start of the range in YYYY-MM-DD format, not earlier than 2025-08-01. Defaults to the earliest data for monthly and to 6 months ago for change and new\_lost. | | `date_to` | string | No | - | End of the range in YYYY-MM-DD format. Defaults to today. | | `group_range` | string or SelectableOption | No | `month` | change and new\_lost only: period length, one of day, week, month (default) or year. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per period sorted by date. monthly: date (YYYY-MM), year, month, mentions, ai\_search\_volume. change: date, delta\_mentions, delta\_ai\_search\_volume. new\_lost: date, new\_mentions, lost\_mentions, new\_ai\_search\_volume, lost\_ai\_search\_volume. **Fields**: `date`, `mentions`, `ai_search_volume` **Example**: ```json theme={"dark"} [ { "date": "2026-08", "year": 2026, "month": 8, "mentions": 4120, "ai_search_volume": 985000 } ] ``` # Get Llm Mentions Overview Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_llm_mentions_overview Count how often each brand, keyword or domain is mentioned in AI answers and the AI search volume behind those mentions, one row per target for side-by-side AI visibility comparison (AEO and GEO), ... Count how often each brand, keyword or domain is mentioned in AI answers and the AI search volume behind those mentions, one row per target for side-by-side AI visibility comparison (AEO and GEO), with platform, location, cited source and co-mentioned brand breakdowns. Needs the DataForSEO LLM Mentions subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_llm_mentions_overview` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domains` | string or array of string | No | - | Domains that must appear in the AI answer, as a list or newline/comma-separated text (bare domains such as ahrefs.com). Use this to track a brand's website being cited or linked. At least one domain or keyword is required; up to 10 targets in total. | | `keywords` | string or array of string | No | - | Words or phrases that must appear in the AI answer, question or named brands, e.g. a brand name or a product category. List or newline/comma-separated text. All included domains and keywords must match together (AND). | | `excluded_domains` | string or array of string | No | - | Domains that must NOT appear in the matched answers, e.g. wikipedia.org. | | `excluded_keywords` | string or array of string | No | - | Words or phrases that must NOT appear in the matched answers. | | `domain_scope` | string or SelectableOption | No | `any` | Where a domain has to appear: 'any' (default), 'sources' (cited in the answer) or 'search\_results' (retrieved by the web search behind the answer; ChatGPT only). | | `keyword_scope` | string or SelectableOption | No | `any` | Where a keyword has to appear: 'any' (default), 'question' (the user prompt), 'answer' (the AI answer text), 'brand\_entities' (brands named in the answer) or 'fan\_out\_queries' (the follow-up searches the model ran). | | `keyword_match_type` | string or SelectableOption | No | `word_match` | 'word\_match' (default) matches whole words, so 'light' also matches 'light bulb'; 'partial\_match' matches substrings, so 'light' also matches 'lighting'. | | `include_subdomains` | boolean | No | `True` | Also match subdomains of the target domains, which includes the [www](http://www). host most sites are cited under. Defaults to true; turn it off to count only the bare domain. | | `platform` | string or SelectableOption | No | `all` | AI platform: 'all' (default), 'google' (Google AI Overviews and AI Mode) or 'chat\_gpt'. ChatGPT data exists for the United States in English only; every other location and language is Google only. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States) or a full location name. Defaults to the United States. Only locations listed by DataForSEO for LLM Mentions have data. | | `language` | string or SelectableOption | No | `en` | Language code of the AI answers, e.g. en, de, es, fr, nl. Defaults to en. | | `dataset_filters` | array of FilterItem | No | - | Up to 8 filters applied to the AI answers before they are counted, on ai\_search\_volume, model\_name, platform, location\_code, language\_code, is\_web\_search\_based, first\_response\_at or last\_response\_at, e.g. last\_response\_at GREATER\_THAN 2026-06-01. | | `top_n` | integer | No | `5` | How many entries to keep in each breakdown list (top source domains, brands, locations...), 1 to 10. Defaults to 5. | | `fields` | string or array of string | No | - | Result columns to keep: target, total.mentions, total.ai\_search\_volume, platform.chat\_gpt.mentions, platform.chat\_gpt.ai\_search\_volume, platform.google.mentions, platform.google.ai\_search\_volume, location, language, sources\_domain, search\_results\_domain, brand\_entities\_title, brand\_entities\_category. Leave empty for all of them. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per included domain or keyword: target, total.mentions, total.ai\_search\_volume, platform.chat\_gpt.mentions, platform.chat\_gpt.ai\_search\_volume, platform.google.mentions, platform.google.ai\_search\_volume, and the breakdown lists location, language, sources\_domain, search\_results\_domain, brand\_entities\_title, brand\_entities\_category (each a list of key, mentions, ai\_search\_volume limited to top\_n entries). **Fields**: `target`, `total.mentions`, `total.ai_search_volume`, `platform.chat_gpt.mentions`, `platform.google.mentions`, `sources_domain`, `brand_entities_title` **Example**: ```json theme={"dark"} [ { "target": "ahrefs.com", "total.mentions": 8106, "total.ai_search_volume": 4134243, "platform.chat_gpt.mentions": 1950, "platform.google.mentions": 6156 } ] ``` # Get Organic Competitors Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_organic_competitors Find the domains competing with a domain in Google organic and paid search according to DataForSEO Labs, with shared keyword counts, average position and each competitor's traffic Find the domains competing with a domain in Google organic and paid search according to DataForSEO Labs, with shared keyword counts, average position and each competitor's traffic. Use dataforseo\_get\_keyword\_gap for the exact keywords they share or miss. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_organic_competitors` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain to find competitors for, without scheme or www (e.g. example.com). | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `item_types` | string or array of string | No | - | SERP element types to compare on: organic, paid, featured\_snippet, local\_pack, ai\_overview\_reference. Defaults to organic and paid. | | `max_rank_group` | integer | No | - | Only count keywords where the target ranks within this position (e.g. 10 for page one). Leave empty for the top 100. | | `exclude_top_domains` | boolean | No | `False` | Leave out very large sites such as Wikipedia, Amazon and YouTube that rank for almost everything. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. intersections GREATER\_THAN 50, full\_domain\_metrics.organic.etv GREATER\_THAN 1000, domain CONTAINS '.co.uk'. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. domain, avg\_position, sum\_position, intersections, full\_domain\_metrics.organic.etv, full\_domain\_metrics.organic.count, metrics.organic.etv, metrics.organic.count, competitor\_metrics.organic.etv, competitor\_metrics.organic.count. Leave empty for the default set (see the output description). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per competitor with dotted columns: domain, avg\_position, sum\_position, intersections, full\_domain\_metrics.organic.etv, full\_domain\_metrics.organic.count, metrics.organic.etv, metrics.organic.count (on shared keywords), competitor\_metrics.organic.etv, competitor\_metrics.organic.count, and the same under paid. **Fields**: `domain`, `avg_position`, `intersections`, `full_domain_metrics.organic.etv`, `full_domain_metrics.organic.count`, `metrics.organic.etv` **Example**: ```json theme={"dark"} [ { "domain": "semrush.com", "avg_position": 14.2, "sum_position": 48213, "intersections": 3394, "full_domain_metrics.organic.etv": 3624906.0, "full_domain_metrics.organic.count": 93436, "metrics.organic.etv": 512300.2 } ] ``` # Get Ranked Keywords Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_ranked_keywords List every keyword a domain, subdomain or page ranks for in Google according to DataForSEO Labs, with the ranking position, URL, estimated traffic and rank change plus the keyword's volume, CPC, di... List every keyword a domain, subdomain or page ranks for in Google according to DataForSEO Labs, with the ranking position, URL, estimated traffic and rank change plus the keyword's volume, CPC, difficulty and intent. Use dataforseo\_get\_domain\_overview for the totals. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_ranked_keywords` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain, subdomain or page URL to list ranking keywords for (domains without scheme or www, e.g. example.com; pages as full URLs). | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `item_types` | string or array of string | No | - | SERP element types to include: organic, paid, featured\_snippet, local\_pack, ai\_overview\_reference. Defaults to organic and paid. | | `historical_serp_mode` | string or SelectableOption | No | `live` | 'live' (default): keywords the target currently ranks for. 'lost': keywords it dropped out of. 'all': both. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. ranked\_serp\_element.serp\_item.rank\_group LESS\_THAN 11, keyword\_data.keyword\_info.search\_volume GREATER\_THAN 100, ranked\_serp\_element.serp\_item.url CONTAINS '/blog/'. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. keyword\_data.keyword, keyword\_data.keyword\_info.search\_volume, keyword\_data.keyword\_info.cpc, keyword\_data.keyword\_properties.keyword\_difficulty, keyword\_data.search\_intent\_info.main\_intent, ranked\_serp\_element.serp\_item.type, ranked\_serp\_element.serp\_item.rank\_group, ranked\_serp\_element.serp\_item.rank\_absolute, ranked\_serp\_element.serp\_item.url, ranked\_serp\_element.serp\_item.title, ranked\_serp\_element.serp\_item.etv, ranked\_serp\_element.serp\_item.estimated\_paid\_traffic\_cost, ranked\_serp\_element.serp\_item.rank\_changes.previous\_rank\_absolute. Leave empty for the default set listed in the output description. Does not change the cost. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per ranking with dotted columns: keyword\_data.keyword, keyword\_data.keyword\_info.search\_volume, keyword\_data.keyword\_info.cpc, keyword\_data.keyword\_properties.keyword\_difficulty, keyword\_data.search\_intent\_info.main\_intent, ranked\_serp\_element.serp\_item.type, ranked\_serp\_element.serp\_item.rank\_group, ranked\_serp\_element.serp\_item.rank\_absolute, ranked\_serp\_element.serp\_item.url, ranked\_serp\_element.serp\_item.title, ranked\_serp\_element.serp\_item.etv, ranked\_serp\_element.serp\_item.estimated\_paid\_traffic\_cost, ranked\_serp\_element.serp\_item.rank\_changes.\* and more. **Fields**: `keyword_data.keyword`, `keyword_data.keyword_info.search_volume`, `ranked_serp_element.serp_item.rank_group`, `ranked_serp_element.serp_item.url`, `ranked_serp_element.serp_item.etv` **Example**: ```json theme={"dark"} [ { "keyword_data.keyword": "backlink checker", "keyword_data.keyword_info.search_volume": 368000, "ranked_serp_element.serp_item.rank_group": 1, "ranked_serp_element.serp_item.url": "https://ahrefs.com/backlink-checker" } ] ``` # Get Referring Domains Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_referring_domains List the domains linking to a target from DataForSEO, one row per referring domain with its backlinks, referring pages, rank, spam score and first and last seen dates List the domains linking to a target from DataForSEO, one row per referring domain with its backlinks, referring pages, rank, spam score and first and last seen dates. Filter and sort to find the strongest or the spammiest linking sites. Needs the DataForSEO Backlinks subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_referring_domains` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain, subdomain or page to analyse. Domains go in bare (example.com, blog.example.com); a single page needs its full URL (`https://example.com/pricing`). | | `include_subdomains` | boolean | No | `True` | Count links to subdomains of the target as well. Defaults to true. | | `exclude_internal_backlinks` | boolean | No | `True` | Leave out links coming from the target's own subdomains. Defaults to true. | | `backlinks_status_type` | string or SelectableOption | No | `live` | Which backlinks to count: 'live' (default, found on the last crawl), 'all' (live and lost together) or 'lost' (only links that disappeared). | | `rank_scale` | string or SelectableOption | No | `one_thousand` | Scale for the rank, domain\_from\_rank and page\_from\_rank values: 'one\_thousand' (DataForSEO's default, 0 to 1000) or 'one\_hundred' (0 to 100, comparable to the domain ratings other SEO tools show). | | `top_n` | integer | No | `5` | How many entries to keep in each distribution per row (top TLDs, countries, link types), 1 to 10. Defaults to 5. | | `filters` | array of FilterItem | No | - | Up to 8 filters on referring domain fields, e.g. rank GREATER\_THAN 300, backlinks GREATER\_THAN 5, backlinks\_spam\_score LESS\_THAN 30, domain CONTAINS .edu. | | `orders` | array of OrderItem | No | - | Sort by up to 3 referring domain fields, e.g. rank DESC or backlinks DESC. | | `limit` | integer | No | `100` | Maximum number of referring domains to return (1 to 1000). Defaults to 100. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Result columns to keep, e.g. domain, rank, backlinks, referring\_pages, referring\_domains, backlinks\_spam\_score, broken\_backlinks, first\_seen, lost\_date, referring\_links\_types, referring\_links\_countries. Leave empty for the default set listed in the output description. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per referring domain. Default columns: domain, rank, backlinks, referring\_pages, referring\_domains, referring\_ips, backlinks\_spam\_score, broken\_backlinks, referring\_links\_types, referring\_links\_countries, first\_seen, lost\_date. Other columns available through fields include referring\_main\_domains, referring\_pages\_nofollow, referring\_subnets, broken\_pages and the remaining referring\_links\_\* maps. **Fields**: `domain`, `rank`, `backlinks`, `referring_pages`, `backlinks_spam_score`, `first_seen` **Example**: ```json theme={"dark"} [ { "domain": "blog.example.com", "rank": 412, "backlinks": 18, "referring_pages": 12, "backlinks_spam_score": 8 } ] ``` # Get Search Volume Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_search_volume Get search volume for up to 1000 keywords from DataForSEO: official Google Ads volume with CPC and monthly history, DataForSEO's clickstream-normalised volume, or AI search volume (monthly prompts ... Get search volume for up to 1000 keywords from DataForSEO: official Google Ads volume with CPC and monthly history, DataForSEO's clickstream-normalised volume, or AI search volume (monthly prompts in ChatGPT and similar assistants). Google Ads is billed per request and capped at 12 requests per minute. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_search_volume` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to get search volume for, as a list or newline/comma-separated text. Up to 1000 per request. | | `source` | string or SelectableOption | No | `google_ads` | 'google\_ads' (default): official Google Ads volume, CPC, competition and up to 4 years of monthly history; billed per request whatever the keyword count, and at most 12 requests per minute. 'dataforseo': DataForSEO's clickstream-normalised volume with 12 months of history, also billed per request. 'ai': estimated monthly prompts in AI assistants such as ChatGPT, with 12 months of history. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `date_from` | string | No | - | google\_ads only: start of the monthly history in YYYY-MM-DD format (up to 4 years back). Defaults to the last 12 months. | | `date_to` | string | No | - | google\_ads only: end of the monthly history in YYYY-MM-DD format. | | `search_partners` | boolean | No | `False` | google\_ads only: include Google search partner sites in the volume. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword. google\_ads: keyword, search\_volume, cpc, competition, competition\_index, low\_top\_of\_page\_bid, high\_top\_of\_page\_bid, monthly\_searches (list of year, month, search\_volume). dataforseo: keyword, search\_volume. ai: keyword, ai\_search\_volume, ai\_monthly\_searches (list). **Fields**: `keyword`, `search_volume`, `cpc`, `competition`, `competition_index`, `monthly_searches` **Example**: ```json theme={"dark"} [ { "keyword": "seo tools", "search_volume": 40500, "cpc": 6.15, "competition": "MEDIUM", "competition_index": 55, "monthly_searches": [ { "year": 2026, "month": 8, "search_volume": 40500 } ] } ] ``` # Get Serp Competitors Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_serp_competitors Find which domains rank for a set of keywords in Google according to DataForSEO Labs, with how many of the keywords each ranks for, its average and median position, visibility and estimated traffic Find which domains rank for a set of keywords in Google according to DataForSEO Labs, with how many of the keywords each ranks for, its average and median position, visibility and estimated traffic. Useful to size a niche or pick competitors. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_serp_competitors` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords whose SERPs to analyse, as a list or newline/comma-separated text. Up to 200 per request. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `include_subdomains` | boolean | No | `True` | Count subdomains together with their root domain. | | `item_types` | string or array of string | No | - | SERP element types to count: organic, paid, featured\_snippet, local\_pack, ai\_overview\_reference. Defaults to organic and paid. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. keywords\_count GREATER\_THAN 3, avg\_position LESS\_THAN 10, etv GREATER\_THAN 100, domain NOT\_CONTAINS 'wikipedia'. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. domain, avg\_position, median\_position, rating, etv, keywords\_count, visibility, relevant\_serp\_items, keywords\_positions. Leave empty for the default set listed in the output description. Does not change the cost. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per domain: domain, avg\_position, median\_position, rating, etv, keywords\_count, visibility, relevant\_serp\_items, keywords\_positions (keyword to list of positions). **Fields**: `domain`, `avg_position`, `median_position`, `rating`, `etv`, `keywords_count`, `visibility` **Example**: ```json theme={"dark"} [ { "domain": "ahrefs.com", "avg_position": 2.5, "median_position": 2, "rating": 148, "etv": 44210.4, "keywords_count": 4 } ] ``` # Get Top Mentioned Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_top_mentioned Rank the domains and pages that AI answers cite, or the brands and categories they name, alongside a brand, keyword or domain: finds AI visibility, AEO and GEO citation and PR targets and the compe... Rank the domains and pages that AI answers cite, or the brands and categories they name, alongside a brand, keyword or domain: finds AI visibility, AEO and GEO citation and PR targets and the competitors AI assistants recommend. Needs the DataForSEO LLM Mentions subscription. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_top_mentioned` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domains` | string or array of string | No | - | Domains that must appear in the AI answer, as a list or newline/comma-separated text (bare domains such as ahrefs.com). Use this to track a brand's website being cited or linked. At least one domain or keyword is required; up to 10 targets in total. | | `keywords` | string or array of string | No | - | Words or phrases that must appear in the AI answer, question or named brands, e.g. a brand name or a product category. List or newline/comma-separated text. All included domains and keywords must match together (AND). | | `excluded_domains` | string or array of string | No | - | Domains that must NOT appear in the matched answers, e.g. wikipedia.org. | | `excluded_keywords` | string or array of string | No | - | Words or phrases that must NOT appear in the matched answers. | | `domain_scope` | string or SelectableOption | No | `any` | Where a domain has to appear: 'any' (default), 'sources' (cited in the answer) or 'search\_results' (retrieved by the web search behind the answer; ChatGPT only). | | `keyword_scope` | string or SelectableOption | No | `any` | Where a keyword has to appear: 'any' (default), 'question' (the user prompt), 'answer' (the AI answer text), 'brand\_entities' (brands named in the answer) or 'fan\_out\_queries' (the follow-up searches the model ran). | | `keyword_match_type` | string or SelectableOption | No | `word_match` | 'word\_match' (default) matches whole words, so 'light' also matches 'light bulb'; 'partial\_match' matches substrings, so 'light' also matches 'lighting'. | | `include_subdomains` | boolean | No | `True` | Also match subdomains of the target domains, which includes the [www](http://www). host most sites are cited under. Defaults to true; turn it off to count only the bare domain. | | `platform` | string or SelectableOption | No | `all` | AI platform: 'all' (default), 'google' (Google AI Overviews and AI Mode) or 'chat\_gpt'. ChatGPT data exists for the United States in English only; every other location and language is Google only. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States) or a full location name. Defaults to the United States. Only locations listed by DataForSEO for LLM Mentions have data. | | `language` | string or SelectableOption | No | `en` | Language code of the AI answers, e.g. en, de, es, fr, nl. Defaults to en. | | `report` | string or SelectableOption | No | `domains` | What to rank: 'domains' (default) or 'pages' cited in the AI answers that mention the targets, or 'brands' or 'brand\_categories' named in those answers. Brand data comes from ChatGPT answers only. | | `links_scope` | string or SelectableOption | No | `sources` | domains and pages reports: count links from the cited 'sources' (default) or from the 'search\_results' the model retrieved (ChatGPT only). | | `dataset_filters` | array of FilterItem | No | - | Up to 8 filters applied to the AI answers before they are counted, on ai\_search\_volume, model\_name, platform, location\_code, language\_code, is\_web\_search\_based, first\_response\_at or last\_response\_at. | | `filters` | array of FilterItem | No | - | Up to 8 filters on the ranked entries: domain, page, brand or brand\_category, total.mentions and total.ai\_search\_volume, e.g. total.mentions GREATER\_THAN 5. | | `orders` | array of OrderItem | No | - | Sort by up to 3 of total.mentions, total.ai\_search\_volume or the entity name. Defaults to mentions descending. | | `include_only` | string or array of string | No | - | Only return these domains, pages, brands or categories (list or comma-separated). | | `exclude_results` | string or array of string | No | - | Leave these domains, pages, brands or categories out of the ranking. | | `limit` | integer | No | `20` | Maximum number of ranked entries to return (1 to 1000). Defaults to 20. DataForSEO bills per row on top of the request fee. | | `offset` | integer | No | - | Number of entries to skip, for paging. | | `top_n` | integer | No | `5` | How many entries to keep in each breakdown list per row (locations, languages, source domains, brands...), 1 to 10. Defaults to 5. | | `fields` | string or array of string | No | - | Result columns to keep: the entity column (domain, page, brand or brand\_category), total.mentions, total.ai\_search\_volume, platform.chat\_gpt.mentions, platform.chat\_gpt.ai\_search\_volume, platform.google.mentions, platform.google.ai\_search\_volume, location, language, sources\_domain, search\_results\_domain, brand\_entities\_title, brand\_entities\_category. Leave empty for all of them. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per ranked entry: domain, page, brand or brand\_category depending on the report, total.mentions, total.ai\_search\_volume, platform.chat\_gpt.mentions, platform.chat\_gpt.ai\_search\_volume, platform.google.mentions, platform.google.ai\_search\_volume, and the breakdown lists location, language, sources\_domain, search\_results\_domain, brand\_entities\_title, brand\_entities\_category (each a list of key, mentions, ai\_search\_volume limited to top\_n entries). **Fields**: `domain`, `total.mentions`, `total.ai_search_volume`, `platform.chat_gpt.mentions`, `platform.google.mentions`, `sources_domain`, `brand_entities_title` **Example**: ```json theme={"dark"} [ { "domain": "semrush.com", "total.mentions": 2310, "total.ai_search_volume": 540000 } ] ``` # Get Top Pages Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_get_top_pages List the pages or subdomains of a domain with the most Google visibility according to DataForSEO Labs: estimated organic and paid traffic, ranking keyword counts by position bucket, and keyword mov... List the pages or subdomains of a domain with the most Google visibility according to DataForSEO Labs: estimated organic and paid traffic, ranking keyword counts by position bucket, and keyword movements per page. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_get_top_pages` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Domain to list the best pages or subdomains for, without scheme or www (e.g. example.com). | | `report` | string or SelectableOption | No | `pages` | 'pages' (default): pages of the domain ranked by estimated organic traffic and keyword counts. 'subdomains': the same per subdomain. | | `location` | string or SelectableOption | No | `2840` | Country or location: a two-letter country code (us, gb, de...), a DataForSEO location code (2840 = United States), or a full location name such as 'London,England,United Kingdom'. Defaults to the United States. | | `language` | string or SelectableOption | No | `en` | Language code of the search results, e.g. en, de, es, fr, nl. Defaults to en. | | `item_types` | string or array of string | No | - | SERP element types to count: organic, paid, featured\_snippet, local\_pack, ai\_overview\_reference. Defaults to organic and paid. | | `historical_serp_mode` | string or SelectableOption | No | `live` | 'live' (default): current rankings. 'lost': rankings the pages lost. 'all': both. | | `filters` | array of FilterItem | No | - | Up to 8 filters on dotted result fields, e.g. metrics.organic.etv GREATER\_THAN 100, metrics.organic.count GREATER\_THAN 10, page\_address CONTAINS '/blog/'. | | `orders` | array of OrderItem | No | - | Sort by up to 3 dotted result fields, e.g. keyword\_info.search\_volume DESC. | | `limit` | integer | No | `100` | Maximum number of rows to return (1 to 1000). Defaults to 100. Each row is billed by DataForSEO, so keep this as small as the task needs. | | `offset` | integer | No | - | Number of rows to skip, for paging. | | `fields` | string or array of string | No | - | Dotted result fields to keep, e.g. page\_address (or subdomain), metrics.organic.etv, metrics.organic.count, metrics.organic.pos\_1, metrics.organic.pos\_2\_3, metrics.organic.pos\_4\_10, metrics.organic.is\_new, metrics.organic.is\_up, metrics.organic.is\_down, metrics.organic.is\_lost, metrics.paid.etv, metrics.paid.count. Leave empty for the default set (see the output description). | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per page or subdomain with page\_address (or subdomain) plus dotted metric columns: metrics.organic.etv, metrics.organic.count, metrics.organic.pos\_1 ... pos\_91\_100, metrics.organic.is\_new, is\_up, is\_down, is\_lost, metrics.organic.estimated\_paid\_traffic\_cost, and the same under metrics.paid. **Fields**: `page_address`, `metrics.organic.etv`, `metrics.organic.count`, `metrics.organic.pos_1`, `metrics.organic.pos_2_3`, `metrics.organic.pos_4_10`, `metrics.paid.etv` **Example**: ```json theme={"dark"} [ { "page_address": "https://ahrefs.com/backlink-checker", "metrics.organic.etv": 812340.7, "metrics.organic.count": 1660, "metrics.organic.pos_1": 210, "metrics.organic.pos_2_3": 340, "metrics.organic.pos_4_10": 520 } ] ``` # List Llm Models Source: https://docs.markifact.com/nodes/dataforseo/dataforseo_list_llm_models List the model names accepted by dataforseo_audit_llm_answer, per provider (chat_gpt, claude, gemini, perplexity) List the model names accepted by dataforseo\_audit\_llm\_answer, per provider (chat\_gpt, claude, gemini, perplexity). Free. | | | | - | - | | **App** | DataForSEO | | **Operation ID** | `dataforseo_list_llm_models` | | **Type** | Action | | **Connection** | `dataforseo` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `provider` | string or SelectableOption | No | - | Limit the list to one provider: chat\_gpt, claude, gemini or perplexity. Leave empty for all four. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per model: provider, model\_name. **Fields**: `provider`, `model_name` **Example**: ```json theme={"dark"} [ { "provider": "chat_gpt", "model_name": "gpt-4.1-mini" } ] ``` # Append Text Source: https://docs.markifact.com/nodes/docs/docs_append_text Adds new text content to the end of Google Docs documents Adds new text content to the end of Google Docs documents. Support Markdown formatting, automatically converts it to Google Docs format including images, links, and lists | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_append_text` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document` | string | Yes | - | Enter the URL or ID of the Google Doc. Run appends to the same document one at a time and wait for each to finish; parallel or overlapping appends can land out of order, break tables or fail. | | `text` | string | Yes | - | The text content to append to the document (supports Markdown if enabled in Doc settings) | | `insert_page_break` | boolean | No | `False` | Insert a page break before the new text | | `convert_markdown` | boolean | No | `True` | Convert the Markdown content to Google Docs rich text | ## Output **Type**: `Dict` Returns append confirmation. **Fields**: `status`, `document_id` # Batch Update Source: https://docs.markifact.com/nodes/docs/docs_batch_update Fallback Google Docs write operation for anything that has no dedicated operation Fallback Google Docs write operation for anything that has no dedicated operation. Always prefer a dedicated operation when one matches the task, for example docs\_append\_text or docs\_replace\_text. It applies raw Google Docs API batchUpdate requests, covering text and heading colors, table cell shading, borders, paragraph styling, merged cells, and more. Requests address content by character indexes; use docs\_read\_content with include\_structure=true to get them. If no dedicated operation exists, use this operation and do not submit product feedback about a missing Google Docs write feature. | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_batch_update` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document` | string | Yes | - | Enter the URL or ID of the Google Doc you want to modify | | `requests` | array of object or string | Yes | - | List of raw Google Docs API batchUpdate request objects (or a JSON array string), sent to Google as-is. Use this for anything the dedicated Docs operations do not cover: text and heading colors (updateTextStyle), table cell shading and borders (updateTableCellStyle), paragraph styling (updateParagraphStyle), merging cells, images, and more; see Google's Docs API batchUpdate reference for all request types. Requests address content by start and end character indexes: call docs\_read\_content with include\_structure=true first to get the current indexes of every paragraph and table cell, and never guess indexes. Example: \[\{"updateTextStyle": \{"range": \{"startIndex": 1, "endIndex": 20}, "textStyle": \{"foregroundColor": \{"color": \{"rgbColor": \{"red": 0.1, "green": 0.2, "blue": 0.4}}}}, "fields": "foregroundColor"}}] | ## Output **Type**: `Dict` Returns the applied request count and Google's per-request replies. **Fields**: `document_id`, `applied_requests`, `replies` # Clear Source: https://docs.markifact.com/nodes/docs/docs_clear Removes all content from Google Docs documents leaving them empty Removes all content from Google Docs documents leaving them empty | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_clear` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document` | string | Yes | - | Enter the URL or ID of the Google Doc you want to clear | ## Output **Type**: `str` Returns success message. # Create Document Source: https://docs.markifact.com/nodes/docs/docs_create_document Create a brand new Google Docs document Create a brand new Google Docs document | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_create_document` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document_name` | string | Yes | - | The name of the new Google Docs document to create. | | `folder_id` | string | No | - | Optional Google Drive folder ID where the new document should be created. Markifact can only use folders it created itself or that the user selected through the file picker in the app. A folder ID copied from Google Drive is not visible to Markifact and the request will fail. Leave this empty to create the document in the account's default location. | ## Output **Type**: `Dict` Returns created document details. **Fields**: `message`, `document_name`, `document_id`, `document_url` # Read Content Source: https://docs.markifact.com/nodes/docs/docs_read_content Read content from a Google Docs document including text, headings, lists, and tables Read content from a Google Docs document including text, headings, lists, and tables. Supports markdown export format. | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_read_content` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document` | string | Yes | - | Enter the URL or ID of the Google Doc to read content from | | `export_as_markdown` | boolean | No | `False` | Export document content as Markdown format. All elements including text, headings, lists, tables, and links will be converted to their Markdown equivalents. NOTE: Images are ignored. | | `include_structure` | boolean | No | `False` | Return the document's structural outline instead of plain text: every paragraph and table cell with its startIndex/endIndex character range and a text preview. Use this to get the exact ranges required by docs\_batch\_update requests (never guess indexes; re-read after every batch update since edits shift them). Overrides export\_as\_markdown. | ## Output **Type**: `str` Returns document text content. # Replace Text Source: https://docs.markifact.com/nodes/docs/docs_replace_text Finds and replaces specific text content in Google Docs documents Finds and replaces specific text content in Google Docs documents | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_replace_text` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document` | string | Yes | - | Enter the URL or ID of the Google Doc you want to modify | | `text_replacements` | object | No | - | Define text replacements by specifying what to find and replace (key: text to find, value: replacement text) | ## Output **Type**: `str` Returns success message with replacement count. # Select Document Source: https://docs.markifact.com/nodes/docs/docs_select_document Requires user to select a Google Doc via Official Drive file picker Requires user to select a Google Doc via Official Drive file picker. This grants Markifact access to only the chosen file (not the entire Drive). Use this node first, then pass the output to other Docs nodes. | | | | - | - | | **App** | Google Docs | | **Operation ID** | `docs_select_document` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `document` | string or SelectItem | Yes | - | The Google Docs document selected from Google Drive. Can be either a string ID or an object with \{ label, value } format. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns the document ID. # Copy File Source: https://docs.markifact.com/nodes/drive/drive_copy_file Create a copy of a file in Google Drive Create a copy of a file in Google Drive | | | | - | - | | **App** | Google Drive | | **Operation ID** | `drive_copy_file` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file_id` | string | Yes | - | The file to copy from Google Drive. A string file ID. User can select the file using the official Google file picker. | | `new_file_name` | string | No | - | The name for the copied file. If not provided, will use 'Copy of \[original name]'. | ## Output **Type**: `Dict` Returns copied file details. **Fields**: `message`, `file_id`, `file_name`, `file_url`, `original_file_id` # Select Files Source: https://docs.markifact.com/nodes/drive/drive_select_files Select files from Google Drive using the file picker Select files from Google Drive using the file picker | | | | - | - | | **App** | Google Drive | | **Operation ID** | `drive_select_files` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file_ids` | array (also accepts a comma-separated string) | Yes | - | Files selected from Google Drive picker | ## Output **Type**: `List[Dict]` Returns selected file details. **Fields**: `file_id`, `file_name`, `file_url`, `file_type` # Upload Files Source: https://docs.markifact.com/nodes/drive/drive_upload_files Upload files from URLs to a specific folder in Google Drive Upload files from URLs to a specific folder in Google Drive | | | | - | - | | **App** | Google Drive | | **Operation ID** | `drive_upload_files` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `folder_id` | string | No | - | Google Drive folder ID where files will be uploaded. If not provided, files are uploaded to the root of Google Drive | | `upload_type` | string | Yes | - | Type of upload: single or multiple | | `file_url` | string | No | - | Single file URL for single upload | | `file_name` | string | No | - | Custom filename for single upload | | `file_urls` | array (also accepts a comma-separated string) | No | - | List of file URLs for multiple upload | ## Output **Type**: `List[Dict]` Returns uploaded file details. **Fields**: `file_id`, `name`, `folder_id`, `folder_name` # Copy File Source: https://docs.markifact.com/nodes/dropbox/dropbox_copy_file Copy a file or folder to another Dropbox folder, optionally renaming the copy Copy a file or folder to another Dropbox folder, optionally renaming the copy. Folders are copied with all their contents. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_copy_file` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file` | string | Yes | - | The file or folder to operate on: a path from the Dropbox root, e.g. 'Creative Ads/banner.png', or a file id ('id:...') from a previous node. | | `destination_folder` | string | No | - | Destination folder path from the Dropbox root, e.g. 'Approved/Q4'. Leave empty to copy to the root. | | `new_name` | string | No | - | Optionally give the copy a different name. | ## Output **Type**: `Dict` Returns the copied file. **Fields**: `file_id`, `file_name`, `file_path` # Create Folder Source: https://docs.markifact.com/nodes/dropbox/dropbox_create_folder Create a folder in Dropbox Create a folder in Dropbox. Returns the existing folder if it already exists. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_create_folder` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `folder_path` | string | No | - | Parent folder path from the Dropbox root, e.g. 'Creative Ads'. Leave empty to create the folder in the root. | | `folder_name` | string | Yes | - | Name of the folder to create, e.g. '2026-08'. | ## Output **Type**: `Dict` Returns the created (or already existing) folder. **Fields**: `folder_id`, `folder_name`, `folder_path`, `created` # Delete File Source: https://docs.markifact.com/nodes/dropbox/dropbox_delete_file Delete a file or folder from Dropbox Delete a file or folder from Dropbox. A folder is deleted with all its contents. Deleted items can be restored from Dropbox for a limited time. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_delete_file` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file` | string | Yes | - | The file or folder to operate on: a path from the Dropbox root, e.g. 'Creative Ads/banner.png', or a file id ('id:...') from a previous node. | ## Output **Type**: `Dict` Returns a confirmation with the deleted file's details. **Fields**: `message`, `file_id`, `file_name` # Get Files Source: https://docs.markifact.com/nodes/dropbox/dropbox_get_files Fetch specific Dropbox files by path or id and return fresh temp public download URLs (valid ~4 hours) that can be used for example to upload creatives to ads platforms Fetch specific Dropbox files by path or id and return fresh temp public download URLs (valid \~4 hours) that can be used for example to upload creatives to ads platforms. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_get_files` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `files` | array (also accepts a comma-separated string) | No | - | The files to fetch: paths from the Dropbox root, e.g. 'Creative Ads/banner.png', or file ids ('id:...') from a previous node. | ## Output **Type**: `List[Dict]` Returns the requested files with fresh download URLs. **Fields**: `file_id`, `file_name`, `file_path`, `is_folder`, `size`, `modified_at`, `download_url` # List Files Source: https://docs.markifact.com/nodes/dropbox/dropbox_list_files List files and folders in a Dropbox folder List files and folders in a Dropbox folder. Returns also a temp public download URL (valid \~4 hours) for up to 25 files that can be used for example to upload creatives to ads platforms; use get\_files for links beyond that. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_list_files` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `folder_path` | string | No | - | Folder path from the Dropbox root, e.g. 'Creative Ads/Q4'. Leave empty to list the root folder. | ## Output **Type**: `List[Dict]` Returns the files and folders in the selected location. **Fields**: `file_id`, `file_name`, `file_path`, `is_folder`, `size`, `modified_at`, `download_url` # Move File Source: https://docs.markifact.com/nodes/dropbox/dropbox_move_file Move a file or folder to another Dropbox folder, optionally renaming it Move a file or folder to another Dropbox folder, optionally renaming it. Folders move with all their contents. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_move_file` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file` | string | Yes | - | The file or folder to operate on: a path from the Dropbox root, e.g. 'Creative Ads/banner.png', or a file id ('id:...') from a previous node. | | `destination_folder` | string | No | - | Destination folder path from the Dropbox root, e.g. 'Approved/Q4'. Leave empty to move to the root. | | `new_name` | string | No | - | Optionally rename the file while moving it. | ## Output **Type**: `Dict` Returns the moved file. **Fields**: `file_id`, `file_name`, `file_path` # Rename File Source: https://docs.markifact.com/nodes/dropbox/dropbox_rename_file Rename a file or folder in Dropbox Rename a file or folder in Dropbox | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_rename_file` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file` | string | Yes | - | The file or folder to operate on: a path from the Dropbox root, e.g. 'Creative Ads/banner.png', or a file id ('id:...') from a previous node. | | `new_name` | string | Yes | - | The new file name, e.g. 'banner\_final.png'. | ## Output **Type**: `Dict` Returns the renamed file. **Fields**: `file_id`, `file_name`, `file_path` # Search Files Source: https://docs.markifact.com/nodes/dropbox/dropbox_search_files Search for files and folders by name in Dropbox, optionally within a folder Search for files and folders by name in Dropbox, optionally within a folder. Returns also a temp public download URL (valid \~4 hours) for up to 25 matching files. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_search_files` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `query` | string | Yes | - | Search text. Matches file and folder names, e.g. 'banner' or 'q4 report'. | | `folder_path` | string | No | - | Restrict the search to a folder path from the Dropbox root, e.g. 'Creative Ads'. Leave empty to search the whole Dropbox. | | `max_results` | integer | No | `25` | Maximum number of results to return. Defaults to 25. | ## Output **Type**: `List[Dict]` Returns the matching files and folders. **Fields**: `file_id`, `file_name`, `file_path`, `is_folder`, `size`, `modified_at`, `download_url` # Upload Files Source: https://docs.markifact.com/nodes/dropbox/dropbox_upload_files Upload files from URLs into a Dropbox folder Upload files from URLs into a Dropbox folder. Returns the uploaded files with a temp public download URL each. | | | | - | - | | **App** | Dropbox | | **Operation ID** | `dropbox_upload_files` | | **Type** | Action | | **Connection** | `dropbox` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `folder_path` | string | No | - | Destination folder path from the Dropbox root, e.g. 'Creative Ads/Q4'. Leave empty to upload to the root. | | `upload_type` | string | Yes | - | Type of upload: single or multiple | | `file_url` | string | No | - | File URL for single upload. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact (use the URL from get\_file\_url, not a \{\{file-...}} reference, which passes the file's contents). | | `file_name` | string | No | - | Custom filename for single upload | | `file_urls` | array (also accepts a comma-separated string) | No | - | List of file URLs for multiple upload. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact (use the URL from get\_file\_url, not a \{\{file-...}} reference, which passes the file's contents). | ## Output **Type**: `List[Dict]` Returns the uploaded files. **Fields**: `file_id`, `file_name`, `file_path`, `size`, `download_url` # Create Audience Source: https://docs.markifact.com/nodes/dv360/dv360_create_audience Creates a DV360 Customer Match audience from emails, phone numbers (hashed automatically), or mobile device IDs Creates a DV360 Customer Match audience from emails, phone numbers (hashed automatically), or mobile device IDs. Target it via dv360\_edit\_line\_item\_targeting; audiences may take up to 12 hours to populate. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_audience` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to create the audience under. | | `audience_type` | string or SelectableOption | Yes | - | Customer Match audience type (the only types the API can create). Options: 'CUSTOMER\_MATCH\_CONTACT\_INFO' (emails / phone numbers), 'CUSTOMER\_MATCH\_DEVICE\_ID' (mobile advertising IDs). | | `name` | string | Yes | - | Display name for the audience. | | `description` | string | No | - | Optional description of the audience. | | `membership_duration_days` | integer | Yes | - | How many days members stay in the audience after being added (1-540). | | `emails` | string or array of string | No | - | Email addresses for CUSTOMER\_MATCH\_CONTACT\_INFO audiences, as a list or newline/comma separated text. Plain emails are normalized (whitespace removed, lowercased) and SHA-256 hashed automatically; already-hashed 64-char hex values are passed through. | | `phone_numbers` | string or array of string | No | - | Phone numbers for CUSTOMER\_MATCH\_CONTACT\_INFO audiences in E.164 format with country code (e.g. +14155550101), as a list or newline/comma separated text. Hashed automatically; already-hashed values are passed through. | | `mobile_device_ids` | string or array of string | No | - | Mobile advertising IDs (IDFA / AAID) for CUSTOMER\_MATCH\_DEVICE\_ID audiences, as a list or newline/comma separated text. Not hashed. | | `app_id` | string | No | - | App ID matching the type of the mobile device IDs (for example an iOS App Store ID or Android package name). Only for CUSTOMER\_MATCH\_DEVICE\_ID audiences. | | `consent_ad_user_data` | string or SelectableOption | No | - | Optional consent for ad user data. Options: 'CONSENT\_STATUS\_GRANTED'. DV360 rejects uploads with denied consent, so leave unset if consent is not specified. | | `consent_ad_personalization` | string or SelectableOption | No | - | Optional consent for ad personalization. Options: 'CONSENT\_STATUS\_GRANTED'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created audience. **Fields**: `audience_id`, `audience_name`, `audience_type` # Create Campaign Source: https://docs.markifact.com/nodes/dv360/dv360_create_campaign Creates a DV360 campaign under an advertiser with goal, performance target, flight dates, and frequency cap Creates a DV360 campaign under an advertiser with goal, performance target, flight dates, and frequency cap. Amounts are entered in the advertiser's currency and converted to DV360 micros automatically. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_campaign` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to create the campaign under. | | `campaign_name` | string | Yes | - | Display name of the campaign. Max 240 bytes. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the campaign is created: ACTIVE or PAUSED. Default: PAUSED. | | `campaign_goal_type` | string or SelectableOption | Yes | - | Campaign goal: APP\_INSTALL (drive app installs), BRAND\_AWARENESS (raise awareness), OFFLINE\_ACTION (drive offline or in-store sales), or ONLINE\_ACTION (drive online actions or visits). | | `performance_goal_type` | string or SelectableOption | No | `{'value': 'OTHER', 'label': 'Other'}` | Optional performance goal metric. Money goals (use performance\_goal\_amount): CPM, CPC, CPA, CPIAVC. Percentage goals (use performance\_goal\_percentage): CTR, VIEWABILITY. Defaults to OTHER, whose performance\_goal\_string may be blank. | | `performance_goal_amount` | number | No | - | Goal amount in the advertiser's currency (for example 2.5 for a \$2.50 CPM). Required for money performance goals; converted to DV360 micros automatically. | | `performance_goal_percentage` | number | No | - | Goal percentage (for example 70 for 70%). Required for percentage performance goals; converted to DV360 percentage micros automatically. | | `performance_goal_string` | string | No | - | Optional key performance indicator text for OTHER. May be blank, as allowed by DV360. | | `start_date` | string | Yes | - | Planned flight start date as YYYY-MM-DD, in the advertiser's timezone. | | `end_date` | string | No | - | Optional planned flight end date as YYYY-MM-DD. Must be on or after start\_date. | | `planned_spend` | number | No | - | Optional planned spend for the flight in the advertiser's currency; converted to micros automatically. Informational only; DV360 does not enforce it. | | `unlimited_frequency_cap` | boolean | No | `True` | When true (default), no campaign-level frequency cap. Set false to cap impressions per user with the frequency\_cap\_\* fields. | | `frequency_cap_max_impressions` | integer | No | - | Maximum impressions per user for the chosen time window. Required when unlimited\_frequency\_cap is false. | | `frequency_cap_time_unit` | string or SelectableOption | No | - | Frequency cap window unit: LIFETIME, MONTHS, WEEKS, DAYS, HOURS, or MINUTES. Required when unlimited\_frequency\_cap is false. | | `frequency_cap_time_unit_count` | integer | No | - | How many time units the window lasts (for example 1 WEEK). Required when unlimited\_frequency\_cap is false, except for LIFETIME. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created DV360 campaign details. **Fields**: `campaign_id`, `campaign_name`, `entity_status`, `advertiser_id`, `campaign` # Create Channel Source: https://docs.markifact.com/nodes/dv360/dv360_create_channel Creates a DV360 channel (a curated list of sites and apps for targeting) Creates a DV360 channel (a curated list of sites and apps for targeting). Add sites with dv360\_edit\_channel\_sites, then target the channel via dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_channel` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to create the channel in. | | `name` | string | Yes | - | Display name for the channel (a curated list of sites and apps used for targeting). | ## Output **Type**: `Dict` Returns the created channel. **Fields**: `channel_id`, `channel_name` # Create Creative Source: https://docs.markifact.com/nodes/dv360/dv360_create_creative Advanced: creates a DV360 creative from a raw v4 Creative payload sent as-is (display, HTML5, native, video, or audio) Advanced: creates a DV360 creative from a raw v4 Creative payload sent as-is (display, HTML5, native, video, or audio). Upload files first with dv360\_upload\_asset, then assign the creative to line items via creativeIds. Creatives built in Ad Canvas or templates cannot be created via the API. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_creative` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to create the creative in. | | `creative_payload` | object or string | Yes | - | Official DV360 v4 Creative body as JSON, sent as-is. Required keys: displayName, entityStatus (ENTITY\_STATUS\_ACTIVE is allowed on create), hostingSource (HOSTING\_SOURCE\_HOSTED for uploaded assets), creativeType, dimensions, assets (referencing media\_id values from dv360\_upload\_asset), and exitEvents. Example for a standard display creative: \{"displayName": "My Banner", "entityStatus": "ENTITY\_STATUS\_ACTIVE", "hostingSource": "HOSTING\_SOURCE\_HOSTED", "creativeType": "CREATIVE\_TYPE\_STANDARD", "dimensions": \{"widthPixels": 300, "heightPixels": 250}, "assets": \[\{"asset": \{"mediaId": "\"}, "role": "ASSET\_ROLE\_MAIN"}], "exitEvents": \[\{"type": "EXIT\_EVENT\_TYPE\_DEFAULT", "url": "`https://example.com`"}]}. Assign the created creative to line items via creativeIds in dv360\_create\_line\_item or dv360\_update\_line\_item. | ## Output **Type**: `Dict` Returns the created DV360 creative details. **Fields**: `creative_id`, `creative_name`, `creative_type`, `entity_status`, `review_status`, `creative` # Create Insertion Order Source: https://docs.markifact.com/nodes/dv360/dv360_create_insertion_order Creates a DV360 insertion order under a campaign with optimization objective, KPI, pacing, budget segments, and frequency cap Creates a DV360 insertion order under a campaign with optimization objective, KPI, pacing, budget segments, and frequency cap. Amounts are entered in the advertiser's currency and converted to DV360 micros automatically. The API creates insertion orders as drafts; activate with dv360\_update\_insertion\_order\_status. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_insertion_order` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | ID of the DV360 campaign the insertion order belongs to. | | `insertion_order_name` | string | Yes | - | Display name of the insertion order. Max 240 bytes. | | `insertion_order_type` | string or SelectableOption | No | `{'value': 'RTB', 'label': 'Real-time bidding'}` | RTB (real-time bidding, default) or OVER\_THE\_TOP. | | `optimization_objective` | string or SelectableOption | Yes | - | What the insertion order optimizes for: CONVERSION (sales and conversions), CLICK (traffic to websites and apps), BRAND\_AWARENESS (impressions of specific quality), CUSTOM (defined by the assigned custom bidding algorithm), or NO\_OBJECTIVE (any KPI or bidding strategy can be used). | | `kpi_type` | string or SelectableOption | Yes | - | KPI metric. Money KPIs (use kpi\_amount): CPM, CPC, CPA, CPIAVC, CPE, CPV, VCPM, CPCL, CPCV. Percentage KPIs (use kpi\_percentage): CTR, VIEWABILITY, CLICK\_CVR, IMPRESSION\_CVR, VTR, AUDIO\_COMPLETION\_RATE, VIDEO\_COMPLETION\_RATE, TOS10. OTHER uses kpi\_string. CUSTOM\_IMPRESSION\_VALUE\_OVER\_COST requires kpi\_algorithm\_id. MAXIMIZE\_PACING needs no value. | | `kpi_amount` | number | No | - | KPI amount in the advertiser's currency (for example 2.5 for a \$2.50 CPM). Required for money KPIs; converted to DV360 micros automatically. | | `kpi_percentage` | number | No | - | KPI percentage (for example 70 for 70%). Required for percentage KPIs; converted to DV360 percentage micros automatically. | | `kpi_string` | string | No | - | KPI description text. Required when kpi\_type is OTHER. | | `kpi_algorithm_id` | string | No | - | Custom bidding algorithm ID. Required when kpi\_type is CUSTOM\_IMPRESSION\_VALUE\_OVER\_COST. | | `pacing_period` | string or SelectableOption | No | `{'value': 'DAILY', 'label': 'Daily'}` | Budget spending window: DAILY (default) or FLIGHT (spread over the budget segment flight). | | `pacing_type` | string or SelectableOption | No | `{'value': 'EVEN', 'label': 'Even'}` | Spending speed: EVEN (default), AHEAD (flight pacing only), or ASAP (with daily pacing, requires daily\_max\_spend). | | `daily_max_spend` | number | No | - | Daily maximum spend in the advertiser's currency; converted to micros automatically. With daily pacing, provide this or daily\_max\_impressions, not both. | | `daily_max_impressions` | integer | No | - | Daily maximum impressions. With daily pacing, provide this or daily\_max\_spend, not both. | | `automation_type` | string or SelectableOption | No | `{'value': 'NONE', 'label': 'None'}` | Insertion order automation: NONE (default, no automation), BUDGET (automatic budget allocation across line items), or BID\_BUDGET (automatic bid and budget optimization). | | `budget_unit` | string or SelectableOption | No | `{'value': 'CURRENCY', 'label': 'Currency'}` | How the budget is denominated: CURRENCY (advertiser currency, default) or IMPRESSIONS (impression counts). Immutable in DV360; the unit cannot be changed after the insertion order is created. | | `budget_segments` | array (also accepts a comma-separated string) | Yes | - | The insertion order's budget segments, as a list of up to 20 rows. Each row requires budget\_amount (an advertiser-currency amount, converted to micros automatically, or a plain impression count when budget\_unit is IMPRESSIONS, for example 150000 for 150,000 impressions), start\_date and end\_date (YYYY-MM-DD), and an optional description. Example row: \{"budget\_amount": 5000, "start\_date": "2026-08-01", "end\_date": "2026-08-31", "description": "August budget"} | | `unlimited_frequency_cap` | boolean | No | `True` | When true (default), no insertion-order frequency cap. Set false to cap impressions per user with the frequency\_cap\_\* fields. | | `frequency_cap_max_impressions` | integer | No | - | Maximum impressions per user for the chosen time window. Required when unlimited\_frequency\_cap is false. | | `frequency_cap_time_unit` | string or SelectableOption | No | - | Frequency cap window unit: LIFETIME, MONTHS, WEEKS, DAYS, HOURS, or MINUTES. Required when unlimited\_frequency\_cap is false. | | `frequency_cap_time_unit_count` | integer | No | - | How many time units the window lasts. Required when unlimited\_frequency\_cap is false, except for LIFETIME. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created DV360 insertion order details. **Fields**: `insertion_order_id`, `insertion_order_name`, `entity_status`, `campaign_id`, `advertiser_id`, `insertion_order` # Create Line Item Source: https://docs.markifact.com/nodes/dv360/dv360_create_line_item Creates a DV360 line item under an insertion order with type, flight, budget, pacing, frequency cap, bid strategy, and partner revenue model Creates a DV360 line item under an insertion order with type, flight, budget, pacing, frequency cap, bid strategy, and partner revenue model. Budget and spend amounts are entered in the advertiser's currency; the raw bid\_strategy and partner\_revenue\_model objects use raw micros as in the DV360 API. Supports the EU political ads declaration DV360 requires on new line items. YouTube & Partners line items cannot be created via the API. Created as a draft; activate with dv360\_update\_line\_item\_status. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_line_item` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the insertion order. | | `insertion_order_id` | string or SelectItem | Yes | - | ID of the DV360 insertion order the line item belongs to. | | `line_item_name` | string | Yes | - | Display name of the line item. Max 240 bytes. | | `line_item_type` | string or SelectableOption | Yes | - | Line item type: DISPLAY\_DEFAULT, DISPLAY\_MOBILE\_APP\_INSTALL, VIDEO\_DEFAULT, VIDEO\_MOBILE\_APP\_INSTALL, AUDIO\_DEFAULT, VIDEO\_OVER\_THE\_TOP, or DEMAND\_GEN. YouTube & Partners and out-of-home types cannot be created via the DV360 API. | | `contains_eu_political_ads` | string or SelectableOption | No | - | Whether the line item will serve EU political ads. Options: 'CONTAINS\_EU\_POLITICAL\_ADVERTISING', 'DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING'. DV360 requires this declaration on every new line item unless the parent advertiser is already set to DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING (then it is inherited); creation fails with an EU political ads error otherwise. | | `flight_date_type` | string or SelectableOption | No | `{'value': 'INHERITED', 'label': 'Inherit from insertion order'}` | INHERITED (default) uses the parent insertion order's flight dates; CUSTOM uses start\_date and end\_date. | | `start_date` | string | No | - | Flight start date as YYYY-MM-DD. Required when flight\_date\_type is CUSTOM. | | `end_date` | string | No | - | Flight end date as YYYY-MM-DD. Required when flight\_date\_type is CUSTOM. | | `budget_allocation_type` | string or SelectableOption | No | `{'value': 'FIXED', 'label': 'Fixed'}` | FIXED (default) uses max\_budget\_amount; AUTOMATIC requires automatic budget allocation on the parent insertion order; UNLIMITED has no budget limit. Demand Gen line items must use FIXED. | | `max_budget_amount` | number | No | - | Maximum budget in the advertiser's currency; converted to DV360 micros automatically. Required when budget\_allocation\_type is FIXED. | | `pacing_period` | string or SelectableOption | No | `{'value': 'DAILY', 'label': 'Daily'}` | Budget spending window: DAILY (default) or FLIGHT. | | `pacing_type` | string or SelectableOption | No | `{'value': 'EVEN', 'label': 'Even'}` | Spending speed: EVEN (default), AHEAD (flight pacing only), or ASAP (with daily pacing, requires daily\_max\_spend). | | `daily_max_spend` | number | No | - | Daily maximum spend in the advertiser's currency; converted to micros automatically. With daily pacing, provide this or daily\_max\_impressions, not both. | | `daily_max_impressions` | integer | No | - | Daily maximum impressions. With daily pacing, provide this or daily\_max\_spend, not both. | | `bid_strategy` | object or string | Yes | - | Official DV360 BidStrategy object as JSON, sent as-is with raw micros. Exactly one of: fixedBid, maximizeSpendAutoBid, or performanceGoalAutoBid. Examples: \{"fixedBid": \{"bidAmountMicros": "1500000"}} for a fixed \$1.50 bid; \{"maximizeSpendAutoBid": \{"performanceGoalType": "BIDDING\_STRATEGY\_PERFORMANCE\_GOAL\_TYPE\_CPC"}}; \{"performanceGoalAutoBid": \{"performanceGoalType": "BIDDING\_STRATEGY\_PERFORMANCE\_GOAL\_TYPE\_CPA", "performanceGoalAmountMicros": "10000000"}}. | | `partner_revenue_model` | object or string | Yes | - | Official DV360 PartnerRevenueModel object as JSON, sent as-is. Keys: markupType (PARTNER\_REVENUE\_MODEL\_MARKUP\_TYPE\_CPM or PARTNER\_REVENUE\_MODEL\_MARKUP\_TYPE\_TOTAL\_MEDIA\_COST\_MARKUP) and markupAmount (raw units: micros of the advertiser currency for CPM, for example 1500000 = 1.5; millis of percent for markup types, for example 100 = 0.1%). Demand Gen line items must use TOTAL\_MEDIA\_COST\_MARKUP. For no markup use \{"markupType": "PARTNER\_REVENUE\_MODEL\_MARKUP\_TYPE\_TOTAL\_MEDIA\_COST\_MARKUP", "markupAmount": "0"}. | | `conversion_counting` | object or string | No | - | Optional official DV360 ConversionCountingConfig object as JSON, sent as-is (postViewCountPercentageMillis and floodlightActivityConfigs with raw millis values). | | `partner_costs` | array of object or object or string | No | - | Optional list of official DV360 PartnerCost objects as JSON, sent as-is; omit to inherit the insertion order's costs. feePercentageMillis is millis of percent and feeAmount is micros, for example a 12% default media fee: \[\{"costType": "PARTNER\_COST\_TYPE\_DEFAULT", "feeType": "PARTNER\_COST\_FEE\_TYPE\_MEDIA\_FEE", "feePercentageMillis": "12000"}]. | | `mobile_app_id` | string | No | - | App platform ID (for example com.example.app for Android or 422689480 for iOS). Required for DISPLAY\_MOBILE\_APP\_INSTALL and VIDEO\_MOBILE\_APP\_INSTALL line items; sent as mobileApp.appId. | | `creative_ids` | array of string (also accepts a comma-separated string) | No | - | Optional DV360 creative IDs to assign, as a list or comma-separated text. | | `unlimited_frequency_cap` | boolean | No | `True` | When true (default), no line-item frequency cap. Set false to cap impressions per user with the frequency\_cap\_\* fields. | | `frequency_cap_max_impressions` | integer | No | - | Maximum impressions per user for the chosen time window. Required when unlimited\_frequency\_cap is false. | | `frequency_cap_time_unit` | string or SelectableOption | No | - | Frequency cap window unit: LIFETIME, MONTHS, WEEKS, DAYS, HOURS, or MINUTES. Required when unlimited\_frequency\_cap is false. | | `frequency_cap_time_unit_count` | integer | No | - | How many time units the window lasts. Required when unlimited\_frequency\_cap is false, except for LIFETIME. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created DV360 line item details. **Fields**: `line_item_id`, `line_item_name`, `entity_status`, `insertion_order_id`, `advertiser_id`, `line_item` # Create Location List Source: https://docs.markifact.com/nodes/dv360/dv360_create_location_list Creates a DV360 location list (regional or proximity; the type is immutable) Creates a DV360 location list (regional or proximity; the type is immutable). Add locations with dv360\_edit\_assigned\_locations, then target the list via dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_location_list` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to create the location list in. | | `name` | string | Yes | - | Display name for the location list (max 240 bytes UTF-8). | | `location_type` | string or SelectableOption | Yes | - | Immutable type of the list. Options: 'TARGETING\_LOCATION\_TYPE\_REGIONAL' (countries, regions, cities), 'TARGETING\_LOCATION\_TYPE\_PROXIMITY' (points of interest / radius). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created location list. **Fields**: `location_list_id`, `location_list_name`, `location_type` # Create Negative Keyword List Source: https://docs.markifact.com/nodes/dv360/dv360_create_negative_keyword_list Creates a DV360 negative keyword list for an advertiser (brand safety) Creates a DV360 negative keyword list for an advertiser (brand safety). Add keywords with dv360\_edit\_negative\_keywords, then assign the list to line items via dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_create_negative_keyword_list` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to create the negative keyword list in. | | `name` | string | Yes | - | Display name for the negative keyword list (max 255 bytes UTF-8). | ## Output **Type**: `Dict` Returns the created negative keyword list. **Fields**: `negative_keyword_list_id`, `negative_keyword_list_name`, `advertiser_id` # Custom DV360 App Source: https://docs.markifact.com/nodes/dv360/dv360_custom_app Connect Display & Video 360 through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Display & Video 360: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in DV360, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/display-video` `https://www.googleapis.com/auth/doubleclickbidmanager` | | **APIs to enable** | Display & Video 360 API and DoubleClick Bid Manager API | | **Google account for the token** | a Google account that is a DV360 user on the partners or advertisers you want to manage | Both scopes are required: management runs on the Display & Video 360 API and reporting on the DoubleClick Bid Manager API. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Display & Video 360**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency DV360"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Display & Video 360 API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Verification passes but no partners or advertisers are listed > > The Google account behind the token is not a user in DV360. Add it under Partner settings > Users in DV360, then re-add the connection with the same name. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/dv360/dv360_get_report) > > Pull DV360 performance data # Delete Negative Keyword List Source: https://docs.markifact.com/nodes/dv360/dv360_delete_negative_keyword_list Permanently deletes a DV360 negative keyword list; this cannot be undone and removes it from any line items targeting it Permanently deletes a DV360 negative keyword list; this cannot be undone and removes it from any line items targeting it. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_delete_negative_keyword_list` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the negative keyword list. | | `negative_keyword_list_id` | string or SelectItem | Yes | - | ID of the negative keyword list to delete permanently. Deletion cannot be undone. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns success message confirming deletion. # Duplicate Line Item Source: https://docs.markifact.com/nodes/dv360/dv360_duplicate_line_item Duplicates a DV360 line item within the same insertion order, copying its settings and assigned targeting, and returns the new line item ID Duplicates a DV360 line item within the same insertion order, copying its settings and assigned targeting, and returns the new line item ID. The copy is created as a draft. YouTube & Partners line items cannot be duplicated. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_duplicate_line_item` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the line item. | | `line_item_id` | string or SelectItem | Yes | - | ID of the DV360 line item to duplicate. The copy is created in the same insertion order with the source settings and targeting. YouTube & Partners line items cannot be duplicated. | | `target_display_name` | string | No | - | Display name for the new line item (max 240 bytes UTF-8). When omitted, DV360 assigns a default copy name. | | `contains_eu_political_ads` | string or SelectableOption | No | - | Whether the new line item will serve EU political ads. Options: 'CONTAINS\_EU\_POLITICAL\_ADVERTISING', 'DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING'. Required by DV360 unless the parent advertiser is already set to DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING (then it is inherited). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the new duplicate line item ID. **Fields**: `duplicate_line_item_id`, `source_line_item_id`, `advertiser_id` # Edit Advertiser Targeting Source: https://docs.markifact.com/nodes/dv360/dv360_edit_advertiser_targeting Advanced: edits DV360 advertiser-level default targeting (brand safety applied to all line items): digital content label and sensitive category exclusions, negative keywords, channels, and OMID, fr... Advanced: edits DV360 advertiser-level default targeting (brand safety applied to all line items): digital content label and sensitive category exclusions, negative keywords, channels, and OMID, from raw create/delete requests. For per-line-item placement exclusions prefer dv360\_exclude\_placements. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_edit_advertiser_targeting` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser whose default targeting to edit. | | `create_requests` | array of object or string | No | - | Official DV360 CreateAssignedTargetingOptionsRequest objects as a JSON list, sent as-is. Advertiser-level targeting applies to all line items under the advertiser and only supports these targeting types: TARGETING\_TYPE\_DIGITAL\_CONTENT\_LABEL\_EXCLUSION, TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION, TARGETING\_TYPE\_CHANNEL, TARGETING\_TYPE\_KEYWORD, TARGETING\_TYPE\_OMID. Examples: \[\{"targetingType": "TARGETING\_TYPE\_DIGITAL\_CONTENT\_LABEL\_EXCLUSION", "assignedTargetingOptions": \[\{"digitalContentLabelExclusionDetails": \{"excludedContentRatingTier": "CONTENT\_RATING\_TIER\_MATURE"}}]}, \{"targetingType": "TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION", "assignedTargetingOptions": \[\{"sensitiveCategoryExclusionDetails": \{"excludedSensitiveCategory": "SENSITIVE\_CATEGORY\_VIOLENCE"}}]}, \{"targetingType": "TARGETING\_TYPE\_KEYWORD", "assignedTargetingOptions": \[\{"keywordDetails": \{"keyword": "crash", "negative": true}}]}] | | `delete_requests` | array of object or string | No | - | Official DV360 DeleteAssignedTargetingOptionsRequest objects as a JSON list, sent as-is. Each entry has targetingType and assignedTargetingOptionIds; get the IDs from dv360\_list\_advertiser\_targeting. Example: \[\{"targetingType": "TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION", "assignedTargetingOptionIds": \["1163"]}] | ## Output **Type**: `Dict` Returns the created assigned targeting options. **Fields**: `advertiser_id`, `created_count`, `created_assigned_targeting_options` # Edit Assigned Locations Source: https://docs.markifact.com/nodes/dv360/dv360_edit_assigned_locations Adds and/or removes locations in a DV360 location list in one call Adds and/or removes locations in a DV360 location list in one call. Additions take targeting option IDs from dv360\_search\_targeting\_options; removals take assigned location IDs from dv360\_list\_assigned\_locations. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_edit_assigned_locations` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the location list. | | `location_list_id` | string or SelectItem | Yes | - | ID of the location list to edit. | | `add_targeting_option_ids` | string or array of string | No | - | Targeting option IDs to add, as a list or newline/comma separated text. Find them with dv360\_search\_targeting\_options: use TARGETING\_TYPE\_GEO\_REGION options for regional lists, or POI / BUSINESS\_CHAIN options for proximity lists. | | `remove_assigned_location_ids` | string or array of string | No | - | assignedLocationId values to remove (NOT targeting option IDs), as a list or newline/comma separated text. Get them from dv360\_list\_assigned\_locations. Removals are applied before additions. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the added/removed counts and created assignments. **Fields**: `location_list_id`, `added_count`, `removed_count`, `created_assigned_locations` # Edit Audience Members Source: https://docs.markifact.com/nodes/dv360/dv360_edit_audience_members Adds and/or removes members in a DV360 Customer Match audience using emails, phone numbers (hashed automatically), or mobile device IDs; one identifier kind per call Adds and/or removes members in a DV360 Customer Match audience using emails, phone numbers (hashed automatically), or mobile device IDs; one identifier kind per call. Find audience IDs with dv360\_list\_audiences. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_edit_audience_members` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | ID of the Customer Match audience to edit (from dv360\_list\_audiences FIRST\_PARTY\_AND\_PARTNER kind or dv360\_create\_audience). Only CUSTOMER\_MATCH\_CONTACT\_INFO and CUSTOMER\_MATCH\_DEVICE\_ID audiences can be edited. | | `add_emails` | string or array of string | No | - | Email addresses to add (contact-info audiences only). Plain emails are normalized and SHA-256 hashed automatically. | | `add_phone_numbers` | string or array of string | No | - | Phone numbers to add in E.164 format with country code (contact-info audiences only). Hashed automatically. | | `remove_emails` | string or array of string | No | - | Email addresses to remove (contact-info audiences only). | | `remove_phone_numbers` | string or array of string | No | - | Phone numbers to remove in E.164 format (contact-info audiences only). | | `add_mobile_device_ids` | string or array of string | No | - | Mobile advertising IDs to add (device-ID audiences only). | | `remove_mobile_device_ids` | string or array of string | No | - | Mobile advertising IDs to remove (device-ID audiences only). | | `consent_ad_user_data` | string or SelectableOption | No | - | Optional consent for ad user data applied to added members. Options: 'CONSENT\_STATUS\_GRANTED'. | | `consent_ad_personalization` | string or SelectableOption | No | - | Optional consent for ad personalization applied to added members. Options: 'CONSENT\_STATUS\_GRANTED'. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the audience ID and member counts. **Fields**: `audience_id`, `added_count`, `removed_count` # Edit Channel Sites Source: https://docs.markifact.com/nodes/dv360/dv360_edit_channel_sites Adds and/or removes site URLs and app IDs in a DV360 channel in one call (removals first, then additions) Adds and/or removes site URLs and app IDs in a DV360 channel in one call (removals first, then additions). Preferred over dv360\_replace\_channel\_sites for incremental changes. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_edit_channel_sites` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the channel. | | `channel_id` | string or SelectItem | Yes | - | ID of the channel to edit. | | `add_sites` | string or array of string | No | - | Site URLs or app IDs to add, as a list or newline-separated text (one per line; max 240 bytes each), e.g. 'example.com' or an app ID like 'com.example.app'. | | `remove_sites` | string or array of string | No | - | Existing site URLs or app IDs to remove, as a list or newline-separated text. Removals are applied before additions. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the added/removed counts and created sites. **Fields**: `channel_id`, `added_count`, `removed_count`, `created_sites` # Edit Line Item Targeting Source: https://docs.markifact.com/nodes/dv360/dv360_edit_line_item_targeting Advanced: assigns and removes targeting on DV360 line items via raw create and delete request lists sent as-is (bulk edit across one or many line items) Advanced: assigns and removes targeting on DV360 line items via raw create and delete request lists sent as-is (bulk edit across one or many line items). Find option IDs with dv360\_search\_targeting\_options and current assignments with dv360\_list\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_edit_line_item_targeting` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the line items. | | `line_item_ids` | array of string (also accepts a comma-separated string) | Yes | - | DV360 line item IDs to apply the targeting edits to, as a list or comma-separated text. | | `create_requests` | array of object or string | No | - | Official DV360 CreateAssignedTargetingOptionsRequest objects as a JSON list, sent as-is. Each entry has targetingType and assignedTargetingOptions with the per-type details object. Option IDs come from dv360\_search\_targeting\_options. Examples: \[\{"targetingType": "TARGETING\_TYPE\_GEO\_REGION", "assignedTargetingOptions": \[\{"geoRegionDetails": \{"targetingOptionId": "2276"}}]}, \{"targetingType": "TARGETING\_TYPE\_ENVIRONMENT", "assignedTargetingOptions": \[\{"environmentDetails": \{"environment": "ENVIRONMENT\_WEB\_OPTIMIZED"}}]}, \{"targetingType": "TARGETING\_TYPE\_CHANNEL", "assignedTargetingOptions": \[\{"channelDetails": \{"channelId": "123", "negative": true}}]}] | | `delete_requests` | array of object or string | No | - | Official DV360 DeleteAssignedTargetingOptionsRequest objects as a JSON list, sent as-is. Each entry has targetingType and assignedTargetingOptionIds. Get assigned option IDs from dv360\_list\_line\_item\_targeting. Example: \[\{"targetingType": "TARGETING\_TYPE\_BROWSER", "assignedTargetingOptionIds": \["500072"]}] | ## Output **Type**: `Dict` Returns which line items were updated and any per-line-item errors. **Fields**: `updated_line_item_ids`, `failed_line_item_ids`, `errors` # Edit Negative Keywords Source: https://docs.markifact.com/nodes/dv360/dv360_edit_negative_keywords Adds and/or removes keywords in a DV360 negative keyword list in one atomic call (removals first, then additions; no partial success) Adds and/or removes keywords in a DV360 negative keyword list in one atomic call (removals first, then additions; no partial success). Preferred over dv360\_replace\_negative\_keywords for incremental changes. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_edit_negative_keywords` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the negative keyword list. | | `negative_keyword_list_id` | string or SelectItem | Yes | - | ID of the negative keyword list to edit. | | `add_keywords` | string or array of string | No | - | Keywords to add, as a list or newline/comma separated text. Each keyword: ASCII only, max 80 characters and 10 words, e.g. 'car insurance'. | | `remove_keywords` | string or array of string | No | - | Existing keyword values to remove, as a list or newline/comma separated text. Removals are applied before additions; the whole edit is atomic. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the added/removed counts and created keywords. **Fields**: `negative_keyword_list_id`, `added_count`, `removed_count`, `created_negative_keywords` # Exclude Placements Source: https://docs.markifact.com/nodes/dv360/dv360_exclude_placements Excludes website URLs and app IDs from DV360 line items (negative placement targeting) without raw JSON; supports multiple line items in one call Excludes website URLs and app IDs from DV360 line items (negative placement targeting) without raw JSON; supports multiple line items in one call. For other targeting types use dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_exclude_placements` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the line items. | | `line_item_ids` | array of string (also accepts a comma-separated string) | Yes | - | DV360 line item IDs to add the placement exclusions to, as a list or comma-separated text. | | `urls` | string or array of string | No | - | Website URLs to exclude, as a list or newline-separated text (one per line), for example example.com or [www.example.com/section](http://www.example.com/section). DV360 supports up to two levels of subdirectory and five levels of subdomain targeting. | | `app_ids` | string or array of string | No | - | App IDs to exclude, one per line: Android bundle IDs (e.g. com.google.android.gm) or Apple App Store IDs (e.g. 422689480). | | `app_platform` | string or SelectableOption | No | - | Optional platform for the excluded app IDs. When unset, DV360 assumes mobile (Android or iOS). Set it explicitly for CTV apps, for example 'APP\_PLATFORM\_ROKU'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns updated/failed line item IDs and exclusion counts. **Fields**: `updated_line_item_ids`, `failed_line_item_ids`, `excluded_url_count`, `excluded_app_count` # Get Report Source: https://docs.markifact.com/nodes/dv360/dv360_get_report Retrieves DV360 data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves DV360 data with customizable metrics, dimensions, filters, date ranges, and sorting options. EQUALS / IN\_LIST filters on campaignId, insertionOrderId or lineItemId are applied by DV360, so those fields need not be selected as dimensions; every other filter needs its field selected. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_get_report` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Summer Sale", "clicks": 150, "impressions": 5000, "cost": 75.0 } ] ``` # List Advertiser Targeting Source: https://docs.markifact.com/nodes/dv360/dv360_list_advertiser_targeting Lists DV360 advertiser-level default targeting (brand safety: content labels, sensitive categories, keywords, channels), filterable by targeting type Lists DV360 advertiser-level default targeting (brand safety: content labels, sensitive categories, keywords, channels), filterable by targeting type. Returns the assigned option IDs needed for deletions in dv360\_edit\_advertiser\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_advertiser_targeting` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser whose default (advertiser-level) targeting to list. | | `targeting_type` | string or SelectableOption | No | - | Optional filter to a single targeting type. Options: 'TARGETING\_TYPE\_CHANNEL', 'TARGETING\_TYPE\_DIGITAL\_CONTENT\_LABEL\_EXCLUSION', 'TARGETING\_TYPE\_OMID', 'TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION', 'TARGETING\_TYPE\_KEYWORD'. | | `limit` | integer | No | `1000` | Maximum number of assigned options to return. Default: 1000. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the advertiser's assigned targeting options. **Fields**: dynamic (depend on the inputs) # List Assigned Locations Source: https://docs.markifact.com/nodes/dv360/dv360_list_assigned_locations Lists the locations assigned to a DV360 location list, returning the assigned location IDs needed for removals in dv360_edit_assigned_locations Lists the locations assigned to a DV360 location list, returning the assigned location IDs needed for removals in dv360\_edit\_assigned\_locations. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_assigned_locations` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the location list. | | `location_list_id` | string or SelectItem | Yes | - | ID of the location list whose assigned locations to return. | | `limit` | integer | No | `1000` | Maximum number of assigned locations to return. Default: 1000. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the assigned locations. **Fields**: dynamic (depend on the inputs) # List Audiences Source: https://docs.markifact.com/nodes/dv360/dv360_list_audiences Lists DV360 audiences: first-party and partner audiences, combined audiences, Google audiences, or custom lists Lists DV360 audiences: first-party and partner audiences, combined audiences, Google audiences, or custom lists. The returned audience IDs go into dv360\_edit\_line\_item\_targeting TARGETING\_TYPE\_AUDIENCE\_GROUP create requests. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_audiences` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to list audiences for. | | `audience_kind` | string or SelectableOption | No | `{'value': 'FIRST_PARTY_AND_PARTNER', 'label': 'First-party & Partner'}` | Which audience resource to list: FIRST\_PARTY\_AND\_PARTNER (default; your own and partner audiences), COMBINED (combined audiences), GOOGLE\_AUDIENCE (Google's affinity/in-market audiences), or CUSTOM\_LIST (custom intent lists). The returned IDs are used in dv360\_edit\_line\_item\_targeting TARGETING\_TYPE\_AUDIENCE\_GROUP create requests. | | `search_query` | string | No | - | Optional text filter applied to the audience display names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of audiences to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns audiences with their IDs and details. **Fields**: dynamic (depend on the inputs) # List Campaigns Source: https://docs.markifact.com/nodes/dv360/dv360_list_campaigns Lists DV360 campaigns with full details, filterable by status Lists DV360 campaigns with full details, filterable by status. Budgets, bids, and goal amounts are returned in raw DV360 micros (divide by 1,000,000 for the advertiser currency). | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_campaigns` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser whose campaigns should be listed. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter by status: ACTIVE, PAUSED, DRAFT, and/or ARCHIVED. Returns all statuses when omitted. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of campaigns with full details. **Fields**: dynamic (depend on the inputs) # List Channel Sites Source: https://docs.markifact.com/nodes/dv360/dv360_list_channel_sites Lists the sites and apps inside a DV360 channel, with optional search Lists the sites and apps inside a DV360 channel, with optional search. Find channel IDs with dv360\_list\_channels. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_channel_sites` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the channel. | | `channel_id` | string or SelectItem | Yes | - | ID of the channel whose sites and apps to return. | | `search_query` | string | No | - | Optional text filter applied to site URLs / app IDs (server-side partial match). | | `limit` | integer | No | `1000` | Maximum number of sites to return. Default: 1000. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the list of sites in the channel. **Fields**: dynamic (depend on the inputs) # List Channels Source: https://docs.markifact.com/nodes/dv360/dv360_list_channels Lists DV360 channels (curated site/app groups) Lists DV360 channels (curated site/app groups). Channel IDs are used in dv360\_edit\_line\_item\_targeting TARGETING\_TYPE\_CHANNEL create requests. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_channels` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to list channels for. | | `search_query` | string | No | - | Optional text filter applied to channel display names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of channels to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns channels with their IDs and details. **Fields**: dynamic (depend on the inputs) # List Creatives Source: https://docs.markifact.com/nodes/dv360/dv360_list_creatives Lists creatives in a DV360 advertiser with type, dimensions, review status, and assigned line items Lists creatives in a DV360 advertiser with type, dimensions, review status, and assigned line items. Use it to find creative IDs for line item assignment and to check review status. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_creatives` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser whose creatives should be listed. | | `search_query` | string | No | - | Optional text filter applied to the creatives (case-insensitive match on any field, for example a name or type). | | `limit` | integer | No | `100` | Maximum number of creatives to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of creatives with full details. **Fields**: dynamic (depend on the inputs) # List Custom Bidding Algorithms Source: https://docs.markifact.com/nodes/dv360/dv360_list_custom_bidding_algorithms Lists DV360 custom bidding algorithms accessible to an advertiser, filterable by type Lists DV360 custom bidding algorithms accessible to an advertiser, filterable by type. Use the returned algorithm IDs in insertion order KPIs and line item bid strategies. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_custom_bidding_algorithms` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to list accessible custom bidding algorithms for. | | `algorithm_type` | string or SelectableOption | No | - | Optional filter by algorithm type. Options: 'SCRIPT\_BASED', 'RULE\_BASED'. | | `search_query` | string | No | - | Optional text filter applied to algorithm display names (server-side partial match). | | `limit` | integer | No | `100` | Maximum number of algorithms to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of custom bidding algorithms with full details. **Fields**: dynamic (depend on the inputs) # List Floodlight Activities Source: https://docs.markifact.com/nodes/dv360/dv360_list_floodlight_activities Lists DV360 floodlight activities (conversion tracking) in a floodlight group Lists DV360 floodlight activities (conversion tracking) in a floodlight group. Use the returned activity IDs for line item conversion counting. The floodlight group ID comes from the DV360 UI. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_floodlight_activities` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser. Its partner ID is resolved automatically for the floodlight lookup. | | `floodlight_group_id` | string or SelectItem | Yes | - | ID of the Floodlight group the activities belong to. Find it in the DV360 UI under the partner's Floodlight settings; there is no API method to list Floodlight groups. | | `search_query` | string | No | - | Optional text filter applied to activity display names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of floodlight activities to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the list of floodlight activities with full details. **Fields**: dynamic (depend on the inputs) # List Insertion Orders Source: https://docs.markifact.com/nodes/dv360/dv360_list_insertion_orders Lists DV360 insertion orders with full details, filterable by status and campaign Lists DV360 insertion orders with full details, filterable by status and campaign. Budgets, bids, and goal amounts are returned in raw DV360 micros (divide by 1,000,000 for the advertiser currency). | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_insertion_orders` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser whose insertion orders should be listed. | | `campaign_id` | string or SelectItem | No | - | Optional campaign ID to list only that campaign's insertion orders. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter by status: ACTIVE, PAUSED, DRAFT, and/or ARCHIVED. Returns all statuses when omitted. | | `limit` | integer | No | `100` | Maximum number of insertion orders to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of insertion orders with full details. **Fields**: dynamic (depend on the inputs) # List Inventory Sources Source: https://docs.markifact.com/nodes/dv360/dv360_list_inventory_sources Lists DV360 inventory sources (deals and private marketplaces) accessible to an advertiser Lists DV360 inventory sources (deals and private marketplaces) accessible to an advertiser. Use the returned IDs for inventory source targeting in dv360\_edit\_line\_item\_targeting. Rates are in raw micros. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_inventory_sources` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to list accessible inventory sources (deals and PMPs) for. | | `filter` | string | No | - | Optional raw DV360 filter using the official syntax with the EQUALS (=) operator, combinable with AND/OR. Supported fields: status.entityStatus, commitment, deliveryMethod, rateDetails.rateType, exchange. Archived inventory sources are excluded unless filtered for explicitly. Example: status.entityStatus="ENTITY\_STATUS\_ACTIVE" | | `search_query` | string | No | - | Optional text filter applied to inventory source display names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of inventory sources to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of inventory sources with full details. **Fields**: dynamic (depend on the inputs) # List Line Item Targeting Source: https://docs.markifact.com/nodes/dv360/dv360_list_line_item_targeting Lists the targeting currently assigned to DV360 line items, including assigned targeting option IDs needed to remove targeting via dv360_edit_line_item_targeting Lists the targeting currently assigned to DV360 line items, including assigned targeting option IDs needed to remove targeting via dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_line_item_targeting` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the line items. | | `line_item_ids` | array of string (also accepts a comma-separated string) | Yes | - | DV360 line item IDs to list assigned targeting for, as a list or comma-separated text. | | `limit` | integer | No | `500` | Maximum number of assigned targeting options to return. Default: 500. | ## Output **Type**: `List[Dict]` Returns assigned targeting options per line item. **Fields**: dynamic (depend on the inputs) # List Line Items Source: https://docs.markifact.com/nodes/dv360/dv360_list_line_items Lists DV360 line items with full details, filterable by status, campaign, and insertion order Lists DV360 line items with full details, filterable by status, campaign, and insertion order. Budgets, bids, and goal amounts are returned in raw DV360 micros (divide by 1,000,000 for the advertiser currency). | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_line_items` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser whose line items should be listed. | | `campaign_id` | string or SelectItem | No | - | Optional campaign ID to list only that campaign's line items. | | `insertion_order_id` | string or SelectItem | No | - | Optional insertion order ID to list only its line items. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter by status: ACTIVE, PAUSED, DRAFT, and/or ARCHIVED. Returns all statuses when omitted. | | `limit` | integer | No | `100` | Maximum number of line items to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of line items with full details. **Fields**: dynamic (depend on the inputs) # List Location Lists Source: https://docs.markifact.com/nodes/dv360/dv360_list_location_lists Lists DV360 location lists (regional or proximity) for an advertiser Lists DV360 location lists (regional or proximity) for an advertiser. Use the returned list IDs for geo list targeting in dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_location_lists` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to list location lists for. | | `location_type` | string or SelectableOption | No | - | Optional filter by location list type. Options: 'TARGETING\_LOCATION\_TYPE\_REGIONAL', 'TARGETING\_LOCATION\_TYPE\_PROXIMITY'. | | `search_query` | string | No | - | Optional text filter applied to location list display names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of location lists to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of location lists. **Fields**: dynamic (depend on the inputs) # List Negative Keyword Lists Source: https://docs.markifact.com/nodes/dv360/dv360_list_negative_keyword_lists Lists DV360 negative keyword lists for an advertiser Lists DV360 negative keyword lists for an advertiser. Use the returned list IDs in the keyword management operations and for negative keyword list targeting in dv360\_edit\_line\_item\_targeting. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_negative_keyword_lists` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to list negative keyword lists for. | | `search_query` | string | No | - | Optional text filter applied to list display names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of negative keyword lists to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of negative keyword lists. **Fields**: dynamic (depend on the inputs) # List Negative Keywords Source: https://docs.markifact.com/nodes/dv360/dv360_list_negative_keywords Lists the keywords inside a DV360 negative keyword list, with optional keyword search Lists the keywords inside a DV360 negative keyword list, with optional keyword search. Find list IDs with dv360\_list\_negative\_keyword\_lists. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_negative_keywords` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the negative keyword list. | | `negative_keyword_list_id` | string or SelectItem | Yes | - | ID of the negative keyword list whose keywords to return. | | `search_query` | string | No | - | Optional text filter applied to keyword values (server-side partial match). | | `limit` | integer | No | `1000` | Maximum number of keywords to return. Default: 1000. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the list of negative keywords. **Fields**: dynamic (depend on the inputs) # List Report Fields Source: https://docs.markifact.com/nodes/dv360/dv360_list_report_fields Search and browse available DV360 reporting metrics and dimensions before running reports Search and browse available DV360 reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(cost|impressions).*'}]. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Replace Channel Sites Source: https://docs.markifact.com/nodes/dv360/dv360_replace_channel_sites Replaces ALL sites and apps in a DV360 channel with a new set (or clears the channel) Replaces ALL sites and apps in a DV360 channel with a new set (or clears the channel). Prefer dv360\_edit\_channel\_sites for incremental changes. This method can be slow on large channels. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_replace_channel_sites` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the channel. | | `channel_id` | string or SelectItem | Yes | - | ID of the channel whose sites to replace. | | `sites` | string or array of string | No | - | The complete new set of site URLs or app IDs, as a list or newline-separated text; all existing sites are replaced with exactly this set. Required unless clear\_all is true. | | `clear_all` | boolean | No | `False` | When true, remove every site from the channel (replaces with an empty set). sites must be left empty. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the final site set now in the channel. **Fields**: `channel_id`, `site_count`, `sites` # Replace Negative Keywords Source: https://docs.markifact.com/nodes/dv360/dv360_replace_negative_keywords Replaces ALL keywords in a DV360 negative keyword list with a new set (or clears the list entirely) Replaces ALL keywords in a DV360 negative keyword list with a new set (or clears the list entirely). Existing keywords not in the new set are removed. Prefer dv360\_edit\_negative\_keywords for incremental add/remove changes. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_replace_negative_keywords` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the negative keyword list. | | `negative_keyword_list_id` | string or SelectItem | Yes | - | ID of the negative keyword list whose keywords to replace. | | `keywords` | string or array of string | No | - | The complete new set of keywords, as a list or newline/comma separated text; all existing keywords are replaced with exactly this set. Each keyword: ASCII only, max 80 characters and 10 words. Required unless clear\_all is true. | | `clear_all` | boolean | No | `False` | When true, remove every keyword from the list (replaces with an empty set). keywords must be left empty. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the final keyword set now in the list. **Fields**: `negative_keyword_list_id`, `keyword_count`, `negative_keywords` # Search Targeting Options Source: https://docs.markifact.com/nodes/dv360/dv360_search_targeting_options Searches DV360 targeting options (geo regions, age ranges, browsers, devices, languages, categories, POIs, business chains, and more) and returns targeting option IDs ready for dv360_edit_line_item... Searches DV360 targeting options (geo regions, age ranges, browsers, devices, languages, categories, POIs, business chains, and more) and returns targeting option IDs ready for dv360\_edit\_line\_item\_targeting create requests. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_search_targeting_options` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to search targeting options for. | | `targeting_type` | string or SelectableOption | Yes | - | Which targeting dimension to search, as the official DV360 TARGETING\_TYPE\_\* value. The returned targetingOptionId values go into dv360\_edit\_line\_item\_targeting create requests. GEO\_REGION, POI, and BUSINESS\_CHAIN use DV360's keyword search; other types are listed and filtered by the query. | | `search_query` | string | No | - | Search text. Required for TARGETING\_TYPE\_POI and TARGETING\_TYPE\_BUSINESS\_CHAIN; recommended for TARGETING\_TYPE\_GEO\_REGION (for example 'germany'). For other types it filters the option list case-insensitively. | | `business_chain_region_query` | string | No | - | TARGETING\_TYPE\_BUSINESS\_CHAIN only: the region to search the business chain in (sent as businessChainSearchTerms.regionQuery). | | `limit` | integer | No | `100` | Maximum options to return. Default 100, max 1000. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns matching targeting options with their IDs and details. **Fields**: dynamic (depend on the inputs) # Select Accounts Source: https://docs.markifact.com/nodes/dv360/dv360_select_accounts Select DV360 advertiser accounts once and reuse them across multiple dv360_get_report nodes—no repeated account selection Select DV360 advertiser accounts once and reuse them across multiple dv360\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one dv360\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_select_accounts` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name), value (account ID), and partnerId. **Fields**: `label`, `value`, `partnerId` # Update Campaign Source: https://docs.markifact.com/nodes/dv360/dv360_update_campaign Advanced: partially updates a DV360 campaign from a raw v4 field payload with an update mask; only masked fields change and micros values are raw Advanced: partially updates a DV360 campaign from a raw v4 field payload with an update mask; only masked fields change and micros values are raw. The mask is derived from the payload when omitted. Prefer the dedicated operations (status updates via dv360\_update\_campaign\_status) for simple changes. Supports dry\_run. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_campaign` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | ID of the DV360 campaign to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object using the official DV360 v4 camelCase field names, sent as-is with raw micros values. Only the fields named in the update mask are changed. Common editable fields: displayName, campaignGoal, campaignFlight (plannedDates, plannedSpendAmountMicros), frequencyCap, and entityStatus (ACTIVE, PAUSED, ARCHIVED as ENTITY\_STATUS\_\*). Prefer the dedicated operations (dv360\_update\_campaign\_status) for simple changes. Example: \{"campaignFlight": \{"plannedDates": \{"endDate": \{"year": 2026, "month": 12, "day": 31}}}} | | `update_mask` | string | No | - | Optional comma-separated DV360 update mask. When omitted, it is derived from the top-level keys of update\_payload. Provide it explicitly for nested masks, for example campaignFlight.plannedDates or budget.budgetSegments. | | `dry_run` | boolean | No | `False` | When true, do not call DV360. Return the resolved update mask and payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the update mask, payload, and updated campaign. **Fields**: `campaign_id`, `update_mask`, `payload`, `dry_run` # Update Campaign Status Source: https://docs.markifact.com/nodes/dv360/dv360_update_campaign_status Enables, pauses, archives, or permanently deletes DV360 campaigns Enables, pauses, archives, or permanently deletes DV360 campaigns. DELETED cannot be undone and requires the campaign to be archived first. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_campaign_status` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select DV360 advertiser account to update campaigns in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string | No | - | The campaign ID to update (required for single update) | | `status` | string or SelectableOption | No | - | Select the new status for the campaign. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED' (required for single update). DELETED permanently deletes the campaign and cannot be undone; the campaign must be ARCHIVED first. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'status' fields for each row (required for bulk update) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Update Channel Source: https://docs.markifact.com/nodes/dv360/dv360_update_channel Updates a DV360 channel's display name (the only editable field) Updates a DV360 channel's display name (the only editable field). Edit the channel's sites with dv360\_edit\_channel\_sites. Channels cannot be deleted via the API. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_channel` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the channel. | | `channel_id` | string or SelectItem | Yes | - | ID of the channel to update. | | `name` | string | Yes | - | New display name for the channel (the only editable field). Edit the channel's sites with dv360\_edit\_channel\_sites. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated channel. **Fields**: `channel_id`, `channel_name` # Update Creative Source: https://docs.markifact.com/nodes/dv360/dv360_update_creative Advanced: partially updates a DV360 creative from a raw v4 field payload with an update mask; only masked fields change Advanced: partially updates a DV360 creative from a raw v4 field payload with an update mask; only masked fields change. Use entityStatus to activate, pause, or archive a creative. The mask is derived from the payload when omitted. Supports dry\_run. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_creative` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the creative. | | `creative_id` | string or SelectItem | Yes | - | ID of the DV360 creative to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Creative fields to update as a JSON object using the official DV360 v4 camelCase field names, sent as-is. Only the fields named in the update mask are changed. Common editable fields: entityStatus (ENTITY\_STATUS\_ACTIVE, ENTITY\_STATUS\_PAUSED, or ENTITY\_STATUS\_ARCHIVED to retire a creative), displayName, exitEvents, notes, and thirdPartyUrls. Example: \{"entityStatus": "ENTITY\_STATUS\_PAUSED"} | | `update_mask` | string | No | - | Optional comma-separated DV360 update mask. When omitted, it is derived from the top-level keys of update\_payload. Provide it explicitly for nested masks. | | `dry_run` | boolean | No | `False` | When true, do not call DV360. Return the resolved update mask and payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the update mask, payload, and updated creative. **Fields**: `creative_id`, `update_mask`, `payload`, `dry_run` # Update Insertion Order Source: https://docs.markifact.com/nodes/dv360/dv360_update_insertion_order Advanced: partially updates a DV360 insertion order from a raw v4 field payload with an update mask; only masked fields change and micros values are raw Advanced: partially updates a DV360 insertion order from a raw v4 field payload with an update mask; only masked fields change and micros values are raw. The mask is derived from the payload when omitted. Prefer the dedicated operations (dv360\_update\_insertion\_order\_status, dv360\_update\_insertion\_order\_budget) for simple changes. Supports dry\_run. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_insertion_order` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the insertion order. | | `insertion_order_id` | string or SelectItem | Yes | - | ID of the DV360 insertion order to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Insertion order fields to update as a JSON object using the official DV360 v4 camelCase field names, sent as-is with raw micros values. Only the fields named in the update mask are changed. Common editable fields: displayName, kpi, pacing (dailyMaxMicros raw), budget (budgetSegments with budgetAmountMicros raw), bidStrategy, optimizationObjective, frequencyCap, and entityStatus. Prefer the dedicated operations (dv360\_update\_insertion\_order\_status and dv360\_update\_insertion\_order\_budget) for simple changes. Example: \{"pacing": \{"pacingPeriod": "PACING\_PERIOD\_DAILY", "pacingType": "PACING\_TYPE\_EVEN", "dailyMaxMicros": "200000000"}} | | `update_mask` | string | No | - | Optional comma-separated DV360 update mask. When omitted, it is derived from the top-level keys of update\_payload. Provide it explicitly for nested masks, for example campaignFlight.plannedDates or budget.budgetSegments. | | `dry_run` | boolean | No | `False` | When true, do not call DV360. Return the resolved update mask and payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the update mask, payload, and updated insertion order. **Fields**: `insertion_order_id`, `update_mask`, `payload`, `dry_run` # Update Insertion Order Budget Source: https://docs.markifact.com/nodes/dv360/dv360_update_insertion_order_budget Updates or creates budget segments for DV360 insertion orders Updates or creates budget segments for DV360 insertion orders | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_insertion_order_budget` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select DV360 advertiser account | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single insertion order or multiple at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `budget_mode` | string or SelectableOption | No | - | 'edit' modifies the in-flight segment (or the only segment if just one exists). 'create' adds a new budget period. Options: 'edit' (Edit Current Segment), 'create' (Create New Segment). Required for single update, included per row for bulk. | | `insertion_order_id` | string | No | - | The insertion order ID to update (required for single update) | | `budget_amount` | number | No | - | Budget amount in standard units. For currency-based budgets: e.g., 5000 for \$5,000 (converted to micros automatically). For impression-based budgets: the plain impression count, e.g., 5000 for 5,000 impressions (sent as-is). The insertion order's budget unit is detected automatically. | | `end_date` | string | No | - | End date in YYYY-MM-DD format (required for 'create' mode, optional for 'edit' mode) | | `start_date` | string | No | - | Start date in YYYY-MM-DD format (required for 'create' mode) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk updates. Required fields: 'insertion\_order\_id', 'budget\_mode' ('edit' or 'create'). For 'edit' mode: at least one of 'budget\_amount' or 'end\_date'. For 'create' mode: 'budget\_amount', 'start\_date', and 'end\_date' are all required. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming budget update. # Update Insertion Order Status Source: https://docs.markifact.com/nodes/dv360/dv360_update_insertion_order_status Enables, pauses, archives, or permanently deletes DV360 insertion orders Enables, pauses, archives, or permanently deletes DV360 insertion orders. DELETED cannot be undone and requires the insertion order to be archived first. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_insertion_order_status` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select DV360 advertiser account to update insertion orders in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single insertion order or multiple insertion orders at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `insertion_order_id` | string | No | - | The insertion order ID to update (required for single update) | | `status` | string or SelectableOption | No | - | Select the new status for the insertion order. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED' (required for single update). DELETED permanently deletes the insertion order and cannot be undone; the insertion order must be ARCHIVED first. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'insertion\_order\_id' and 'status' fields for each row (required for bulk update) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming insertion order status update. # Update Line Item Source: https://docs.markifact.com/nodes/dv360/dv360_update_line_item Advanced: partially updates a DV360 line item from a raw v4 field payload with an update mask; only masked fields change and micros values are raw Advanced: partially updates a DV360 line item from a raw v4 field payload with an update mask; only masked fields change and micros values are raw. The mask is derived from the payload when omitted. Prefer the dedicated operations (dv360\_update\_line\_item\_status, dv360\_update\_line\_item\_budget) for simple changes. Supports dry\_run. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_line_item` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the line item. | | `line_item_id` | string or SelectItem | Yes | - | ID of the DV360 line item to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Line item fields to update as a JSON object using the official DV360 v4 camelCase field names, sent as-is with raw micros values. Only the fields named in the update mask are changed. Common editable fields: displayName, flight, budget (maxAmount raw micros), pacing, bidStrategy, partnerRevenueModel, conversionCounting, creativeIds, frequencyCap, entityStatus, and containsEuPoliticalAds (CONTAINS\_EU\_POLITICAL\_ADVERTISING or DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING; DV360 requires it before editing targeting on line items that lack a declaration). Prefer the dedicated operations (dv360\_update\_line\_item\_status and dv360\_update\_line\_item\_budget) for simple changes. Example: \{"bidStrategy": \{"fixedBid": \{"bidAmountMicros": "2000000"}}} | | `update_mask` | string | No | - | Optional comma-separated DV360 update mask. When omitted, it is derived from the top-level keys of update\_payload. Provide it explicitly for nested masks, for example campaignFlight.plannedDates or budget.budgetSegments. | | `dry_run` | boolean | No | `False` | When true, do not call DV360. Return the resolved update mask and payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the update mask, payload, and updated line item. **Fields**: `line_item_id`, `update_mask`, `payload`, `dry_run` # Update Line Item Budget Source: https://docs.markifact.com/nodes/dv360/dv360_update_line_item_budget Updates budget allocation type and amount for DV360 line items Updates budget allocation type and amount for DV360 line items | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_line_item_budget` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select DV360 advertiser account | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single line item or multiple at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `line_item_id` | string | No | - | The line item ID to update (required for single update) | | `budget_allocation_type` | string or SelectableOption | No | - | Budget allocation type. Options: 'AUTOMATIC' (inherit from IO), 'FIXED' (fixed max budget), 'UNLIMITED' (no budget limit). Required for single update. | | `max_amount` | number | No | - | Max budget amount in standard units (e.g., 5000 for \$5,000). Only applicable when budget\_allocation\_type is FIXED. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk updates. Required fields: 'line\_item\_id', 'budget\_allocation\_type' (AUTOMATIC, FIXED, or UNLIMITED). 'max\_amount' is required when budget\_allocation\_type is FIXED. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming line item budget update. # Update Line Item Status Source: https://docs.markifact.com/nodes/dv360/dv360_update_line_item_status Enables, pauses, archives, or permanently deletes DV360 line items Enables, pauses, archives, or permanently deletes DV360 line items. DELETED cannot be undone and requires the line item to be archived first. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_line_item_status` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select DV360 advertiser account to update line items in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single line item or multiple line items at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `line_item_id` | string | No | - | The line item ID to update (required for single update) | | `status` | string or SelectableOption | No | - | Select the new status for the line item. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED' (required for single update). DELETED permanently deletes the line item and cannot be undone; the line item must be ARCHIVED first. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'line\_item\_id' and 'status' fields for each row (required for bulk update) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming line item status update. # Update Location List Source: https://docs.markifact.com/nodes/dv360/dv360_update_location_list Updates a DV360 location list's display name (the only editable field; locationType is immutable) Updates a DV360 location list's display name (the only editable field; locationType is immutable). Location lists cannot be deleted via the API. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_location_list` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the location list. | | `location_list_id` | string or SelectItem | Yes | - | ID of the location list to update. | | `name` | string | Yes | - | New display name (max 240 bytes UTF-8). displayName is the only editable field; locationType is immutable. Edit the locations themselves with dv360\_edit\_assigned\_locations. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated location list. **Fields**: `location_list_id`, `location_list_name` # Update Negative Keyword List Source: https://docs.markifact.com/nodes/dv360/dv360_update_negative_keyword_list Updates a DV360 negative keyword list's display name (the only editable field on the list) Updates a DV360 negative keyword list's display name (the only editable field on the list). Edit the keywords themselves with dv360\_edit\_negative\_keywords or dv360\_replace\_negative\_keywords. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_update_negative_keyword_list` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the negative keyword list. | | `negative_keyword_list_id` | string or SelectItem | Yes | - | ID of the negative keyword list to update. | | `name` | string | Yes | - | New display name for the negative keyword list (max 255 bytes UTF-8). displayName is the only editable field on the list; edit the keywords themselves with dv360\_edit\_negative\_keywords. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated negative keyword list. **Fields**: `negative_keyword_list_id`, `negative_keyword_list_name` # Upload Asset Source: https://docs.markifact.com/nodes/dv360/dv360_upload_asset Uploads a creative asset file (image, HTML5 zip, video, or audio) to a DV360 advertiser and returns the media_id for use in dv360_create_creative asset objects Uploads a creative asset file (image, HTML5 zip, video, or audio) to a DV360 advertiser and returns the media\_id for use in dv360\_create\_creative asset objects. | | | | - | - | | **App** | DV360 | | **Operation ID** | `dv360_upload_asset` | | **Type** | Action | | **Connection** | `dv360` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the DV360 advertiser to upload the asset to. | | `media_url` | string | Yes | - | File to upload as a creative asset (image, HTML5 zip, video, or audio). Accepts a direct URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded file. The returned media\_id is referenced in dv360\_create\_creative asset objects. | | `filename` | string | No | - | Optional filename for the asset (with extension). Defaults to the file name from the URL. | ## Output **Type**: `Dict` Returns the uploaded asset's media ID. **Fields**: `media_id`, `filename`, `mimetype`, `asset` # Send Source: https://docs.markifact.com/nodes/email/email_send Sends emails using @markifactmail.com email addresses with customizable recipients, subject, body content, and attachment support Sends emails using @markifactmail.com email addresses with customizable recipients, subject, body content, and attachment support. The body renders markdown content automatically which is the recommended format for AI nodes. This is the preferred email sending method for most users. | | | | - | - | | **App** | Email | | **Operation ID** | `email_send` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `to` | string | No | - | The recipient email address(es), comma-separated. Leave empty to send the email to the Markifact account email of the user running the operation, which is useful for scheduled tasks that report back to their owner without hardcoding an address. | | `cc` | string | No | - | The CC email address(es), comma-separated. | | `subject` | string | Yes | - | The email subject. | | `body_type` | string or SelectableOption | Yes | - | The body type for the email. Available options: 'text' : this is the default body type used most of the time. This support markdown formatting, you should use most of the time and don't worry about conversion. Just pick it especially for AI nodes. 'html' : this is used when you want to send an email with HTML content. This is rarely used, use it only when you have custom styling or HTML content that you want to send as is. | | `body` | string | Yes | - | The email body. - For AI nodes output, use them as is and keep 'markdown' formatting. They will be converted automatically. Don't use HTML with AI nodes. - For reporting nodes like Google Ads, GA4, etc. - Don't add the entire reporting data output in body, instead use 'csv' attachment format to send the data as a CSV file. - When using text/markdown formatting and you have multiple sections, use markdown headers (e.g., ## Section Title) to separate them. | | `include_attachment` | boolean | No | `False` | Whether to include an attachment. Default is false. Only ONE attachment is allowed per email. Don't use attachment unless you are instructed to do so, users say they want to send an email with attachments, otherwise leave it false and use the body | | `attachment_format` | string or SelectableOption | No | - | The attachment format. Available options: 'csv' : Use this to send data from reporting nodes like Google Ads, Facebook, etc. It will convert the data to CSV format automatically. You can only include one output in the attachment data for CSV format. 'pdf' : Use this to send text or markdown content as a PDF attachment. It will convert the body content to PDF format automatically. You can combine multiple outputs in the attachment data for PDF format. 'txt' : Use this to send plain text files. It is suitable for simple text data without any formatting. 'json' : Use this to send structured data in JSON format. It is ideal for API responses or complex data structures. 'xlsx' : Use this to send rows of data as an Excel workbook, for example report or lead rows. One sheet, one column per field. You can only include one output in the attachment data for XLSX format. | | `attachment_data` | any | No | - | The attachment data. This will be mainly the output of upstream nodes in the workflow. Don't worry about data conversion, it will be handled automatically. AI node content can be used directly in the body, no need to attach it separately except if user specifically requests it and in this case use PDF format it will convert markdown to PDF automatically. | | `attachment_name` | string | No | - | The attachment file name, no spaces are allowed. Don't put the extension here, it will be added automatically based on the attachment format. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming email sent. # Send SMTP Source: https://docs.markifact.com/nodes/email/email_send_smtp Sends emails using your own SMTP server like Gmail, Outlook, Yahoo, or any custom SMTP provider Sends emails using your own SMTP server like Gmail, Outlook, Yahoo, or any custom SMTP provider. Supports customizable recipients, subject, body content, and attachment support. The body renders markdown content automatically which is the recommended format for AI nodes. | | | | - | - | | **App** | Email | | **Operation ID** | `email_send_smtp` | | **Type** | Action | | **Connection** | `smtp` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `to` | string | No | - | The recipient email address(es), comma-separated. Leave empty to send the email to the Markifact account email of the user running the operation, which is useful for scheduled tasks that report back to their owner without hardcoding an address. | | `cc` | string | No | - | The CC email address(es), comma-separated. | | `subject` | string | Yes | - | The email subject. | | `body_type` | string or SelectableOption | Yes | - | The body type for the email. Available options: 'text' : this is the default body type used most of the time. This support markdown formatting, you should use most of the time and don't worry about conversion. Just pick it especially for AI nodes. 'html' : this is used when you want to send an email with HTML content. This is rarely used, use it only when you have custom styling or HTML content that you want to send as is. | | `body` | string | Yes | - | The email body. - For AI nodes output, use them as is and keep 'markdown' formatting. They will be converted automatically. Don't use HTML with AI nodes. - For reporting nodes like Google Ads, GA4, etc. - Don't add the entire reporting data output in body, instead use 'csv' attachment format to send the data as a CSV file. - When using text/markdown formatting and you have multiple sections, use markdown headers (e.g., ## Section Title) to separate them. | | `include_attachment` | boolean | No | `False` | Whether to include an attachment. Default is false. Only ONE attachment is allowed per email. Don't use attachment unless you are instructed to do so, users say they want to send an email with attachments, otherwise leave it false and use the body | | `attachment_format` | string or SelectableOption | No | - | The attachment format. Available options: 'csv' : Use this to send data from reporting nodes like Google Ads, Facebook, etc. It will convert the data to CSV format automatically. You can only include one output in the attachment data for CSV format. 'pdf' : Use this to send text or markdown content as a PDF attachment. It will convert the body content to PDF format automatically. You can combine multiple outputs in the attachment data for PDF format. 'txt' : Use this to send plain text files. It is suitable for simple text data without any formatting. 'json' : Use this to send structured data in JSON format. It is ideal for API responses or complex data structures. 'xlsx' : Use this to send rows of data as an Excel workbook, for example report or lead rows. One sheet, one column per field. You can only include one output in the attachment data for XLSX format. | | `attachment_data` | any | No | - | The attachment data. This will be mainly the output of upstream nodes in the workflow. Don't worry about data conversion, it will be handled automatically. AI node content can be used directly in the body, no need to attach it separately except if user specifically requests it and in this case use PDF format it will convert markdown to PDF automatically. | | `attachment_name` | string | No | - | The attachment file name, no spaces are allowed. Don't put the extension here, it will be added automatically based on the attachment format. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming email sent via SMTP. # Custom Facebook App Source: https://docs.markifact.com/nodes/facebook/facebook_custom_app Connect Facebook through your own Meta app (white-label) by pasting a System User access token from your Business Manager. Markifact supports two ways to connect Facebook: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Meta app** (Custom App). With a custom app, every request Markifact makes runs under your app in the Page's activity and business integrations, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Access token** | A System User token from your Meta app (never expires) | | **Required permissions** | `pages_show_list`, `pages_read_engagement`, `pages_manage_posts`, `business_management` | | **Assets assigned to the system user** | the Facebook Pages you want to publish to and report on | > [card] [Create the app and generate the token](/core-concepts/custom-meta-app) > > The Meta setup (app, system user, assigned assets, token) is the same for every Meta channel and lives on one page, including the optional permissions per channel. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Facebook**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Facebook"). This is how the connection appears in nodes, agents, and MCP. **3. Paste the access token** Paste the **Access Token** generated for your system user. **4. Verify & Connect** Markifact makes one Graph API call that reads the token owner and the first Page it can reach. Nothing is saved unless that call succeeds. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new token. Markifact replaces the stored token in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] The token is valid, but it cannot see any Facebook Pages > > Assign the Pages to the system user under **Business Settings** > **Users** > **System users** > **Assign assets**, then generate a new token. > [accordion] Listing posts returns no comments or reactions > > Those fields need `pages_read_user_content`. Generate a new token with it and add the connection again with the same name. > [accordion] Token or permission errors > > See the shared [Custom Meta App](/core-concepts/custom-meta-app#troubleshooting) troubleshooting for expired tokens, missing permissions and the app secret setting. *** ## Related > [card] [Custom Meta App](/core-concepts/custom-meta-app) > > Create the app and generate a System User token > [card] [Publish Post](/nodes/facebook/facebook_publish_post) > > Publish to a Facebook Page # Delete Post Source: https://docs.markifact.com/nodes/facebook/facebook_delete_post Permanently deletes a Facebook Page post Permanently deletes a Facebook Page post. Deleting a scheduled post cancels it before it goes live. | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_delete_post` | | **Type** | Action | | **Connection** | `facebook` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | Select the Facebook Page the post belongs to, ask the user for it if not provided | | `post_id` | string | No | - | ID of the post to delete, in the pageid\_postid format returned by facebook\_list\_posts and facebook\_publish\_post. Deleting a scheduled post cancels it. Deletion is permanent. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the deleted post id and status. **Fields**: `post_id`, `page_id`, `page_name`, `status` **Example**: ```json theme={"dark"} { "post_id": "1234567890_9876543210", "page_id": "1234567890", "page_name": "My Page", "status": "deleted" } ``` # List Posts Source: https://docs.markifact.com/nodes/facebook/facebook_list_posts Lists a Facebook Page's published posts with engagement counts, or its scheduled post queue Lists a Facebook Page's published posts with engagement counts, or its scheduled post queue. Only works for Pages included in the user's Facebook connection; public Pages the user does not manage are not supported. Reaction and comment counts can come back empty depending on the Page access; use facebook\_page\_insights for post metrics and stats. Useful for finding post IDs to boost with meta\_ads\_create\_ad\_from\_post or to update and delete later. | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_list_posts` | | **Type** | Action | | **Connection** | `facebook` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | Select the Facebook Page to list posts from, ask the user for it if not provided. Must be a Page included in the Facebook connection (use facebook\_select\_pages to see them); public Pages the user does not manage are not supported. | | `post_status` | string or SelectableOption | No | `published` | Which posts to list. Available options: 'published' (default, recent posts with engagement counts) or 'scheduled' (the queue of posts scheduled for later). | | `since` | string | No | - | Only include published posts created on or after this date (YYYY-MM-DD). Ignored for scheduled posts. | | `until` | string | No | - | Only include published posts created on or before this date (YYYY-MM-DD). Ignored for scheduled posts. | | `limit` | integer or string | No | `25` | Maximum number of posts to return, between 1 and 100. Default is 25. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a list of posts. Published posts include permalink and engagement counts; scheduled posts include the scheduled publish time. image\_url is the post's full\_picture and attachments is Meta's raw attachments payload (media image/video source URLs, targets, subattachments per photo). Media URLs are signed CDN links that expire after a few days, so use them right away rather than storing them. **Fields**: `post_id`, `message`, `created_time`, `media_type`, `status`, `image_url`, `attachments`, `permalink_url`, `reactions`, `comments`, `shares`, `scheduled_publish_time` **Example**: ```json theme={"dark"} [ { "post_id": "1234567890_9876543210", "message": "Big news!", "created_time": "2026-08-01T10:00:00+0000", "media_type": "photo", "status": "published", "image_url": "https://scontent.xx.fbcdn.net/..." } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/facebook/facebook_list_report_fields Search and browse available Facebook Pages reporting metrics and dimensions before running reports Search and browse available Facebook Pages reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(impressions|reach).*'}]. | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Page Insights Source: https://docs.markifact.com/nodes/facebook/facebook_page_insights Retrieves analytics and performance metrics for Facebook pages Retrieves analytics and performance metrics for Facebook pages | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_page_insights` | | **Type** | Action | | **Connection** | `facebook` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "pageName": "MyPage", "pageEngagedUsers": 1200, "pageImpressions": 45000, "pageReach": 30000 } ] ``` # Publish Post Source: https://docs.markifact.com/nodes/facebook/facebook_publish_post Publishes a post to a Facebook Page: text, link, photo, video, reel, or a 24 hour story Publishes a post to a Facebook Page: text, link, photo, video, reel, or a 24 hour story. Supports publishing immediately or scheduling for later (stories cannot be scheduled). | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_publish_post` | | **Type** | Action | | **Connection** | `facebook` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | Select the Facebook Page to publish to, ask the user for it if not provided | | `post_type` | string or SelectableOption | Yes | - | Type of post to publish. Available options: 'text' (message only), 'link' (message with a link preview), 'photo' (1 to 10 images), 'video' (regular feed video), 'reel' (vertical video), 'story' (24 hour story from ONE image or ONE video; no text and no scheduling, video stories are vertical 9:16 and roughly 3 to 60 seconds). | | `message` | string | No | - | The post text. Required for text and link posts. For photo posts it becomes the caption, for videos and reels the description. | | `link` | string | No | - | URL to share for link posts (e.g. `https://example.com`). Facebook renders a link preview. | | `image_urls` | string or array of string | No | - | Image(s) for photo posts: a single URL, a list of URLs, or one string with URLs separated by commas or new lines. 1 to 10 images (photo stories accept exactly one). Accepts direct image URLs or Google Drive share links with sharing set to 'Anyone with the link'. URLs must be publicly reachable since Facebook downloads them server side. | | `video_url` | string | No | - | Video for video, reel, and video story posts. Accepts a direct video URL or a Google Drive share link with sharing set to 'Anyone with the link'. Must be publicly reachable. Reels must be vertical 9:16, at least 540x960, roughly 3 to 90 seconds; video stories are the same but up to roughly 60 seconds. | | `video_title` | string | No | - | Optional title for video posts. Not used for reels. | | `publish_mode` | string or SelectableOption | No | `now` | Choose 'now' to publish immediately (default) or 'scheduled' to schedule for later. | | `scheduled_publish_time` | string or integer or number | No | - | When to publish, required when publish\_mode is 'scheduled'. Accepts a unix timestamp in seconds, 'YYYY-MM-DD HH:MM' interpreted as UTC, or ISO 8601 with a timezone offset. Must be at least 10 minutes in the future. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created post details. Videos and reels are processed by Facebook in the background, so the post can take a few minutes to appear. **Fields**: `post_id`, `post_url`, `page_id`, `page_name`, `post_type`, `status` **Example**: ```json theme={"dark"} { "post_id": "1234567890_9876543210", "post_url": "https://www.facebook.com/1234567890_9876543210", "page_id": "1234567890", "page_name": "My Page", "post_type": "photo", "status": "published" } ``` # Select Pages Source: https://docs.markifact.com/nodes/facebook/facebook_select_pages Select Facebook Pages once and reuse them across multiple facebook_page_insights nodes—no repeated page selection Select Facebook Pages once and reuse them across multiple facebook\_page\_insights nodes—no repeated page selection. You can also select and list all available pages. Skip if you have just one facebook\_page\_insights node, as it already includes its own picker. | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_select_pages` | | **Type** | Action | | **Connection** | `facebook` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of pages with label (page name) and value (page ID). **Fields**: `label`, `value` # Update Post Source: https://docs.markifact.com/nodes/facebook/facebook_update_post Updates an existing Facebook Page post: edit the text, reschedule a scheduled post, or publish a scheduled post immediately Updates an existing Facebook Page post: edit the text, reschedule a scheduled post, or publish a scheduled post immediately. Media cannot be changed. | | | | - | - | | **App** | Facebook Organic | | **Operation ID** | `facebook_update_post` | | **Type** | Action | | **Connection** | `facebook` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | Select the Facebook Page the post belongs to, ask the user for it if not provided | | `post_id` | string | No | - | ID of the post to update, in the pageid\_postid format returned by facebook\_list\_posts and facebook\_publish\_post. The post's media cannot be changed, only its text and schedule. | | `message` | string | No | - | New text for the post. Leave empty to keep the current text. | | `scheduled_publish_time` | string or integer or number | No | - | New publish time for a SCHEDULED post (reschedule). Accepts a unix timestamp in seconds, 'YYYY-MM-DD HH:MM' interpreted as UTC, or ISO 8601 with a timezone offset. Must be at least 10 minutes in the future. Only works on posts that are not yet published. | | `publish_now` | boolean | No | - | Set to True to publish a SCHEDULED post immediately instead of waiting for its scheduled time. Cannot be combined with scheduled\_publish\_time. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated post details and which fields were changed. **Fields**: `post_id`, `post_url`, `page_id`, `page_name`, `updated`, `status` **Example**: ```json theme={"dark"} { "post_id": "1234567890_9876543210", "post_url": "https://www.facebook.com/1234567890_9876543210", "page_id": "1234567890", "page_name": "My Page", "updated": [ "message" ], "status": "updated" } ``` # Btn Trigger Source: https://docs.markifact.com/nodes/flow_control/flow_control_btn_trigger Creates on-demand executable branches that run ONLY when manually clicked, never during automatic workflow execution Creates on-demand executable branches that run ONLY when manually clicked, never during automatic workflow execution. Nodes connected to this trigger are excluded from main workflow runs (scheduler, manual run, other triggers) and execute in isolation when the button is clicked. Multiple button triggers can exist in the same workflow for different on-demand actions. | | | | - | - | | **App** | Button Trigger | | **Operation ID** | `flow_control_btn_trigger` | | **Type** | Trigger | | **Connection** | None | | **Credits per run** | Free | ## Inputs This node takes no inputs. ## Output **Type**: `None` Returns nothing. Trigger node that starts workflow branch on click. # Create Input Source: https://docs.markifact.com/nodes/flow_control/flow_control_create_input Creates custom input/variable/constant fields that can be used in the workflow Creates custom input/variable/constant fields that can be used in the workflow. This supports multiple inputs at once. You can use this to store variables like Google Sheet URLs, or any other data that's repeatedly used in the workflow. The node returns a dictionary with key-value pairs of all created variables, for example: \{'campaign\_id': '12345', 'spreadsheet\_url': '`https://docs.google.com/....`'} | | | | - | - | | **App** | Flow Control | | **Operation ID** | `flow_control_create_input` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `input_variables` | array of InputVariable | No | - | A list of input variables. Each variable has a name, UI type (single\_line or multi\_line), and a value. | ### InputVariable | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | The name/key for this input variable. Used to reference this value in downstream nodes. | | `ui_type` | string | Yes | - | The UI type for the input. Either 'single\_line' or 'multi\_line', only used for rendering purposes in the UI. | | `value` | any | Yes | - | The value for this input variable. Can be static text or a reference to upstream node data e.g., \{\{nodeId\_\_data}} | ## Output **Type**: `Dict` Returns dict with key-value pairs of all created variables. **Fields**: dynamic (depend on the inputs) # If Router Source: https://docs.markifact.com/nodes/flow_control/flow_control_if_router Creates conditional logic branches in workflows, 'true' path executes if condition is met, 'false' path executes if condition is not met Creates conditional logic branches in workflows, 'true' path executes if condition is met, 'false' path executes if condition is not met. You need to provide data and conditions to evaluate. | | | | - | - | | **App** | Flow Control | | **Operation ID** | `flow_control_if_router` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `conditions` | array of Condition | Yes | - | List of conditions to evaluate. Each condition must have an expression, operator, and value. The joiner can be used to combine multiple conditions. | | `allow_false_path` | boolean | No | `True` | Whether to allow a false path if no conditions match. This hides the false source handle in the UI if set to false. | ### Condition | Field | Type | Required | Default | Description | | - | - | - | - | - | | `expression` | string | No | - | Dynamic expression to evaluate, e.g., '\{\{n1\_\_data.field\_name}}'. Can be None for IS\_NULL checks. | | `operator` | string | Yes | - | The condition operator, must be one of the available operators | | `value` | string | Yes | - | The value to compare against, could also static (e.g., '42') or dynamic expression: '\{\{n2\_\_data.other\_field}}' | | `joiner` | string | No | - | Optional joiner for multiple conditions (e.g., 'AND', 'OR'). Joiner should be added from second condition onwards. Don't add to the first condition. | ## Output **Type**: `str` Returns 'true' or 'false' based on condition evaluation. # Loop Source: https://docs.markifact.com/nodes/flow_control/flow_control_loop Iterate through a list of items, executing different actions for each item or after completion Iterate through a list of items, executing different actions for each item or after completion. Has two output handles: 'loop' handle executes nodes FOR EACH item (nodes can access current item via \{\{loopNode.data}}) - only connect nodes that should process individual items here, 'done' handle executes nodes ONCE after loop completes - use this to continue to next workflow steps. IMPORTANT: Nodes connected to 'loop' handle should only connect to other nodes also connected to the same 'loop' handle. Never connect loop nodes to non-loop nodes. CRITICAL: Nested loops are NOT supported | | | | - | - | | **App** | Flow Control | | **Operation ID** | `flow_control_loop` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `list` | array (also accepts a comma-separated string) | No | - | The list to iterate over. This will be mainly the output of upstream nodes in the workflow. Don't worry about data conversion, it will be handled automatically based on the list type. | | `include_index` | boolean | No | - | When enabled, downstream nodes can reference index outputs. and data becomes two keys: item and index. for example, \{\{loopNodeId\_\_data.item}} and \{\{loopNodeId\_\_data.index}}, when disabled, downstream nodes can only reference \{\{loopNodeId\_\_data}} which is the entire item. | ## Output **Type**: `Dict | Any` The default output is the entire item being processed in the loop. When 'include\_index' is enabled, returns a dict with 'item' and 'index' keys. # Wait Source: https://docs.markifact.com/nodes/flow_control/flow_control_wait Wait for a specified amount of time before continuing to the next step Wait for a specified amount of time before continuing to the next step. Max number of seconds is 90. | | | | - | - | | **App** | Flow Control | | **Operation ID** | `flow_control_wait` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `seconds` | integer | No | `5` | Number of seconds to wait. Must be between 1 and 90 seconds. | ## Output **Type**: `str` Returns success message after wait completes. # Note Source: https://docs.markifact.com/nodes/flow_control/note Add documentation, instructions, and comments to your workflows for team collaboration and template sharing. **Note** adds visual documentation to your workflows without affecting data flow. Perfect for explaining workflow logic, providing instructions to team members, and creating professional workflow templates. *** ## When to Use It Use this node to: * Document complex workflow logic for team members * Add setup instructions for workflow templates * Explain business rules and decision criteria * Create workflow sections and organize canvas layout * Share context and reasoning behind workflow design *** ## How It Works Note nodes are **pure documentation** - they don't connect to other nodes or process data. They exist solely to provide context and instructions on your workflow canvas. ### Key Features **No Data Flow:** * No input or output connections * Doesn't affect workflow execution * Pure visual documentation **Markdown Support:** * Format text with **bold**, *italic*, and lists * Create headers, links, and structured content * Rich text formatting for professional documentation **Locking Capability:** * Lock notes to prevent accidental editing * Locked notes can't be moved or edited * Perfect for finalized templates and shared workflows *** ## Inputs | Field | Type | Required | Description | | - | - | - | - | | **Note Content** | Text Area | No | Your documentation text with markdown support | *Additional styling options (width, height, color, lock) are available in advanced settings* *** ## Markdown Formatting You can style your notes using standard markdown: ```markdown theme={"dark"} # Main Title ## Section Header **Important:** This workflow runs daily at 9 AM *Required setup:* - Connect Google Ads account - Set up reporting spreadsheet - Configure email recipients [Link to documentation](https://docs.company.com) > **Note:** Always test before publishing ``` *** ## Locking Notes **When to Lock:** * Finalized workflow templates * Critical instructions that shouldn't change * Shared workflows with multiple editors * Production workflows to prevent accidents **Locked Note Behavior:** * Cannot be moved on canvas * Text editor won't open when clicked * Prevents accidental modifications * Maintains template integrity *** ## Best Practices **Content Organization:** * Use clear, descriptive titles * Break up long text with headers and lists * Include contact information for questions * Link to external documentation when helpful **Visual Organization:** * Use consistent colors for different note types * Position notes near relevant workflow sections * Size notes appropriately for content length * Group related notes together **Team Collaboration:** * Include setup requirements and prerequisites * Document any manual steps or dependencies * Explain complex business logic * Provide troubleshooting tips *** ## FAQ > [accordion] Can notes affect workflow execution? > > No, notes are purely visual and don't process data or affect workflow execution in any way. They're for documentation only. > [accordion] I'm clicking the note but nothing happens. Why? > > The note is propbaly locked. Locked notes cannot be edited or moved to prevent accidental changes. If you need to edit it, unlock the note first by clicking on the red lock icon in top right corner of the note. > [accordion] Can I format notes with colors and styles? > > Yes, you can use markdown formatting for text styling and choose background colors for the note. Advanced styling options are available in the note settings. > [accordion] What's the best way to organize notes in complex workflows? > > Use consistent colors for different note types (blue for instructions, yellow for warnings, green for success criteria) and position notes near relevant workflow sections. # Admin Request Source: https://docs.markifact.com/nodes/ga4/ga4_admin_request Fallback Google Analytics Admin API request for advanced or unsupported cases, forwarded unchanged (any method, v1alpha or v1beta) Fallback Google Analytics Admin API request for advanced or unsupported cases, forwarded unchanged (any method, v1alpha or v1beta). Use this only when no dedicated operation supports the requested change. If a focused operation exists, such as ga4\_manage\_audiences or ga4\_manage\_key\_events, always use that dedicated operation instead. For reading settings, use ga4\_get\_property\_settings. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_admin_request` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `method` | string or SelectableOption | Yes | - | HTTP method: 'GET', 'POST', 'PATCH' or 'DELETE'. | | `api_version` | string or SelectableOption | No | - | 'v1alpha' (default, every resource) or 'v1beta' (stable subset). A path that starts with a version wins over this field. | | `path` | string | Yes | - | Resource path after the version, from the Analytics Admin API reference: 'properties/123456/channelGroups' (create or list), 'properties/123456/channelGroups/789' (get, patch, delete), 'properties/123456/audiences/789:archive' (custom method), 'properties/123456/attributionSettings'. Account and property ids are numeric. | | `body` | object or string | No | - | JSON request body for POST and PATCH, exactly as the Admin API reference shows it (camelCase field names), sent as-is. | | `query_params` | object or string | No | - | Optional URL query parameters as a JSON object, e.g. \{"updateMask":"displayName,description"} for a PATCH or \{"pageSize":200} for a list. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the Admin API response body as-is, or an empty object for responses without a body. **Fields**: dynamic (depend on the inputs) # Custom GA4 App Source: https://docs.markifact.com/nodes/ga4/ga4_custom_app Connect Google Analytics 4 through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Analytics 4: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in the property's access history, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/analytics.readonly`, `https://www.googleapis.com/auth/analytics.edit` | | **APIs to enable** | Google Analytics Admin API and Google Analytics Data API | | **Google account for the token** | a Google account with at least Viewer access to the GA4 properties you want to report on | > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Analytics 4**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency GA4"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Google Analytics Admin API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Verification passes but the property list is empty > > The Google account behind the token has no GA4 properties. Grant it Viewer access on the properties in GA4 Admin, then re-add the connection with the same name. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/ga4/ga4_get_report) > > Pull GA4 reports # Get Access Report Source: https://docs.markifact.com/nodes/ga4/ga4_get_access_report Reports who read a Google Analytics 4 property's data and how often, by user, access mechanism, report type or app, for audits and quota monitoring Reports who read a Google Analytics 4 property's data and how often, by user, access mechanism, report type or app, for audits and quota monitoring. Google serves this report for GA4 360 properties only; standard properties get a clear refusal. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_get_access_report` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property whose data access records to read. Google serves this report for GA4 360 properties only. Only one property at a time. | | `time_range` | string or SelectableOption | No | - | Period to cover: 'last\_30\_days' (default), 'last\_14\_days', 'last\_7\_days', 'today' or 'yesterday'. Google keeps access records for up to 2 years. | | `dimensions` | string or array of string | No | - | Access report dimensions, default \['userEmail', 'accessMechanism']. Options: userEmail, accessMechanism, reportType, accessorAppName, accessDateHour, epochTimeMicros, mostRecentAccessEpochTimeMicros, userCountry, userCountryId, userIP, accessedPropertyId, accessedPropertyName, costDataReturned, revenueDataReturned, dataApiQuotaCategory. | | `metrics` | string or array of string | No | - | Access report metrics, default \['accessCount']. Options: accessCount, dataApiQuotaPropertyTokensConsumed. | | `limit` | integer | No | `100` | Maximum rows to return (1 to 100000, default 100), ordered by the first metric descending. | | `include_all_users` | boolean | No | - | Also list users with access who never read data (admin only). | | `expand_groups` | boolean | No | - | With include\_all\_users, list the members of user groups individually. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per dimension combination with the requested metrics (accessCount, dataApiQuotaPropertyTokensConsumed). **Fields**: dynamic (depend on the inputs) # Get Account History Source: https://docs.markifact.com/nodes/ga4/ga4_get_account_history Lists configuration changes on a Google Analytics 4 property for a time range preset: who changed what and when, with the resource before and after Lists configuration changes on a Google Analytics 4 property for a time range preset: who changed what and when, with the resource before and after. Google keeps 2 years of change history and only returns the change types its API supports. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_get_account_history` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property whose change history to read. Only one property at a time. | | `time_range` | string or SelectableOption | No | - | Period to cover: 'last\_30\_days' (default), 'last\_14\_days', 'last\_7\_days', 'today' or 'yesterday'. Google keeps change history for 2 years. | | `resource_types` | string or array of string | No | - | Only changes to these resource types, e.g. \['DATA\_STREAM', 'GOOGLE\_ADS\_LINK']. Options: ACCOUNT, PROPERTY, FIREBASE\_LINK, GOOGLE\_ADS\_LINK, GOOGLE\_SIGNALS\_SETTINGS, CONVERSION\_EVENT (key events), MEASUREMENT\_PROTOCOL\_SECRET, CUSTOM\_DIMENSION, CUSTOM\_METRIC, DATA\_RETENTION\_SETTINGS, DISPLAY\_VIDEO\_360\_ADVERTISER\_LINK, DISPLAY\_VIDEO\_360\_ADVERTISER\_LINK\_PROPOSAL, DATA\_STREAM, ATTRIBUTION\_SETTINGS. Omit for all. | | `actions` | string or array of string | No | - | Only these actions: 'CREATED', 'UPDATED', 'DELETED'. Omit for all. | | `actor_emails` | string or array of string | No | - | Only changes made by these Google users, e.g. \['[jane@agency.com](mailto:jane@agency.com)']. Omit for all. | | `limit` | integer | No | `100` | Maximum number of change events to return (1 to 1000, default 100), newest first. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns change events, newest first: id, change\_time, actor\_type, user\_actor\_email, changes\_filtered, changes (resource, action, before, after). **Fields**: `id`, `change_time`, `actor_type`, `user_actor_email`, `changes_filtered`, `changes` # Get Funnel Report Source: https://docs.markifact.com/nodes/ga4/ga4_get_funnel_report Google Analytics 4 funnel report: users who completed ordered steps (event A, then event B), with completion and abandonment rates per step, optionally split by a breakdown dimension, segments or t... Google Analytics 4 funnel report: users who completed ordered steps (event A, then event B), with completion and abandonment rates per step, optionally split by a breakdown dimension, segments or the next action. One property per run. Runs on Google's v1alpha Data API. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_get_funnel_report` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to read. Only one property at a time. | | `date_range` | FunnelDateRange | Yes | - | Date range of the events the funnel is built from. | | `steps` | array of object or string | Yes | - | Ordered funnel steps as Google Data API FunnelStep objects (list or JSON string): name, filterExpression (funnelEventFilter, funnelFieldFilter, andGroup, orGroup, notExpression), optional isDirectlyFollowedBy and withinDurationFromPriorStep (e.g. '1800s'). Google validates the nested filters. Example: \[\{"name":"Date selected","filterExpression":\{"funnelEventFilter":\{"eventName":"date\_selected"}}},\{"name":"Purchase","filterExpression":\{"andGroup":\{"expressions":\[\{"funnelEventFilter":\{"eventName":"purchase"}},\{"funnelFieldFilter":\{"fieldName":"hostName","stringFilter":\{"matchType":"EXACT","value":"[www.example.com](http://www.example.com)"}}}]}}}] | | `is_open_funnel` | boolean | No | - | Open funnel: users can enter at any step. Default false (closed): users must complete the first step to count. | | `breakdown_dimension` | string | No | - | GA4 dimension that splits each step in the funnel table, e.g. deviceCategory, landingPage, country. One per report. | | `breakdown_limit` | integer | No | - | Maximum breakdown values per step (Google default 5). | | `next_action_dimension` | string or SelectableOption | No | - | Adds what users did after each step to the funnel visualization: eventName, pagePath, pageTitle, unifiedScreenName or unifiedScreenClass (ignored by TRENDED\_FUNNEL). | | `next_action_limit` | integer | No | - | Maximum next action values per step (Google default 5). | | `segments` | array of object or string | No | - | Google Data API Segment objects (userSegment, sessionSegment or eventSegment); the funnel is evaluated in each segment and rows carry a segment column. Example: \[\{"name":"US users","userSegment":\{"userInclusionCriteria":\{"andConditionGroups":\[\{"conditionScoping":"USER\_CRITERIA\_ACROSS\_ALL\_SESSIONS","segmentFilterExpression":\{"segmentFilter":\{"fieldName":"country","stringFilter":\{"matchType":"EXACT","value":"United States"}}}}]}}}] | | `dimension_filter` | object or string | No | - | Google Data API FilterExpression applied to the whole report, e.g. \{"filter":\{"fieldName":"deviceCategory","stringFilter":\{"value":"mobile"}}}. | | `visualization_type` | string or SelectableOption | No | - | STANDARD\_FUNNEL (default): users per step. TRENDED\_FUNNEL: the visualization adds a date column (users per step per day). | | `limit` | integer | No | - | Maximum funnel table rows (Google default 10,000). | ### FunnelDateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison period, run in the same request. Rows then carry a dateRange column, 'current' or 'comparison'; no delta rows are added. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `Dict` Returns funnel\_table (one row per step, and per breakdown value, segment or date range when requested: activeUsers, funnelStepCompletionRate, funnelStepAbandonments, funnelStepAbandonmentRate) and funnel\_visualization (users per step, plus the date for TRENDED\_FUNNEL or the next action). Rates are fractions (0.25 = 25%); a RESERVED\_TOTAL value marks Google's total row for that step. sampling is empty unless Google sampled the funnel (then one entry per date range with the events read and the total). **Fields**: `funnel_table`, `funnel_visualization`, `sampling` # Get Property Settings Source: https://docs.markifact.com/nodes/ga4/ga4_get_property_settings Retrieves property settings from Google Analytics 4 like data streams, audiences, channel groups, data retention, and more Retrieves property settings from Google Analytics 4 like data streams, audiences, channel groups, data retention, and more. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_get_property_settings` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | Yes | - | The account/property ID. Leave empty for users to select accounts in the UI. Only ONE account can be selected at a time. Don't set this if not provided by the user, issue them a feeback message to select accounts in the UI. User has a dropdown in the UI where they can simply select accounts fetched through API. Only select accounts if user share account name and id with you. Never try to guess account names or ids. Use "String" for dynamic input ONLY that refernce other nodes outputs, like account selector node. | | `setting_type` | string or SelectableOption | Yes | - | The type of setting to retrieve. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns GA4 property settings. **Fields**: dynamic (depend on the inputs) # Get Realtime Report Source: https://docs.markifact.com/nodes/ga4/ga4_get_realtime_report Live Google Analytics 4 activity from the last 30 minutes (60 on GA4 360): active users, events, key events and views right now, by country, city, device, page or screen, event or minute Live Google Analytics 4 activity from the last 30 minutes (60 on GA4 360): active users, events, key events and views right now, by country, city, device, page or screen, event or minute. One property per run. Use ga4\_get\_report for anything older than 30 minutes. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_get_realtime_report` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to read. Only one property at a time. | | `metrics` | string or array of string | No | - | Realtime metrics, default \['activeUsers']. Options: activeUsers, eventCount, keyEvents, screenPageViews. | | `dimensions` | string or array of string | No | - | Realtime dimensions; none (the default) returns property totals. Options: country, countryId, city, cityId, deviceCategory, platform, appVersion, unifiedScreenName (page title or app screen name), eventName, minutesAgo (one row per minute, '00' is the current minute), audienceId, audienceName, audienceResourceName, streamId, streamName, or a user-scoped custom dimension as 'customUser:\'. Event-scoped custom dimensions are not available in realtime reports. | | `start_minutes_ago` | integer | No | - | Start of the window, in minutes before now. Default 29, the full 30 minutes Google keeps for standard properties (up to 59 on GA4 360). | | `end_minutes_ago` | integer | No | - | End of the window, in minutes before now. Default 0 (now). Example: start 4 and end 0 cover the last 5 minutes. | | `filters` | array of FilterItem | No | - | Filters on the realtime metrics and dimensions above, combined with AND, e.g. \[\{'field': 'unifiedScreenName', 'operator': 'CONTAINS', 'value': 'Checkout'}]. | | `orders` | array of OrderItem | No | - | Sort order, default the first metric descending. Use minutesAgo ASC for a minute-by-minute timeline. | | `limit` | integer | No | - | Maximum rows to return, default 10,000, up to 250,000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per dimension combination with the requested metrics as numbers; with no dimensions, one row of property totals. minutesAgo values are two-digit strings ('00' is the current minute). **Fields**: dynamic (depend on the inputs) # Get Report Source: https://docs.markifact.com/nodes/ga4/ga4_get_report Retrieves Google Analytics 4 reports across properties with customizable metrics, dimensions, filters, date ranges, and sorting Retrieves Google Analytics 4 reports across properties with customizable metrics, dimensions, filters, date ranges, and sorting. Defaults to 10,000 rows; requested limits above 250,000 are capped at 250,000. | | | | - | - | | **App** | Google Analytics | | **Operation ID** | `ga4_get_report` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Sessions' instead of 'sessions'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2024-01-15", "sessions": 1250, "country": "US" } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/ga4/ga4_list_report_fields Search and browse available Google Analytics (GA4) reporting metrics and dimensions before running reports Search and browse available Google Analytics (GA4) reporting metrics and dimensions before running reports. For complete field discovery, first call ga4\_select\_accounts, then provide both connection\_id and one selected account/property to include property-specific custom metrics, custom dimensions, and key-event fields. Omit both only when the generic static GA4 field catalog is sufficient. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(sessions|pageviews).*'}]. | | | | - | - | | **App** | Google Analytics | | **Operation ID** | `ga4_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | | `account` | array (also accepts a comma-separated string) | No | - | Strongly recommended for complete field discovery. Call ga4\_select\_accounts first, then provide exactly one selected GA4 property together with connection\_id. This includes the property's custom metrics, custom dimensions, and key-event fields. Omit both account and connection\_id only when the generic static GA4 field catalog is sufficient. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Manage Audiences Source: https://docs.markifact.com/nodes/ga4/ga4_manage_audiences Creates a Google Analytics 4 audience (remarketing list) from native filter clauses, renames or re-describes an existing one, or archives it Creates a Google Analytics 4 audience (remarketing list) from native filter clauses, renames or re-describes an existing one, or archives it. Filters and membership duration are fixed after creation; audiences cannot be deleted or unarchived and sync to linked Google Ads accounts. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_audiences` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' builds a new audience from filter clauses; 'update' changes the display name or description of an existing audience (its filters and membership duration are fixed by Google after creation); 'archive' retires it (audiences cannot be deleted or unarchived). Options: 'create', 'update', 'archive'. | | `audience_id` | string | No | - | Numeric id of the audience to update or archive, e.g. '6636293497'. Read ids from ga4\_get\_property\_settings with setting 'audiences'. | | `display_name` | string | No | - | Audience name shown in GA4 and Google Ads. Required on create. | | `description` | string | No | - | Audience description. Required by Google on create. | | `membership_duration_days` | integer | No | - | How many days a user stays in the audience after qualifying, 1 to 540. Required on create and fixed afterwards. | | `exclusion_duration_mode` | string or SelectableOption | No | - | Only when a clause has clause\_type EXCLUDE: 'EXCLUDE\_TEMPORARILY' removes users while they match the exclusion, 'EXCLUDE\_PERMANENTLY' removes them for good. Fixed after creation. | | `filter_clauses` | array of object or string | No | - | Audience definition as the Admin API filterClauses array (object or JSON string), sent to Google as-is and validated by Google. Each clause has clauseType INCLUDE or EXCLUDE and either simpleFilter \{scope, filterExpression} or sequenceFilter. Google requires the top-level filterExpression to be an andGroup whose children are orGroups; the filters (eventFilter, dimensionOrMetricFilter, notExpression) go inside the orGroup. Example, users who purchased: \[\{"clauseType":"INCLUDE","simpleFilter":\{"scope":"AUDIENCE\_FILTER\_SCOPE\_ACROSS\_ALL\_SESSIONS","filterExpression":\{"andGroup":\{"filterExpressions":\[\{"orGroup":\{"filterExpressions":\[\{"eventFilter":\{"eventName":"purchase"}}]}}]}}}}]. Dimension and metric filters use dimensionOrMetricFilter with fieldName (e.g. 'country', 'customUser:plan') and stringFilter, inListFilter, numericFilter or betweenFilter. Required on create, fixed afterwards. | | `event_trigger` | object or string | No | - | Optional event to log when a user joins the audience, as the Admin API eventTrigger object: \{"eventName":"joined\_vip","logCondition":"AUDIENCE\_JOINED"} (or "AUDIENCE\_MEMBERSHIP\_RENEWED"). Fixed after creation. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved audience: id, display name, description, membership duration and exclusion mode. **Fields**: `property_id`, `status`, `audience_id`, `display_name`, `description`, `membership_duration_days`, `ads_personalization_enabled`, `exclusion_duration_mode` # Manage Bigquery Links Source: https://docs.markifact.com/nodes/ga4/ga4_manage_bigquery_links Creates, updates or deletes the BigQuery export link of a Google Analytics 4 property: Google Cloud project, dataset location, daily, streaming and fresh daily exports, exported streams and exclude... Creates, updates or deletes the BigQuery export link of a Google Analytics 4 property: Google Cloud project, dataset location, daily, streaming and fresh daily exports, exported streams and excluded events. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_bigquery_links` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' links a Google Cloud project and starts the BigQuery export; 'update' changes which exports run, which streams and events are included; 'delete' stops the export and removes the link. Options: 'create', 'update', 'delete'. | | `bigquery_link_id` | string | No | - | Numeric id of the link to update or delete. Read ids from ga4\_get\_property\_settings with setting 'bigquery\_links'. | | `project` | string | No | - | create: Google Cloud project number or id that receives the export, e.g. 'my-analytics-project'. The project needs the BigQuery API enabled and the GA4 service account as BigQuery User. Fixed afterwards. | | `dataset_location` | string | No | - | create: BigQuery location of the dataset, e.g. 'US', 'EU' or 'europe-west1'. Fixed afterwards. | | `daily_export_enabled` | boolean | No | - | Export a full table once a day. | | `streaming_export_enabled` | boolean | No | - | Export events continuously during the day. | | `fresh_daily_export_enabled` | boolean | No | - | Export the fresh daily table (GA4 360). | | `include_advertising_id` | boolean | No | - | Include mobile advertising identifiers for app streams. | | `export_streams` | string or array of string | No | - | Data stream ids to export, e.g. \['7613215464']. Omit to export every stream. | | `excluded_events` | string or array of string | No | - | Event names to leave out of the export, e.g. \['scroll']. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved link: id, project, dataset location, export flags, streams and excluded events. **Fields**: `property_id`, `status`, `bigquery_link_id`, `project`, `dataset_location`, `daily_export_enabled`, `streaming_export_enabled`, `fresh_daily_export_enabled`, `include_advertising_id`, `export_streams`, `excluded_events` # Manage Channel Groups Source: https://docs.markifact.com/nodes/ga4/ga4_manage_channel_groups Creates, updates or deletes Google Analytics 4 custom channel groups from native grouping rules, and can make one the primary channel group used in reports Creates, updates or deletes Google Analytics 4 custom channel groups from native grouping rules, and can make one the primary channel group used in reports. The Default Channel Group cannot be changed. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_channel_groups` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' adds a custom channel group; 'update' changes its name, description, rules or primary flag; 'delete' removes it. The Default Channel Group defined by Google cannot be changed or deleted. Options: 'create', 'update', 'delete'. | | `channel_group_id` | string | No | - | Numeric id of the channel group to update or delete. Read ids from ga4\_get\_property\_settings with setting 'channel\_groups'. | | `display_name` | string | No | - | Channel group name shown in reports (max 80 chars). Required on create. | | `description` | string | No | - | Optional description (max 256 chars). | | `grouping_rule` | array of object or string | No | - | Channels in evaluation order as the Admin API groupingRule array (object or JSON string), sent as-is and validated by Google; traffic that matches no rule falls into 'Unassigned'. Each rule has displayName and an expression; Google requires the expression to be an andGroup whose children are orGroups, with the filters (or notExpression) inside the orGroup. A filter has fieldName, one of 'eachScopeSource', 'eachScopeMedium', 'eachScopeCampaignName', 'eachScopeCampaignId', 'eachScopeSourcePlatform' or 'eachScopeDefaultChannelGroup' (verified live; plain names such as 'medium' are rejected), with stringFilter \{matchType EXACT, BEGINS\_WITH, ENDS\_WITH, CONTAINS, FULL\_REGEXP or PARTIAL\_REGEXP, value} or inListFilter \{values}; matching is always case-insensitive (there is no caseSensitive field). Example: \[\{"displayName":"Brand Paid Search","expression":\{"andGroup":\{"filterExpressions":\[\{"orGroup":\{"filterExpressions":\[\{"filter":\{"fieldName":"eachScopeMedium","stringFilter":\{"matchType":"EXACT","value":"cpc"}}}]}},\{"orGroup":\{"filterExpressions":\[\{"filter":\{"fieldName":"eachScopeCampaignName","stringFilter":\{"matchType":"CONTAINS","value":"brand"}}}]}}]}}}]. Up to 50 rules. Required on create; on update the full list replaces the existing rules. | | `primary` | boolean | No | - | When true, this group becomes the default channel group used in reports. Only one group can be primary. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved channel group: id, name, description, primary flag and channel names. **Fields**: `property_id`, `status`, `channel_group_id`, `display_name`, `description`, `primary`, `system_defined`, `channels` # Manage Custom Dimensions Source: https://docs.markifact.com/nodes/ga4/ga4_manage_custom_dimensions Creates a Google Analytics 4 custom dimension from an event parameter, user property or item parameter, updates its display name or description, or archives it Creates a Google Analytics 4 custom dimension from an event parameter, user property or item parameter, updates its display name or description, or archives it. Custom dimensions cannot be deleted, only archived. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_custom_dimensions` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' registers an event parameter, user property or item parameter as a custom dimension so it appears in reports; 'update' changes its display name or description; 'archive' retires it (custom dimensions cannot be deleted). Options: 'create', 'update', 'archive'. | | `parameter_name` | string | Yes | - | The event parameter, user property or item parameter name as sent in the tag, e.g. 'plan\_type'. Cannot be changed after creation. | | `display_name` | string | No | - | Name shown in GA4 reports, e.g. 'Plan Type'. Required on create. | | `scope` | string or SelectableOption | No | - | 'EVENT' for event parameters (default), 'USER' for user properties, 'ITEM' for e-commerce item parameters. Cannot be changed after creation. | | `description` | string | No | - | Optional description shown in the GA4 admin. | | `disallow_ads_personalization` | boolean | No | - | USER scope only: exclude this dimension from ads personalization. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved custom dimension: id, parameter name, display name and scope. **Fields**: `property_id`, `status`, `custom_dimension_id`, `parameter_name`, `display_name`, `scope` # Manage Custom Metrics Source: https://docs.markifact.com/nodes/ga4/ga4_manage_custom_metrics Creates a Google Analytics 4 custom metric from a numeric event parameter with its measurement unit, updates its display name, description or restricted data types, or archives it Creates a Google Analytics 4 custom metric from a numeric event parameter with its measurement unit, updates its display name, description or restricted data types, or archives it. Custom metrics cannot be deleted, only archived. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_custom_metrics` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' registers a numeric event parameter as a custom metric so it can be reported on; 'update' changes its display name, description or restricted data types; 'archive' retires it (custom metrics cannot be deleted). Options: 'create', 'update', 'archive'. | | `parameter_name` | string | Yes | - | The event parameter name as sent in the tag, e.g. 'video\_seconds'. Event scope only. Cannot be changed after creation. | | `display_name` | string | No | - | Name shown in GA4 reports, e.g. 'Video Seconds'. Required on create. | | `measurement_unit` | string or SelectableOption | No | - | Unit of the metric's value, required on create and fixed afterwards: 'STANDARD' (plain number), 'CURRENCY', 'FEET', 'METERS', 'KILOMETERS', 'MILES', 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS'. | | `restricted_metric_type` | string or array of string | No | - | Only for 'CURRENCY' metrics, where Google requires it: 'COST\_DATA', 'REVENUE\_DATA' or both. Must be empty for any other unit. | | `description` | string | No | - | Optional description shown in the GA4 admin (max 150 chars). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved custom metric: id, parameter name, display name, measurement unit and restricted types. **Fields**: `property_id`, `status`, `custom_metric_id`, `parameter_name`, `display_name`, `measurement_unit`, `restricted_metric_type` # Manage Data Streams Source: https://docs.markifact.com/nodes/ga4/ga4_manage_data_streams Creates, renames or deletes Google Analytics 4 web, Android and iOS data streams, and creates or deletes a stream's Measurement Protocol API secrets Creates, renames or deletes Google Analytics 4 web, Android and iOS data streams, and creates or deletes a stream's Measurement Protocol API secrets. Deleting a stream stops its data collection. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_data_streams` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' adds a web, Android or iOS data stream; 'update' renames a stream; 'delete' removes it and stops its data collection; 'create\_secret' and 'delete\_secret' manage the stream's Measurement Protocol API secrets. Options: 'create', 'update', 'delete', 'create\_secret', 'delete\_secret'. | | `data_stream_id` | string | No | - | Numeric id of the stream for every action except create. Read ids from ga4\_get\_property\_settings with setting 'data\_streams'. | | `stream_type` | string or SelectableOption | No | - | create only: 'WEB\_DATA\_STREAM', 'ANDROID\_APP\_DATA\_STREAM' or 'IOS\_APP\_DATA\_STREAM'. Fixed afterwards. | | `display_name` | string | No | - | Stream name shown in GA4 (max 255 chars). Required on create and update. | | `default_uri` | string | No | - | Web streams on create: the site URL, e.g. '`https://www.example.com`'. Fixed afterwards. | | `package_name` | string | No | - | Android streams on create: the app package name, e.g. 'com.example.app'. Fixed afterwards. | | `bundle_id` | string | No | - | iOS streams on create: the app bundle id, e.g. 'com.example.app'. Fixed afterwards. | | `secret_display_name` | string | No | - | create\_secret: name of the new Measurement Protocol secret, e.g. 'CRM sync'. | | `secret_id` | string | No | - | delete\_secret: numeric id of the secret to delete. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved stream (id, type, name, measurement id or app ids) or the secret (id, name, secret value). **Fields**: dynamic (depend on the inputs) # Manage Event Rules Source: https://docs.markifact.com/nodes/ga4/ga4_manage_event_rules Creates, updates, deletes or reorders Google Analytics 4 event rules on a data stream: Create Event rules derive a new event from a matching one (e.g Creates, updates, deletes or reorders Google Analytics 4 event rules on a data stream: Create Event rules derive a new event from a matching one (e.g. generate\_lead from form\_submit) and Modify Event rules change parameters of matching events, without code changes. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_event_rules` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property that owns the data stream. Only one property at a time. | | `data_stream_id` | string | Yes | - | Numeric id of the data stream the rule belongs to, e.g. '7613215464'. Read it from ga4\_get\_property\_settings with setting 'data\_streams'. | | `rule_type` | string or SelectableOption | Yes | - | 'create' for Create Event rules, which make a new event from a matching source event (e.g. generate\_lead from form\_submit); 'edit' for Modify Event rules, which change parameters of a matching event in place. Options: 'create', 'edit'. | | `action` | string or SelectableOption | Yes | - | 'create', 'update' or 'delete' a rule; 'reorder' sets the processing order of all Modify Event rules on the stream (rule\_type 'edit' only). Options: 'create', 'update', 'delete', 'reorder'. | | `rule_id` | string | No | - | Numeric id of the rule to update or delete, e.g. '1234567890'. | | `destination_event` | string | No | - | Create Event rules: name of the new event, e.g. 'generate\_lead'. Under 40 characters, letters, digits and underscores only. Required on create. | | `display_name` | string | No | - | Modify Event rules: name of the rule shown in GA4 (max 255 chars). Required on create. | | `event_conditions` | array of object or string | No | - | Conditions a source event must meet, as the Admin API eventConditions array (object or JSON string), sent as-is: each has field (an event parameter name or 'event\_name'), comparisonType (EQUALS, EQUALS\_CASE\_INSENSITIVE, CONTAINS, CONTAINS\_CASE\_INSENSITIVE, STARTS\_WITH, STARTS\_WITH\_CASE\_INSENSITIVE, ENDS\_WITH, ENDS\_WITH\_CASE\_INSENSITIVE, GREATER\_THAN, GREATER\_THAN\_OR\_EQUAL, LESS\_THAN, LESS\_THAN\_OR\_EQUAL, REGULAR\_EXPRESSION, REGULAR\_EXPRESSION\_CASE\_INSENSITIVE), value and optional negated. Example: \[\{"field":"event\_name","comparisonType":"EQUALS","value":"form\_submit"},\{"field":"form\_id","comparisonType":"EQUALS","value":"contact"}]. One to ten conditions. Required on create. | | `source_copy_parameters` | boolean | No | - | Create Event rules: copy the source event's parameters onto the new event. | | `parameter_mutations` | array of object or string | No | - | Parameters to set on the resulting event, as the Admin API parameterMutations array (object or JSON string), applied in order: \[\{"parameter":"lead\_source","parameterValue":"website"}]. Use the value '\[\[param]]' to copy another parameter. Up to 20 mutations. Required on create for Modify Event rules, optional for Create Event rules. | | `rule_ids` | string or array of string | No | - | reorder only: every Modify Event rule id on the stream in the desired processing order, e.g. \['123', '456']. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved rule: id, conditions, parameter mutations, and destination event or display name and processing order. **Fields**: dynamic (depend on the inputs) # Manage Google Ads Links Source: https://docs.markifact.com/nodes/ga4/ga4_manage_google_ads_links Links a Google Ads account to a Google Analytics 4 property so key events and audiences flow to Google Ads, changes personalized advertising on an existing link, or removes the link Links a Google Ads account to a Google Analytics 4 property so key events and audiences flow to Google Ads, changes personalized advertising on an existing link, or removes the link. The connected Google user needs admin access on the Ads account. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_google_ads_links` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' links a Google Ads account to the property so key events and audiences flow to Google Ads; 'update' changes personalized advertising on an existing link; 'delete' removes the link. Options: 'create', 'update', 'delete'. | | `customer_id` | string | Yes | - | Google Ads customer ID to link, with or without dashes, e.g. '123-456-7890'. The connected Google user needs admin access on that Ads account. A manager account can be linked too. | | `ads_personalization_enabled` | boolean | No | - | Enable personalized advertising: audiences and key events are published to the linked Google Ads account. Defaults to true on create; the only field that can change on update. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved link: id, customer id, personalization flag and whether the linked account is a manager account. **Fields**: `property_id`, `status`, `link_id`, `customer_id`, `ads_personalization_enabled`, `can_manage_clients` # Manage Key Events Source: https://docs.markifact.com/nodes/ga4/ga4_manage_key_events Marks Google Analytics 4 events as key events (conversions), changes their counting method or default value, or removes them from the key events list Marks Google Analytics 4 events as key events (conversions), changes their counting method or default value, or removes them from the key events list. Read current key events with ga4\_get\_property\_settings first. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_key_events` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' marks events as key events (conversions), 'update' changes the counting method or default value of existing key events, 'delete' removes events from the key events list. Options: 'create', 'update', 'delete'. | | `event_names` | string or array of string | Yes | - | Event name(s) to apply the action to, e.g. 'purchase' or \['sign\_up', 'generate\_lead']. Existing key events can be read with ga4\_get\_property\_settings (setting\_type 'key\_events'). | | `counting_method` | string or SelectableOption | No | - | How often the key event is counted: 'ONCE\_PER\_EVENT' (every occurrence) or 'ONCE\_PER\_SESSION' (at most once per session). Defaults to ONCE\_PER\_EVENT on create. | | `default_value` | number | No | - | Default monetary value to count when the event has no value, e.g. 25. | | `default_currency` | string | No | - | Currency of default\_value as a 3-letter code, e.g. 'USD'. Required with default\_value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns one result per event name with its status (created, already\_key\_event, updated, deleted) and key event id. **Fields**: `property_id`, `action`, `results` # Manage Property Source: https://docs.markifact.com/nodes/ga4/ga4_manage_property Creates a Google Analytics 4 property under an account (with the user data collection acknowledgement Google requires), moves a property to the trash, or links and unlinks a Firebase project for ap... Creates a Google Analytics 4 property under an account (with the user data collection acknowledgement Google requires), moves a property to the trash, or links and unlinks a Firebase project for app streams. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_property` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to delete or link. Not used on create. | | `action` | string or SelectableOption | Yes | - | 'create' makes a new GA4 property under a Google Analytics account; 'delete' moves a property to the trash (Google restores it from the UI within 35 days, then deletes it for good); 'link\_firebase' connects a Firebase project so its app streams report into the property; 'unlink\_firebase' removes that link. Options: 'create', 'delete', 'link\_firebase', 'unlink\_firebase'. | | `parent_account_id` | string | No | - | create only: numeric Google Analytics account id that will own the property, e.g. '84469679'. The connected user needs Editor access on it. Read account ids from ga4\_select\_accounts. | | `display_name` | string | No | - | create: property name (max 100 chars). | | `time_zone` | string | No | - | create: reporting time zone, IANA name such as 'Europe/Berlin'. Required. | | `currency_code` | string | No | - | create: reporting currency, ISO 4217 code such as 'EUR'. Defaults to USD. | | `industry_category` | string or SelectableOption | No | - | create: industry used for benchmarking, e.g. 'SHOPPING'. | | `acknowledge_user_data_collection` | boolean | No | - | create: must be true. Google requires every new property to acknowledge its user data collection terms before it can report. Setting this to true sends Google's acknowledgement text on the connected user's behalf: that the user has the necessary privacy disclosures and rights from end users for collecting and processing their data in Google Analytics. | | `firebase_project` | string | No | - | link\_firebase: Firebase project number or id, e.g. '123456789012' or 'my-app-prod'. | | `firebase_link_id` | string | No | - | unlink\_firebase: numeric id of the Firebase link. Read it from ga4\_get\_property\_settings with setting 'firebase\_links'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the property (id, account, name, time zone, currency, industry) or the Firebase link id. **Fields**: dynamic (depend on the inputs) # Manage Reporting Annotations Source: https://docs.markifact.com/nodes/ga4/ga4_manage_reporting_annotations Adds, edits or deletes Google Analytics 4 report annotations (campaign launches, site changes, incidents) with a title, color and a single date or date range, so they show on report timelines Adds, edits or deletes Google Analytics 4 report annotations (campaign launches, site changes, incidents) with a title, color and a single date or date range, so they show on report timelines. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_manage_reporting_annotations` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `action` | string or SelectableOption | Yes | - | 'create' adds an annotation shown on report timelines (campaign launch, site change, outage); 'update' edits its title, description, color or dates; 'delete' removes it. Options: 'create', 'update', 'delete'. | | `annotation_id` | string | No | - | Numeric id of the annotation to update or delete. Read ids from ga4\_get\_property\_settings with setting 'reporting\_annotations'. | | `title` | string | No | - | Annotation title shown on the chart. Required on create. | | `description` | string | No | - | Optional longer note. | | `color` | string or SelectableOption | No | - | Marker color: 'PURPLE', 'BROWN', 'BLUE', 'GREEN', 'RED', 'CYAN' or 'ORANGE'. Defaults to 'BLUE' on create. | | `annotation_date` | integer or string | No | - | Single date the annotation applies to, YYYY-MM-DD. Use either this or start\_date plus end\_date. Required on create. | | `start_date` | integer or string | No | - | Range start, YYYY-MM-DD, used with end\_date instead of annotation\_date. | | `end_date` | integer or string | No | - | Range end, YYYY-MM-DD, inclusive. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved annotation: id, title, description, color and its date or date range. **Fields**: `property_id`, `status`, `annotation_id`, `title`, `description`, `color`, `system_generated`, `annotation_date`, `start_date`, `end_date` # Select Accounts Source: https://docs.markifact.com/nodes/ga4/ga4_select_accounts Select GA4 properties once and reuse it across multiple ga4_get_report nodes—no repeated account selection Select GA4 properties once and reuse it across multiple ga4\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one ga4\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Google Analytics | | **Operation ID** | `ga4_select_accounts` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Send Events Source: https://docs.markifact.com/nodes/ga4/ga4_send_events Sends server-side events into a Google Analytics 4 data stream through the Measurement Protocol: offline conversions, CRM leads, refunds, purchases with items Sends server-side events into a Google Analytics 4 data stream through the Measurement Protocol: offline conversions, CRM leads, refunds, purchases with items. Every batch is validated by Google first and rejected events are reported; events must carry a client id (web) or app instance id (apps) and can be backdated up to 72 hours. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_send_events` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property that owns the data stream. Only one property at a time. | | `data_stream_id` | string | Yes | - | Numeric id of the data stream to send to. The measurement id (web) or Firebase app id (apps) and a Measurement Protocol secret are read from the stream; a secret named 'Markifact' is created on the stream if it has none. Read stream ids from ga4\_get\_property\_settings with setting 'data\_streams'. | | `client_id` | string | No | - | Web streams: the visitor's GA client id, e.g. '1234567890.1700000000' (the \_ga cookie value without the 'GA1.1.' prefix). Required for web streams so the event joins the visitor's history. | | `app_instance_id` | string | No | - | App streams: the Firebase app instance id of the device. Required for app streams. | | `user_id` | string | No | - | Optional user id for cross-device analysis. | | `events` | array of object or string | Yes | - | Events to send, as the Measurement Protocol events array (object or JSON string): \[\{"name":"purchase","params":\{"transaction\_id":"T123","value":99.9,"currency":"USD","session\_id":"1700000000","engagement\_time\_msec":100,"items":\[\{"item\_id":"SKU1","item\_name":"Plan","price":99.9,"quantity":1}]}}]. Include params.session\_id and params.engagement\_time\_msec so the events appear in standard reports. Event names max 40 chars, 25 params per event; more than 25 events are sent in batches. Google validates names and values. | | `timestamp_micros` | integer | No | - | Unix time in microseconds for all events, at most 72 hours in the past. Omit for now. | | `user_properties` | object or string | No | - | Optional user properties object: \{"plan":\{"value":"pro"}}. Max 25. | | `consent` | object or string | No | - | Optional consent object: \{"ad\_user\_data":"GRANTED","ad\_personalization":"DENIED"}. | | `region` | string or SelectableOption | No | - | 'global' (default) or 'eu' to send through Google's EU collection endpoint. | | `validate_only` | boolean | No | - | When true, events are only validated by Google and not recorded. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns how many events were validated and sent, in how many requests, and the stream's measurement id or Firebase app id. **Fields**: `property_id`, `data_stream_id`, `stream_type`, `events_sent`, `events_validated`, `requests`, `validate_only`, `measurement_id`, `firebase_app_id` # Update Data Retention Source: https://docs.markifact.com/nodes/ga4/ga4_update_data_retention Updates a Google Analytics 4 property's data retention: how long event and user data is kept (2 or 14 months; longer on GA4 360) and whether a user's retention resets on new activity Updates a Google Analytics 4 property's data retention: how long event and user data is kept (2 or 14 months; longer on GA4 360) and whether a user's retention resets on new activity. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_update_data_retention` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `event_data_retention` | string or SelectableOption | No | - | How long event-level data is kept for explorations: 'TWO\_MONTHS' or 'FOURTEEN\_MONTHS'. 'TWENTY\_SIX\_MONTHS', 'THIRTY\_EIGHT\_MONTHS' and 'FIFTY\_MONTHS' are only available on GA4 360 properties. | | `user_data_retention` | string or SelectableOption | No | - | How long user-level data is kept. Same options as event\_data\_retention. | | `reset_user_data_on_new_activity` | boolean | No | - | When true, a user's retention period restarts on each new event from that user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved retention settings. **Fields**: `property_id`, `event_data_retention`, `user_data_retention`, `reset_user_data_on_new_activity` # Update Property Settings Source: https://docs.markifact.com/nodes/ga4/ga4_update_property_settings Updates Google Analytics 4 property-level settings: display name, time zone, currency, industry, Google signals, attribution model and lookback windows, and reporting identity Updates Google Analytics 4 property-level settings: display name, time zone, currency, industry, Google signals, attribution model and lookback windows, and reporting identity. Only the fields supplied are changed; data retention has its own operation. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_update_property_settings` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property to change. Only one property at a time. | | `display_name` | string | No | - | New property name shown in GA4 (max 100 chars). | | `time_zone` | string | No | - | Reporting time zone, IANA name such as 'America/New\_York' or 'Europe/Berlin'. Changing it affects data from that point on. | | `currency_code` | string | No | - | Reporting currency, ISO 4217 code such as 'USD' or 'EUR'. | | `industry_category` | string or SelectableOption | No | - | Industry used for benchmarking, e.g. 'SHOPPING', 'TECHNOLOGY', 'FINANCE'. | | `google_signals_state` | string or SelectableOption | No | - | 'GOOGLE\_SIGNALS\_ENABLED' turns on cross-device reporting and remarketing from signed-in Google users; 'GOOGLE\_SIGNALS\_DISABLED' turns it off. | | `reporting_attribution_model` | string or SelectableOption | No | - | Attribution model for reports: 'PAID\_AND\_ORGANIC\_CHANNELS\_DATA\_DRIVEN', 'PAID\_AND\_ORGANIC\_CHANNELS\_LAST\_CLICK' or 'GOOGLE\_PAID\_CHANNELS\_LAST\_CLICK'. | | `acquisition_conversion_event_lookback_window` | string or SelectableOption | No | - | Lookback window for acquisition key events (first\_open, first\_visit): 'ACQUISITION\_CONVERSION\_EVENT\_LOOKBACK\_WINDOW\_7\_DAYS' or 'ACQUISITION\_CONVERSION\_EVENT\_LOOKBACK\_WINDOW\_30\_DAYS'. | | `other_conversion_event_lookback_window` | string or SelectableOption | No | - | Lookback window for all other key events: 'OTHER\_CONVERSION\_EVENT\_LOOKBACK\_WINDOW\_30\_DAYS', '...\_60\_DAYS' or '...\_90\_DAYS'. | | `ads_web_conversion_data_export_scope` | string or SelectableOption | No | - | Which channels' credit is exported to linked Google Ads accounts: 'PAID\_AND\_ORGANIC\_CHANNELS' or 'GOOGLE\_PAID\_CHANNELS'. | | `reporting_identity` | string or SelectableOption | No | - | How users are identified in reports: 'BLENDED' (user id, Google signals, device, modeling), 'OBSERVED' (user id, Google signals, device) or 'DEVICE\_BASED'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the saved values for each settings group that was changed: property, google\_signals, attribution, reporting\_identity. **Fields**: dynamic (depend on the inputs) # Update Web Stream Settings Source: https://docs.markifact.com/nodes/ga4/ga4_update_web_stream_settings Updates a Google Analytics 4 web data stream's enhanced measurement (scrolls, outbound clicks, site search, video, file downloads, page changes, form interactions) and data redaction (email, URL qu... Updates a Google Analytics 4 web data stream's enhanced measurement (scrolls, outbound clicks, site search, video, file downloads, page changes, form interactions) and data redaction (email, URL query parameters). Only the fields supplied are changed; app streams have no such settings. | | | | - | - | | **App** | GA4 | | **Operation ID** | `ga4_update_web_stream_settings` | | **Type** | Action | | **Connection** | `ga4` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | No | - | The GA4 property that owns the web data stream. Only one property at a time. | | `data_stream_id` | string | Yes | - | Numeric id of the WEB data stream to change, e.g. '7613215464'. Read it from ga4\_get\_property\_settings with setting 'data\_streams'. App streams have no enhanced measurement or redaction settings. | | `stream_enabled` | boolean | No | - | Master switch for enhanced measurement on this stream. | | `scrolls_enabled` | boolean | No | - | Record scroll events when a visitor reaches the page bottom. | | `outbound_clicks_enabled` | boolean | No | - | Record clicks on links leading away from the domain. | | `site_search_enabled` | boolean | No | - | Record view\_search\_results events when the URL carries a search parameter. | | `video_engagement_enabled` | boolean | No | - | Record embedded YouTube video start, progress and complete. | | `file_downloads_enabled` | boolean | No | - | Record clicks on document, archive, audio and video file links. | | `page_changes_enabled` | boolean | No | - | Record page\_view events on browser history changes (single-page apps). | | `form_interactions_enabled` | boolean | No | - | Record form\_start and form\_submit events. | | `search_query_parameter` | string | No | - | Comma-separated URL query parameters that hold the site search term, e.g. 'q,s,search,query,keyword'. Max 1024 chars. | | `uri_query_parameter` | string | No | - | Comma-separated additional query parameters captured with site search. Max 1024 chars. | | `email_redaction_enabled` | boolean | No | - | Redact event parameter and user property values that look like an email address. | | `query_parameter_redaction_enabled` | boolean | No | - | Remove the listed query parameters and their values from collected URLs. | | `query_parameter_keys` | string or array of string | No | - | Query parameter keys to redact when query\_parameter\_redaction\_enabled is true, e.g. \['email', 'phone']. Matching is case-insensitive. | ## Output **Type**: `Dict` Returns the saved enhanced measurement and data redaction settings for the groups that were changed. **Fields**: dynamic (depend on the inputs) # Add Keyword To Ad Group Source: https://docs.markifact.com/nodes/gads/gads_add_keyword_to_ad_group Adds keywords to Google Ads ad groups with match types Adds keywords to Google Ads ad groups with match types. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_add_keyword_to_ad_group` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectableOption | No | - | Select the ad group ID to update, ask the user for it if not provided | | `keyword` | string | No | - | Add the keyword text. Occasionally Google flags a keyword with an exemptible policy violation, such as a health related term; for those keywords only, retry with gads\_mutate and add exemptPolicyViolationKeys on the operation, next to create. | | `keyword_match_type` | string or SelectableOption | No | - | Select the match type for your keyword. Available options: 'EXACT', 'BROAD', 'PHRASE' | | `keyword_status` | string or SelectableOption | No | - | Select the new status for your keyword. Available options: 'ENABLED', 'PAUSED' | | `bulk_input_type` | string or SelectableOption | No | - | Choose how to provide your campaign data. Available options: 'manual' (Map Fields Individually), 'structured' (Use Structured Data) | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Select the source of ad group IDs | | `keywords` | array of string (also accepts a comma-separated string) | No | - | Select the source of keyword texts | | `keyword_match_types` | array of string (also accepts a comma-separated string) | No | - | Select the source of match types | | `keyword_statuses` | array of string (also accepts a comma-separated string) | No | - | Select the source of statuses | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains all required fields. Your data must have these columns or JSON Keys: 'ad\_group\_id', 'keyword', 'match\_type', 'status' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming keywords added. # Add Keywords To Negative List Source: https://docs.markifact.com/nodes/gads/gads_add_keywords_to_negative_list Add keywords to an existing negative keyword list in Google Ads Add keywords to an existing negative keyword list in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_add_keywords_to_negative_list` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account that owns the negative keyword list; a manager-level (MCC) list can also be reached through a client account under that manager. One account can be selected. | | `list_id` | string | Yes | - | ID or Name of the existing negative keyword list. For example: 11716733521 or Brand Exclusions | | `keywords` | string or array of string | Yes | - | Keywords to add to the negative list. Supports match type formatting: - \[keyword] for exact match - "keyword" for phrase match - keyword for broad match Can be entered as newline-separated, comma-separated text, or a list of strings. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `str` Returns success message confirming keywords added. # Add Negative Keywords To Ad Groups Source: https://docs.markifact.com/nodes/gads/gads_add_negative_keywords_to_ad_groups Add negative keywords directly to one or more ad groups in Google Ads Add negative keywords directly to one or more ad groups in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_add_negative_keywords_to_ad_groups` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Available options: 'single', 'bulk' | | `ad_group_id` | string or SelectableOption | No | - | Select the ad group ID to add negative keywords to, ask the user for it if not provided. Use when update\_type is 'single'. | | `keyword` | string | No | - | Add the negative keyword text. Use when update\_type is 'single'. | | `match_type` | string or SelectableOption | No | - | Select the match type for the negative keyword. Available options: 'EXACT', 'PHRASE', 'BROAD'. Use when update\_type is 'single'. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains all required fields. Use when update\_type is 'bulk'. Your data must have these columns or JSON Keys: 'ad\_group\_id', 'keyword', 'match\_type' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming negative keywords added to ad groups. # Add Negative Keywords To Campaigns Source: https://docs.markifact.com/nodes/gads/gads_add_negative_keywords_to_campaigns Add negative keywords directly to one or more campaigns in Google Ads Add negative keywords directly to one or more campaigns in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_add_negative_keywords_to_campaigns` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Available options: 'single' , 'bulk' | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to add negative keywords to, ask the user for it if not provided. Use when update\_type is 'single'. | | `keyword` | string | No | - | Add the negative keyword text. Use when update\_type is 'single'. | | `match_type` | string or SelectableOption | No | - | Select the match type for the negative keyword. Available options: 'EXACT', 'PHRASE', 'BROAD'. Use when update\_type is 'single'. | | `bulk_input_type` | string or SelectableOption | No | - | Choose how to provide your campaign data. Available options: 'manual' (Map Fields Individually), 'structured' (Use Structured Data). Use when update\_type is 'bulk'. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Select the source of campaign IDs. Use when update\_type is 'bulk' and bulk\_input\_type is 'manual'. | | `keywords` | array of string (also accepts a comma-separated string) | No | - | Select the source of negative keyword texts. Use when update\_type is 'bulk' and bulk\_input\_type is 'manual'. | | `match_types` | array of string (also accepts a comma-separated string) | No | - | Select the source of match types. Use when update\_type is 'bulk' and bulk\_input\_type is 'manual'. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains all required fields. Use when update\_type is 'bulk' and bulk\_input\_type is 'structured'. Your data must have these columns or JSON Keys: 'campaign\_id', 'keyword', 'match\_type' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming keywords added. # Add Placements To Exclusion List Source: https://docs.markifact.com/nodes/gads/gads_add_placements_to_exclusion_list Add placements to an existing placement exclusion list in Google Ads Add placements to an existing placement exclusion list in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_add_placements_to_exclusion_list` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account that owns the placement exclusion list; a manager-level (MCC) list can also be reached through a client account under that manager. One account can be selected. | | `list_id` | string | Yes | - | ID or Name of the existing placement exclusion list. For example: 11716733521 or Low Quality Sites | | `placements` | string or array of string | Yes | - | Placements to add to the exclusion list. Supports: - Website URLs: example.com - YouTube channels: youtube.com/channel/UCxxxxxxx - YouTube videos: youtube.com/watch?v=xxxxxxx - Mobile apps: 1-476943146 (iOS) or 2-com.example.app (Android) - Mobile app categories: mobileappcategory::60001 Can be entered as newline-separated, comma-separated text, or a list of strings. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `str` Returns success message confirming placements added. # Ads Transparency Source: https://docs.markifact.com/nodes/gads/gads_ads_transparency Search and retrieve ads from Google's Ads Transparency / library Center using domain or advertiser ID Search and retrieve ads from Google's Ads Transparency / library Center using domain or advertiser ID | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_ads_transparency` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `input_mode` | string or SelectableOption | Yes | - | Input mode, either provide a Google Ads Transparency URL or configure manually manually by filling out the fields below like advertiser\_id, domain, etc | | `google_ads_url` | string | No | - | Google Ads Transparency URL to parse. Use only when input\_mode is 'url' | | `advertiser_id` | string | No | - | Advertiser's unique ID (starts with AR). Multiple IDs can be provided, separated by commas. Required if domain is not provided. | | `domain` | string | No | - | Advertiser's verified domain (e.g., tesla.com). Required if advertiser\_id is not provided. | | `region` | string | No | `anywhere` | Region for the search. Default is 'anywhere', provide 2-letter country code (e.g., 'US') to filter by region. | | `platform` | string or SelectableOption | No | - | Platform for which the ads are being retrieved, leave empty to select all | | `ad_format` | string or SelectableOption | No | - | Filter results based on ad format, leave empty to select all formats | | `date_range` | DateRange | No | - | Custom date range with start/end dates | | `limit` | integer | No | `50` | Maximum number of results to return (1-1000) | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of ads from Google Ads Transparency. **Fields**: dynamic (depend on the inputs) # Assign Portfolio Bidding Strategy Source: https://docs.markifact.com/nodes/gads/gads_assign_portfolio_bidding_strategy Assigns a portfolio bidding strategy to one or more Google Ads campaigns Assigns a portfolio bidding strategy to one or more Google Ads campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_assign_portfolio_bidding_strategy` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account | | `bidding_strategy_id` | string | Yes | - | The ID of the portfolio bidding strategy to assign to campaigns | | `campaign_ids` | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to assign the portfolio bidding strategy to. Can be entered as comma-separated text or list | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `Dict` Returns the assignment result with count of campaigns updated. **Fields**: `bidding_strategy_id`, `bidding_strategy_resource_name`, `campaigns_updated` # Attach Negative List To Campaigns Source: https://docs.markifact.com/nodes/gads/gads_attach_negative_list_to_campaigns Apply an existing negative keyword list or placement exclusion list to one or more campaigns in Google Ads Apply an existing negative keyword list or placement exclusion list to one or more campaigns in Google Ads. Use `gads_run_gaql` operation to read and list existing lists. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_attach_negative_list_to_campaigns` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select Google Ads account containing the shared list. One account can be selected. | | `list_id` | string | Yes | - | ID of the shared list (negative keyword list or placement exclusion list) to apply to campaigns. Use `gads_run_gaql` operation to read and list existing lists. | | `campaign_ids` | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to apply the shared list to. Can be entered as comma-separated text or list | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `str` Returns success message confirming list attached. # Create Ad Group Source: https://docs.markifact.com/nodes/gads/gads_create_ad_group Creates a new ad group within an existing Google Ads campaign Creates a new ad group within an existing Google Ads campaign. Supports search, display, demand gen, and shopping product ad groups. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_ad_group` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `campaign` | string or SelectItem | Yes | - | Select the campaign to create the ad group in | | `ad_group_name` | string | Yes | - | Name for the ad group | | `ad_group_type` | string or SelectableOption | Yes | - | Ad group type. Available: 'SEARCH\_STANDARD', 'DISPLAY\_STANDARD', 'SEARCH\_DYNAMIC\_ADS', 'DEMAND\_GEN', 'SHOPPING\_PRODUCT\_ADS', 'APP'. Note: for SHOPPING\_PRODUCT\_ADS, the ad group is automatically created with a default 'All products' listing group (targets every product in the linked Merchant Center feed) and a default Shopping product ad so it is ready to serve. Use 'APP' for ad groups inside App campaigns. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Ad group status. Default: PAUSED (recommended) | | `cpc_bid` | number | No | - | CPC bid as an actual dollar value in the account currency, NOT in micros (e.g. pass 1.5 for \$1.50). Do not multiply by 1,000,000 — the backend converts to micros automatically. Required for Manual CPC campaigns, ignored for automated bidding. For SHOPPING\_PRODUCT\_ADS it also sets the All products listing group bid, which Google requires even under automated bidding; defaults to 1 in the account currency. | | `disable_search_term_matching` | boolean | No | - | Disable AI Max search term matching for this ad group (search ad groups only). Only meaningful when the parent campaign has AI Max enabled — search term matching is on by default there. | | `locations` | array of string or SelectableOption | No | - | Required for Demand Gen ad groups; unused for other ad group types. Accepts 2-letter ISO country codes (e.g., 'US', 'CA', 'GB') or Google Ads location IDs (e.g., '2840' for United States), including a mix of both. Use gads\_search\_geo\_targets to find location IDs for provinces, regions, cities, etc. | | `languages` | array of string or SelectableOption | No | - | Target languages for the ad group (Demand Gen only). Use 2-letter language codes (e.g., 'EN' for English). Default: All Languages. | | `channel_targeting` | array of string or SelectableOption | No | - | Channel targeting for Demand Gen ad groups. Available: 'GMAIL', 'DISCOVER', 'DISPLAY', 'YOUTUBE\_IN\_FEED', 'YOUTUBE\_IN\_STREAM', 'YOUTUBE\_SHORTS', 'MAPS'. Default: All Google channels (excluding Display) | | `use_audience_grouped` | boolean | No | - | Use reusable Audience resources for audience targeting. Immutable after the ad group is created and required for gads\_update\_audience\_signals. Defaults to true for Demand Gen ad groups and is not sent for other types unless provided. | | `user_list` | array of string | No | - | Audiences to target for App engagement ad groups. Accepts UserList IDs (e.g., '987654321') or full resource names (e.g., 'customers/123/userLists/987654321'). Required by Google for App engagement (APP\_CAMPAIGN\_FOR\_ENGAGEMENT) campaigns; leave empty for other App campaign types. | | `target_cpa` | number | No | - | Ad-group-level target CPA override in the account currency (e.g., 25 for \$25), NOT in micros. Applies when the campaign bids with Target CPA or Maximize Conversions with a target, and for App engagement ad groups; Google ignores it otherwise. | | `target_roas` | number | No | - | Ad-group-level target ROAS override (e.g., 3.5 for 350%). Applies when the campaign uses a standard Target ROAS or Maximize Conversion Value with a target; Google ignores it otherwise. | | `cpm_bid` | number | No | - | Rarely needed; leave unset unless the user asks for it. Maximum viewable CPM bid in the account currency (Display campaigns with manual CPM bidding). | | `target_cpm` | number | No | - | Rarely needed; leave unset unless the user asks for it. Target CPM in the account currency for campaigns bidding with Target CPM. | | `ad_rotation_mode` | string or SelectableOption | No | - | Ad rotation: 'OPTIMIZE' (Google default) or 'ROTATE\_FOREVER'. | | `tracking_url_template` | string | No | - | Ad-group-level tracking URL template, for example '`https://track.example.com/?u=\{lpurl`}'. | | `final_url_suffix` | string | No | - | Ad-group-level final URL suffix, for example 'utm\_source=google\&utm\_content=\{adgroupid}'. | | `url_custom_parameters` | array of object or string | No | - | Custom URL parameters as a JSON list of \{"key", "value"} objects, for example \[\{"key": "adgroup", "value": "brand"}]. Not supported on App ad groups. | | `optimized_targeting_enabled` | boolean | No | - | Enable optimized targeting (Display and Demand Gen ad groups). | | `exclude_demographic_expansion` | boolean | No | - | Rarely needed; leave unset unless the user asks for it. Keep demographics out of optimized targeting expansion; ignored unless optimized\_targeting\_enabled is true. | | `display_custom_bid_dimension` | string or SelectableOption | No | - | Rarely needed; leave unset unless the user asks for it. Targeting dimension that carries absolute bids on Display-only campaigns (KEYWORD, AUDIENCE, TOPIC, GENDER, AGE\_RANGE, PLACEMENT, PARENTAL\_STATUS, INCOME\_RANGE). | | `target_restrictions` | array of object or string | No | - | Rarely needed; leave unset unless the user asks for it. Targeting versus observation per dimension as a JSON list of \{"targeting\_dimension", "bid\_only"} objects, for example \[\{"targeting\_dimension": "AUDIENCE", "bid\_only": true}] for observation only. | | `excluded_parent_asset_field_types` | string or array of string | No | - | Rarely needed; leave unset unless the user asks for it. Campaign or account asset field types to exclude from this ad group, as AssetFieldType enum names (list or comma-separated). | | `excluded_parent_asset_set_types` | string or array of string | No | - | Rarely needed; leave unset unless the user asks for it. Campaign or account asset set types to exclude from this ad group, as AssetSetType enum names (list or comma-separated). | | `channel_strategy` | string or SelectableOption | No | - | Demand Gen channel strategy instead of picking channels: 'ALL\_CHANNELS' or 'ALL\_OWNED\_AND\_OPERATED\_CHANNELS'. When set, channel\_targeting is ignored. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ad group details. **Fields**: `ad_group_id`, `ad_group_name`, `campaign_id` # Create App Ad Source: https://docs.markifact.com/nodes/gads/gads_create_app_ad Creates an App campaign ad (App installs, engagement, or pre-registration) with headlines, descriptions, images, and YouTube videos Creates an App campaign ad (App installs, engagement, or pre-registration) with headlines, descriptions, images, and YouTube videos. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_app_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `ad_group_id` | string or SelectItem | Yes | - | Select the ad group for this ad (must be an App campaign ad group) | | `app_ad_type` | string or SelectableOption | Yes | - | App ad type, which must match the campaign's sub-type. Available: 'APP\_CAMPAIGN' (App installs, uses AppAdInfo), 'APP\_CAMPAIGN\_FOR\_ENGAGEMENT' (App engagement, uses AppEngagementAdInfo), 'APP\_CAMPAIGN\_FOR\_PRE\_REGISTRATION' (App pre-registration, uses AppPreRegistrationAdInfo). | | `headlines` | array of string | Yes | - | List of headlines (1-5 items, max 30 characters each). | | `descriptions` | array of string | Yes | - | List of descriptions (1-5 items, max 90 characters each). | | `images` | array of string | No | - | Image assets. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Optional, max 20. | | `youtube_videos` | array of string | No | - | YouTube videos (youtube.com watch, Shorts or live links, youtu.be links, or video ids). Optional, max 20. Used for all App ad types. | | `app_deep_link` | string | No | - | Optional deep link URL ('App URL') that sends people to a specific page in your app after they install (e.g., 'exampleapp\://productid\_1234'). Only used for 'APP\_CAMPAIGN' (App installs) ads. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ads details. **Fields**: `created_ads`, `created_count` # Create Callouts Source: https://docs.markifact.com/nodes/gads/gads_create_callouts Create callout extensions and attach them to Google Ads entities at account, campaign, or ad group level Create callout extensions and attach them to Google Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_callouts` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to attach the callouts. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the callouts (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the callouts (required if level is AD\_GROUP) | | `callout_texts` | array of string | Yes | - | List of callout texts. Each callout must be max 25 characters. | | `status` | string or SelectableOption | No | - | Status of the callout assets. Available options: 'ENABLED', 'PAUSED'. Default: ENABLED | | `start_date` | integer or string | No | - | Start date for when the callouts can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | End date for when the callouts stop serving (Unix timestamp or YYYY-MM-DD format) | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created callouts details. **Fields**: `callout_ids`, `callouts_created` # Create Campaign Source: https://docs.markifact.com/nodes/gads/gads_create_campaign Creates a new empty Google Ads campaign with specified settings (Search, Display, Performance Max, AI Max, Demand Gen, or Shopping campaigns) Creates a new empty Google Ads campaign with specified settings (Search, Display, Performance Max, AI Max, Demand Gen, or Shopping campaigns). | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_campaign` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `campaign_name` | string | Yes | - | Name for the campaign | | `campaign_type` | string or SelectableOption | Yes | - | Campaign type. Available: 'SEARCH', 'DISPLAY', 'PERFORMANCE\_MAX', 'DEMAND\_GEN', 'SHOPPING', 'APP' | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Campaign status. Default: PAUSED (recommended) | | `daily_budget` | number | Yes | - | Daily budget as an actual dollar value in the account currency, NOT in micros (e.g., pass 50 for $50, 12.5 for $12.50). Do not multiply by 1,000,000 — the backend converts to micros automatically. | | `locations` | array of string or SelectableOption | Yes | - | Target locations for the campaign. Use 2-letter ISO country codes (e.g., 'US', 'CA', 'GB') or Google Ads location IDs (e.g., '2840' for United States). Use the 'gads\_search\_geo\_targets' operation to find location IDs for cities, regions, etc. | | `languages` | array of string or SelectableOption | No | `[{'value': 'ALL', 'label': 'All Languages'}]` | Target languages for the campaign. Use 2-letter language codes (e.g., 'EN' for English, 'ES' for Spanish). Select 'ALL' or leave empty to target all languages (default). Not available for SEARCH campaigns (Google removed it in September 2026) or SHOPPING campaigns (they use the Merchant Center feed language). | | `bidding_strategy_type` | string or SelectableOption | No | - | Bidding strategy. Required for every campaign type except APP (derived from app\_focus), unless a portfolio bidding\_strategy is passed instead. Available: 'MANUAL\_CPC', 'MAXIMIZE\_CONVERSIONS', 'MAXIMIZE\_CONVERSION\_VALUE', 'TARGET\_IMPRESSION\_SHARE', 'TARGET\_SPEND'. | | `target_cpa` | number | No | - | Target CPA in account currency. Used for MAXIMIZE\_CONVERSIONS, and required for APP campaigns whose app\_focus is not INAPP\_VALUE. | | `target_roas` | number | No | - | Target ROAS (e.g., 3.5 for 350% ROAS). Used for MAXIMIZE\_CONVERSION\_VALUE, and required for APP campaigns whose app\_focus is INAPP\_VALUE. | | `location` | string or SelectableOption | No | - | Target location on page (only for TARGET\_IMPRESSION\_SHARE) | | `location_fraction` | number | No | - | Impression share target % (e.g., 65 for 65%, only for TARGET\_IMPRESSION\_SHARE) | | `cpc_bid_ceiling` | number | No | - | Max CPC bid as an actual dollar value in the account currency, NOT in micros (e.g., pass 2.5 for \$2.50). Do not multiply by 1,000,000 — the backend converts to micros automatically. Used for TARGET\_IMPRESSION\_SHARE or TARGET\_SPEND bidding strategies. | | `start_date` | integer or string | No | - | Campaign start date (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | Campaign end date (Unix timestamp or YYYY-MM-DD format) | | `tracking_url_template` | string | No | - | Campaign-level tracking URL template, for example '`https://track.example.com/?u=\{lpurl`}'. Not supported for APP campaigns. | | `final_url_suffix` | string | No | - | Campaign-level final URL suffix appended to landing pages, for example 'utm\_source=google\&utm\_campaign=\{campaignid}'. Not supported for APP campaigns. | | `url_custom_parameters` | array of object or string | No | - | Custom URL parameters as a JSON list of \{"key", "value"} objects, for example \[\{"key": "channel", "value": "search"}]. | | `campaign_group` | string | No | - | Rarely needed; leave unset unless the user asks for it. Campaign group ID or resource name (customers/\{cid}/campaignGroups/\{id}) to add the campaign to. | | `bidding_strategy` | string | No | - | Portfolio bidding strategy ID or resource name (customers/\{cid}/biddingStrategies/\{id}). When set, the campaign uses that shared strategy and bidding\_strategy\_type is not needed. Not supported for APP campaigns. | | `payment_mode` | string or SelectableOption | No | - | Rarely needed; leave unset unless the user asks for it. Payment mode: 'CLICKS', 'CONVERSIONS', 'CONVERSION\_VALUE', or 'GUEST\_STAY'. Leave unset for the Google default. | | `frequency_caps` | array of object or string | No | - | Frequency caps as a JSON list of Google Ads FrequencyCapEntry objects, for example \[\{"key": \{"level": "CAMPAIGN", "event\_type": "IMPRESSION", "time\_unit": "DAY", "time\_length": 1}, "cap": 3}]. DISPLAY only. | | `excluded_parent_asset_field_types` | string or array of string | No | - | Rarely needed; leave unset unless the user asks for it. Account-level asset field types to exclude from this campaign, as AssetFieldType enum names (for example SITELINK, CALLOUT), list or comma-separated. | | `excluded_parent_asset_set_types` | string or array of string | No | - | Rarely needed; leave unset unless the user asks for it. Account-level asset set types to exclude from this campaign, as AssetSetType enum names, list or comma-separated. | | `vanity_pharma` | object or string | No | - | Rarely needed; leave unset unless the user asks for it. Vanity pharma display settings as JSON with vanity\_pharma\_display\_url\_mode (MANUFACTURER\_WEBSITE\_URL or WEBSITE\_DESCRIPTION) and vanity\_pharma\_text (VanityPharmaText enum name). | | `use_audience_grouped` | boolean | No | - | Rarely needed; leave unset unless the user asks for it. Set true so the campaign targets reusable Audience resources instead of individual segments. Immutable after creation and blocks campaign-level segment exclusions. PERFORMANCE\_MAX and DEMAND\_GEN only. | | `geo_target_type` | string or SelectableOption | No | - | Geo target type setting. PRESENCE\_OR\_INTEREST (default): show ads to people in, regularly in, or who've shown interest in your targeted locations. PRESENCE: show ads only to people in or regularly in your targeted locations. | | `negative_geo_target_type` | string or SelectableOption | No | - | Rarely needed; leave unset unless the user asks for it. How excluded locations are matched: 'PRESENCE' (Google default) or 'PRESENCE\_OR\_INTEREST'. Not used for APP campaigns. | | `target_search_network` | boolean | No | `True` | Include Google Search Partners (SEARCH and SHOPPING campaigns). Default: enabled | | `target_content_network` | boolean | No | `False` | Enable Display Expansion (SEARCH campaigns only) | | `target_partner_search_network` | boolean | No | - | Rarely needed; leave unset unless the user asks for it. Serve on the Google Partner Network (SEARCH campaigns only; available to select partner accounts). | | `dynamic_search_ads_setting` | object or string | No | - | Dynamic Search Ads settings as JSON (SEARCH campaigns only): \{"domain\_name": "example.com", "language\_code": "en", "use\_supplied\_urls\_only": false}. | | `keyword_match_type` | string or SelectableOption | No | - | Rarely needed; leave unset unless the user asks for it. Campaign-level keyword match type (SEARCH campaigns only). The API only supports 'BROAD', which applies broad match to every keyword in the campaign; Google rejects it unless the account and bidding strategy are eligible for campaign-level broad match. | | `enable_ai_max` | boolean | No | `False` | Enable AI Max for Search (SEARCH campaigns only). Turns on Google's AI Max optimization suite: search term matching, text customization, and final URL expansion. Default: disabled. Maps to campaign.ai\_max\_setting.enable\_ai\_max; to turn AI Max on or off for an existing campaign, use gads\_mutate with a campaignOperation update on aiMaxSetting.enableAiMax. | | `merchant_id` | integer or string | No | - | Merchant Center account ID. Required for SHOPPING; optional for PERFORMANCE\_MAX (enables PMAX for retail), DEMAND\_GEN (product feed) and APP campaigns. If ID is unknown, fetch via `gads_run_gaql_query`: `SELECT product_link.merchant_center.merchant_center_id FROM product_link WHERE product_link.type = 'MERCHANT_CENTER'`. Local Inventory Ads are always on when the Merchant Center has local feeds; there is no campaign flag to disable them. For online-only serving, filter by channel: `gads_update_listing_groups` (Shopping ad groups) or an asset group listing group filter (Performance Max). | | `campaign_priority` | integer | No | - | Shopping campaign priority: 0 (low), 1 (medium), or 2 (high). Required for SHOPPING campaigns. Default: 0 | | `feed_label` | string | No | - | Feed label for products to advertise. Optional for SHOPPING, PERFORMANCE\_MAX and DEMAND\_GEN campaigns; if omitted, all products are eligible. Requires `merchant_id` to be set. | | `listing_type` | string or SelectableOption | No | - | Rarely needed; leave unset unless the user asks for it. Set 'VEHICLES' for vehicle ads (SHOPPING and PERFORMANCE\_MAX). Immutable after creation. | | `use_vehicle_inventory` | boolean | No | - | Rarely needed; leave unset unless the user asks for it. Target vehicle listing inventory (SHOPPING and PERFORMANCE\_MAX). Immutable after creation. | | `advertising_partner_ids` | string or array of string | No | - | Rarely needed; leave unset unless the user asks for it. Google Ads account IDs of advertising partners cooperating in a shared Shopping campaign, list or comma-separated. | | `ignore_brand_exclusion_in_shopping_ads` | boolean | No | - | Rarely needed; leave unset unless the user asks for it. Ignore account-level brand exclusions for Shopping ads in this campaign (SHOPPING only). | | `disable_product_feed` | boolean | No | - | Disable the optional product feed (DEMAND\_GEN only). Leave unset for a standard campaign without a feed; no Merchant Center ID is needed. Ignored when no other shopping settings are supplied. | | `brand_guidelines_enabled` | boolean | No | - | Enable Brand Guidelines on a PERFORMANCE\_MAX campaign. Immutable after creation. When enabled, supply business\_name and logo\_images, or reuse business\_name\_asset\_id and logo\_asset\_ids from the same account. The budget, campaign and brand asset links are created together. Default: disabled. | | `business_name` | string | No | - | Business name text for a PERFORMANCE\_MAX campaign with Brand Guidelines enabled. Alternatively supply business\_name\_asset\_id, not both. | | `logo_images` | string or array of string | No | - | Square logo image URLs for a PERFORMANCE\_MAX campaign with Brand Guidelines enabled. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Use a list or comma-separated URLs. Alternatively reuse logo\_asset\_ids; both sources may be combined. | | `business_name_asset_id` | string | No | - | Existing text asset ID or customers/\{customer\_id}/assets/\{asset\_id} resource name in this account to link as BUSINESS\_NAME. Alternative to business\_name; requires Brand Guidelines enabled. | | `logo_asset_ids` | string or array of string | No | - | Existing square image asset IDs or customers/\{customer\_id}/assets/\{asset\_id} resource names in this account to link as LOGO. List or comma-separated values; alternative or addition to logo\_images. Requires Brand Guidelines enabled. | | `asset_automation_settings` | array of object or string | No | - | PERFORMANCE\_MAX asset automation as a JSON list of \{"asset\_automation\_type", "asset\_automation\_status"} objects, for example \[\{"asset\_automation\_type": "FINAL\_URL\_EXPANSION\_TEXT\_ASSET\_AUTOMATION", "asset\_automation\_status": "OPTED\_OUT"}] to turn off final URL expansion. For AUTOMATED\_VIDEO\_CRAWL, add automated\_video\_crawl\_setting with the sources Google may use to find videos: \{"automated\_video\_crawl\_infos": \[\{"url": "`https://example.com`", "source\_platform": "LANDING\_PAGE", "enabled": true}]}; source\_platform is LANDING\_PAGE, SOCIAL or YOUTUBE. | | `pmax_campaign_settings` | object or string | No | - | Rarely needed; leave unset unless the user asks for it. PERFORMANCE\_MAX campaign settings as JSON: brand\_targeting\_overrides (\{"ignore\_exclusions\_for\_shopping\_ads": true}), local\_services\_enabled, and local\_services\_pmax\_campaign\_settings. A Local Services Performance Max campaign needs local\_services\_enabled true plus country\_code and listing\_id (the Google Business Profile listing), e.g. \{"local\_services\_enabled": true, "local\_services\_pmax\_campaign\_settings": \{"country\_code": "US", "listing\_id": 1234567890}}; optional navigational\_query\_leads\_enabled, founding\_year and phone\_numbers (\[\{"phone\_number": "+15551234567", "country\_code": "US", "phone\_number\_type": "DESTINATION\_PHONE\_NUMBER\_FOR\_ADS"}]). | | `upgraded_targeting` | boolean | No | - | Rarely needed; leave unset unless the user asks for it. Enable upgraded targeting on a DEMAND\_GEN campaign. Immutable after creation. | | `app_focus` | string or SelectableOption | No | - | App campaign focus (only for APP campaigns), matching the 'What do you want to focus on?' option in the Google Ads UI. Determines the campaign sub-type, optimization goal, and bid strategy. Available: 'INSTALL\_VOLUME' (Install volume — most installs at a target cost-per-install), 'INSTALL\_INAPP' (Install volume from users likely to take in-app actions), 'INAPP\_ACTIONS' (In-app actions — reach new users likely to complete in-app actions), 'ENGAGEMENT' (App engagement — re-engage existing users, min. 50K installs), 'INAPP\_VALUE' (In-app action value — maximize conversion value / ROAS), 'PRE\_REGISTRATION' (App pre-registration — Android only). | | `app_store` | string or SelectableOption | No | - | App store for the promoted app (only for APP campaigns). 'GOOGLE\_APP\_STORE' or 'APPLE\_APP\_STORE'. | | `app_id` | string | No | - | App identifier (only for APP campaigns). For Google Play use the package name (e.g., 'com.example.app'); for the Apple App Store use the numeric store ID (e.g., '123456789'). | | `conversion_actions` | array of string | No | - | Conversion actions to optimize for via selective optimization (APP campaigns only). Accepts conversion action IDs (e.g., '987654321') or full resource names (e.g., 'customers/123/conversionActions/987654321'). Required for INSTALL\_INAPP, INAPP\_ACTIONS, ENGAGEMENT, and INAPP\_VALUE; optional for INSTALL\_VOLUME; must be omitted for PRE\_REGISTRATION (added automatically by Google). | | `view_through_conversion_optimization_enabled` | boolean | No | - | Whether View-through Conversion (VTC) optimization is enabled for this campaign. Only allowed for certain Demand Gen and App campaigns; ignored for other campaign types. | | `contains_eu_political_advertising` | string or SelectableOption | No | - | EU political ads declaration that Google Ads requires on every new campaign: 'CONTAINS\_EU\_POLITICAL\_ADVERTISING' or 'DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING'. Defaults to DOES\_NOT\_CONTAIN\_EU\_POLITICAL\_ADVERTISING when omitted. This covers the new campaign only: if Google answers EU\_POLITICAL\_ADVERTISING\_DECLARATION\_REQUIRED, existing campaigns in the account still have no declaration (campaign.contains\_eu\_political\_advertising empty in GAQL) and Google blocks every write until they are declared, in the Google Ads UI or with gads\_mutate campaign updates on containsEuPoliticalAdvertising. The customerId in Google's error trigger is its own diagnostic, not the account this operation targeted. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created campaign details. **Fields**: `campaign_id`, `campaign_name` # Create Client Account Source: https://docs.markifact.com/nodes/gads/gads_create_client_account Create a new Google Ads client account under a manager (MCC) account, setting its name, currency, and timezone Create a new Google Ads client account under a manager (MCC) account, setting its name, currency, and timezone | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_client_account` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `manager_account` | GadsAccountItem or object or array of object or string or integer | Yes | - | The manager (MCC) account ID under which the new client account is created, for example '123-456-7890'. Must be a manager account the user has access to | | `account_name` | string | Yes | - | Descriptive name for the new client account | | `currency_code` | string | Yes | - | ISO 4217 currency code the new account operates in, for example 'USD'. Immutable after creation | | `time_zone` | string | Yes | - | IANA timezone ID for the new account, for example 'Asia/Dubai' or 'America/New\_York'. Immutable after creation | | `tracking_url_template` | string | No | - | Optional URL template for constructing tracking URLs, for example '\{lpurl}?device=\{device}' | | `email_address` | string | No | - | Optional email address of a user to invite as a user on the new account. Google restricts this to allowlisted customers; most callers should leave it empty | | `access_role` | string or SelectableOption | No | - | Role for the invited user. Options: 'ADMIN', 'STANDARD', 'READ\_ONLY', 'EMAIL\_ONLY'. Requires email\_address, and is restricted to allowlisted customers | | `validate_only` | boolean | No | `False` | When true, validates the request without creating the account. Only errors are returned | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created client account details. **Fields**: `customer_id`, `resource_name`, `account_name`, `manager_customer_id` # Create Conversion Action Source: https://docs.markifact.com/nodes/gads/gads_create_conversion_action Create a new conversion action in Google Ads, including upload (offline), webpage, call, and Google Play types, with category, status, counting, value settings, lookback windows, and attribution model Create a new conversion action in Google Ads, including upload (offline), webpage, call, and Google Play types, with category, status, counting, value settings, lookback windows, and attribution model | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_conversion_action` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `name` | string | Yes | - | Name for the new conversion action | | `conversion_type` | string or SelectableOption | Yes | - | Conversion action type. Only these types can be created via the API: 'UPLOAD\_CLICKS' (offline conversions imported with attributed clicks), 'UPLOAD\_CALLS', 'WEBPAGE', 'WEBSITE\_CALL', 'AD\_CALL', 'CLICK\_TO\_CALL', 'GOOGLE\_PLAY\_DOWNLOAD', 'GOOGLE\_PLAY\_IN\_APP\_PURCHASE' | | `category` | string or SelectableOption | No | - | The category of conversions reported for this conversion action, for example 'PURCHASE', 'SIGNUP', 'SUBMIT\_LEAD\_FORM', 'QUALIFIED\_LEAD'. Defaults to 'DEFAULT' when omitted | | `conversion_action_status` | string or SelectableOption | No | - | Status for conversion event accrual. Options: 'ENABLED', 'HIDDEN'. Defaults to 'ENABLED' | | `primary_for_goal` | boolean | No | - | Whether the conversion action is biddable (primary). When false it is only observed (secondary) and not used for bidding. Left unset, Google applies its default for the goal | | `counting_type` | string or SelectableOption | No | - | How conversions are counted. Options: 'ONE\_PER\_CLICK', 'MANY\_PER\_CLICK'. Use 'ONE\_PER\_CLICK' for leads and 'MANY\_PER\_CLICK' for purchases | | `default_value` | number | No | - | Default value applied to conversions of this action when no value is provided | | `default_currency_code` | string | No | - | ISO 4217 currency code for the default value, for example 'USD' | | `always_use_default_value` | boolean | No | - | When true, the default value always overrides per-conversion values | | `click_through_lookback_window_days` | integer | No | - | Maximum days between a click and the conversion event (limits vary by type, commonly 1-90) | | `view_through_lookback_window_days` | integer | No | - | Maximum days between an impression without interaction and the conversion event (commonly 1-30) | | `attribution_model` | string or SelectableOption | No | - | Attribution model. Options: 'GOOGLE\_ADS\_LAST\_CLICK', 'GOOGLE\_SEARCH\_ATTRIBUTION\_DATA\_DRIVEN', 'EXTERNAL' (for externally attributed uploads) | | `phone_call_duration_seconds` | integer | No | - | Call duration in seconds after which a conversion is reported. Only for call conversion types | | `app_id` | string | No | - | App ID for an app conversion action. Only for Google Play conversion types | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created conversion action details. **Fields**: `conversion_action_id`, `resource_name`, `name`, `conversion_type` # Create Demand Gen Carousel Ad Source: https://docs.markifact.com/nodes/gads/gads_create_demand_gen_carousel_ad Creates a Demand Gen carousel ad with 2-10 carousel cards (each with image, headline, and final URL) Creates a Demand Gen carousel ad with 2-10 carousel cards (each with image, headline, and final URL). | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_demand_gen_carousel_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `ad_group_id` | string or SelectItem | Yes | - | Select the ad group for this ad (must be a Demand Gen ad group) | | `ad_status` | string or SelectItem | No | - | Select the status for the ad. Available options: 'ENABLED', 'PAUSED' | | `ad_name` | string | No | - | Optional name for the ad. If not provided, a name will be generated automatically. | | `business_name` | string | Yes | - | Your business/brand name (max 25 characters). | | `logo_image` | string | Yes | - | Logo image. Accepts a direct image URL or Google Drive share link (set to 'Anyone with the link'). 1:1 aspect ratio, min 128x128px. Required. | | `headline` | string | Yes | - | Headline of the ad (max 40 characters). | | `description` | string | Yes | - | Descriptive text of the ad (max 90 characters). | | `final_url` | string | Yes | - | Default landing page URL for the ad (e.g., `https://example.com`). | | `carousel_cards` | array of CarouselCard | Yes | - | List of carousel cards (min 2, max 10). | ### CarouselCard A single Demand Gen carousel card. | Field | Type | Required | Default | Description | | - | - | - | - | - | | `headline` | string | Yes | - | Headline of the carousel card. Required. Max 40 characters. | | `final_url` | string | Yes | - | Landing page URL for this card (e.g., `https://example.com/product`). Required. | | `marketing_image_asset` | string | No | - | 1.91:1 landscape marketing image. Accepts a direct image URL or Google Drive share link (set to 'Anyone with the link'). This and/or square\_marketing\_image\_asset is required. | | `square_marketing_image_asset` | string | No | - | 1:1 square marketing image. Accepts a direct image URL or Google Drive share link (set to 'Anyone with the link'). This and/or marketing\_image\_asset is required. | | `portrait_marketing_image_asset` | string | No | - | 4:5 portrait marketing image. Accepts a direct image URL or Google Drive share link (set to 'Anyone with the link'). Optional. | | `call_to_action_text` | string | No | - | Call to action text for this card (max 25 characters). Use plain text like 'Learn more' or 'Shop now'; no underscores needed. Optional. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created ads details. **Fields**: `created_ads`, `created_count` # Create Demand Gen Single Image Ad Source: https://docs.markifact.com/nodes/gads/gads_create_demand_gen_single_image_ad Creates Demand Gen single image ads with multiple image formats (landscape, square, portrait) and text assets Creates Demand Gen single image ads with multiple image formats (landscape, square, portrait) and text assets. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_demand_gen_single_image_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Available options: 'single' (Single Ad), 'bulk' (Multiple Ads) | | `ad_name` | string | No | - | Optional ad name for single mode, set as ad.name at creation. Google does not allow changing it through the API afterwards. In bulk mode, supply ad\_name on each row. Omitted or blank names are left unset. | | `ad_group_id` | string or SelectItem | No | - | Select the ad group for this ad (must be a Demand Gen ad group) | | `ad_status` | string or SelectItem | No | - | Select the status for the ad. Available options: 'ENABLED', 'PAUSED' | | `marketing_images` | array of string | No | - | Landscape marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1.91:1 aspect ratio, min 600x314px. At least one marketing image or square marketing image is required. Combined max is 20. | | `square_marketing_images` | array of string | No | - | Square marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1:1 aspect ratio, min 300x300px. At least one marketing image or square marketing image is required. Combined max is 20. | | `portrait_marketing_images` | array of string | No | - | Portrait marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 4:5 aspect ratio, min 480x600px. Optional. Combined with other marketing images, max is 20. | | `tall_portrait_marketing_images` | array of string | No | - | Tall portrait marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 9:16 aspect ratio, min 600x1067px. Optional. Combined with other marketing images, max is 20. | | `logo_images` | array of string | No | - | Logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1:1 aspect ratio, min 128x128px. At least 1 required, max 5. | | `headlines` | array of string | No | - | List of headlines (1-5 items, max 30 characters each). Required for single mode. | | `descriptions` | array of string | No | - | List of descriptions (1-5 items, max 90 characters each). Required for single mode. | | `business_name` | string | No | - | Your business/brand name (max 25 characters). Required for single mode. | | `final_url` | string | No | - | The landing page URL where users will go when they click the ad (e.g., `https://example.com`) | | `call_to_action_text` | string | No | - | Call to action button text (optional). Use plain text like 'Learn more' or 'Shop now'; no underscores needed. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'ad\_group\_id', 'final\_url', 'business\_name', 'headline\_1', 'description\_1', 'logo\_image\_1', and at least one of 'marketing\_image\_1' or 'square\_marketing\_image\_1'. Image columns accept direct image URLs or Google Drive share links (set to 'Anyone with the link'). Optional columns: 'ad\_name' (set at creation; cannot be changed through the API afterwards), 'marketing\_image\_2' to 'marketing\_image\_20', 'square\_marketing\_image\_2' to 'square\_marketing\_image\_20', 'portrait\_marketing\_image\_1' to 'portrait\_marketing\_image\_20', 'tall\_portrait\_marketing\_image\_1' to 'tall\_portrait\_marketing\_image\_20', 'logo\_image\_2' to 'logo\_image\_5', 'headline\_2' to 'headline\_5', 'description\_2' to 'description\_5', 'call\_to\_action\_text', 'ad\_status' (defaults to PAUSED if not provided). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ads details. **Fields**: `created_ads`, `created_count` # Create Demand Gen Video Ad Source: https://docs.markifact.com/nodes/gads/gads_create_demand_gen_video_ad Creates a Demand Gen video responsive ad with YouTube videos, logos, and text assets Creates a Demand Gen video responsive ad with YouTube videos, logos, and text assets. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_demand_gen_video_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `ad_group_id` | string or SelectItem | Yes | - | Select the ad group for this ad (must be a Demand Gen ad group) | | `ad_status` | string or SelectItem | No | - | Select the status for the ad. Available options: 'ENABLED', 'PAUSED' | | `ad_name` | string | No | - | Optional name for the ad. If not provided, a name will be generated automatically. | | `videos` | array of string | Yes | - | List of YouTube videos (1-5): youtube.com watch, Shorts or live links, youtu.be links, or video ids. Required. | | `logo_images` | array of string | Yes | - | Logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1:1 aspect ratio, min 128x128px. At least 1 required, max 5. | | `companion_banners` | array of string | No | - | Optional companion banner image. Accepts a direct image URL or Google Drive share link (set to 'Anyone with the link'). Single value supported by Google Ads. | | `headlines` | array of string | Yes | - | List of short headlines (1-5 items, max 30 characters each). | | `long_headlines` | array of string | No | - | Optional list of long headlines (0-5 items, max 90 characters each). | | `descriptions` | array of string | Yes | - | List of descriptions (1-5 items, max 90 characters each). | | `business_name` | string | Yes | - | Your business/brand name (max 25 characters). | | `final_url` | string | Yes | - | The landing page URL where users will go when they click the ad (e.g., `https://example.com`) | | `breadcrumb1` | string | No | - | Path 1: First part of text that appears in the ad with the displayed URL (optional). | | `breadcrumb2` | string | No | - | Path 2: Second part of text that appears in the ad with the displayed URL (optional). | | `call_to_action` | string or SelectableOption | No | - | Call to action type (e.g., SHOP\_NOW, LEARN\_MORE, SIGN\_UP). If not set, Google will automatically select the optimal CTA. | | `inventory_preferences` | array of string or SelectableOption | No | - | Choose which YouTube ad formats to prefer when serving the videos. Available: 'IN\_STREAM', 'IN\_FEED', 'SHORTS'. Default: no preference (Google serves on all formats). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ads details. **Fields**: `created_ads`, `created_count` # Create Description Asset Source: https://docs.markifact.com/nodes/gads/gads_create_description_asset Create description text assets and attach them to Google Ads campaigns Create description text assets and attach them to Google Ads campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_description_asset` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single description or multiple descriptions at once. Available options: 'single' (Single Description), 'bulk' (Multiple Descriptions) | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the description asset | | `description_text` | string | No | - | The description text (max 90 characters) | | `status` | string or SelectableOption | No | - | Status of the description asset. Available options: 'ENABLED', 'PAUSED'. Default: ENABLED | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'campaign\_id' (comma-separated for multiple), 'description\_text' (max 90 characters). Optional columns: 'status' (ENABLED/PAUSED, defaults to ENABLED). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created description asset details. **Fields**: `description_asset_ids`, `descriptions_created` # Create Headline Asset Source: https://docs.markifact.com/nodes/gads/gads_create_headline_asset Create headline text assets and attach them to Google Ads campaigns Create headline text assets and attach them to Google Ads campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_headline_asset` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single headline or multiple headlines at once. Available options: 'single' (Single Headline), 'bulk' (Multiple Headlines) | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the headline asset | | `headline_text` | string | No | - | The headline text (max 30 characters) | | `status` | string or SelectableOption | No | - | Status of the headline asset. Available options: 'ENABLED', 'PAUSED'. Default: ENABLED | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'campaign\_id' (comma-separated for multiple), 'headline\_text' (max 30 characters). Optional columns: 'status' (ENABLED/PAUSED, defaults to ENABLED). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created headline asset details. **Fields**: `headline_asset_ids`, `headlines_created` # Create Image Asset Source: https://docs.markifact.com/nodes/gads/gads_create_image_asset Upload image assets and link them to Google Ads campaigns or ad groups Upload image assets and link them to Google Ads campaigns or ad groups | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_image_asset` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to attach the image assets. Available options: 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the image assets (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the image assets (required if level is AD\_GROUP) | | `image_urls` | array of string | Yes | - | Images to upload as image assets. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). | | `status` | string or SelectableOption | No | - | Status of the image asset links. Available options: 'ENABLED', 'PAUSED'. Default: ENABLED | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created image asset details. **Fields**: `image_asset_ids`, `images_created` # Create Label Source: https://docs.markifact.com/nodes/gads/gads_create_label Create a new label in Google Ads Create a new label in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_label` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account to create the label in. | | `label_name` | string | Yes | - | Name for the label. | | `description` | string | No | - | Optional description for the label. | | `background_color` | string | No | - | Optional background color in hex format (e.g. #FF0000). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `Dict` Returns created label details. **Fields**: `label_name`, `label_id`, `label_resource_name` # Create Negative Keyword List Source: https://docs.markifact.com/nodes/gads/gads_create_negative_keyword_list Creates a new negative keyword list in Google Ads Creates a new negative keyword list in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_negative_keyword_list` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select Google Ads account to create the negative keyword list in. One account can be selected. | | `list_name` | string | Yes | - | Name for the negative keyword list | | `keywords` | string or array of string | Yes | - | Keywords to add to the negative list. Supports match type formatting: - \[keyword] for exact match - "keyword" for phrase match - keyword for broad match Can be entered as newline-separated or comma-separated text. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `Dict` Returns created negative keyword list details. **Fields**: `list_name`, `list_id`, `list_resource_name`, `keywords_added_count` # Create Placement Exclusion List Source: https://docs.markifact.com/nodes/gads/gads_create_placement_exclusion_list Creates a new placement exclusion list in Google Ads Creates a new placement exclusion list in Google Ads | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_placement_exclusion_list` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select Google Ads account to create the placement exclusion list in. One account can be selected. | | `list_name` | string | Yes | - | Name for the placement exclusion list | | `placements` | string or array of string | Yes | - | Placements to add to the exclusion list. Supports: - Website URLs: example.com - YouTube channels: youtube.com/channel/UCxxxxxxx - YouTube videos: youtube.com/watch?v=xxxxxxx - Mobile apps: 1-476943146 (iOS) or 2-com.example.app (Android) - Mobile app categories: mobileappcategory::60001 Can be entered as newline-separated or comma-separated text. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `Dict` Returns created placement exclusion list details. **Fields**: `list_name`, `list_id`, `list_resource_name`, `placements_added_count` # Create PMax Asset Group Source: https://docs.markifact.com/nodes/gads/gads_create_pmax_asset_group Creates an asset group for Performance Max campaigns with headlines, descriptions, images, and other assets Creates an asset group for Performance Max campaigns with headlines, descriptions, images, and other assets. Can be used after using operation: gads\_create\_campaign. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_pmax_asset_group` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `campaign_id` | string or SelectItem | Yes | - | Select the Performance Max campaign | | `asset_group_name` | string | Yes | - | Name for the asset group | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Asset group status. Default: PAUSED | | `final_url` | string | Yes | - | Landing page URL for the asset group | | `headlines` | array of string | Yes | - | List of headlines (3-15 items, max 30 characters each) | | `long_headline` | string | Yes | - | Long headline (max 90 characters) | | `descriptions` | array of string | Yes | - | List of descriptions (2-5 items, max 90 characters each) | | `business_name` | string | Yes | - | Business name (max 25 characters) | | `marketing_images` | array of string | No | - | Marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1.91:1 ratio, min 600x314px. At least one marketing or square marketing image required. | | `square_marketing_images` | array of string | No | - | Square marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1:1 ratio, min 300x300px. At least one marketing or square marketing image required. | | `logo_images` | array of string | No | - | Square logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1:1 ratio, min 128x128px, recommended 1200x1200px. | | `landscape_logo_images` | array of string | No | - | Landscape logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 4:1 ratio, min 512x128px, recommended 1200x300px. | | `youtube_videos` | array of string | No | - | YouTube videos (max 5): youtube.com watch, Shorts or live links, youtu.be links, or video ids. | | `call_to_action` | string or SelectableOption | No | - | Call to action type (e.g., SHOP\_NOW, LEARN\_MORE, SIGN\_UP). If not set, Google will automatically select the optimal CTA. | | `tracking_url_template` | string | No | - | Tracking template for this asset group's URLs, for example '\{lpurl}?utm\_source=google\&utm\_campaign=\{\_campaign}'. Overrides the campaign-level template. | | `final_url_suffix` | string | No | - | Parameters appended to the landing page URL, for example 'utm\_medium=pmax'. | | `url_custom_parameters` | array of object or string | No | - | Custom URL parameters as a JSON list of \{"key", "value"} objects, used as \{\_key} tags in the tracking template or final URL, for example \[\{"key": "group", "value": "summer"}]. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created asset group details. **Fields**: `asset_group_id`, `asset_group_name`, `campaign_id`, `final_url` # Create Promotion Asset Source: https://docs.markifact.com/nodes/gads/gads_create_promotion_asset Create promotion assets and attach them to Google Ads entities at account, campaign, or ad group level Create promotion assets and attach them to Google Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_promotion_asset` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single promotion asset or use bulk mode, when using bulk mode you need to provide structured\_data with the promotion assets details. | | `level` | string or SelectableOption | No | - | Choose where to attach the promotion asset. Required for single mode | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns (required when level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups (required when level is AD\_GROUP) | | `status` | string or SelectableOption | No | - | Status of the promotion asset link. Available options: ENABLED, PAUSED. Default: ENABLED | | `promotion_target` | string | No | - | Item. Required. A freeform description of what the promotion is targeting | | `final_url` | string | No | - | Final URL. Required. Landing page URL for the promotion asset | | `language_code` | string | No | - | Language code from Google Ads language options | | `currency_code` | string | No | - | Currency code. Required. Three-character ISO 4217 currency code | | `occasion` | string or SelectableOption | No | - | Promotion occasion | | `discount_type` | string or SelectableOption | No | - | Promotion type. Required. One of money\_amount\_off, percent\_off, up\_to\_money\_amount\_off, up\_to\_percent\_off | | `discount_value` | number | No | - | Discount value in normal units. Required. For money discount types use amount in currency units (e.g. 10.5), for percent discount types use percentage (e.g. 20) | | `promotion_trigger` | string or SelectableOption | No | - | Promotion details trigger type. Optional | | `promotion_code` | string | No | - | Promotion code users should use | | `orders_over_amount` | number | No | - | Minimum order amount in normal currency units for eligibility | | `promotion_barcode_type` | string or SelectableOption | No | - | Barcode type used for promotion barcode | | `promotion_barcode_content` | string | No | - | Text content to encode in the promotion barcode | | `promotion_qr_code_info` | object or string | No | - | Promotion QR info. Either plain text content or JSON with qr\_code\_content | | `redemption_start_date` | string | No | - | Redemption start date in yyyy-MM-dd format | | `redemption_end_date` | string | No | - | Redemption end date in yyyy-MM-dd format | | `start_date` | integer or string | No | - | Serving start date for when the promotion asset can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | Serving end date for when the promotion asset stops serving (Unix timestamp or YYYY-MM-DD format) | | `terms_and_conditions_text` | string | No | - | Terms and conditions text | | `terms_and_conditions_uri` | string | No | - | Terms and conditions URI | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. JSON data with required columns: 'level' (ACCOUNT/CAMPAIGN/AD\_GROUP), 'promotion\_target', 'final\_url', 'currency\_code', 'discount\_type', 'discount\_value'. Optional columns: 'campaign\_ids' (comma-separated for multiple, required for CAMPAIGN level), 'ad\_group\_ids' (comma-separated for multiple, required for AD\_GROUP level), 'status' (ENABLED/PAUSED, defaults to ENABLED), 'promotion\_trigger', 'promotion\_code', 'orders\_over\_amount', 'promotion\_barcode\_type', 'promotion\_barcode\_content', 'promotion\_qr\_code\_info', 'language\_code', 'occasion', 'redemption\_start\_date' (yyyy-MM-dd), 'redemption\_end\_date' (yyyy-MM-dd), 'start\_date', 'end\_date' (YYYY-MM-DD or Unix timestamp), 'terms\_and\_conditions\_text', 'terms\_and\_conditions\_uri'. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created promotion asset details. **Fields**: `promotion_asset_ids`, `promotions_created` # Create Responsive Display Ad Source: https://docs.markifact.com/nodes/gads/gads_create_responsive_display_ad Creates responsive display ads (RDA) with images, videos, and text that automatically optimize across Google's display network Creates responsive display ads (RDA) with images, videos, and text that automatically optimize across Google's display network. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_responsive_display_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Available options: 'single' (Single Ad), 'bulk' (Multiple Ads) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group for this ad | | `ad_status` | string or SelectItem | No | - | Select the status for the ad. Available options: 'ENABLED', 'PAUSED' | | `marketing_images` | array of string | No | - | Marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1-15 items, 1.91:1 aspect ratio, min 600x314px. | | `square_marketing_images` | array of string | No | - | Square marketing images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). 1-15 items combined with marketing\_images, 1:1 aspect ratio, min 300x300px. | | `logo_images` | array of string | No | - | Logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Max 5 items combined with square\_logo\_images, 4:1 aspect ratio, min 512x128px. | | `square_logo_images` | array of string | No | - | Square logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Max 5 items combined with logo\_images, 1:1 aspect ratio, min 128x128px. | | `headlines` | array of string | No | - | List of short headlines (1-5 items, max 30 characters each). Required for single mode. | | `long_headline` | string | No | - | One long headline (max 90 characters). Required for single mode. | | `descriptions` | array of string | No | - | List of descriptions (1-5 items, max 90 characters each). Required for single mode. | | `business_name` | string | No | - | Your business name (max 25 characters). Required for single mode. | | `final_url` | string | No | - | The landing page URL where users will go when they click the ad (e.g., `https://example.com`) | | `call_to_action_text` | string | No | - | Call to action button text (optional, max 30 characters). Use plain text like 'Learn more' or 'Shop now'; no underscores needed. | | `youtube_videos` | array of string | No | - | List of YouTube videos (max 5): youtube.com watch, Shorts or live links, youtu.be links, or video ids. Optional. | | `main_color` | string | No | - | Main ad color in hex format (e.g., #FF5733). Requires accent\_color if set. | | `accent_color` | string | No | - | Accent color in hex format (e.g., #FFFFFF). Requires main\_color if set. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'ad\_group\_id', 'final\_url', 'business\_name', 'long\_headline', 'headlines' (list of strings, 1-5 items, max 30 chars each), 'descriptions' (list of strings, 1-5 items, max 90 chars each), and at least one of 'marketing\_image\_1' or 'square\_marketing\_image\_1'. Image columns accept direct image URLs or Google Drive share links (set to 'Anyone with the link'). YouTube video columns accept youtube.com watch, Shorts or live links, youtu.be links, or video ids. Optional columns: 'marketing\_image\_2' to 'marketing\_image\_15', 'square\_marketing\_image\_2' to 'square\_marketing\_image\_15', 'logo\_image\_1' to 'logo\_image\_5', 'square\_logo\_image\_1' to 'square\_logo\_image\_5', 'youtube\_video\_1' to 'youtube\_video\_5', 'call\_to\_action\_text', 'main\_color', 'accent\_color', 'ad\_status' (defaults to PAUSED if not provided). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ads details. **Fields**: `created_ads`, `created_count` # Create Responsive Search Ad Source: https://docs.markifact.com/nodes/gads/gads_create_responsive_search_ad Creates responsive search ads (RSA) with multiple headlines and descriptions that automatically optimize for best performance Creates responsive search ads (RSA) with multiple headlines and descriptions that automatically optimize for best performance. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_responsive_search_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Available options: 'single' (Single Ad), 'bulk' (Multiple Ads) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group for this ad | | `ad_status` | string or SelectItem | No | - | Select the status for the ad. Available options: 'ENABLED', 'PAUSED' | | `headlines` | array of string or object | No | - | List of headlines (3-15 items, max 30 characters each). Each item can be a string or an object with 'text' and optional 'pinned\_field' (HEADLINE\_1, HEADLINE\_2, HEADLINE\_3). Minimum 3 headlines are required. Supports dynamic insertions such as keyword insertion '\{Keyword:Default}', location '\{LOCATION(City):Default}', and countdown '\{COUNTDOWN(yyyy-MM-dd HH:mm:ss,days)}'. | | `descriptions` | array of string or object | No | - | List of descriptions (2-4 items, max 90 characters each). Each item can be a string or an object with 'text' and optional 'pinned\_field' (DESCRIPTION\_1, DESCRIPTION\_2). Minimum 2 descriptions are required. Supports dynamic insertions such as keyword insertion '\{Keyword:Default}', location '\{LOCATION(City):Default}', and countdown '\{COUNTDOWN(yyyy-MM-dd HH:mm:ss,days)}'. | | `final_url` | string | No | - | The landing page URL where users will go when they click the ad (e.g., `https://example.com`) | | `path_1` | string | No | - | First display path shown in the ad URL (optional, max 15 characters, e.g., 'products') | | `path_2` | string | No | - | Second display path shown in the ad URL (optional, max 15 characters, e.g., 'shoes') | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'ad\_group\_id', 'final\_url', 'headlines' (list of strings or objects with 'text' and optional 'pinned\_field'), 'descriptions' (list of strings or objects with 'text' and optional 'pinned\_field'). Minimum 3 headlines and 2 descriptions required per row. Optional columns: 'path\_1', 'path\_2', 'ad\_status' (defaults to PAUSED if not provided). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ads details. **Fields**: `created_ads`, `created_count` # Create Sitelinks Source: https://docs.markifact.com/nodes/gads/gads_create_sitelinks Create sitelink extensions and attach them to Google Ads entities at account, campaign, or ad group level Create sitelink extensions and attach them to Google Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_sitelinks` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single sitelink or multiple sitelinks at once. Available options: 'single' (Single Sitelink), 'bulk' (Multiple Sitelinks) | | `level` | string or SelectableOption | No | - | Choose where to attach the sitelink. Required for 'single' mode. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the sitelink | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the sitelink | | `link_text` | string | No | - | The clickable text for the sitelink (max 25 characters) | | `final_url` | string | No | - | Landing page URL for the sitelink (e.g., `https://example.com`) | | `description1` | string | No | - | First description line (optional, max 35 characters) | | `description2` | string | No | - | Second description line (optional, max 35 characters) | | `status` | string or SelectableOption | No | - | Status of the sitelink asset. Available options: 'ENABLED', 'PAUSED'. Default: ENABLED | | `start_date` | integer or string | No | - | Start date for when the sitelink can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | End date for when the sitelink stops serving (Unix timestamp or YYYY-MM-DD format) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'level' (ACCOUNT/CAMPAIGN/AD\_GROUP), 'link\_text', 'final\_url'. Optional columns: 'description1', 'description2', 'status' (ENABLED/PAUSED, defaults to ENABLED), 'start\_date', 'end\_date' (YYYY-MM-DD or Unix timestamp). For CAMPAIGN level add 'campaign\_ids' (comma-separated for multiple), for AD\_GROUP level add 'ad\_group\_ids' (comma-separated for multiple). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created sitelinks details. **Fields**: `sitelink_ids`, `sitelinks_created` # Create Structured Snippets Source: https://docs.markifact.com/nodes/gads/gads_create_structured_snippets Create structured snippet extensions and attach them to Google Ads entities at account, campaign, or ad group level Create structured snippet extensions and attach them to Google Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_create_structured_snippets` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to attach the structured snippet. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the structured snippet (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the structured snippet (required if level is AD\_GROUP) | | `header` | string or SelectableOption | Yes | - | The header for the structured snippet. Available options: 'Amenities', 'Brands', 'Courses', 'Degree programs', 'Destinations', 'Featured hotels', 'Insurance coverage', 'Models', 'Neighborhoods', 'Service catalog', 'Shows', 'Styles', 'Types' | | `values` | array of string | Yes | - | List of snippet values. Must have 3-10 values, each max 25 characters. | | `status` | string or SelectableOption | No | - | Status of the structured snippet asset. Available options: 'ENABLED', 'PAUSED'. Default: ENABLED | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created structured snippet details. **Fields**: `asset_id`, `links_created` # Custom Google Ads App Source: https://docs.markifact.com/nodes/gads/gads_custom_app Connect Google Ads through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app and your Cloud project in Google Ads, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/adwords` | | **APIs to enable** | Google Ads API | | **Google account for the token** | a Google account that can sign in to Google Ads (a manager account login works best) | Google no longer requires a developer token, so the three values above are everything a Google Ads connection needs. Your Cloud project's Google Ads API access level and quota apply to every request Markifact makes with this connection. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Ads**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Google Ads"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Google Ads API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] This Google account has no accessible Google Ads accounts > > The refresh token belongs to a Google account that cannot sign in to Google Ads. Mint the token while signed in as a user with access to the accounts you want to manage. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/gads/gads_get_report) > > Pull Google Ads performance data # Edit Responsive Search Ad Source: https://docs.markifact.com/nodes/gads/gads_edit_responsive_search_ad Edit existing responsive search ads (RSA) — update headlines, descriptions, final URL, or display paths Edit existing responsive search ads (RSA) — update headlines, descriptions, final URL, or display paths. Only provided fields are changed; omitted fields keep their existing values. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_edit_responsive_search_ad` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to edit a single ad or multiple ads at once. Available options: 'single' (Single Ad), 'bulk' (Multiple Ads) | | `ad_id` | string or SelectItem | No | - | The ID of the responsive search ad to edit | | `headlines` | array of string or object | No | - | New list of headlines (3-15 items, max 30 characters each). Each item can be a string or an object with 'text' and optional 'pinned\_field' (HEADLINE\_1, HEADLINE\_2, HEADLINE\_3). If not provided, existing headlines are kept. | | `descriptions` | array of string or object | No | - | New list of descriptions (2-4 items, max 90 characters each). Each item can be a string or an object with 'text' and optional 'pinned\_field' (DESCRIPTION\_1, DESCRIPTION\_2). If not provided, existing descriptions are kept. | | `final_url` | string | No | - | New landing page URL (e.g., `https://example.com`). If not provided, existing URL is kept. | | `path_1` | string | No | - | New first display path shown in the ad URL (max 15 characters). If not provided, existing path is kept. | | `path_2` | string | No | - | New second display path shown in the ad URL (max 15 characters). If not provided, existing path is kept. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required column: 'ad\_id'. Optional columns: 'headlines' (list), 'descriptions' (list), 'final\_url', 'path\_1', 'path\_2'. Only provided fields will be updated; omitted fields keep their existing values. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns updated ads details. **Fields**: `updated_ads`, `updated_count` # Exclude Audience Segments Source: https://docs.markifact.com/nodes/gads/gads_exclude_audience_segments Exclude audience segments (remarketing lists, affinity, in-market, life events, detailed demographics, custom audiences, and combined audiences) at the campaign or ad group level to prevent ads fro... Exclude audience segments (remarketing lists, affinity, in-market, life events, detailed demographics, custom audiences, and combined audiences) at the campaign or ad group level to prevent ads from showing to those audiences. Use the `gads_list_audience_segments` node to find segment resource names. Note: this operation doesn't work with PMax and Demand Gen campaigns. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_exclude_audience_segments` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Level to apply audience exclusion: 'CAMPAIGN' or 'AD\_GROUP' | | `campaign_id` | string or SelectItem | No | - | Select the campaign (required when level is CAMPAIGN) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group (required when level is AD\_GROUP) | | `action` | string or SelectableOption | Yes | - | Action to perform: 'EXCLUDE' adds negative audience criteria to prevent ads from showing to these audiences, 'REMOVE\_EXCLUSION' removes existing negative audience criteria. | | `user_lists` | array of string or SelectableOption | No | - | User lists to exclude/un-exclude. Accepts either resource names (e.g., 'customers/\{customer\_id}/userLists/\{user\_list\_id}') or raw user\_list\_id values. | | `affinity_segments` | array of string or SelectableOption | No | - | Affinity segments to exclude/un-exclude. Accepts either resource names (e.g., 'customers/\{customer\_id}/userInterests/\{user\_interest\_id}') or raw user\_interest\_id values. | | `in_market_segments` | array of string or SelectableOption | No | - | In-market segments to exclude/un-exclude. Accepts either resource names (e.g., 'customers/\{customer\_id}/userInterests/\{user\_interest\_id}') or raw user\_interest\_id values. | | `life_event_segments` | array of string or SelectableOption | No | - | Life event resource names (e.g., 'customers/\{customer\_id}/lifeEvents/\{life\_event\_id}') or numeric life\_event\_id values. | | `detailed_demographics` | array of string or SelectableOption | No | - | Detailed demographic resource names (e.g., 'customers/\{customer\_id}/detailedDemographics/\{detailed\_demographic\_id}') or numeric extended\_demographic\_id values. | | `custom_audiences` | array of string or SelectableOption | No | - | Custom audiences to exclude/un-exclude. Accepts either resource names (e.g., 'customers/\{customer\_id}/customAudiences/\{custom\_audience\_id}') or raw custom\_audience\_id values. | | `combined_audiences` | array of string or SelectableOption | No | - | Combined audiences to exclude/un-exclude. Accepts either resource names (e.g., 'customers/\{customer\_id}/combinedAudiences/\{combined\_audience\_id}') or raw combined\_audience\_id values. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns audience segment exclusion operation results. **Fields**: `segments_modified`, `level`, `action`, `campaign_id`, `ad_group_id` # Generate Shareable Previews Source: https://docs.markifact.com/nodes/gads/gads_generate_shareable_previews Generate shareable Google Ads preview links for Performance Max asset groups, so a client can see how the ads look without a Google Ads login Generate shareable Google Ads preview links for Performance Max asset groups, so a client can see how the ads look without a Google Ads login. Google only supports Performance Max asset groups and some YouTube ad formats here; responsive search and display ads are rejected. The links expire, and the expiry comes back with each one. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_generate_shareable_previews` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Google Ads account that owns the asset groups. This must be the account the asset groups actually live in, not a manager above it, or Google reports that the asset group does not exist. | | `preview_type` | enum (`UI_PREVIEW`, `YOUTUBE_LIVE_PREVIEW`) | No | `UI_PREVIEW` | UI\_PREVIEW returns a shareable link to the preview in the Google Ads interface and is what asset groups use. YOUTUBE\_LIVE\_PREVIEW returns YouTube preview links and works only with ad IDs, not asset groups. | | `asset_group_ids` | string or array of string or integer | No | - | Performance Max asset group IDs to preview, as a list or comma separated. gads\_create\_pmax\_asset\_group returns these, and a report on the asset\_group resource lists existing ones. Use this for UI\_PREVIEW. | | `ad_ids` | string or array of string | No | - | Ad identifiers to preview, each written as adGroupId~~adId, for example 123456~~789012. Only used with YOUTUBE\_LIVE\_PREVIEW. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `List[Dict]` Returns one row per requested preview with its shareable URL and expiry. **Fields**: `asset_group_id`, `ad`, `resource_name`, `preview_url`, `youtube_tv_preview_url`, `expires_at` # Get Account History Source: https://docs.markifact.com/nodes/gads/gads_get_account_history Retrieves historical account activity and changes for Google Ads accounts Retrieves historical account activity and changes for Google Ads accounts | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_get_account_history` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Google Ads account to retrieve history for | | `time_range` | string or SelectableOption | No | - | Select the account-history period: 'last\_7\_days' and 'last\_14\_days' cover completed days and EXCLUDE today in each Google Ads account's timezone. Use 'today' to check changes made today; an empty prior-days result does not mean no changes occurred today. Other options: 'yesterday' (yesterday only) and 'last\_30\_days' (extended history window). | | `limit` | integer | No | - | Maximum number of history records to return (1-10000) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns account activity history. **Fields**: dynamic (depend on the inputs) # Get PMax Channel Split Report Source: https://docs.markifact.com/nodes/gads/gads_get_pmax_channel_split_report Generates Performance Max campaign reports split by advertising channels Generates Performance Max campaign reports split by advertising channels | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_get_pmax_channel_split_report` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | array (also accepts a comma-separated string) | Yes | - | | | `date_range` | DateRange | Yes | - | | | `metrics` | array of string or SelectableOption | Yes | - | | | `dimensions` | array of string or SelectableOption | No | - | | | `filters` | array of FilterItem | No | - | | | `orders` | array of OrderItem | No | - | | | `limit` | integer | No | `1000` | | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns channel-split performance data. **Fields**: dynamic (depend on the inputs) # Get Report Source: https://docs.markifact.com/nodes/gads/gads_get_report Retrieves Google Ads data with customizable metrics, dimensions, filters, date ranges, sorting options, and built-in accounts selector Retrieves Google Ads data with customizable metrics, dimensions, filters, date ranges, sorting options, and built-in accounts selector. Supports all reports including Campaigns, Ad Groups, Keywords, and more. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_get_report` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Brand Campaign", "clicks": 150, "impressions": 5000, "cost": 75.5 } ] ``` # Keyword Planner Source: https://docs.markifact.com/nodes/gads/gads_keyword_planner Researches keyword suggestions and search volume data for Google Ads campaigns Researches keyword suggestions and search volume data for Google Ads campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_keyword_planner` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `action_type` | string or SelectableOption | Yes | - | Choose which keyword planner action to perform. Available options: 'discover' (Discover Keywords), 'historical' (Historical Metrics) | | `seed_type` | string or SelectableOption | No | - | Choose how to provide seed data for keyword discovery. Available options: 'keywords' (Keyword List), 'url' (Website URL) | | `seed_keywords` | string | No | - | Enter keywords to use as seeds for discovery. Use only when 'discover' action is selected. Separate multiple keywords with newlines or commas (e.g., 'keyword1, keyword2') | | `seed_url` | string | No | - | Enter a website URL to discover related keywords (e.g., `https://example.com`). Use only when 'discover' action is selected | | `keywords` | string | No | - | Enter keywords to get historical metrics for. Use only when 'historical' action is selected. Separate multiple keywords with newlines or commas (e.g., 'keyword1, keyword2'). With monthly\_breakdown enabled, Google Ads allows at most 10 keywords per request; run the operation once per batch of 10 to cover more. | | `monthly_breakdown` | boolean | No | `False` | Show search volume metrics broken down by month, only applicable for 'historical' action. Limits the request to 10 keywords; run the operation once per batch of 10 for longer lists. | | `countries` | array of string or SelectableOption | No | - | Locations to target for keyword planning. Omit or leave empty for worldwide metrics across all locations. Use 2-letter ISO country codes (e.g. 'US', 'GB') or Google Ads location IDs (e.g. '2840'), which the 'gads\_search\_geo\_targets' operation returns for cities and regions. Google Ads allows at most 10 locations per request; run the operation once per group of 10 to cover more. | | `language` | string or SelectableOption | No | - | The language for the keywords, 2-letter language code (e.g., 'EN' for English, 'ES' for Spanish'). Omit for all languages. | | `network` | string or SelectableOption | No | - | Network the metrics cover: 'GOOGLE\_SEARCH' (Google Search only) or 'GOOGLE\_SEARCH\_AND\_PARTNERS' (default, also Google's default). | | `start_month` | string | No | - | First month of the metrics period, as YYYY-MM (e.g. '2025-10'). Use with end\_month. Omit both for the last 12 months; Google keeps up to 4 years and returns only the months it has. | | `end_month` | string | No | - | Last month of the metrics period, as YYYY-MM (e.g. '2026-09'). Use with start\_month. | | `limit` | integer | No | `100` | Maximum number of keywords to return (1-10000) | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns keyword ideas with search volume and competition data. **Fields**: dynamic (depend on the inputs) # List Audience Segments Source: https://docs.markifact.com/nodes/gads/gads_list_audience_segments List Google Ads audience segments by type with optional name search and result limit List Google Ads audience segments by type with optional name search and result limit. Supports: USER\_LIST, AFFINITY, IN\_MARKET, LIFE\_EVENT, DETAILED\_DEMOGRAPHICS, CUSTOM\_AUDIENCE, COMBINED\_AUDIENCE, AUDIENCE (reusable Audience entities used as PMax/Demand Gen signals), or ALL. To upload Customer Match members, use data\_manager\_ingest\_audience\_members with a Google Data Manager connection. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_list_audience_segments` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `segment_type` | string or SelectableOption | No | - | Audience segment type to list as per the Enum AudienceSegmentType. Note: 'AUDIENCE' is reusable Audience entities used as PMax/Demand Gen signals. | | `search_term` | string | No | - | Optional search term to filter audience names | | `limit` | integer | No | - | Maximum number of segments to return | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns audience segments. **Fields**: `type`, `id`, `name`, `resource_name` # List Report Fields Source: https://docs.markifact.com/nodes/gads/gads_list_report_fields Search and browse available Google Ads reporting metrics and dimensions before running reports Search and browse available Google Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(cost|conversions).*'}]. This is Markifact's curated reporting field list, not the full Google Ads API surface; a resource attribute not listed here can still be fetched with gads\_run\_gaql\_query. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Manage Custom Audience Source: https://docs.markifact.com/nodes/gads/gads_manage_custom_audience Create, update, or remove a Google Ads custom audience defined by keywords, URLs, place categories, or apps Create, update, or remove a Google Ads custom audience defined by keywords, URLs, place categories, or apps. Supports validate\_only to check requests without making changes. Not usable through gads\_mutate. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_custom_audience` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `action` | string or SelectableOption | Yes | - | What to do with the custom audience. Options: 'CREATE', 'UPDATE', 'REMOVE' | | `validate_only` | boolean | No | `False` | When true, Google Ads validates the CREATE, UPDATE, or REMOVE request without applying any changes. Returns validation confirmation instead of audience details. A CREATE dry run does not produce an audience ID for subsequent operations. Default: false. | | `custom_audience_id` | string | No | - | The custom audience ID to update or remove. Required for UPDATE and REMOVE | | `name` | string | No | - | Name of the custom audience, unique per account. Required for CREATE | | `audience_type` | string or SelectableOption | No | - | Type of the custom audience. New audiences can only be 'SEARCH' (people who searched these terms on Google) or 'AUTO' (Google picks interpretation per campaign goal). 'INTEREST' and 'PURCHASE\_INTENT' are legacy types kept only for existing audiences | | `description` | string | No | - | Description of the custom audience | | `members` | array of object or object or string | No | - | Members defining the audience, as a list of objects with 'member\_type' and 'value'. member\_type options: 'KEYWORD' (search term or interest keyword), 'URL' (a website URL people browse), 'PLACE\_CATEGORY' (numeric place category ID), 'APP' (app package id like 'com.example.app'). Example: \[\{"member\_type": "KEYWORD", "value": "running shoes"}, \{"member\_type": "URL", "value": "`https://example.com/running`"}]. On UPDATE, the provided list fully replaces the audience's existing members | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns affected audience details, or validate\_only=true and a confirmation message for a successful dry run. Dry runs do not return created resource IDs. **Fields**: `action`, `custom_audience_id`, `resource_name`, `validate_only`, `message` # Manage Customer Lifecycle Goals Source: https://docs.markifact.com/nodes/gads/gads_manage_customer_lifecycle_goals Manage Google Ads customer lifecycle goals: new customer acquisition (including bid for new customers only), customer retention and loyalty Manage Google Ads customer lifecycle goals: new customer acquisition (including bid for new customers only), customer retention and loyalty. Covers account goals, campaign settings and audience classifications. Supports validate-only and partial failures. Read settings with gads\_run\_gaql\_query; these services are separate from gads\_mutate. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_customer_lifecycle_goals` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Google Ads account owning the resource. With cross-account conversion tracking, manage account goals in the conversion account and campaign configurations in the advertising account. Account-level changes can affect multiple campaigns. | | `resource` | enum (`GOAL`, `CAMPAIGN_GOAL_CONFIG`, `USER_LIST_CUSTOMER_TYPE`) | Yes | - | GOAL: account-level NEW\_CUSTOMER\_ACQUISITION, CUSTOMER\_RETENTION or LOYALTY\_RETENTION goals (create/update, no remove). CAMPAIGN\_GOAL\_CONFIG: link a campaign to an existing goal, override values or set targeting (create/update/remove). USER\_LIST\_CUSTOMER\_TYPE: classify an existing audience for lifecycle goals (create/remove; change a classification by removing and creating it). One resource type per call. Read existing resources with gads\_run\_gaql\_query FROM goal, campaign\_goal\_config or user\_list\_customer\_type. | | `operations` | string or array of object | Yes | - | Native Google REST operations array or JSON string, forwarded unchanged. Each entry contains create, update or remove as supported by the selected resource; updates include updateMask (comma-separated camelCase paths) and resourceName. Do not wrap entries in goalOperation/campaignGoalConfigOperation. Use real resource names returned by Google; separate service calls cannot reference temporary IDs from another call. All native settings are supported. GOAL example: \[\{"create":\{"goalType":"NEW\_CUSTOMER\_ACQUISITION","newCustomerAcquisitionGoalSettings":\{"valueSettings":\{"additionalValue":50}}}}]. Other goal settings are retentionGoalSettings and loyaltyRetentionGoalSettings. Value settings expose additionalValue or valueMultiplier, and additionalHighLifetimeValue or highLifetimeValueMultiplier; Google determines which adjustments and campaign types are eligible. Only one account goal of each type is allowed: read and update an existing goal before creating another. CAMPAIGN\_GOAL\_CONFIG example: \[\{"create":\{"campaign":"customers/123/campaigns/456","goal":"customers/123/goals/789","campaignNewCustomerAcquisitionSettings":\{"targetOption":"TARGET\_SPECIFIC"}}}]. For acquisition, TARGET\_SPECIFIC means bid for new customers only (no valueSettingsOverride); TARGET\_ALL bids higher for new customers while also targeting existing customers. campaignRetentionSettings accepts targetOption and valueSettingsOverride; retention TARGET\_SPECIFIC requires Google allowlisting. campaignLoyaltyRetentionSettings accepts valueSettingsOverride, enableBidAdjustmentsForLoyaltyMembers and showTargetedLoyaltyMemberBenefitsInPla. Update example: \[\{"update":\{"resourceName":"customers/123/campaignGoalConfigs/456\~789","campaignNewCustomerAcquisitionSettings":\{"targetOption":"TARGET\_SPECIFIC"}},"updateMask":"campaignNewCustomerAcquisitionSettings.targetOption"}]. To clear a value, include its path in updateMask and omit that value from update. When switching to TARGET\_SPECIFIC, clear any existing valueSettingsOverride in the same update. USER\_LIST\_CUSTOMER\_TYPE example: \[\{"create":\{"userList":"customers/123/userLists/456","customerTypeCategory":"ALL\_CUSTOMERS"}}]. Categories include ALL\_CUSTOMERS, PURCHASERS, HIGH\_VALUE\_CUSTOMERS, DISENGAGED\_CUSTOMERS, QUALIFIED\_LEADS, CONVERTED\_LEADS, PAID\_SUBSCRIBERS, CART\_ABANDONERS and LOYALTY\_TIER\_1\_MEMBERS through LOYALTY\_TIER\_7\_MEMBERS. Remove example: \[\{"remove":"RESOURCE\_NAME\_FROM\_GOOGLE"}]. This classifies existing lists; it does not upload audience members. | | `partial_failure` | boolean | No | `False` | Allow valid operations to succeed while returning errors for failed entries. Default false: each call is atomic. | | `validate_only` | boolean | No | `False` | Validate without applying changes. No resource IDs are created; validation cannot supply a new goal ID for a later campaign call. Default false. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `Dict` Returns Google's results with resourceName and any structured partialFailureError. validate\_only=true identifies dry runs, which do not create resource IDs. A validation confirmation is added only when Google returns no partial failure. **Fields**: `results`, `partialFailureError`, `validate_only`, `message` # Manage Experiment Source: https://docs.markifact.com/nodes/gads/gads_manage_experiment Run the lifecycle of a Google Ads campaign experiment: schedule it to start, end it early, or promote the winning treatment to the base campaign Run the lifecycle of a Google Ads campaign experiment: schedule it to start, end it early, or promote the winning treatment to the base campaign. Experiments and their arms are created with gads\_mutate; this operation covers the lifecycle actions gads\_mutate cannot perform | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_experiment` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `action` | string or SelectableOption | Yes | - | Lifecycle action for the experiment. Options: 'SCHEDULE' (materialize the treatment campaign and start the experiment), 'END' (stop a running experiment before its end date), 'PROMOTE' (apply the winning treatment changes to the base campaign) | | `experiment_id` | string | Yes | - | The experiment to act on, as a numeric experiment ID or a full resource name like 'customers/1234567890/experiments/987654'. The experiment and its arms are typically created beforehand with gads\_mutate (experimentOperation and experimentArmOperation) | | `validate_only` | boolean | No | `False` | When true, validates the request without executing the action. Only errors are returned | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the experiment and the initiated lifecycle action. **Fields**: `action`, `experiment_id`, `resource_name` # Manage IP Exclusions Source: https://docs.markifact.com/nodes/gads/gads_manage_ip_exclusions Exclude or remove IP addresses at the Google Ads account level Exclude or remove IP addresses at the Google Ads account level | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_ip_exclusions` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account to manage IP exclusions for. | | `action` | string or SelectableOption | Yes | - | Choose whether to exclude IPs or remove existing IP exclusions. Options: 'exclude', 'remove'. | | `ip_addresses` | string or array of string | Yes | - | IP addresses to exclude or remove. Can be entered as newline-separated or comma-separated. Supports single IPs (e.g. 203.0.113.10) and CIDR ranges (e.g. 198.51.100.0/24). | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns details of excluded or removed IPs. **Fields**: `action`, `count` # Manage Label Assignment Source: https://docs.markifact.com/nodes/gads/gads_manage_label_assignment Attach or detach a label to/from campaigns, ad groups, ads, keywords, or the account Attach or detach a label to/from campaigns, ad groups, ads, keywords, or the account | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_label_assignment` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account. | | `action` | string or SelectableOption | Yes | - | Choose whether to attach or detach a label. Options: 'attach', 'detach'. | | `entity_type` | string or SelectableOption | Yes | - | The type of entity to apply the label to. Options: 'campaign', 'ad\_group', 'ad', 'keyword', 'customer'. | | `entity_ids` | string or array of string | No | - | Entity IDs to attach/detach the label to/from. Comma or newline separated. For ads, you can provide either a plain ad ID (e.g. 662800495135) or composite format (ad\_group\_id~~ad\_id). For keywords, you can provide either a plain keyword ID (e.g. 2076981815) or composite format (ad\_group\_id~~criterion\_id). Not needed for 'customer' entity type. | | `label_id` | string or SelectItem | Yes | - | The label ID or name to attach or detach. If a name is provided, it will be looked up automatically. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns label assignment result. **Fields**: `action`, `entity_type`, `count` # Manage Mcc Link Source: https://docs.markifact.com/nodes/gads/gads_manage_mcc_link Manage manager (MCC) account links: invite a client account, accept an invitation as the client, remove a client from a manager, or leave a manager as the client Manage manager (MCC) account links: invite a client account, accept an invitation as the client, remove a client from a manager, or leave a manager as the client. Unlink actions handle both pending invitations and active links automatically | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_mcc_link` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | The Google Ads account to act as. For 'INVITE' and 'REMOVE\_CLIENT' this is the manager (MCC) account; for 'ACCEPT' and 'LEAVE\_MANAGER' this is the client account | | `action` | string or SelectableOption | Yes | - | Link action. Options: 'INVITE' (manager sends a link invitation to a client account), 'ACCEPT' (client accepts a pending invitation from a manager), 'REMOVE\_CLIENT' (manager cancels a pending invitation or terminates an active link with a client), 'LEAVE\_MANAGER' (client refuses a pending invitation or unlinks from an active manager) | | `client_account_id` | string | No | - | The client account ID to invite or remove. Required for 'INVITE' and 'REMOVE\_CLIENT' | | `manager_account_id` | string | No | - | The manager (MCC) account ID to accept or leave. Required for 'ACCEPT' and 'LEAVE\_MANAGER' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the affected link, its previous status when applicable, and its new status. **Fields**: `action`, `resource_name`, `link_status` # Manage Portfolio Bidding Strategy Source: https://docs.markifact.com/nodes/gads/gads_manage_portfolio_bidding_strategy Creates or updates a reusable portfolio bidding strategy in Google Ads with bid limits, that can be assigned to multiple campaigns Creates or updates a reusable portfolio bidding strategy in Google Ads with bid limits, that can be assigned to multiple campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_portfolio_bidding_strategy` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account | | `action` | string or SelectableOption | Yes | - | Action to perform. Available options: 'create' (Create new strategy), 'update' (Update existing strategy) | | `strategy_name` | string | No | - | Name for the portfolio bidding strategy. Required for create, optional for update (to rename). | | `bidding_strategy_type` | string or SelectableOption | No | - | Portfolio bidding strategy type. Required for create. In update mode this is accepted for UI field display only and ignored by the backend logic. | | `bidding_strategy_id` | string | No | - | The ID of the existing portfolio bidding strategy to update. Required for update. | | `target_cpa` | number | No | - | Target cost-per-action in account currency. For TARGET\_CPA and MAXIMIZE\_CONVERSIONS. | | `target_roas` | number | No | - | Target return on ad spend ratio (e.g. 3.5 for 350%). For TARGET\_ROAS and MAXIMIZE\_CONVERSION\_VALUE. | | `location` | string or SelectableOption | No | - | Target location on the search results page. Only for TARGET\_IMPRESSION\_SHARE. | | `location_fraction` | number | No | - | Target impression share percentage, e.g. 65 for 65%. Only for TARGET\_IMPRESSION\_SHARE. | | `cpc_bid_ceiling` | number | No | - | Maximum CPC bid limit in account currency. Available for all portfolio strategy types. | | `cpc_bid_floor` | number | No | - | Minimum CPC bid limit in account currency. Available for TARGET\_CPA, TARGET\_ROAS, MAXIMIZE\_CONVERSIONS, MAXIMIZE\_CONVERSION\_VALUE. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the portfolio bidding strategy details including action performed. **Fields**: `action`, `bidding_strategy_name`, `bidding_strategy_id`, `bidding_strategy_resource_name`, `bidding_strategy_type`, `updated_fields` # Manage Recommendations Source: https://docs.markifact.com/nodes/gads/gads_manage_recommendations Apply or dismiss Google Ads recommendations, optionally with typed apply parameters to override Google's recommended values Apply or dismiss Google Ads recommendations, optionally with typed apply parameters to override Google's recommended values. Recommendations can be discovered by querying the recommendation resource with reporting operations | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_manage_recommendations` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `action` | string or SelectableOption | Yes | - | Whether to apply or dismiss the recommendations. Options: 'APPLY', 'DISMISS' | | `recommendations` | string or array of any or object | Yes | - | The recommendations to apply or dismiss. Accepts a list where each item is either a recommendation resource name from gads\_run\_gaql\_query like 'customers/1234567890/recommendations/NzA5MTEzNDc5OS0xMTUt', a bare recommendation ID, or (for APPLY only) an ApplyRecommendationOperation object with 'resourceName' plus optional typed apply parameters in Google's native camelCase, for example \{"resourceName": "customers/123/recommendations/NzA5MTEzNDc5OS0xMTUt", "campaignBudget": \{"newBudgetAmountMicros": "5000000"}} or \{"resourceName": "...", "raiseTargetCpaPerformanceBidTooLow": \{"targetCpaMultiplier": 1.2}}. Omit apply parameters to apply with Google's recommended values. Recommendation resource names come from querying the 'recommendation' resource with gads\_run\_gaql\_query or gads\_get\_report. All items in one run should be the same recommendation type when partial failure is off. Google Ads API v26. | | `partial_failure` | boolean | No | `True` | When true, valid operations succeed even if some operations fail | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-recommendation results and any partial failure errors. **Fields**: `action`, `results`, `rowErrors` # Mutate Source: https://docs.markifact.com/nodes/gads/gads_mutate Fallback Google Ads write operation for any create, update, or remove mutation that has no dedicated operation Fallback Google Ads write operation for any create, update, or remove mutation that has no dedicated operation. To upload Customer Match members, use data\_manager\_ingest\_audience\_members with a Google Data Manager connection. Always prefer a dedicated operation when one matches the task, for example gads\_update\_campaign\_budget, gads\_create\_campaign, or gads\_add\_negative\_keywords\_to\_campaigns. It covers nearly everything the Google Ads API supports through the generic googleAds:mutate REST endpoint, including user lists and remarketing audiences, conversion action settings (primary\_for\_goal, counting type, attribution model, lookback windows), removing or deleting negative keywords and criteria at shared list, campaign, and ad group level, shared sets, campaign and ad group criteria (locations, languages, devices, demographics, placements, topics), bid modifiers, customer settings, extension, assets, phone call, asset links, asset groups, listing groups, labels, bidding strategies, data exclusions and seasonality adjustments, experiments, and drafts. Supports multi-step grouped mutations across resource types, temporary negative resource IDs for chained creates, validate-only mode, and partial failure mode. If no dedicated operation exists, use this operation. Operations are sent to Google unchanged and Google's response is returned verbatim, so a rejection is Google validating the payload, not a Markifact bug: fix the payload (gads\_search\_gaql\_resources gives current field names) instead of submitting product feedback. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_mutate` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `mutate_operations` | string or array of object or object | Yes | - | Request body for Google's customers/\{id}/googleAds:mutate REST endpoint (Google Ads API v26), sent unchanged. Follow Google's REST reference for the resource: camelCase field names, one typed operation per entry (campaignOperation, adGroupOperation, adGroupAdOperation, assetOperation, ...) with create, update or remove, and update entries carry updateMask listing the changed fields. Prefer passing the mutateOperations array itself; you may also pass a full object containing mutateOperations, but the array is preferred. Important: only include fields that are valid for that exact Google Ads resource schema. Do not invent or add extra fields just because they seem logical. Customer scope already comes from the selected account and request URL, so do not include a customer field inside create objects unless that specific Google Ads operation explicitly supports it. If Google answers that a field is immutable or that mutates are not allowed for the resource, it is refusing that resource, not the payload: Google-managed resources such as Merchant Center asset set links and automatically created conversion actions cannot be changed from any API client. | | `partial_failure` | boolean | No | `False` | When true, allows valid operations to succeed even if some operations fail | | `validate_only` | boolean | No | `False` | When true, validates the grouped mutate request without applying any mutations. Use this when you are unsure whether a Google Ads mutate payload shape, operation type, or field is supported and want Google Ads to validate it safely before making changes. | | `response_content_type` | string or SelectableOption | No | - | Optional response content type. Available options: 'RESOURCE\_NAME\_ONLY', 'MUTABLE\_RESOURCE' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the raw Google Ads grouped mutate response, including mutate operation responses and any partial failure details. **Fields**: dynamic (depend on the inputs) # Rename Ad Group Source: https://docs.markifact.com/nodes/gads/gads_rename_ad_group Renames Google Ads ad groups Renames Google Ads ad groups | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_rename_ad_group` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple ad groups at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectableOption | No | - | Select the ad group to rename, ask the user for it if not provided | | `ad_group_name` | string | No | - | Enter the new name for the ad group | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains ad group IDs and new names. Your data must have these columns or JSON Keys: 'ad\_group\_id' and 'ad\_group\_name' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group rename. # Rename Campaign Source: https://docs.markifact.com/nodes/gads/gads_rename_campaign Renames Google Ads campaigns Renames Google Ads campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_rename_campaign` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign to rename | | `campaign_name` | string | No | - | Enter the new name for the campaign | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains campaign IDs and new names. Your data must have these columns or JSON Keys: 'campaign\_id' and 'campaign\_name' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign rename. # Run GAQL Query Source: https://docs.markifact.com/nodes/gads/gads_run_gaql_query Executes custom Google Ads Query Language (GAQL) queries to retrieve any resource information from Google Ads API like campaign settings, budgets, bids, audiences, extensions, assets, keywords, ads... Executes custom Google Ads Query Language (GAQL) queries to retrieve any resource information from Google Ads API like campaign settings, budgets, bids, audiences, extensions, assets, keywords, ads, ad groups, search terms, conversion actions, bidding strategies, labels, locations, negative keyword list, and shared sets. Prefer using the standard `gads_get_report` operation for normal performance reporting; use `gads_run_gaql_query` for advanced or unsupported reporting queries, resource lookups, or fields not covered by `gads_get_report`. If the exact FROM resource, metric, segment, or field compatibility is unclear, use `gads_search_gaql_resources` as an optional discovery helper. Note: Column names in the output replace dots with underscores for easier access. For example, campaign.id becomes campaign\_id. Results are returned verbatim from the Google Ads API: Markifact applies no transformation or derivation, so any unexpected value comes from Google itself, not a Markifact bug. IMPORTANT: monetary fields are returned as raw values from Google in micros (1/1,000,000 of currency unit, e.g. 50000000 = \$50). This includes any field whose name contains 'micros' (cost\_micros, campaign\_budget\_amount\_micros, average\_cpc, average\_cpm, etc.) — divide by 1,000,000 to get the actual dollar amount before passing to write operations like gads\_update\_campaign\_budget. Low-level passthrough: Google's response is authoritative. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_run_gaql_query` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask the user for it if not provided | | `account_id` | string | No | - | | | `customer_id` | string | No | - | | | `customer` | string | No | - | | | `customerId` | string | No | - | | | `manager_id` | string | No | - | | | `login_customer_id` | string | No | - | | | `manager_customer_id` | string | No | - | | | `loginCustomerId` | string | No | - | | | `query` | string | Yes | - | Enter the Google Ads Query Language (GAQL) query to run for the selected account. Use this when the standard `gads_get_report` operation does not cover the needed Google Ads data. If the correct FROM resource, metric, segment, or field compatibility is unclear, use `gads_search_gaql_resources` operation as an optional discovery helper before building the query. Queries should use fields supported by Google Ads API v26. | | `validate_only` | boolean | No | `False` | When true, validates the GAQL query using Google Ads Search without executing it or returning rows. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `List[Dict]` Returns query results as rows, each row is a dict with keys matching selected fields. Note: Column names in the output replace dots with underscores for easier access. For example, campaign.id becomes campaign\_id. **Fields**: dynamic (depend on the inputs) # Search GAQL Resources Source: https://docs.markifact.com/nodes/gads/gads_search_gaql_resources Optional discovery helper for Google Ads GAQL metadata Optional discovery helper for Google Ads GAQL metadata. Use this when building a custom GAQL query and you are unsure which FROM resource, metric, segment, attribute, or field compatibility is valid, or to verify a field's current name before a gads\_mutate when Google rejects it as unknown, since fields get renamed across API versions (REST payloads use camelCase of the returned name). Do not call this for simple GAQL queries you can write confidently. This returns metadata for query building, not account performance data. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_search_gaql_resources` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search` | string | No | - | Search Google Ads GAQL resources, fields, metrics, or segments by name. Search values must be GAQL-style field fragments, usually lowercase snake\_case with dots for prefixes. Do not use spaces: use 'impression\_share' or 'metrics.search\_impression\_share' instead of 'impression share'; Use without resource to discover metadata rows: \{'search':'conversion','category':'METRIC'} finds conversion-related metrics; \{'search':'impression\_share','category':'METRIC'} finds impression-share metrics; \{'search':'campaign','category':'RESOURCE'} finds campaign resources. Use with resource to check compatibility against a GAQL FROM resource: \{'resource':'campaign','search':'segments.device'} checks whether the device segment is compatible with FROM campaign; \{'resource':'shopping\_product','search':'shopping\_product.target\_countries'} checks an attribute, including fields of joined resources such as campaign.name. For a broad compatibility lookup, leave search empty and set resource only. | | `category` | enum (`ALL`, `RESOURCE`, `ATTRIBUTE`, `SEGMENT`, `METRIC`) | No | `ALL` | Filter broad searches by GoogleAdsField category. Ignored when resource is supplied, since compatibility checks first resolve its exact RESOURCE metadata. Use RESOURCE to find valid FROM resources, METRIC to find metrics such as metrics.cost\_micros, SEGMENT to find segments such as segments.date, ATTRIBUTE to find selectable attributes, and ALL to search all categories. | | `resource` | string | No | - | Optional GAQL FROM resource to inspect, such as campaign, ad\_group, customer, or ad\_group\_ad. When provided, returns compatible metrics, segments, and attribute resources for that exact FROM resource. Attribute compatibility includes both attributed and segmenting resources. Examples: \{'resource':'campaign'} returns the full campaign compatibility list. | | `include_selectable_with` | boolean | No | `False` | Include the selectable\_with compatibility list. This can be large, so leave it false unless you specifically need field-level compatibility details for a returned metric, segment, or attribute. | | `limit` | integer | No | `50` | Maximum number of metadata rows to return for broad searches. Resource-only and resource-plus-search checks usually return one row. | ## Output **Type**: `List[Dict]` Returns GAQL resource and field metadata for building valid Google Ads queries. **Fields**: dynamic (depend on the inputs) # Search Geo Targets Source: https://docs.markifact.com/nodes/gads/gads_search_geo_targets Search for Google Ads geo target location IDs by name Search for Google Ads geo target location IDs by name. Find location IDs for cities, regions, countries, and other geographic targets to use in campaign targeting. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_search_geo_targets` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search_terms` | string | Yes | - | Location names to search for, separated by commas or newlines (e.g., 'Paris, New York, California') | | `country_code` | string | No | - | Optional 2-letter ISO country code to filter results (e.g., 'US', 'FR') | | `locale` | string | No | `en` | Locale for results (e.g., 'en', 'fr', 'de'). Default: 'en' | | `limit` | integer | No | `50` | Maximum number of results to return. Default: 50 | ## Output **Type**: `List[Dict]` Returns list of matching geo target locations with IDs, names, country codes, and target types. **Fields**: `location_id`, `name`, `canonical_name`, `country_code`, `target_type`, `status`, `reach`, `search_term` # Select Accounts Source: https://docs.markifact.com/nodes/gads/gads_select_accounts Select Google Ads accounts once and reuse them across multiple gads_get_report nodes—no repeated account selection Select Google Ads accounts once and reuse them across multiple gads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one gads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_select_accounts` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name), value (account ID), and managerId. **Fields**: `label`, `value`, `managerId` # Suggest Brands Source: https://docs.markifact.com/nodes/gads/gads_suggest_brands Find Google Ads brand IDs by name prefix for Performance Max brand exclusions and Search brand inclusions or exclusions Find Google Ads brand IDs by name prefix for Performance Max brand exclusions and Search brand inclusions or exclusions. This is a read-only lookup; use gads\_mutate to manage brand lists and their targeting. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_suggest_brands` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Google Ads account for the brand lookup. | | `brand_prefix` | string | Yes | - | Brand name or starting characters to search for, for example 'Nike'. Returns matching brands from Google's brand library, not competitor recommendations. | | `selected_brands` | string or array of string | No | - | Brand IDs to exclude from suggestions because they are already selected. Use IDs returned by this operation, not brand names. Accepts a list, a JSON array, or comma/newline-separated IDs. This only filters the lookup results; it does not change any brand list or campaign. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ## Output **Type**: `List[Dict]` Returns Google's matching brands unchanged: id (Commercial Knowledge Graph entity ID), name, identifying urls, and state. Use id as SharedCriterion.brand.entity\_id when managing a brand list. Returns an empty list when no brands match. **Fields**: `id`, `name`, `urls`, `state` # Target Audience Segments Source: https://docs.markifact.com/nodes/gads/gads_target_audience_segments Add or remove audience segments (remarketing lists, affinity, in-market, life events, detailed demographics, custom audiences, and combined audiences) at the campaign or ad group level with Targeti... Add or remove audience segments (remarketing lists, affinity, in-market, life events, detailed demographics, custom audiences, and combined audiences) at the campaign or ad group level with Targeting or Observation settings. Use the `gads_list_audience_segments` node to find segment resource names. Note: this operation doesn't work with PMax and Demand Gen campaigns, which use Audience Signals instead. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_target_audience_segments` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Level to apply audience targeting: 'CAMPAIGN' or 'AD\_GROUP'. For 'display' campaigns, audience targeting can only be applied at the 'AD\_GROUP' level | | `campaign_id` | string or SelectItem | No | - | Select the campaign (required when level is CAMPAIGN) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group (required when level is AD\_GROUP) | | `action` | string or SelectableOption | Yes | - | Action to perform: 'ADD' appends the selected audience segments to existing targeting (does not overwrite current segments), 'REMOVE' removes only the selected segments. | | `audience_setting` | string or SelectableOption | No | - | Audience setting: 'TARGETING' (only show ads to audience) or 'OBSERVATION' (monitor & bid adjust). Only used when adding segments. | | `user_lists` | array of string or SelectableOption | No | - | User lists to target/remove. Accepts either resource names (e.g., 'customers/\{customer\_id}/userLists/\{user\_list\_id}') or raw user\_list\_id values. | | `affinity_segments` | array of string or SelectableOption | No | - | Affinity segments to target/remove. Accepts either resource names (e.g., 'customers/\{customer\_id}/userInterests/\{user\_interest\_id}') or raw user\_interest\_id values. | | `in_market_segments` | array of string or SelectableOption | No | - | In-market segments to target/remove. Accepts either resource names (e.g., 'customers/\{customer\_id}/userInterests/\{user\_interest\_id}') or raw user\_interest\_id values. | | `life_event_segments` | array of string or SelectableOption | No | - | Life event resource names (e.g., 'customers/\{customer\_id}/lifeEvents/\{life\_event\_id}') or numeric life\_event\_id values. | | `detailed_demographics` | array of string or SelectableOption | No | - | Detailed demographic resource names (e.g., 'customers/\{customer\_id}/detailedDemographics/\{detailed\_demographic\_id}') or numeric extended\_demographic\_id values. | | `custom_audiences` | array of string or SelectableOption | No | - | Custom audiences to target/remove. Accepts either resource names (e.g., 'customers/\{customer\_id}/customAudiences/\{custom\_audience\_id}') or raw custom\_audience\_id values. | | `combined_audiences` | array of string or SelectableOption | No | - | Combined audiences to target/remove. Accepts either resource names (e.g., 'customers/\{customer\_id}/combinedAudiences/\{combined\_audience\_id}') or raw combined\_audience\_id values. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns audience segment operation results. **Fields**: `segments_modified`, `level`, `action`, `campaign_id`, `ad_group_id` # Update Ad Group Bid Source: https://docs.markifact.com/nodes/gads/gads_update_ad_group_bid Updates the bid settings of Google Ads ad groups (CPC bid, Target CPA, Target ROAS, CPM bid) Updates the bid settings of Google Ads ad groups (CPC bid, Target CPA, Target ROAS, CPM bid) | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_ad_group_bid` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group to update, ask the user for it if not provided | | `bid_type` | string or SelectableOption | No | - | Select the bid type. Available options: 'cpc\_bid' (Max CPC Bid), 'target\_cpa' (Target CPA Override), 'target\_roas' (Target ROAS Override), 'cpm\_bid' (Max CPM Bid) | | `bid_amount` | number | No | - | The bid amount in account currency. For CPC/CPM/Target CPA, enter the amount (e.g., 2.50 for \$2.50). For Target ROAS, enter the ratio (e.g., 2.5 for 250% ROAS) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains ad group IDs, bid types, and bid amounts. Required columns: 'ad\_group\_id', 'bid\_type', 'bid\_amount' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group bid update. # Update Ad Group Status Source: https://docs.markifact.com/nodes/gads/gads_update_ad_group_status Updates the status of Google Ads ad groups (enable, pause, or remove) for campaign management Updates the status of Google Ads ad groups (enable, pause, or remove) for campaign management | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_ad_group_status` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single Ad Group or multiple Ad Groups at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectableOption | No | - | Select the Ad Group to update, ask the user for it if not provided | | `ad_group_status` | string or SelectableOption | No | - | Select the new status for the Ad Group. Available options: 'ENABLED', 'PAUSED', 'REMOVED' | | `bulk_input_type` | string or SelectableOption | No | - | Choose how to provide your Ad Group data. Available options: 'manual' (Map Fields Individually), 'structured' (Use Structured Data) | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Select the source of Ad Group IDs | | `ad_group_statuses` | array of string (also accepts a comma-separated string) | No | - | Select the source of status values | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains both Ad Group IDs and statuses. Your data must have these columns or JSON Keys: 'ad\_group\_id' and 'status' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group status update. # Update Ad Status Source: https://docs.markifact.com/nodes/gads/gads_update_ad_status Updates the status of Google Ads (enable, pause, or remove) for campaign management Updates the status of Google Ads (enable, pause, or remove) for campaign management | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_ad_status` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single Ad or multiple Ads at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_id` | string or SelectableOption | No | - | Required for 'single' update mode. The same ad can sit in several ad groups, each with its own status, so identify the placement: '\~~\' (e.g. '123325082381~~531279489801'), the full resource name 'customers/\/adGroupAds/\\~\', or a bare ad ID together with ad\_group\_id. A bare ad ID alone works only when the ad is in one ad group; otherwise it is rejected with the list of ad groups. | | `ad_group_id` | string or SelectableOption | No | - | Ad group ID for 'single' update mode, used when ad\_id is a bare ad ID. | | `status` | string or SelectableOption | No | - | Available options: 'ENABLED', 'PAUSED', 'REMOVED'. Required for 'single' update mode | | `structured_data` | array (also accepts a comma-separated string) | No | - | Required when update type is 'bulk'. Your data must have these columns or JSON Keys: 'ad\_id' and 'status', plus 'ad\_group\_id' when ad\_id is a bare ad ID. ad\_id accepts the same forms as single mode. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad status update. # Update Asset Status Source: https://docs.markifact.com/nodes/gads/gads_update_asset_status Updates the link status of Google Ads Assets (enable, pause, or remove the link between asset and ad group or campaign) Updates the link status of Google Ads Assets (enable, pause, or remove the link between asset and ad group or campaign). Covers all asset & extensions types including sitelink, callout, image, video, and more. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_asset_status` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single Asset or multiple Assets at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `asset_id` | string or SelectableOption | No | - | Enter the asset ID. Required for 'single' update mode | | `status` | string or SelectableOption | No | - | Available options: 'ENABLED', 'PAUSED', 'REMOVED'. Required for 'single' update mode | | `structured_data` | array (also accepts a comma-separated string) | No | - | Required when update type is 'bulk'. Your data must have these columns or JSON Keys: 'asset\_id' and 'status' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming asset status update. # Update Audience Signals Source: https://docs.markifact.com/nodes/gads/gads_update_audience_signals Add or remove audience signals on Performance Max and Demand Gen campaigns Add or remove audience signals on Performance Max and Demand Gen campaigns. PMax uses AssetGroupSignal (one audience and optional search themes per asset group). Demand Gen uses ad-group audience criteria (one audience per ad group). Use the `gads_list_audience_segments` node with segment\_type='AUDIENCE' to find reusable audience signal IDs. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_audience_signals` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `campaign_type` | string or SelectableOption | Yes | - | Type of campaign to attach signals to. 'PERFORMANCE\_MAX' uses asset group signals; 'DEMAND\_GEN' uses ad group audience criteria. | | `target_id` | string or SelectableOption | Yes | - | For PERFORMANCE\_MAX: the asset\_group ID to attach signals to. For DEMAND\_GEN: the ad\_group ID. | | `action` | string or SelectableOption | Yes | - | 'ADD' attaches the selected audiences (and search themes for PMax) as signals. 'REMOVE' detaches them. | | `audience_id` | string or SelectableOption | No | - | Reusable Audience ID or full resource name (e.g. 'customers/\{customer\_id}/audiences/\{audience\_id}'). Google Ads only allows ONE audience per asset group (PMax) or ad group (Demand Gen). Use the `gads_list_audience_segments` node with segment\_type='AUDIENCE' to find IDs. | | `search_themes` | array of string or SelectableOption | No | - | Search theme strings (PERFORMANCE\_MAX only). Each is a free-form text describing what users may search for. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns audience signal operation results. **Fields**: `signals_modified`, `campaign_type`, `action`, `target_id` # Update Campaign Ad Schedule Source: https://docs.markifact.com/nodes/gads/gads_update_campaign_ad_schedule Updates ad schedule (day and time targeting) and optional schedule-level bid adjustments / modifiers for Google Ads campaigns Updates ad schedule (day and time targeting) and optional schedule-level bid adjustments / modifiers for Google Ads campaigns. Sets which days and hours ads should run and can increase or decrease bids by percentage for each schedule. Replaces all existing ad schedules. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_campaign_ad_schedule` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `campaign_id` | string or SelectItem | Yes | - | Select the campaign to update ad schedule for | | `schedules` | array of AdScheduleEntry | Yes | - | List of ad schedule entries. Each entry has: day (ALL\_DAYS, MONDAYS\_FRIDAYS, SATURDAYS\_SUNDAYS, or individual day like MONDAYS), start\_time (HH:MM), end\_time (HH:MM), and optional bid\_modifier percent. This replaces all existing ad schedules on the campaign. | ### AdScheduleEntry | Field | Type | Required | Default | Description | | - | - | - | - | - | | `day` | string | Yes | - | Day selection. Options: ALL\_DAYS, MONDAYS\_FRIDAYS, SATURDAYS\_SUNDAYS, MONDAYS, TUESDAYS, WEDNESDAYS, THURSDAYS, FRIDAYS, SATURDAYS, SUNDAYS | | `start_time` | string | Yes | - | Start time in HH:MM format (e.g., '09:00'). Minutes must be 00, 15, 30, or 45. | | `end_time` | string | Yes | - | End time in HH:MM format (e.g., '17:00'). Use '24:00' for end of day. Minutes must be 00, 15, 30, or 45. | | `bid_modifier` | number | No | - | Optional bid adjustment percentage for this schedule. Use positive values to increase bids and negative values to decrease bids. Example: 20 means +20%, -15 means -15%. Allowed range: -90 to 900. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns update summary with campaign ID, schedules set, and any bid adjustments applied. **Fields**: `campaign_id`, `schedules_count`, `summary` # Update Campaign Bidding Strategy Source: https://docs.markifact.com/nodes/gads/gads_update_campaign_bidding_strategy Updates the bidding strategy for Google Ads campaigns (Manual CPC, Maximize Conversions, Maximize Conversion Value, Target Impression Share, Target Spend) Updates the bidding strategy for Google Ads campaigns (Manual CPC, Maximize Conversions, Maximize Conversion Value, Target Impression Share, Target Spend) | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_campaign_bidding_strategy` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign to update, ask the user for it if not provided | | `bidding_strategy_type` | string or SelectableOption | No | - | Select the bidding strategy type. Available options: 'MANUAL\_CPC', 'MAXIMIZE\_CONVERSIONS', 'MAXIMIZE\_CONVERSION\_VALUE', 'TARGET\_IMPRESSION\_SHARE', 'TARGET\_SPEND (Also known as 'Maximize Clicks')' | | `target_cpa` | number | No | - | The target cost-per-action (CPA) in account currency. If set, the bid strategy will get as many conversions as possible at or below the target CPA (only for MAXIMIZE\_CONVERSIONS strategy) | | `target_roas` | number | No | - | The target return on ad spend (ROAS). If set, the bid strategy will maximize revenue while averaging the target ROAS (only for MAXIMIZE\_CONVERSION\_VALUE strategy) | | `location` | string or SelectableOption | No | - | The targeted location on the search results page. Available options: 'ANYWHERE\_ON\_PAGE', 'TOP\_OF\_PAGE', 'ABSOLUTE\_TOP\_OF\_PAGE' (only for TARGET\_IMPRESSION\_SHARE strategy) | | `location_fraction` | number | No | - | The chosen fraction of ads to be shown in the targeted location as a percentage (e.g., 65 for 65%). Only for TARGET\_IMPRESSION\_SHARE strategy | | `cpc_bid_ceiling` | number | No | - | Maximum CPC bid limit in account currency. For TARGET\_IMPRESSION\_SHARE: the highest CPC bid the automated bidding system is permitted to specify. For TARGET\_SPEND: the maximum bid limit that can be set by the bid strategy | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains campaign IDs, bidding strategy types, and strategy-specific fields. Required columns: 'campaign\_id', 'bidding\_strategy\_type'. Optional columns based on strategy: 'target\_cpa', 'target\_roas', 'location', 'location\_fraction', 'cpc\_bid\_ceiling' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming bidding strategy update. # Update Campaign Budget Source: https://docs.markifact.com/nodes/gads/gads_update_campaign_budget Modifies the budget allocation for Google Ads campaigns Modifies the budget allocation for Google Ads campaigns. `campaign_budget` is provided as an actual dollar value in the account currency, NOT in micros (e.g. pass 50 for $50/day). Do not multiply by 1,000,000. IMPORTANT: monetary fields returned by gads_run_gaql_query (cost_micros, campaign_budget_amount_micros, average_cpc, etc.) are raw values from Google in micros (1/1,000,000 of currency unit, e.g. 50000000 = $50) — divide by 1,000,000 before passing here. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_campaign_budget` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign to update, ask the user for it if not provided | | `campaign_budget` | number | No | - | Enter the new budget amount for the campaign as an actual dollar value in the account currency, NOT in micros (e.g. pass 50 for $50/day). Do not multiply by 1,000,000. IMPORTANT: monetary fields returned by gads_run_gaql_query (cost_micros, campaign_budget_amount_micros, etc.) are raw values from Google in micros (1/1,000,000 of currency unit, e.g. 50000000 = $50) — divide by 1,000,000 before passing here. | | `bulk_input_type` | string or SelectableOption | No | - | Choose how to provide your campaign data. Available options: 'manual' (Map Fields Individually), 'structured' (Use Structured Data) | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Select the source of campaign IDs | | `campaign_budgets` | array of string or number or Decimal (also accepts a comma-separated string) | No | - | Select the source of budget values | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains both campaign IDs and budgets. Your data must have these columns or JSON Keys: 'campaign\_id' and 'budget' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign budget update. # Update Campaign Location Language Source: https://docs.markifact.com/nodes/gads/gads_update_campaign_location_language Updates location targeting (including negative location exclusions), language targeting, and advanced location options (geo target type) for Google Ads campaigns Updates location targeting (including negative location exclusions), language targeting, and advanced location options (geo target type) for Google Ads campaigns | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_campaign_location_language` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `campaign_id` | string or SelectItem | Yes | - | Select the campaign to update | | `locations` | array of string or SelectableOption | No | - | Target locations for the campaign. Use 2-letter ISO country codes (e.g., 'US', 'CA') or Google Ads location IDs (e.g., '2840'). Use the 'gads\_search\_geo\_targets' operation to find location IDs for cities, regions, etc. Leave empty to keep current locations. | | `negative_locations` | array of string or SelectableOption | No | - | Locations to exclude from targeting. Use 2-letter ISO country codes (e.g., 'US', 'CA') or Google Ads location IDs (e.g., '2840'). Use the 'gads\_search\_geo\_targets' operation to find location IDs for cities, regions, etc. Leave empty to keep current excluded locations. | | `languages` | array of string or SelectableOption | No | - | Target languages for the campaign. Use 2-letter language codes (e.g., 'EN', 'ES'). Select 'ALL' to target all languages. Leave empty to keep current languages. | | `geo_target_type` | string or SelectableOption | No | - | Advanced location option. PRESENCE\_OR\_INTEREST: people in, regularly in, or interested in your locations. PRESENCE: only people in or regularly in your locations. Leave empty to keep current setting. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns update summary with campaign ID and changes made. **Fields**: `campaign_id`, `changes`, `summary` # Update Campaign Status Source: https://docs.markifact.com/nodes/gads/gads_update_campaign_status Updates the status of Google Ads campaigns (enable, pause, or remove) for campaign management Updates the status of Google Ads campaigns (enable, pause, or remove) for campaign management | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_campaign_status` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign to update, ask the user for it if not provided | | `campaign_status` | string or SelectableOption | No | - | Select the new status for the campaign. Available options: 'ENABLED', 'PAUSED', 'REMOVED' | | `bulk_input_type` | string or SelectableOption | No | - | Choose how to provide your campaign data. Available options: 'manual' (Map Fields Individually), 'structured' (Use Structured Data) | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Select the source of campaign IDs | | `campaign_statuses` | array of string (also accepts a comma-separated string) | No | - | Select the source of status values | | `structured_data` | array (also accepts a comma-separated string) | No | - | Select a data source that contains both campaign IDs and statuses. Your data must have these columns or JSON Keys: 'campaign\_id' and 'status' | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Update Keyword Bid Source: https://docs.markifact.com/nodes/gads/gads_update_keyword_bid Updates the max CPC bid of Google Ads keywords, one keyword or in bulk Updates the max CPC bid of Google Ads keywords, one keyword or in bulk. Keyword bids override the ad group bid. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_keyword_bid` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single keyword or multiple keywords at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `keyword_id` | string or SelectableOption | No | - | Required for 'single' update mode. Accepts a bare numeric criterion ID (combine with ad\_group\_id, since the same criterion ID can exist in several ad groups), '\~~\', or a full resource path 'customers/\/adGroupCriteria/\~~\'. | | `ad_group_id` | string or SelectableOption | No | - | Ad group ID for 'single' update mode. Recommended when keyword\_id is a bare criterion ID; ignored if keyword\_id already encodes the ad group. | | `cpc_bid` | number | No | - | Required for 'single' update mode. The keyword's new max CPC bid in the account currency, e.g. 1.25 for \$1.25. It overrides the ad group bid. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Required when update type is 'bulk'. Each row must contain 'keyword\_id' and 'cpc\_bid' (max CPC in account currency), and should contain 'ad\_group\_id' when keyword\_id is a bare criterion ID. keyword\_id accepts the same formats as in single mode. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming keyword bid update. # Update Keyword Status Source: https://docs.markifact.com/nodes/gads/gads_update_keyword_status Updates the status of Google Ads Keywords (enable, pause, or remove) Updates the status of Google Ads Keywords (enable, pause, or remove) | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_keyword_status` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single Keyword or multiple Keywords at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `keyword_id` | string or SelectableOption | No | - | Required for 'single' update mode. Accepts any of: a bare numeric criterion ID (must be combined with ad\_group\_id to be unambiguous; the same keyword text can share a criterion\_id across multiple ad groups), '\~~\', or a full resource path 'customers/\/adGroupCriteria/\~~\'. | | `ad_group_id` | string or SelectableOption | No | - | Optional ad group ID for 'single' update mode. Strongly recommended when keyword\_id is a bare criterion ID, since the same criterion\_id can belong to multiple ad groups. Ignored if keyword\_id already encodes the ad group. | | `status` | string or SelectableOption | No | - | Available options: 'ENABLED', 'PAUSED', 'REMOVED'. Required for 'single' update mode | | `structured_data` | array (also accepts a comma-separated string) | No | - | Required when update type is 'bulk'. Each row/object must contain 'keyword\_id' and 'status', and SHOULD also contain 'ad\_group\_id' to disambiguate keywords that exist in multiple ad groups (a bare criterion\_id can resolve to multiple ad groups, in which case the operation will error rather than silently target the wrong one). 'keyword\_id' may also be passed as '\\~\' or as a full resource path. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming keyword status update. # Update Listing Groups Source: https://docs.markifact.com/nodes/gads/gads_update_listing_groups Build or replace the listing group (product group) tree on a Shopping ad group, including excluding the LOCAL channel for online-only serving Build or replace the listing group (product group) tree on a Shopping ad group, including excluding the LOCAL channel for online-only serving. | | | | - | - | | **App** | Google Ads | | **Operation ID** | `gads_update_listing_groups` | | **Type** | Action | | **Connection** | `gads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | GadsAccountItem or object or array of object or string or integer | Yes | - | Select the Google Ads account, ask user for it if not provided | | `ad_group` | string or SelectItem | Yes | - | The Shopping ad group to attach the listing group tree to. Must be a SHOPPING\_PRODUCT\_ADS ad group. | | `nodes` | string or array of ListingNode | Yes | - | The full listing group tree as a flat list of nodes. Provide exactly one root (SUBDIVISION with no parent\_temp\_id and no case\_value). Each SUBDIVISION needs an 'Other' child (a node whose case\_value has type matching its siblings but no value). All sibling nodes must share the same dimension type. 'Other' may be negative to exclude all remaining products. Google Ads validates the final tree. Accepts either a JSON string or a list. | ### GadsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `managerId` | string | Yes | - | The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. | ### ListingNode A single node in the listing group tree. | Field | Type | Required | Default | Description | | - | - | - | - | - | | `temp_id` | integer | Yes | - | Negative integer that uniquely identifies this node within the request (e.g. -1, -2, ...). Used to wire children to parents. | | `parent_temp_id` | integer | No | - | temp\_id of the parent SUBDIVISION node. Null for the root. | | `type` | enum (`SUBDIVISION`, `UNIT`) | Yes | - | SUBDIVISION (parent / non-leaf) or UNIT (leaf). | | `case_value` | ListingDimension | No | - | Dimension that places this node inside its parent's partition. Required for every non-root node. Omit on the root node. | | `cpc_bid` | number | No | - | CPC bid in account currency (e.g. 0.20 for \$0.20). Sent to Google Ads when provided; Google validates whether it is allowed. | | `negative` | boolean | No | `False` | If true, exclude products matching this UNIT from serving. Only valid on UNIT nodes; bids are not applied to negative units. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### ListingDimension Describes the case\_value dimension of a listing group node. | Field | Type | Required | Default | Description | | - | - | - | - | - | | `type` | enum (`BRAND`, `CONDITION`, `ITEM_ID`, `CUSTOM_LABEL`, `PRODUCT_TYPE`, `CATEGORY`, `CHANNEL`, `CHANNEL_EXCLUSIVITY`) | Yes | - | Dimension type. One of: BRAND, CONDITION, ITEM\_ID, CUSTOM\_LABEL, PRODUCT\_TYPE, CATEGORY, CHANNEL, CHANNEL\_EXCLUSIVITY. | | `value` | string | No | - | Value for the dimension. Used by BRAND (e.g. 'Nike'), ITEM\_ID (merchant offer id), CUSTOM\_LABEL (label string), PRODUCT\_TYPE (type name). Leave null for the 'Other' node. | | `condition` | string | No | - | Condition enum: NEW, USED, REFURBISHED. Used when type=CONDITION. | | `channel` | string | No | - | Channel enum: ONLINE, LOCAL. Used when type=CHANNEL. | | `channel_exclusivity` | string | No | - | Channel exclusivity enum: SINGLE\_CHANNEL, MULTI\_CHANNEL. Used when type=CHANNEL\_EXCLUSIVITY. | | `index` | integer | No | - | Index 0-4 for CUSTOM\_LABEL (which custom\_label\_0..4 is used) or for PRODUCT\_TYPE (which product type level 1-5 is used, 1-indexed). | | `category_id` | integer | No | - | Numeric Google product category id. Used when type=CATEGORY. | | `category_level` | integer | No | - | Product category level (1-5). Used when type=CATEGORY or PRODUCT\_TYPE if `index` is not provided. | ## Output **Type**: `Dict` Returns counts and resource names for the created criteria. **Fields**: `ad_group_id`, `criteria_count`, `resource_names`, `temp_id_to_resource_name` # Create Data Source Source: https://docs.markifact.com/nodes/gmc/gmc_create_data_source Create a Google Merchant Center primary or supplemental product feed, inventory feed, promotion feed, review feed, or supported file source; a primary source is required before uploading products Create a Google Merchant Center primary or supplemental product feed, inventory feed, promotion feed, review feed, or supported file source; a primary source is required before uploading products. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_create_data_source` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account in which to create the data source. | | `data_source` | object or string | Yes | - | Official Google Merchant API DataSource create body as an object or JSON string. Use Google's REST field names exactly. Markifact validates the top-level resource shape only; nested objects are sent unchanged and validated by Google. Do not include output-only fields such as name, dataSourceId, or input. See the Merchant API accounts.dataSources resource documentation for additional nested fields and current restrictions. Examples: primary API source for any label/language: \{"displayName":"API products","primaryProductDataSource":\{"countries":\["US"]}}; targeted primary source: \{"displayName":"US English products","primaryProductDataSource":\{"feedLabel":"US","contentLanguage":"en","countries":\["US"],"destinations":\[\{"destination":"SHOPPING\_ADS","state":"ENABLED"}]}}; supplemental feed for enriching existing products: \{"displayName":"Supplemental product data","supplementalProductDataSource":\{}}. Leave supplementalProductDataSource empty for API sources: Google rejects feedLabel and contentLanguage there ("Unexpected field: supplementalProductDataSource.feedLabel") and accepts them only with a fileInput; the product rows sent to the source carry their own feedLabel and contentLanguage. Promotion source: \{"displayName":"US promotions","promotionDataSource":\{"targetCountry":"US","contentLanguage":"en"}}. | ## Output **Type**: `Dict` Returns the created Google Merchant Center DataSource resource. **Fields**: dynamic (depend on the inputs) # Create Region Source: https://docs.markifact.com/nodes/gmc/gmc_create_region Creates a Merchant Center region from postal codes or geotarget IDs, for use in regional inventory and shipping Creates a Merchant Center region from postal codes or geotarget IDs, for use in regional inventory and shipping. Requires admin access. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_create_region` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account in which to create the region. | | `region_id` | string | Yes | - | Identifier for the new region, unique within the account. | | `region` | object or string | Yes | - | Official Google Merchant API Region body as an object or JSON string, sent as-is. Keys: displayName plus either postalCodeArea (regionCode and postalCodes ranges with begin/end) or geotargetArea (geotargetCriteriaIds). Example: \{"displayName": "Washington", "postalCodeArea": \{"regionCode": "US", "postalCodes": \[\{"begin": "98\*"}]}} | ## Output **Type**: `Dict` Returns the created region. **Fields**: `region` # Create Return Policy Source: https://docs.markifact.com/nodes/gmc/gmc_create_return_policy Create an online return policy on a Google Merchant Center account, as a country default or a labelled exception Create an online return policy on a Google Merchant Center account, as a country default or a labelled exception. Google has no update for return policies: to change one, delete it with gmc\_delete\_return\_policy and create the replacement. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_create_return_policy` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account in which to create the return policy. | | `return_policy` | object or string | Yes | - | Google Merchant API OnlineReturnPolicy body as an object or JSON string, with Google's REST field names; Google validates the contents. Without a label the policy is the country's default; with a label it is an exception for products whose return\_policy\_label matches. Google rejected creates missing processRefundDays or returnLabelSource, though its docs mark them optional. countries and label cannot be changed later. Google has no update for return policies: to change one, delete it with gmc\_delete\_return\_policy, then create the replacement (a policy with the same label for the same country is refused while the old one exists). name and returnPolicyId are ignored, so a policy read from gmc\_list\_return\_policies can be edited and resent. Example: \{"countries":\["US"],"policy":\{"type":"NUMBER\_OF\_DAYS\_AFTER\_DELIVERY","days":"30"},"returnPolicyUri":"`https://example.com/returns`","itemConditions":\["NEW"],"returnMethods":\["BY\_MAIL"],"returnLabelSource":"DOWNLOAD\_AND\_PRINT","returnShippingFee":\{"type":"CUSTOMER\_PAYING\_ACTUAL\_FEE"},"processRefundDays":5}. Optional fields include label, restockingFee, acceptExchange, acceptDefectiveOnly and seasonalOverrides. | ## Output **Type**: `Dict` Returns the created OnlineReturnPolicy as Google stores it, including its new returnPolicyId. **Fields**: dynamic (depend on the inputs) # Custom Merchant Center App Source: https://docs.markifact.com/nodes/gmc/gmc_custom_app Connect Google Merchant Center through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Merchant Center: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in Merchant Center, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/content` | | **APIs to enable** | Merchant API | | **Google account for the token** | a Google account with access to the Merchant Center accounts you want to manage | > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Merchant Center**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Merchant Center"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Merchant API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Verification passes but no Merchant Center accounts are listed > > The Google account behind the token has no Merchant Center access. Add it under Settings > People and access in Merchant Center, then re-add the connection with the same name. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/gmc/gmc_get_report) > > Pull Merchant Center performance data # Delete Data Source Source: https://docs.markifact.com/nodes/gmc/gmc_delete_data_source Permanently delete a data source from a Google Merchant Center account Permanently delete a data source from a Google Merchant Center account. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_delete_data_source` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the data source. | | `data_source_id` | string or SelectItem | Yes | - | Google Merchant Center data source ID to permanently delete. Use gmc\_list\_data\_sources first to verify the ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the data source ID and whether it was deleted. **Fields**: `data_source_id`, `deleted` # Delete Local Inventory Source: https://docs.markifact.com/nodes/gmc/gmc_delete_local_inventory Deletes a product's local inventory entry for a specific store Deletes a product's local inventory entry for a specific store. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_delete_local_inventory` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the product. | | `product_id` | string or SelectItem | Yes | - | Product identifier in the form contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. | | `store_code` | string or SelectItem | Yes | - | Business Profile store code of the local inventory entry to delete. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Confirms the deletion. **Fields**: `product_id`, `store_code`, `deleted` # Delete Product Input Source: https://docs.markifact.com/nodes/gmc/gmc_delete_product_input Deletes ProductInputs from a specific Merchant Center API data source, one or many at once (up to 200) Deletes ProductInputs from a specific Merchant Center API data source, one or many at once (up to 200). The processed products may take several minutes to disappear. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_delete_product_input` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the product inputs. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to delete a single product or many at once. Options: single or bulk. | | `data_source_id` | string or SelectItem | Yes | - | API data source ID from which to delete the product inputs. Applies to every row in bulk mode. | | `product_input_id` | string or SelectItem | No | - | Product input identifier, usually contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. Use Google's unpadded base64url form when an identifier component contains /, %, or \~. Required for single mode. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. A list of up to 200 rows, each with product\_input\_id. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Identifies the deleted product input and data source. **Fields**: `product_input_id`, `data_source_id`, `deleted` # Delete Regional Inventory Source: https://docs.markifact.com/nodes/gmc/gmc_delete_regional_inventory Deletes a product's regional inventory entry so the base product data applies in that region again Deletes a product's regional inventory entry so the base product data applies in that region again. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_delete_regional_inventory` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the product. | | `product_id` | string or SelectItem | Yes | - | Product identifier in the form contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. | | `region` | string or SelectItem | Yes | - | Region ID of the regional inventory entry to delete. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Confirms the deletion. **Fields**: `product_id`, `region`, `deleted` # Delete Return Policy Source: https://docs.markifact.com/nodes/gmc/gmc_delete_return_policy Permanently delete an online return policy from a Google Merchant Center account Permanently delete an online return policy from a Google Merchant Center account. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_delete_return_policy` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the return policy. | | `return_policy_id` | string | Yes | - | returnPolicyId of the policy to permanently delete, from gmc\_list\_return\_policies. The full name accounts/\{account}/onlineReturnPolicies/\{id} is also accepted. | ## Output **Type**: `Dict` Returns the return policy ID and whether it was deleted. **Fields**: `return_policy_id`, `deleted` # Fetch Data Source Source: https://docs.markifact.com/nodes/gmc/gmc_fetch_data_source Trigger an immediate out-of-schedule import for a Google Merchant Center FILE data source Trigger an immediate out-of-schedule import for a Google Merchant Center FILE data source. This starts ingestion; it does not retrieve data source information. API, UI, and AUTOFEED sources are not supported. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_fetch_data_source` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the data source. | | `data_source_id` | string or SelectItem | Yes | - | ID of a Google Merchant Center FILE data source to import immediately, outside its normal fetch schedule. This triggers ingestion; it does not retrieve the data source. Use gmc\_list\_data\_sources to find a source whose input is FILE. API, UI, and AUTOFEED sources cannot be triggered with this operation. Google recommends using the Products service when updates are needed more than once per day. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Confirms that the immediate file import was triggered and identifies the target data source. **Fields**: `fetch_triggered`, `data_source_id`, `display_name`, `input`, `file_input_type` # Get Best Selling Brands Source: https://docs.markifact.com/nodes/gmc/gmc_get_best_selling_brands Get Google's best-selling brands by country, category, and weekly or monthly ranking period Get Google's best-selling brands by country, category, and weekly or monthly ranking period. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_best_selling_brands` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `fields` | array of string or SelectableOption | Yes | - | Fields to include in the report. | | `report_granularity` | enum (`WEEKLY`, `MONTHLY`) | Yes | - | Ranking period returned by Google. | | `report_country_code` | string | Yes | - | Two-letter ISO 3166 country code used for the ranking. | | `report_category_id` | string | No | - | Optional Google product category ID. Omit for all top-level categories. | | `report_date` | string | No | - | Optional report date. Omit to use Google's latest report. | | `limit` | integer | No | - | Maximum number of rows to return. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns best-selling brand rankings and demand signals. **Fields**: dynamic (depend on the inputs) # Get Best Selling Products Source: https://docs.markifact.com/nodes/gmc/gmc_get_best_selling_products Get Google's best-selling product clusters by country, category, and weekly or monthly ranking period, including demand and inventory signals Get Google's best-selling product clusters by country, category, and weekly or monthly ranking period, including demand and inventory signals. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_best_selling_products` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `fields` | array of string or SelectableOption | Yes | - | Fields to include in the report. | | `report_granularity` | enum (`WEEKLY`, `MONTHLY`) | Yes | - | Ranking period returned by Google. | | `report_country_code` | string | Yes | - | Two-letter ISO 3166 country code used for the ranking. | | `report_category_id` | string | No | - | Optional Google product category ID. Omit for all top-level categories. | | `report_date` | string | No | - | Optional report date. Omit to use Google's latest report. | | `limit` | integer | No | - | Maximum number of rows to return. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns best-selling product cluster rankings and demand signals. **Fields**: dynamic (depend on the inputs) # Get Competitive Visibility Benchmark Source: https://docs.markifact.com/nodes/gmc/gmc_get_competitive_visibility_benchmark Compare your domain's Shopping visibility trend with the category benchmark for a country, traffic source, and date range Compare your domain's Shopping visibility trend with the category benchmark for a country, traffic source, and date range. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_competitive_visibility_benchmark` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `date_range` | DateRange | Yes | - | Date range for the report. | | `fields` | array of string or SelectableOption | Yes | - | Fields to include in the report. | | `report_country_code` | string | Yes | - | Two-letter ISO 3166 country code where impressions appeared. | | `report_category_id` | string | Yes | - | Google product category ID used to calculate visibility. | | `traffic_source` | enum (`ORGANIC`, `ADS`, `ALL`) | Yes | - | Traffic source included in the visibility report. | | `limit` | integer | No | - | Maximum number of rows to return. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns your visibility trend and the category benchmark trend by date. **Fields**: dynamic (depend on the inputs) # Get Competitive Visibility Competitors Source: https://docs.markifact.com/nodes/gmc/gmc_get_competitive_visibility_competitors Compare your domain with businesses that have similar Shopping visibility for a country, product category, traffic source, and date range Compare your domain with businesses that have similar Shopping visibility for a country, product category, traffic source, and date range. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_competitive_visibility_competitors` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `date_range` | DateRange | Yes | - | Date range for the report. | | `fields` | array of string or SelectableOption | Yes | - | Fields to include in the report. | | `report_country_code` | string | Yes | - | Two-letter ISO 3166 country code where impressions appeared. | | `report_category_id` | string | Yes | - | Google product category ID used to calculate visibility. | | `traffic_source` | enum (`ORGANIC`, `ADS`, `ALL`) | Yes | - | Traffic source included in the visibility report. | | `limit` | integer | No | - | Maximum number of rows to return. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns similar-competitor visibility, overlap, and position metrics. **Fields**: dynamic (depend on the inputs) # Get Competitive Visibility Top Merchants Source: https://docs.markifact.com/nodes/gmc/gmc_get_competitive_visibility_top_merchants Get the merchants with the highest Shopping visibility for a country, product category, traffic source, and date range Get the merchants with the highest Shopping visibility for a country, product category, traffic source, and date range. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_competitive_visibility_top_merchants` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `date_range` | DateRange | Yes | - | Date range for the report. | | `fields` | array of string or SelectableOption | Yes | - | Fields to include in the report. | | `report_country_code` | string | Yes | - | Two-letter ISO 3166 country code where impressions appeared. | | `report_category_id` | string | Yes | - | Google product category ID used to calculate visibility. | | `traffic_source` | enum (`ORGANIC`, `ADS`, `ALL`) | Yes | - | Traffic source included in the visibility report. | | `limit` | integer | No | - | Maximum number of rows to return. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns top-merchant ranks, overlap, and position metrics. **Fields**: dynamic (depend on the inputs) # Get Data Source Source: https://docs.markifact.com/nodes/gmc/gmc_get_data_source Get the complete configuration of one Google Merchant Center data source by ID, including its type, targeting, destinations, file settings, and supplemental-feed links Get the complete configuration of one Google Merchant Center data source by ID, including its type, targeting, destinations, file settings, and supplemental-feed links. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_data_source` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the data source. | | `data_source_id` | string or SelectItem | Yes | - | Google Merchant Center data source ID. Use gmc\_list\_data\_sources first to find the ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the complete Google Merchant Center DataSource resource. **Fields**: dynamic (depend on the inputs) # Get Latest File Upload Status Source: https://docs.markifact.com/nodes/gmc/gmc_get_latest_file_upload_status Get the latest processing status for a file-based Merchant Center data source after an upload or triggered fetch Get the latest processing status for a file-based Merchant Center data source after an upload or triggered fetch. Returns Google's complete FileUpload resource, including processing state, item counts, upload time, and issues. This checks status; it does not start a fetch. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_latest_file_upload_status` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the data source. | | `data_source_id` | string or SelectItem | Yes | - | Google Merchant Center file data source ID. Use gmc\_list\_data\_sources first to find the ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns Google's latest FileUpload resource unchanged. **Fields**: dynamic (depend on the inputs) # Get Non Product Performance Report Source: https://docs.markifact.com/nodes/gmc/gmc_get_non_product_performance_report Report clicks, impressions, and click-through rate for images and online-store links that lead to non-product pages Report clicks, impressions, and click-through rate for images and online-store links that lead to non-product pages. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_non_product_performance_report` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `date_range` | DateRange | Yes | - | Date range for the report. | | `fields` | array of string or SelectableOption | Yes | - | Fields to include in the report. | | `limit` | integer | No | - | Maximum number of rows to return. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns non-product page performance rows for the requested date range. **Fields**: dynamic (depend on the inputs) # Get Price Benchmarks Source: https://docs.markifact.com/nodes/gmc/gmc_get_price_benchmarks Get price benchmarks / competitiveness data from Google Merchant Center including price comparison with benchmark prices and currency information Get price benchmarks / competitiveness data from Google Merchant Center including price comparison with benchmark prices and currency information. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_price_benchmarks` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `fields` | array of string or SelectableOption | Yes | - | List of fields to query. Don't try to guess field names, prompt user to select fields in the UI if it's a common field from the list above. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. | | `limit` | integer | No | - | The maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns price benchmark data. **Fields**: dynamic (depend on the inputs) # Get Price Suggestions Source: https://docs.markifact.com/nodes/gmc/gmc_get_price_suggestions Get price suggestions data from Google Merchant Center including suggested prices, effectiveness ratings, and predicted performance changes Get price suggestions data from Google Merchant Center including suggested prices, effectiveness ratings, and predicted performance changes. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_price_suggestions` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `fields` | array of string or SelectableOption | Yes | - | List of fields to query. Don't try to guess field names, prompt user to select fields in the UI if it's a common field from the list above. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. | | `limit` | integer | No | - | The maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns price suggestion data. **Fields**: dynamic (depend on the inputs) # Get Product Source: https://docs.markifact.com/nodes/gmc/gmc_get_product Retrieve one final processed Product from Merchant Center, including the product data and Google processing status Retrieve one final processed Product from Merchant Center, including the product data and Google processing status. Recent ProductInput writes can take several minutes to appear. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_product` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the processed product. | | `product_id` | string or SelectItem | Yes | - | Processed product identifier, usually contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. Use Google's unpadded base64url form when an identifier component contains /, %, or \~. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns Google's processed Product resource unchanged. **Fields**: dynamic (depend on the inputs) # Get Product Status Source: https://docs.markifact.com/nodes/gmc/gmc_get_product_status Check product status and details from Google Merchant Center including availability, condition, item issues, and other product information Check product status and details from Google Merchant Center including availability, condition, item issues, and other product information. Item issues cover only the issues that disapprove a product, not warnings. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_product_status` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `fields` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, prompt user to select metrics in the UI if it's a common metric from the list above. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. | | `limit` | integer | No | - | The maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns product status details. **Fields**: dynamic (depend on the inputs) # Get Promotion Source: https://docs.markifact.com/nodes/gmc/gmc_get_promotion Fetches a single Merchant Center promotion with its full attributes and status Fetches a single Merchant Center promotion with its full attributes and status. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_promotion` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the promotion. | | `promotion_id` | string or SelectItem | Yes | - | Promotion identifier from the promotion resource name (accounts/\{account}/promotions/\{id}); get it from gmc\_list\_promotions. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the promotion. **Fields**: `promotion` # Get Report Source: https://docs.markifact.com/nodes/gmc/gmc_get_report Retrieves Google Merchant Center product performance data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Google Merchant Center product performance data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports product performance analysis including clicks, impressions, conversions, and revenue metrics. Conversion metrics (conversions, conversionValue, conversionRate) cover free listings only and are attributed on the conversion date, while clicks and impressions cover both ads and free listings, so they will not reconcile with each other. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_report` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "productId": "12345", "clicks": 80, "impressions": 2000, "ctr": 0.04 } ] ``` # Get Shipping Settings Source: https://docs.markifact.com/nodes/gmc/gmc_get_shipping_settings Get a Google Merchant Center account's shipping settings: shipping services, delivery countries, rates and warehouses Get a Google Merchant Center account's shipping settings: shipping services, delivery countries, rates and warehouses. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_get_shipping_settings` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose shipping settings to read. | ## Output **Type**: `Dict` Returns the services and warehouses as Google stores them, the service count and the covered delivery country codes. **Fields**: `services`, `warehouses`, `service_count`, `delivery_countries`, `etag` # Insert Local Inventory Source: https://docs.markifact.com/nodes/gmc/gmc_insert_local_inventory Sets in-store price, availability, and quantity for local products by store code, one or many at once (up to 200) Sets in-store price, availability, and quantity for local products by store code, one or many at once (up to 200). Prices are raw Google micros (amountMicros). | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_insert_local_inventory` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the products. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update one product's inventory or many at once. Options: single or bulk. | | `product_id` | string or SelectItem | No | - | Product identifier in the form contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. Required for single mode. | | `inventory` | object or string | No | - | Official Google Merchant API LocalInventory body as an object or JSON string, sent as-is. Keys: storeCode (Business Profile store code) and localInventoryAttributes with price/salePrice (\{amountMicros, currencyCode}), salePriceEffectiveDate, availability, quantity, pickupMethod, and pickupSla. Inserting for an existing storeCode replaces the entry. Example: \{"storeCode": "123456", "localInventoryAttributes": \{"price": \{"amountMicros": "33450000", "currencyCode": "USD"}, "availability": "IN\_STOCK", "quantity": "10"}}. Required for single mode. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. A list of up to 200 rows, each with product\_id and inventory (the official LocalInventory body). | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the inserted inventory (single) or counts and product IDs (bulk). **Fields**: dynamic (depend on the inputs) # Insert Product Input Source: https://docs.markifact.com/nodes/gmc/gmc_insert_product_input Inserts or replaces ProductInputs in a primary or supplemental API data source, one or many at once (up to 200) Inserts or replaces ProductInputs in a primary or supplemental API data source, one or many at once (up to 200). Google processes inputs asynchronously; use gmc\_get\_product later for the final processed Product. For larger catalogs, upload a feed with gmc\_create\_data\_source. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_insert_product_input` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account in which to insert the product inputs. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to insert a single product or many at once. Options: single or bulk. | | `data_source_id` | string or SelectItem | Yes | - | Primary or supplemental API data source ID. Only API data sources support ProductInput writes. Applies to every row in bulk mode. | | `product_input` | object or string | No | - | Official Google Merchant API ProductInput insert body as an object or JSON string. Use Google's REST camelCase field names exactly. Nested attributes and future fields are sent unchanged and validated by Google. Common fields include offerId, contentLanguage, feedLabel, productAttributes, customAttributes, and legacyLocal (true for local-only products). Merchant API v1 rejects the beta names attributes and channel. Example: \{"offerId":"sku123","contentLanguage":"en","feedLabel":"US","productAttributes":\{"title":"Example product","price":\{"amountMicros":"19990000","currencyCode":"USD"}}}. Do not include the output-only name field. Note: Google hard-limits updates to twice per day per product. Required for single mode. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. A list of up to 200 official ProductInput insert bodies, each exactly as in product\_input (offerId, contentLanguage, feedLabel, productAttributes, ...), sent to Google as-is. All rows go into the same data source. For larger catalogs, upload a feed with gmc\_create\_data\_source instead. Note: Google hard-limits updates to twice per day per product. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the ProductInput accepted by Google. **Fields**: `product_input` # Insert Promotion Source: https://docs.markifact.com/nodes/gmc/gmc_insert_promotion Inserts or replaces a promotion (sale, discount, or coupon) in a Merchant Center promotion data source Inserts or replaces a promotion (sale, discount, or coupon) in a Merchant Center promotion data source. Re-inserting the same promotionId replaces the promotion. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_insert_promotion` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account in which to insert the promotion. | | `data_source_id` | string or SelectItem | Yes | - | Promotion API data source ID. Create one with gmc\_create\_data\_source using a promotionDataSource input. | | `promotion` | object or string | Yes | - | Official Google Merchant API Promotion body as an object or JSON string, sent as-is. Use Google's REST camelCase field names exactly. Required fields per Google: promotionId, contentLanguage, targetCountry, redemptionChannel, and attributes with longTitle, offerType, couponValueType, productApplicability, genericRedemptionCode (for GENERIC\_CODE offers), and promotionEffectiveTimePeriod startTime/endTime. Inserting with an existing promotionId replaces the promotion. Example: \{"promotionId": "summer\_sale\_20", "contentLanguage": "en", "targetCountry": "US", "redemptionChannel": \["ONLINE"], "attributes": \{"longTitle": "20% off all shirts", "offerType": "GENERIC\_CODE", "genericRedemptionCode": "SUMMER20", "couponValueType": "PERCENT\_OFF", "percentOff": "20", "productApplicability": "ALL\_PRODUCTS", "promotionEffectiveTimePeriod": \{"startTime": "2026-08-01T00:00:00Z", "endTime": "2026-08-31T23:59:59Z"}}} | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the inserted promotion. **Fields**: `promotion` # Insert Regional Inventory Source: https://docs.markifact.com/nodes/gmc/gmc_insert_regional_inventory Sets regional price and availability overrides for products, one or many at once (up to 200) Sets regional price and availability overrides for products, one or many at once (up to 200). The fastest way to update prices per region without touching the product itself. Prices are raw Google micros (amountMicros). | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_insert_regional_inventory` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the products. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update one product's inventory or many at once. Options: single or bulk. | | `product_id` | string or SelectItem | No | - | Product identifier in the form contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. Required for single mode. | | `inventory` | object or string | No | - | Official Google Merchant API RegionalInventory body as an object or JSON string, sent as-is. Keys: region (region ID from gmc\_list\_regions) and regionalInventoryAttributes with price/salePrice (\{amountMicros, currencyCode}), salePriceEffectiveDate, and availability. Inserting for an existing region replaces the entry. Example: \{"region": "123456", "regionalInventoryAttributes": \{"price": \{"amountMicros": "33450000", "currencyCode": "USD"}, "availability": "IN\_STOCK"}}. Required for single mode. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. A list of up to 200 rows, each with product\_id and inventory (the official RegionalInventory body). | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the inserted inventory (single) or counts and product IDs (bulk). **Fields**: dynamic (depend on the inputs) # List Account Issues Source: https://docs.markifact.com/nodes/gmc/gmc_list_account_issues List account-level Merchant Center issues such as policy, setup, and suspension problems List account-level Merchant Center issues such as policy, setup, and suspension problems. For an advanced account, call this separately for each sub-account whose issues are needed. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_account_issues` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose account issues should be listed. | | `language_code` | string | No | - | Optional BCP-47 language code for human-readable issue text, such as en-US or sr-Latn. Google defaults to en-US. | | `time_zone` | string | No | - | Optional IANA time zone used to localize times in issue text, such as America/Los\_Angeles. | | `limit` | integer | No | - | Maximum number of account issues to return. If omitted, return all issues by handling Google pagination automatically. | ## Output **Type**: `List[Dict]` Returns account issues with automatic pagination. **Fields**: dynamic (depend on the inputs) # List Aggregate Product Statuses Source: https://docs.markifact.com/nodes/gmc/gmc_list_aggregate_product_statuses List Google aggregate product status resources for a standalone account or sub-account, optionally filtered by reporting context and country List Google aggregate product status resources for a standalone account or sub-account, optionally filtered by reporting context and country. Use this for catalog-level diagnostics; use gmc\_get\_product\_status for individual product rows. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_aggregate_product_statuses` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select a standalone Merchant Center account or sub-account whose aggregate product statuses should be listed. | | `filter` | string | No | - | Optional Google filter expression. This endpoint supports reportingContext and country, for example reportingContext = "SHOPPING\_ADS" AND country = "US". | | `limit` | integer | No | - | Maximum number of aggregate product status resources to return. If omitted, return all statuses by handling Google pagination automatically. | ## Output **Type**: `List[Dict]` Returns aggregate product statuses with automatic pagination. **Fields**: dynamic (depend on the inputs) # List Data Sources Source: https://docs.markifact.com/nodes/gmc/gmc_list_data_sources List primary, supplemental, inventory, promotion, review, and file data sources in a Google Merchant Center account, including their IDs and configurations List primary, supplemental, inventory, promotion, review, and file data sources in a Google Merchant Center account, including their IDs and configurations. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_data_sources` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose data sources should be listed. | | `limit` | integer | No | - | Maximum number of data sources to return. If omitted, return all data sources by handling Google pagination automatically. | ## Output **Type**: `List[Dict]` Returns Google Merchant Center DataSource resources. **Fields**: dynamic (depend on the inputs) # List Local Inventories Source: https://docs.markifact.com/nodes/gmc/gmc_list_local_inventories Lists the local (in-store) inventory entries of a product by store code Lists the local (in-store) inventory entries of a product by store code. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_local_inventories` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the product. | | `product_id` | string or SelectItem | Yes | - | Product identifier in the form contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. | | `limit` | integer | No | `100` | Maximum number of entries to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the local inventory entries. **Fields**: dynamic (depend on the inputs) # List Products Source: https://docs.markifact.com/nodes/gmc/gmc_list_products List products from Google Merchant Center account with detailed product information including title, link, image, description, price, availability, and other product attributes List products from Google Merchant Center account with detailed product information including title, link, image, description, price, availability, and other product attributes. Can optionally return each product's processed status and issues, including warnings that leave the product serving. Note: Google's API has no product filtering and serves products slowly, so filtered queries scan the catalog and can take minutes on large catalogs; run them inside Markifact workflows or with a generous client timeout. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_products` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select one Google Merchant Center account | | `filters` | array of FilterItem | No | - | List of filters to apply to the products. Each filter must have a field, operator, and value. | | `include_status` | boolean | No | `False` | Add the processed status of each product as two extra columns: itemIssues (one line per issue with its code, severity, reporting context and the countries it applies to) and destinationStatuses (approved, pending and disapproved countries per reporting context). Unlike gmc\_get\_product\_status, which returns only the issues that disapprove a product, this includes warnings that leave the product serving. Use it to find which products are behind a code reported by gmc\_list\_aggregate\_product\_statuses, by filtering itemIssues with CONTAINS. | | `limit` | integer | No | - | The maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of products. **Fields**: dynamic (depend on the inputs) # List Promotions Source: https://docs.markifact.com/nodes/gmc/gmc_list_promotions Lists promotions in a Merchant Center account with their status and attributes Lists promotions in a Merchant Center account with their status and attributes. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_promotions` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose promotions should be listed. | | `limit` | integer | No | `100` | Maximum number of promotions to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of promotions. **Fields**: dynamic (depend on the inputs) # List Regional Inventories Source: https://docs.markifact.com/nodes/gmc/gmc_list_regional_inventories Lists the regional inventory entries (regional prices and availability) of a product Lists the regional inventory entries (regional prices and availability) of a product. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_regional_inventories` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the product. | | `product_id` | string or SelectItem | Yes | - | Product identifier in the form contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. | | `limit` | integer | No | `100` | Maximum number of entries to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the regional inventory entries. **Fields**: dynamic (depend on the inputs) # List Regions Source: https://docs.markifact.com/nodes/gmc/gmc_list_regions Lists Merchant Center regions with their eligibility for regional inventory and shipping Lists Merchant Center regions with their eligibility for regional inventory and shipping. Region IDs are used in gmc\_insert\_regional\_inventory. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_regions` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose regions should be listed. | | `limit` | integer | No | `100` | Maximum number of regions to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of regions. **Fields**: dynamic (depend on the inputs) # List Report Fields Source: https://docs.markifact.com/nodes/gmc/gmc_list_report_fields Search and browse fields across all Google Merchant Center reports Search and browse fields across all Google Merchant Center reports. Each field includes supportedReports with the operation IDs that accept it. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(cost|clicks).*'}]. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns deduplicated report fields and the GMC report operation IDs that support each field. **Fields**: `id`, `name`, `type`, `data_type`, `supportedReports` # List Return Policies Source: https://docs.markifact.com/nodes/gmc/gmc_list_return_policies List a Google Merchant Center account's online return policies: countries, label, return window, policy URL, item conditions, return methods and fees List a Google Merchant Center account's online return policies: countries, label, return window, policy URL, item conditions, return methods and fees. New or deleted policies take about 15 seconds to show. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_list_return_policies` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose online return policies to list. | ## Output **Type**: `List` Returns each OnlineReturnPolicy as Google stores it, including returnPolicyId. **Fields**: dynamic (depend on the inputs) # Select Accounts Source: https://docs.markifact.com/nodes/gmc/gmc_select_accounts Select Google Merchant Center accounts to use in other operations Select Google Merchant Center accounts to use in other operations. Supports manual selection, filtering, and selecting all available accounts. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_select_accounts` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Data Source Source: https://docs.markifact.com/nodes/gmc/gmc_update_data_source Update selected fields on an existing Google Merchant Center data source, including its display name, targeting, destinations, or file settings Update selected fields on an existing Google Merchant Center data source, including its display name, targeting, destinations, or file settings. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_update_data_source` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the data source. | | `data_source_id` | string or SelectItem | Yes | - | Google Merchant Center data source ID. Use gmc\_list\_data\_sources first to find the ID. | | `update_mask` | string | Yes | - | Required Google FieldMask containing comma-separated DataSource fields to update, using official REST field names, for example displayName or displayName,fileInput.fetchSettings. A masked field omitted from data\_source is deleted. Full replacement with \* is not supported by Google. | | `data_source` | object or string | Yes | - | Official Google Merchant API DataSource patch body as an object or JSON string. Use Google's REST field names exactly. Only include values being changed; nested objects are sent unchanged and validated by Google. The resource name is added from account and data\_source\_id. An empty object is valid when deleting every field named by update\_mask. Examples: rename a source: \{"displayName":"Updated supplemental feed"}; change file fetch settings: \{"fileInput":\{"fetchSettings":\{"enabled":true,"fetchUri":"`https://example.com/feed.xml`","frequency":"DAILY","fetchHour":6,"timeZone":"America/New\_York"}}}; remove a masked field: \{}. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated Google Merchant Center DataSource resource and applied update mask. **Fields**: dynamic (depend on the inputs) # Update Product Input Source: https://docs.markifact.com/nodes/gmc/gmc_update_product_input Patches ProductInputs in an API data source using an optional Google update mask, one or many at once (up to 200) Patches ProductInputs in an API data source using an optional Google update mask, one or many at once (up to 200). Processing is asynchronous; the returned ProductInput is the submitted resource, not the final processed Product. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_update_product_input` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account that owns the product inputs. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single product or many at once. Options: single or bulk. | | `data_source_id` | string or SelectItem | Yes | - | Primary or supplemental API data source ID containing the product inputs. Only API data sources support ProductInput writes. Applies to every row in bulk mode. | | `product_input_id` | string or SelectItem | No | - | Product input identifier, usually contentLanguage~~feedLabel~~offerId, for example en~~US~~sku123. Use Google's unpadded base64url form when an identifier component contains /, %, or \~. Required for single mode. | | `update_mask` | string | No | - | Optional Google FieldMask of ProductInput fields to update, comma separated. Only productAttributes.\ (e.g. productAttributes.title) and customAttributes.\ paths are allowed; Google's reference shows custom\_attribute., which it rejects. A masked field omitted from product\_input is deleted. If omitted, Google updates all populated fields. Full replacement with \* is not supported. | | `product_input` | object or string | No | - | Official Google Merchant API ProductInput patch body as an object or JSON string. Use Google's REST camelCase field names exactly. The resource name is set from account and product\_input\_id. Product fields go under productAttributes, e.g. \{"productAttributes":\{"title":"New title"}}. An empty object is valid when deleting every field in update\_mask. Note: Google hard-limits updates to twice per day per product. Required for single mode. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. A list of up to 200 rows, each with product\_input\_id (required), product\_input (the official ProductInput patch body), and an optional update\_mask. Note: Google hard-limits updates to twice per day per product. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ProductInput and applied update mask. **Fields**: `product_input`, `update_mask` # Update Shipping Settings Source: https://docs.markifact.com/nodes/gmc/gmc_update_shipping_settings Add or update shipping services on a Google Merchant Center account: rates, free shipping thresholds, delivery countries and delivery times Add or update shipping services on a Google Merchant Center account: rates, free shipping thresholds, delivery countries and delivery times. | | | | - | - | | **App** | Google Merchant Center | | **Operation ID** | `gmc_update_shipping_settings` | | **Type** | Action | | **Connection** | `gmc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Merchant Center account whose shipping settings to change. | | `services` | array of object or string | Yes | - | Shipping services as a JSON list of Merchant API Service objects, using Google's REST field names exactly; Google validates the content. Each service needs serviceName, active, deliveryCountries (ISO codes), currencyCode, deliveryTime and rateGroups. Money is amountMicros as a string (1000000 = 1.00). Example, flat 12 EUR below 340 EUR and free from 340 EUR for several countries: \[\{"serviceName": "EU standard", "active": true, "deliveryCountries": \["DE", "FR", "NL"], "currencyCode": "EUR", "shipmentType": "DELIVERY", "deliveryTime": \{"minHandlingDays": 0, "maxHandlingDays": 1, "minTransitDays": 2, "maxTransitDays": 5}, "rateGroups": \[\{"mainTable": \{"rowHeaders": \{"prices": \[\{"amountMicros": "340000000", "currencyCode": "EUR"}, \{"amountMicros": "-1", "currencyCode": "EUR"}]}, "rows": \[\{"cells": \[\{"flatRate": \{"amountMicros": "12000000", "currencyCode": "EUR"}}]}, \{"cells": \[\{"flatRate": \{"amountMicros": "0", "currencyCode": "EUR"}}]}]}}]}]. A single flat rate is "rateGroups": \[\{"singleValue": \{"flatRate": \{"amountMicros": "5000000", "currencyCode": "EUR"}}}]. Read the current services with gmc\_get\_shipping\_settings first. Google takes a few seconds to show a change in that read, so use the services returned by this operation rather than re-reading immediately. | | `replace_all` | boolean | No | `False` | false (default): each service given replaces the existing service with the same serviceName and new names are added; every other existing service is kept. true: the given list becomes the account's entire shipping configuration and any service not in it is removed. | | `warehouses` | array of object or string | No | - | Optional JSON list of Merchant API Warehouse objects (name, shippingAddress, cutoffTime, handlingDays, businessDayConfig). When given it replaces the account's warehouses; when omitted the existing warehouses are kept. | ## Output **Type**: `Dict` Returns the shipping settings as stored after the change, the service count, the covered delivery country codes and the merge mode used. **Fields**: `services`, `warehouses`, `service_count`, `delivery_countries`, `mode` # Find Places Source: https://docs.markifact.com/nodes/google_maps/google_maps_find_places Search for places using Google Places official API by text query, with optional filters and pagination up to ~60 results Search for places using Google Places official API by text query, with optional filters and pagination up to \~60 results. | | | | - | - | | **App** | Google Maps | | **Operation ID** | `google_maps_find_places` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `text_query` | string | Yes | - | The text string to search for. Examples: 'Best place to visit in San Francisco', 'pizza hut in New York'. The API returns candidate matches ordered by perceived relevance. For best results, include a location context (city/area) in the query. Avoid ambiguous queries, too many concepts/constraints in one query, PO Boxes, postal address elements not on Google Maps, latitude/longitude coordinates, historical names no longer in use, unofficial/vanity names, and non-geospatial intent (e.g., questions). | | `country` | string or SelectableOption | No | - | Optional ISO-2 region code to bias results (e.g., AE, US, GB). If omitted, the Places API may bias results based on the caller's IP address. | | `language` | string or SelectableOption | No | - | Optional language code for results (e.g., EN, AR). Will be normalized to a Places API languageCode. | | `included_type` | string or SelectableOption | No | - | Optional Places type filter (e.g., restaurant, cafe). | | `price_levels` | array of string or SelectableOption | No | - | Optional price level filters. Available options: PRICE\_LEVEL\_UNSPECIFIED, PRICE\_LEVEL\_FREE, PRICE\_LEVEL\_INEXPENSIVE, PRICE\_LEVEL\_MODERATE, PRICE\_LEVEL\_EXPENSIVE, PRICE\_LEVEL\_VERY\_EXPENSIVE | | `limit` | integer | No | `20` | Maximum number of places to return. Uses pagination. Note: Places Text Search (New) returns a maximum of \~60 results across all pages (subject to change). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns Google Places results (lightweight). **Fields**: dynamic (depend on the inputs) # Get Place Details Source: https://docs.markifact.com/nodes/google_maps/google_maps_get_place_details Get full place details by Place ID using Google Places official API Get full place details by Place ID using Google Places official API. Needs a Place ID which can be obtained from google\_maps\_find\_places. | | | | - | - | | **App** | Google Maps | | **Operation ID** | `google_maps_get_place_details` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `place_id` | string | Yes | - | Google Place ID (not the Maps URL). You can get the Place ID from the 'google\_maps\_find\_places' node output (`id`). | | `language` | string or SelectableOption | No | - | Optional language code for results (e.g., EN, AR). Will be normalized to a Places API languageCode. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns a place details object. **Fields**: dynamic (depend on the inputs) # Get Place Reviews Source: https://docs.markifact.com/nodes/google_maps/google_maps_get_place_reviews Get Google Maps reviews for any place (Scraper) Get Google Maps reviews for any place (Scraper). Needs a place\_id that can be obtained from google\_maps\_find\_places. | | | | - | - | | **App** | Google Maps | | **Operation ID** | `google_maps_get_place_reviews` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `place_id` | string | Yes | - | Google Place ID. Use the 'google\_maps\_find\_places' node first and take its output field `id`. | | `sort_by` | string or SelectableOption | No | - | Sort order for reviews: most\_relevant (default), newest, highest\_rating, lowest\_rating. | | `language` | string or SelectableOption | No | - | Interface language for the results (default: en). Example values: en, ar, fr. | | `country` | string or SelectableOption | No | - | Country context for the search (optional). Example values: US, AE, GB. | | `limit` | integer | No | `20` | Maximum number of reviews to return. The API returns up to 20 reviews per page; this node paginates automatically. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a list of reviews. **Fields**: dynamic (depend on the inputs) # AI Mode Source: https://docs.markifact.com/nodes/google_search/google_search_ai_mode Get AI-generated responses from Google's AI Mode with text, code blocks, references, and more Get AI-generated responses from Google's AI Mode with text, code blocks, references, and more | | | | - | - | | **App** | Google Search | | **Operation ID** | `google_search_ai_mode` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `q` | string | Yes | - | The search query for Google AI Mode. The AI will respond in the same language as your query. | | `result_type` | string or SelectableOption | No | - | Output format: 'json' (default) returns full response with text blocks, references, etc. 'markdown' returns just the formatted markdown response. | | `location` | string | No | - | Geographic location for the search (e.g., 'New York', 'London', 'Tokyo'). Useful for location-based queries. Leave empty for general results which is the default and most common use case. | | `gl` | string | No | - | Country code for the search (e.g., 'us', 'au', 'de'). Pins the search to a country so results reflect that market. Defaults to 'us' on the API side. | | `hl` | string | No | - | Interface language for the search (e.g., 'en', 'es', 'fr'). Note: the AI answer follows the query language; hl mainly sets the interface language. Defaults to 'en' on the API side. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns AI-generated response with markdown, text blocks, reference links, and optional local/shopping results. **Fields**: dynamic (depend on the inputs) # Serp Source: https://docs.markifact.com/nodes/google_search/google_search_serp Retrieve Google Search results including organic rankings, positions, snippets, and sitelinks Retrieve Google Search results including organic rankings, positions, snippets, and sitelinks | | | | - | - | | **App** | Google Search | | **Operation ID** | `google_search_serp` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `q` | string | Yes | - | The search query to track rankings for | | `device` | string or SelectableOption | No | - | Device type for the search (desktop, mobile, tablet) | | `google_domain` | string | No | `google.com` | Google domain to use for the search (e.g., google.com, google.co.uk, google.de) | | `gl` | string | No | `us` | Country code for the search (e.g., 'us', 'uk', 'de') | | `hl` | string | No | `en` | Interface language for the search (e.g., 'en', 'es', 'fr') | | `safe` | string or SelectableOption | No | - | SafeSearch setting. Set to 'active' to enable or 'off' to disable | | `limit` | integer | No | `100` | Number of results to return (10-100) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of organic search results with position, title, link, snippet, and sitelinks. **Fields**: dynamic (depend on the inputs) # Explore Source: https://docs.markifact.com/nodes/google_trends/google_trends_explore Explore Google Trends data including interest over time, interest by region, related queries, and related topics Explore Google Trends data including interest over time, interest by region, related queries, and related topics. Comparison of multiple keywords supported. | | | | - | - | | **App** | Google Trends | | **Operation ID** | `google_trends_explore` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `q` | string | No | - | Search terms (up to 5, comma-separated or newline-separated). Required for TIMESERIES when cat=0, and for GEO\_MAP. | | `data_type` | string or SelectableOption | Yes | - | Type of data to retrieve: TIMESERIES (Interest Over Time), GEO\_MAP (Interest by Region), RELATED\_QUERIES, RELATED\_TOPICS | | `geo` | string or SelectableOption | No | - | Geographic location for the search. Leave empty for Worldwide. Use ISO country codes (e.g., US, GB, IN) to filter by country. | | `region` | string or SelectableOption | No | - | Geographic granularity for `GEO_MAP` data type: COUNTRY, REGION, DMA, CITY | | `time` | string or SelectableOption | No | - | Time range for the data (e.g., 'today 12-m' for past 12 months) | | `date_range` | DateRange | No | - | Custom date range. You must set `time` to 'custom' to use this field, otherwise it will be ignored. | | `cat` | string or SelectableOption | No | - | Category ID to filter results. Default is 0 (All categories). | | `gprop` | string or SelectableOption | No | - | Search property: `Web`, `images`, `news`, `froogle` (Shopping), `youtube`. Default is `Web`. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns Google Trends data based on the selected data type. **Fields**: dynamic (depend on the inputs) # Trending Now Source: https://docs.markifact.com/nodes/google_trends/google_trends_trending_now Get real-time trending searches and topics from Google Trends in specified countries Get real-time trending searches and topics from Google Trends in specified countries | | | | - | - | | **App** | Google Trends | | **Operation ID** | `google_trends_trending_now` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `geo` | string or SelectableOption | No | - | Geographic location for trending searches. Use ISO country codes (e.g., US, GB, IN). Default is US. | | `time` | string or SelectableOption | No | - | Time range for trending data: past\_4\_hours, past\_24\_hours, past\_48\_hours, past\_7\_days. Default is past\_24\_hours. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns trending searches with query, search volume, percentage increase, categories, and more. **Fields**: dynamic (depend on the inputs) # Custom Search Console App Source: https://docs.markifact.com/nodes/gsc/gsc_custom_app Connect Google Search Console through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Search Console: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in the property's users and permissions, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/webmasters` | | **APIs to enable** | Google Search Console API | | **Google account for the token** | a Google account that is a user on the Search Console properties you want to work with | Request the full `webmasters` scope, not `webmasters.readonly`: URL inspection and sitemap submission need write access. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Search Console**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Search Console"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Google Search Console API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Verification passes but no sites are listed > > The Google account behind the token is not a user on any Search Console property. Add it under Settings > Users and permissions in Search Console, then re-add the connection with the same name. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/gsc/gsc_get_report) > > Pull Search Console performance data # Delete Sitemap Source: https://docs.markifact.com/nodes/gsc/gsc_delete_sitemap Removes a submitted sitemap from Google Search Console for a property Removes a submitted sitemap from Google Search Console for a property. Only the submission is removed; the sitemap file stays on the site. Requires a connection with the full Search Console scope; older read-only connections must be reconnected first. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_delete_sitemap` | | **Type** | Action | | **Connection** | `gsc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the Search Console property the sitemap belongs to. | | `sitemap_url` | string | Yes | - | Full URL of the submitted sitemap to remove from Search Console, for example `https://example.com/sitemap.xml.` This only removes the submission; the sitemap file itself stays on your site and Google may still discover it through other means. | ## Output **Type**: `Dict` Returns a confirmation with the removed sitemap URL. **Fields**: `status`, `site`, `sitemap_url` **Example**: ```json theme={"dark"} { "status": "deleted", "site": "sc-domain:example.com", "sitemap_url": "https://example.com/sitemap.xml" } ``` # Get Report Source: https://docs.markifact.com/nodes/gsc/gsc_get_report Retrieves Google Search Console data with customizable metrics, dimensions, filters, date ranges, sorting options, and built-in accounts/sites selector Retrieves Google Search Console data with customizable metrics, dimensions, filters, date ranges, sorting options, and built-in accounts/sites selector. Supports every search type via search\_type (web, image, video, news, discover, googleNews) and fresh or hourly data via data\_state. This is the only operation you will need to fetch GSC search performance data. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_get_report` | | **Type** | Action | | **Connection** | `gsc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | GscReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### GscReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `search_type` | enum (`web`, `image`, `video`, `news`, `discover`, `googleNews`) | No | - | Which search results to report on: web (default), image, video, news, discover (Google Discover feed), or googleNews (the Google News app and tab). Some dimensions do not apply to discover and googleNews (for example query); Google returns an error when a dimension is unsupported for the selected type. | | `data_state` | enum (`final`, `all`, `hourly_all`) | No | - | final (default) returns only finalized data. all also includes fresh data from the last hours that Google has not finalized yet. hourly\_all requires the hour dimension and returns fresh data broken down by hour; it is selected automatically when the hour dimension is requested. Google keeps roughly the last 10 days of hourly data. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "query": "best shoes", "clicks": 120, "impressions": 3500, "ctr": 0.034 } ] ``` # Inspect URL Source: https://docs.markifact.com/nodes/gsc/gsc_inspect_url Inspects URLs in the Google index via the URL Inspection API: index verdict, coverage state, last crawl time, Google-selected vs user canonical, robots.txt state, referring sitemaps and pages, rich... Inspects URLs in the Google index via the URL Inspection API: index verdict, coverage state, last crawl time, Google-selected vs user canonical, robots.txt state, referring sitemaps and pages, rich results, and AMP status. Each URL costs one API call; Google allows about 2,000 inspections per property per day. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_inspect_url` | | **Type** | Action | | **Connection** | `gsc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the Search Console property the URLs belong to. URL-prefix properties look like `https://example.com/,` domain properties like sc-domain:example.com. | | `urls` | array of string or string | Yes | - | URLs to inspect, one per line or comma-separated. Each URL must be fully qualified and belong to the selected property. Each URL costs one API call; Google allows about 2,000 inspections per property per day. | | `language_code` | string | No | - | IETF BCP-47 language code for translated issue messages, for example en-US or de-DE. Defaults to en-US. | ## Output **Type**: `List[Dict]` Returns one row per URL with the raw inspectionResult fields (indexStatusResult, richResultsResult, ampResult, inspectionResultLink). Rows that failed inspection carry an error field instead. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "url": "https://example.com/pricing", "indexStatusResult": { "verdict": "PASS", "coverageState": "Submitted and indexed", "lastCrawlTime": "2026-08-05T07:21:00Z", "googleCanonical": "https://example.com/pricing" } } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/gsc/gsc_list_report_fields Search and browse available Google Search Console reporting metrics and dimensions before running reports Search and browse available Google Search Console reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(clicks|query).*'}]. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # List Sitemaps Source: https://docs.markifact.com/nodes/gsc/gsc_list_sitemaps Lists the sitemaps submitted for a Search Console property with type, processing status, last downloaded date, warnings, errors, and per-type submitted/indexed counts Lists the sitemaps submitted for a Search Console property with type, processing status, last downloaded date, warnings, errors, and per-type submitted/indexed counts. Provide a sitemap index URL to list the sitemaps inside that index instead. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_list_sitemaps` | | **Type** | Action | | **Connection** | `gsc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the Search Console property whose sitemaps should be listed. | | `sitemap_index_url` | string | No | - | Leave empty to list all sitemaps submitted for the property. Provide a sitemap index URL to instead list the sitemaps included in that index file. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving sitemaps. The available fields to filter by are: - path: Filter by sitemap URL - type: Filter by sitemap type (for example sitemap, rssFeed, atomFeed) - isPending: Filter by whether the sitemap is still waiting to be processed - isSitemapsIndex: Filter by whether the entry is a sitemap index file Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `1000` | Maximum number of sitemaps to return. Default: 1000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the property's sitemaps exactly as Google reports them. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "path": "https://example.com/sitemap.xml", "lastSubmitted": "2026-08-01T09:00:00.000Z", "isPending": false, "type": "sitemap", "warnings": "0", "errors": "0" } ] ``` # Select Accounts Source: https://docs.markifact.com/nodes/gsc/gsc_select_accounts Select Google Search Console properties once and reuse them across multiple gsc_get_report nodes—no repeated account selection Select Google Search Console properties once and reuse them across multiple gsc\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one gsc\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_select_accounts` | | **Type** | Action | | **Connection** | `gsc` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Submit Sitemap Source: https://docs.markifact.com/nodes/gsc/gsc_submit_sitemap Submits a sitemap URL to Google Search Console for a property, or asks Google to reprocess an already-submitted sitemap Submits a sitemap URL to Google Search Console for a property, or asks Google to reprocess an already-submitted sitemap. Requires a connection with the full Search Console scope; older read-only connections must be reconnected first. | | | | - | - | | **App** | Google Search Console | | **Operation ID** | `gsc_submit_sitemap` | | **Type** | Action | | **Connection** | `gsc` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | DynamicAccount | Yes | - | Select the Search Console property the sitemap belongs to. | | `sitemap_url` | string | Yes | - | Full URL of the sitemap to submit, for example `https://example.com/sitemap.xml.` Submitting an already-submitted sitemap asks Google to reprocess it. | ## Output **Type**: `Dict` Returns a confirmation with the submitted sitemap URL. Google processes the sitemap asynchronously. **Fields**: `status`, `site`, `sitemap_url` **Example**: ```json theme={"dark"} { "status": "submitted", "site": "sc-domain:example.com", "sitemap_url": "https://example.com/sitemap.xml" } ``` # Combine Containers Source: https://docs.markifact.com/nodes/gtm/gtm_combine_containers Merges one Google Tag Manager container into another: the source container's tags, triggers, and variables move to the target container and the source is retired Merges one Google Tag Manager container into another: the source container's tags, triggers, and variables move to the target container and the source is retired. This cannot be undone. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_combine_containers` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the target container. It absorbs everything from the source container and remains after the merge. | | `source_container` | DynamicAccount | Yes | - | Select the source container. Its tags, triggers, and variables are moved into the target container, and the source container is retired by the merge. This cannot be undone. | | `setting_source` | enum (`current`, `other`) | No | `current` | Which container's settings the merged container keeps: current (the target container's settings) or other (the source container's settings). | | `allow_user_permission_feature_update` | boolean | No | - | Set to true to allow the merge when it would enable per-user permission features on the target container. The API rejects the merge otherwise. | ## Output **Type**: `Dict` Returns the merged container as provided by the Tag Manager API. # Create Client Source: https://docs.markifact.com/nodes/gtm/gtm_create_client Creates a client in a Google Tag Manager workspace from a raw resource payload Creates a client in a Google Tag Manager workspace from a raw resource payload. Clients receive and route incoming requests in a server-side Google Tag Manager container. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_client` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `client_payload` | object or string | Yes | - | Full Client resource (object or JSON string) matching the Google Tag Manager API v2 Client spec (server containers). Must include name and type (e.g. gaaw\_client for GA4). Example: \{"name": "GA4 Client", "type": "gaaw\_client", "parameter": \[\{"type": "template", "key": "activateDefaultPaths", "value": "true"}]} | ## Output **Type**: `Dict` Returns the created client as provided by the Tag Manager API. # Create Container Source: https://docs.markifact.com/nodes/gtm/gtm_create_container Creates a container in a Google Tag Manager account for web, server, AMP, or mobile app tagging Creates a container in a Google Tag Manager account for web, server, AMP, or mobile app tagging. GTM creates the container's Default Workspace automatically. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_container` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account to create the container in. | | `name` | string | Yes | - | Name for the new container. | | `usage_context` | enum (`web`, `server`, `amp`, `androidSdk5`, `iosSdk5`) | No | `web` | Where the container will be used: web (websites), server (server-side tagging), amp (AMP pages), androidSdk5 or iosSdk5 (mobile apps). | | `notes` | string | No | - | Optional notes describing the container. | ## Output **Type**: `Dict` Returns the created container as provided by the Tag Manager API, including its containerId and publicId (GTM-XXXXXX). # Create Environment Source: https://docs.markifact.com/nodes/gtm/gtm_create_environment Creates a user environment (e.g Creates a user environment (e.g. Staging) in a Google Tag Manager container for previewing and publishing versions outside Live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_environment` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container to create the environment in. | | `name` | string | Yes | - | Name for the new environment, e.g. Staging. | | `description` | string | No | - | Optional description of the environment. | | `url` | string | No | - | Default preview page URL for the environment. | | `enable_debug` | boolean | No | - | Whether debug mode is enabled by default for the environment. | ## Output **Type**: `Dict` Returns the created environment as provided by the Tag Manager API, including its environmentId and authorizationCode. # Create Folder Source: https://docs.markifact.com/nodes/gtm/gtm_create_folder Creates a folder in a Google Tag Manager workspace Creates a folder in a Google Tag Manager workspace. Folders organize tags, triggers, and variables; move items in with gtm\_move\_entities\_to\_folder. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_folder` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `name` | string | Yes | - | Name for the new folder. | | `notes` | string | No | - | Optional notes describing the folder. | ## Output **Type**: `Dict` Returns the created folder as provided by the Tag Manager API, including its folderId. # Create Gtag Config Source: https://docs.markifact.com/nodes/gtm/gtm_create_gtag_config Creates a google tag config in a Google Tag Manager workspace from a raw resource payload Creates a google tag config in a Google Tag Manager workspace from a raw resource payload. Google tag configs hold gtag.js settings in a Google Tag Manager container. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_gtag_config` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `gtag_config_payload` | object or string | Yes | - | Full GtagConfig resource (object or JSON string) matching the Google Tag Manager API v2 GtagConfig spec. Must include type; settings go in parameter. Example: \{"type": "gtag", "parameter": \[\{"type": "template", "key": "tagId", "value": "G-XXXXXXX"}]} | ## Output **Type**: `Dict` Returns the created google tag config as provided by the Tag Manager API. # Create Tag Source: https://docs.markifact.com/nodes/gtm/gtm_create_tag Creates a tag in a Google Tag Manager workspace from a raw Tag resource payload Creates a tag in a Google Tag Manager workspace from a raw Tag resource payload. Use gtm\_list\_triggers to find firing trigger IDs, then gtm\_create\_version and gtm\_publish\_version to take it live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_tag` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace where the tag should be created. | | `tag_payload` | object or string | Yes | - | Full Tag resource (object or JSON string) matching the Google Tag Manager API v2 Tag spec. Must include name and type; other fields like parameter, firingTriggerId, blockingTriggerId, paused, and notes follow the spec. Use gtm\_list\_triggers to find firing trigger IDs, or copy a tag from gtm\_list\_tags and edit it (read-only fields are stripped automatically). The type is Google's short template code, and an unknown code is rejected as an unknown entity type, so never guess it. To find a code: run gtm\_list\_tags or gtm\_get\_tag on any container that already has that kind of tag, which gives the exact type and parameter keys; if none has it, add the tag once in the Tag Manager interface and read it back the same way; the compiled script of any published container, served by googletagmanager.com for its GTM- id, lists every tag as a function named with two underscores plus the code and its parameters prefixed with vtp\_; and Google's Tag Manager developer documentation on restricting tag deployment has a table of built-in codes, partial and dated. Once the type is right, Google's error names the required parameters that are missing, so creating the tag with only name and type is a quick way to learn them. Examples: 'googtag', 'gaawe', 'html', 'awct', 'gclidw', 'sp', and 'awcc' (Google Ads Calls from Website Conversion, which needs phoneConversionNumber, conversionId and conversionLabel); server containers use different codes such as 'sgtmgaaw'. Example GA4 event tag: \{"name": "GA4 - Purchase", "type": "gaawe", "parameter": \[\{"type": "template", "key": "eventName", "value": "purchase"}, \{"type": "template", "key": "measurementIdOverride", "value": "G-XXXXXXX"}], "firingTriggerId": \["12"]} | ## Output **Type**: `Dict` Returns the created tag as provided by the Tag Manager API, including its tagId. # Create Template Source: https://docs.markifact.com/nodes/gtm/gtm_create_template Creates a template in a Google Tag Manager workspace from a raw resource payload Creates a template in a Google Tag Manager workspace from a raw resource payload. Custom templates define reusable tag, variable, and client types in a Google Tag Manager container. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_template` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `template_payload` | object or string | Yes | - | Full CustomTemplate resource (object or JSON string) matching the Google Tag Manager API v2 CustomTemplate spec. Must include name; templateData holds the exported template (.tpl) text. To install a community template instead, use gtm\_import\_template\_from\_gallery. | ## Output **Type**: `Dict` Returns the created template as provided by the Tag Manager API. # Create Transformation Source: https://docs.markifact.com/nodes/gtm/gtm_create_transformation Creates a transformation in a Google Tag Manager workspace from a raw resource payload Creates a transformation in a Google Tag Manager workspace from a raw resource payload. Transformations modify event data in a server-side Google Tag Manager container before it reaches tags. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_transformation` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `transformation_payload` | object or string | Yes | - | Full Transformation resource (object or JSON string) matching the Google Tag Manager API v2 Transformation spec (server containers only). Must include name and type. Google does not publish the type values: they are tf\_exclude\_params (Exclude parameters), tf\_allow\_params (Allow parameters) and tf\_augment\_event (Augment event); any other type is answered with a bare internal error rather than a validation message. The settings go in parameter as a list of map rows. Exclude example: \{"name": "Exclude FB user data", "type": "tf\_exclude\_params", "parameter": \[\{"type": "list", "key": "excludedParamsTable", "list": \[\{"type": "map", "map": \[\{"type": "template", "key": "excludedParams", "value": "x-fb-ud-em"}]}, \{"type": "map", "map": \[\{"type": "template", "key": "excludedParams", "value": "x-fb-ud-ph"}]}]}]}. Allow parameters uses allowedParamsTable with column allowedParams; Augment event uses augmentEventTable. With only the table given, the transformation applies to all tags with no matching conditions. To scope it to specific tags or add matching conditions, copy those parameters (affectedTags, affectedTagTypes, allTagsExcept, matchingConditionsEnabled, booleanExpressionString) from a transformation configured that way in the Tag Manager interface via gtm\_list\_transformations; a tag reference written by hand is rejected as invalid. Read-only fields are stripped automatically. | ## Output **Type**: `Dict` Returns the created transformation as provided by the Tag Manager API. # Create Trigger Source: https://docs.markifact.com/nodes/gtm/gtm_create_trigger Creates a trigger in a Google Tag Manager workspace from a raw Trigger resource payload Creates a trigger in a Google Tag Manager workspace from a raw Trigger resource payload. Its trigger ID goes into the firingTriggerId of gtm\_create\_tag; version and publish to take it live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_trigger` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `trigger_payload` | object or string | Yes | - | Full Trigger resource (object or JSON string) matching the Google Tag Manager API v2 Trigger spec. Must include name and type (e.g. pageview, customEvent, click, linkClick, formSubmission); other fields like customEventFilter, filter, and waitForTags follow the spec. You can copy a trigger from gtm\_list\_triggers and edit it (read-only fields are stripped automatically). Example custom event trigger: \{"name": "CE - purchase", "type": "customEvent", "customEventFilter": \[\{"type": "equals", "parameter": \[\{"type": "template", "key": "arg0", "value": "\{\{\_event}}"}, \{"type": "template", "key": "arg1", "value": "purchase"}]}]} | ## Output **Type**: `Dict` Returns the created trigger as provided by the Tag Manager API, including its triggerId. # Create Variable Source: https://docs.markifact.com/nodes/gtm/gtm_create_variable Creates a user-defined variable in a Google Tag Manager workspace from a raw Variable resource payload Creates a user-defined variable in a Google Tag Manager workspace from a raw Variable resource payload. Reference it in tags as \{\{variable name}}; version and publish to take it live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_variable` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `variable_payload` | object or string | Yes | - | Full Variable resource (object or JSON string) matching the Google Tag Manager API v2 Variable spec. Must include name and type (e.g. v for data layer variable, c for constant, jsm for custom JavaScript); settings go in parameter. You can copy a variable from gtm\_list\_variables and edit it (read-only fields are stripped automatically). Example data layer variable: \{"name": "DL - purchase value", "type": "v", "parameter": \[\{"type": "integer", "key": "dataLayerVersion", "value": "2"}, \{"type": "template", "key": "name", "value": "ecommerce.value"}]} | ## Output **Type**: `Dict` Returns the created variable as provided by the Tag Manager API, including its variableId. # Create Version Source: https://docs.markifact.com/nodes/gtm/gtm_create_version Snapshots a Google Tag Manager workspace into a new container version, ready for gtm_publish_version Snapshots a Google Tag Manager workspace into a new container version, ready for gtm\_publish\_version. GTM deletes the workspace after versioning and replaces it with a new default workspace. Fails if the workspace has compiler errors or merge conflicts; Google reports only that compiler errors exist, so the specific errors have to be reviewed in the Tag Manager interface. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace to snapshot into a new container version. The workspace is deleted by GTM after the version is created; a new default workspace takes its place. | | `name` | string | No | - | Name for the new version. | | `notes` | string | No | - | Notes describing what changed in this version. | ## Output **Type**: `Dict` Returns the created containerVersion (with containerVersionId) and related fields as provided by the Tag Manager API. # Create Workspace Source: https://docs.markifact.com/nodes/gtm/gtm_create_workspace Creates a workspace in a Google Tag Manager container for editing tags, triggers, and variables before versioning and publishing Creates a workspace in a Google Tag Manager container for editing tags, triggers, and variables before versioning and publishing. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_workspace` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container to create the workspace in. | | `name` | string | Yes | - | Name for the new workspace. | | `description` | string | No | - | Optional description of what the workspace is for. | ## Output **Type**: `Dict` Returns the created workspace as provided by the Tag Manager API, including its workspaceId. # Create Zone Source: https://docs.markifact.com/nodes/gtm/gtm_create_zone Creates a zone in a Google Tag Manager workspace from a raw resource payload Creates a zone in a Google Tag Manager workspace from a raw resource payload. Zones control which tags third parties may add to a Google Tag Manager container (GTM 360). Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_create_zone` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `zone_payload` | object or string | Yes | - | Full Zone resource (object or JSON string) matching the Google Tag Manager API v2 Zone spec (GTM 360). Must include name; linked containers go in childContainer and restrictions in boundary and typeRestriction. Example: \{"name": "Marketing Zone", "childContainer": \[\{"publicId": "GTM-XXXXXX"}]} | ## Output **Type**: `Dict` Returns the created zone as provided by the Tag Manager API. # Custom Tag Manager App Source: https://docs.markifact.com/nodes/gtm/gtm_custom_app Connect Google Tag Manager through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Google Tag Manager: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in the container's version history, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/tagmanager.edit.containers` `https://www.googleapis.com/auth/tagmanager.manage.accounts` `https://www.googleapis.com/auth/tagmanager.edit.containerversions` `https://www.googleapis.com/auth/tagmanager.publish` | | **APIs to enable** | Tag Manager API | | **Google account for the token** | a Google account with access to the Tag Manager accounts and containers you want to manage | All four scopes are required. In the OAuth Playground, paste them into the scope box separated by spaces before clicking **Authorize APIs**. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Google Tag Manager**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Tag Manager"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the Tag Manager API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] A node fails with a permission error after connecting > > The token is missing one of the four scopes (publishing needs `tagmanager.publish`, for example). Mint a new refresh token with all four scopes and re-add the connection with the same name. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [List Containers](/nodes/gtm/gtm_list_containers) > > List Tag Manager containers # Delete Client Source: https://docs.markifact.com/nodes/gtm/gtm_delete_client Deletes a client from a Google Tag Manager workspace Deletes a client from a Google Tag Manager workspace. The change goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_client` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `client` | DynamicAccount | Yes | - | Select the client to delete, or provide its ID. | ## Output **Type**: `Dict` Returns \{deleted: true, clientId} on success (the API returns an empty body). # Delete Environment Source: https://docs.markifact.com/nodes/gtm/gtm_delete_environment Deletes a user environment from a Google Tag Manager container Deletes a user environment from a Google Tag Manager container. Built-in environments (live, latest) cannot be deleted. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_environment` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `environment` | DynamicAccount | Yes | - | Select the environment, or provide an environment ID from gtm\_list\_environments. | ## Output **Type**: `Dict` Returns \{deleted: true, environmentId} on success (the API returns an empty body). # Delete Folder Source: https://docs.markifact.com/nodes/gtm/gtm_delete_folder Deletes a folder from a Google Tag Manager workspace Deletes a folder from a Google Tag Manager workspace. The change goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_folder` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `folder` | DynamicAccount | Yes | - | Select the folder to delete, or provide its ID. | ## Output **Type**: `Dict` Returns \{deleted: true, folderId} on success (the API returns an empty body). # Delete Gtag Config Source: https://docs.markifact.com/nodes/gtm/gtm_delete_gtag_config Deletes a google tag config from a Google Tag Manager workspace Deletes a google tag config from a Google Tag Manager workspace. The change goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_gtag_config` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `gtag_config` | DynamicAccount | Yes | - | Select the google tag config to delete, or provide its ID. | ## Output **Type**: `Dict` Returns \{deleted: true, gtagConfigId} on success (the API returns an empty body). # Delete Tag Source: https://docs.markifact.com/nodes/gtm/gtm_delete_tag Deletes a tag from a Google Tag Manager workspace Deletes a tag from a Google Tag Manager workspace. The deletion goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_tag` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `tag` | DynamicAccount | Yes | - | Select the tag to delete, or provide its tag ID. | ## Output **Type**: `Dict` Returns \{deleted: true, tagId} on success (the API returns an empty body). # Delete Template Source: https://docs.markifact.com/nodes/gtm/gtm_delete_template Deletes a template from a Google Tag Manager workspace Deletes a template from a Google Tag Manager workspace. The change goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_template` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `template` | DynamicAccount | Yes | - | Select the template to delete, or provide its ID. | ## Output **Type**: `Dict` Returns \{deleted: true, templateId} on success (the API returns an empty body). # Delete Transformation Source: https://docs.markifact.com/nodes/gtm/gtm_delete_transformation Deletes a transformation from a Google Tag Manager workspace Deletes a transformation from a Google Tag Manager workspace. The change goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_transformation` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `transformation` | DynamicAccount | Yes | - | Select the transformation to delete, or provide its ID. | ## Output **Type**: `Dict` Returns \{deleted: true, transformationId} on success (the API returns an empty body). # Delete Trigger Source: https://docs.markifact.com/nodes/gtm/gtm_delete_trigger Deletes a trigger from a Google Tag Manager workspace Deletes a trigger from a Google Tag Manager workspace. Tags still referencing it will fail validation when creating a version. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_trigger` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `trigger` | DynamicAccount | Yes | - | Select the trigger to delete, or provide its trigger ID. | ## Output **Type**: `Dict` Returns \{deleted: true, triggerId} on success (the API returns an empty body). # Delete Variable Source: https://docs.markifact.com/nodes/gtm/gtm_delete_variable Deletes a user-defined variable from a Google Tag Manager workspace Deletes a user-defined variable from a Google Tag Manager workspace. Tags still referencing it will fail validation when creating a version. Note: GTM reports missing write access as 'resource not found', so if this fails on a variable that exists, the connected Google account needs Edit permission on the container (account-level Admin is not enough). | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_variable` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `variable` | DynamicAccount | Yes | - | Select the variable to delete, or provide its variable ID. | ## Output **Type**: `Dict` Returns \{deleted: true, variableId} on success (the API returns an empty body). # Delete Version Source: https://docs.markifact.com/nodes/gtm/gtm_delete_version Deletes a Google Tag Manager container version Deletes a Google Tag Manager container version. Deleted versions can be restored with gtm\_undelete\_version. The live version cannot be deleted. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `version` | DynamicAccount | Yes | - | Select the container version, or provide a version ID from gtm\_list\_versions or gtm\_create\_version. | ## Output **Type**: `Dict` Returns \{deleted: true, containerVersionId} on success (the API returns an empty body). # Delete Zone Source: https://docs.markifact.com/nodes/gtm/gtm_delete_zone Deletes a zone from a Google Tag Manager workspace Deletes a zone from a Google Tag Manager workspace. The change goes live once a version is created and published. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_delete_zone` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `zone` | DynamicAccount | Yes | - | Select the zone to delete, or provide its ID. | ## Output **Type**: `Dict` Returns \{deleted: true, zoneId} on success (the API returns an empty body). # Disable Built In Variables Source: https://docs.markifact.com/nodes/gtm/gtm_disable_built_in_variables Disables built-in variables in a Google Tag Manager workspace Disables built-in variables in a Google Tag Manager workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_disable_built_in_variables` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `types` | array of string (also accepts a comma-separated string) | Yes | - | Built-in variable types to disable, as a list or comma-separated text, using the Google Tag Manager API v2 BuiltInVariable type enum (e.g. pageUrl, clickClasses). Use gtm\_list\_built\_in\_variables to see what is currently enabled. | ## Output **Type**: `Dict` Returns \{disabled: true, types} on success (the API returns an empty body). # Enable Built In Variables Source: https://docs.markifact.com/nodes/gtm/gtm_enable_built_in_variables Enables built-in variables (e.g Enables built-in variables (e.g. pageUrl, clickClasses, event) in a Google Tag Manager workspace so tags and triggers can reference them. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_enable_built_in_variables` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `types` | array of string (also accepts a comma-separated string) | Yes | - | Built-in variable types to enable, as a list or comma-separated text, using the Google Tag Manager API v2 BuiltInVariable type enum. Common values: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formUrl, formText, errorMessage, errorUrl, containerId, containerVersion, randomNumber, htmlId, environmentName, scrollDepthThreshold, videoTitle, videoUrl. Built-in variables must be enabled before tags or triggers can reference them (e.g. \{\{Page URL}}). | ## Output **Type**: `Dict` Returns the enabled built-in variables as provided by the Tag Manager API. # Get Account Source: https://docs.markifact.com/nodes/gtm/gtm_get_account Fetches a single Google Tag Manager account with its name and data sharing settings Fetches a single Google Tag Manager account with its name and data sharing settings. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_account` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account to fetch. | ## Output **Type**: `Dict` Returns the account as provided by the Tag Manager API. # Get Client Source: https://docs.markifact.com/nodes/gtm/gtm_get_client Fetches a single client from a Google Tag Manager workspace with its full configuration Fetches a single client from a Google Tag Manager workspace with its full configuration. Clients receive and route incoming requests in a server-side Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_client` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `client` | DynamicAccount | Yes | - | Select the client to fetch, or provide its ID. | ## Output **Type**: `Dict` Returns the client as provided by the Tag Manager API. # Get Container Source: https://docs.markifact.com/nodes/gtm/gtm_get_container Fetches a single Google Tag Manager container with its public ID, usage context, features, and tagging settings Fetches a single Google Tag Manager container with its public ID, usage context, features, and tagging settings. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_container` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container to fetch. | ## Output **Type**: `Dict` Returns the container as provided by the Tag Manager API. # Get Container Snippet Source: https://docs.markifact.com/nodes/gtm/gtm_get_container_snippet Fetches the install code snippet for a Google Tag Manager web or AMP container, ready to paste into a site's HTML Fetches the install code snippet for a Google Tag Manager web or AMP container, ready to paste into a site's HTML. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_container_snippet` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container whose install snippet should be fetched. Meaningful for web and AMP containers; server containers are installed differently. | ## Output **Type**: `Dict` Returns the container install snippet as provided by the Tag Manager API. # Get Destination Source: https://docs.markifact.com/nodes/gtm/gtm_get_destination Fetches a single linked Google tag destination's details Fetches a single linked Google tag destination's details. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_destination` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `destination_link_id` | string | Yes | - | The destination link ID from gtm\_list\_destinations (destinationLinkId field). | ## Output **Type**: `Dict` Returns the destination as provided by the Tag Manager API. # Get Environment Source: https://docs.markifact.com/nodes/gtm/gtm_get_environment Fetches a single Google Tag Manager environment's details, including its authorization code Fetches a single Google Tag Manager environment's details, including its authorization code. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_environment` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `environment` | DynamicAccount | Yes | - | Select the environment, or provide an environment ID from gtm\_list\_environments. | ## Output **Type**: `Dict` Returns the environment as provided by the Tag Manager API. # Get Folder Source: https://docs.markifact.com/nodes/gtm/gtm_get_folder Fetches a single folder from a Google Tag Manager workspace with its full configuration Fetches a single folder from a Google Tag Manager workspace with its full configuration. Folders organize tags, triggers, and variables in a Google Tag Manager workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_folder` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `folder` | DynamicAccount | Yes | - | Select the folder to fetch, or provide its ID. | ## Output **Type**: `Dict` Returns the folder as provided by the Tag Manager API. # Get Gtag Config Source: https://docs.markifact.com/nodes/gtm/gtm_get_gtag_config Fetches a single google tag config from a Google Tag Manager workspace with its full configuration Fetches a single google tag config from a Google Tag Manager workspace with its full configuration. Google tag configs hold gtag.js settings in a Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_gtag_config` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `gtag_config` | DynamicAccount | Yes | - | Select the google tag config to fetch, or provide its ID. | ## Output **Type**: `Dict` Returns the google tag config as provided by the Tag Manager API. # Get Live Version Source: https://docs.markifact.com/nodes/gtm/gtm_get_live_version Fetches the live (currently published) Google Tag Manager container version with its full tag, trigger, and variable contents Fetches the live (currently published) Google Tag Manager container version with its full tag, trigger, and variable contents. The definitive answer to 'what is running on the site right now'. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_live_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container whose live (published) version should be fetched. | ## Output **Type**: `Dict` Returns the live containerVersion as provided by the Tag Manager API. # Get Tag Source: https://docs.markifact.com/nodes/gtm/gtm_get_tag Fetches a single tag from a Google Tag Manager workspace with its full configuration Fetches a single tag from a Google Tag Manager workspace with its full configuration. Use before gtm\_update\_tag in the get, edit, update workflow. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_tag` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `tag` | DynamicAccount | Yes | - | Select the tag to fetch, or provide its tag ID. | ## Output **Type**: `Dict` Returns the tag as provided by the Tag Manager API. # Get Template Source: https://docs.markifact.com/nodes/gtm/gtm_get_template Fetches a single template from a Google Tag Manager workspace with its full configuration Fetches a single template from a Google Tag Manager workspace with its full configuration. Custom templates define reusable tag, variable, and client types in a Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_template` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `template` | DynamicAccount | Yes | - | Select the template to fetch, or provide its ID. | ## Output **Type**: `Dict` Returns the template as provided by the Tag Manager API. # Get Transformation Source: https://docs.markifact.com/nodes/gtm/gtm_get_transformation Fetches a single transformation from a Google Tag Manager workspace with its full configuration Fetches a single transformation from a Google Tag Manager workspace with its full configuration. Transformations modify event data in a server-side Google Tag Manager container before it reaches tags. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_transformation` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `transformation` | DynamicAccount | Yes | - | Select the transformation to fetch, or provide its ID. | ## Output **Type**: `Dict` Returns the transformation as provided by the Tag Manager API. # Get Trigger Source: https://docs.markifact.com/nodes/gtm/gtm_get_trigger Fetches a single trigger from a Google Tag Manager workspace with its full configuration Fetches a single trigger from a Google Tag Manager workspace with its full configuration. Use before gtm\_update\_trigger in the get, edit, update workflow. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_trigger` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `trigger` | DynamicAccount | Yes | - | Select the trigger to fetch, or provide its trigger ID. | ## Output **Type**: `Dict` Returns the trigger as provided by the Tag Manager API. # Get Variable Source: https://docs.markifact.com/nodes/gtm/gtm_get_variable Fetches a single variable from a Google Tag Manager workspace with its full configuration Fetches a single variable from a Google Tag Manager workspace with its full configuration. Use before gtm\_update\_variable in the get, edit, update workflow. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_variable` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `variable` | DynamicAccount | Yes | - | Select the variable to fetch, or provide its variable ID. | ## Output **Type**: `Dict` Returns the variable as provided by the Tag Manager API. # Get Version Source: https://docs.markifact.com/nodes/gtm/gtm_get_version Fetches a Google Tag Manager container version with its full tag, trigger, and variable contents Fetches a Google Tag Manager container version with its full tag, trigger, and variable contents. Useful for auditing or comparing versions. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `version` | DynamicAccount | Yes | - | Select the container version, or provide a version ID from gtm\_list\_versions or gtm\_create\_version. | ## Output **Type**: `Dict` Returns the full containerVersion as provided by the Tag Manager API. # Get Workspace Source: https://docs.markifact.com/nodes/gtm/gtm_get_workspace Fetches a single Google Tag Manager workspace's details Fetches a single Google Tag Manager workspace's details. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_workspace` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace to fetch. | ## Output **Type**: `Dict` Returns the workspace as provided by the Tag Manager API. # Get Workspace Status Source: https://docs.markifact.com/nodes/gtm/gtm_get_workspace_status Fetches a Google Tag Manager workspace's pending changes and merge conflicts with the latest container version Fetches a Google Tag Manager workspace's pending changes and merge conflicts with the latest container version. Useful before gtm\_create\_version to see what would ship. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_workspace_status` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace whose status should be fetched: pending changes and merge conflicts with the latest container version. | ## Output **Type**: `Dict` Returns workspaceChange and mergeConflict lists as provided by the Tag Manager API. # Get Zone Source: https://docs.markifact.com/nodes/gtm/gtm_get_zone Fetches a single zone from a Google Tag Manager workspace with its full configuration Fetches a single zone from a Google Tag Manager workspace with its full configuration. Zones control which tags third parties may add to a Google Tag Manager container (GTM 360). | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_get_zone` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `zone` | DynamicAccount | Yes | - | Select the zone to fetch, or provide its ID. | ## Output **Type**: `Dict` Returns the zone as provided by the Tag Manager API. # Import Template From Gallery Source: https://docs.markifact.com/nodes/gtm/gtm_import_template_from_gallery Imports a community template from the Google Tag Manager gallery into a workspace by its GitHub owner and repository Imports a community template from the Google Tag Manager gallery into a workspace by its GitHub owner and repository. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_import_template_from_gallery` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `gallery_owner` | string | Yes | - | GitHub owner of the community template, e.g. gtm-templates-simo-ahava. Found in the template's gallery URL: tagmanager.google.com/gallery/#/owners/\{owner}/templates/\{repository}. | | `gallery_repository` | string | Yes | - | GitHub repository of the community template. | | `gallery_sha` | string | No | - | Optional commit SHA of the template version to import. Defaults to the latest version. | | `acknowledge_permissions` | boolean | No | - | Set to true to acknowledge the permissions the template requests. Required for templates that need permissions. | ## Output **Type**: `Dict` Returns the imported template as provided by the Tag Manager API, including its templateId. # Link Destination Source: https://docs.markifact.com/nodes/gtm/gtm_link_destination Links a Google tag destination (e.g Links a Google tag destination (e.g. a GA4 measurement ID) to a Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_link_destination` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container to link the destination to. | | `destination_id` | string | Yes | - | Google tag destination ID to link, e.g. a GA4 measurement ID like G-XXXXXXX or an Ads conversion ID like AW-XXXXXXX. | | `allow_user_permission_feature_update` | boolean | No | - | Set to true to allow the link when it would enable per-user permission features on the container. The API rejects the link otherwise. | ## Output **Type**: `Dict` Returns the linked destination as provided by the Tag Manager API. # List Accounts Source: https://docs.markifact.com/nodes/gtm/gtm_list_accounts Lists Google Tag Manager accounts the connected user has access to Lists Google Tag Manager accounts the connected user has access to. Supports filtering by account name or ID. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_accounts` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving accounts. The available fields to filter by are: - accountId: Filter by account ID - name: Filter by account name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of accounts to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM accounts as provided by the Tag Manager API. # List Built In Variables Source: https://docs.markifact.com/nodes/gtm/gtm_list_built_in_variables Lists the built-in variables currently enabled in a Google Tag Manager workspace Lists the built-in variables currently enabled in a Google Tag Manager workspace. Built-in variables (e.g. Page URL, Click Classes) must be enabled before tags or triggers can reference them. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_built_in_variables` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `limit` | integer | No | `200` | Maximum number of enabled built-in variables to return. Default: 200. | ## Output **Type**: `List[Dict]` Returns the raw list of enabled built-in variables as provided by the Tag Manager API. # List Clients Source: https://docs.markifact.com/nodes/gtm/gtm_list_clients Lists clients in a Google Tag Manager workspace Lists clients in a Google Tag Manager workspace. Clients receive and route incoming requests in a server-side Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_clients` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving clients. The available fields to filter by are: - clientId: Filter by client id - name: Filter by client name - type: Filter by client type Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of clients to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of clients as provided by the Tag Manager API. # List Containers Source: https://docs.markifact.com/nodes/gtm/gtm_list_containers Lists containers in a Google Tag Manager account with public ID (GTM-XXXXXX), usage context, and notes Lists containers in a Google Tag Manager account with public ID (GTM-XXXXXX), usage context, and notes. Supports filtering by name, container ID, or public ID. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_containers` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account whose containers should be listed. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving containers. The available fields to filter by are: - containerId: Filter by container ID - name: Filter by container name - publicId: Filter by public ID (e.g. GTM-XXXXXX) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of containers to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM containers as provided by the Tag Manager API. # List Destinations Source: https://docs.markifact.com/nodes/gtm/gtm_list_destinations Lists Google tag destinations (e.g Lists Google tag destinations (e.g. GA4 measurement IDs) linked to a Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_destinations` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container whose linked Google tag destinations (e.g. GA4 measurement IDs) should be listed. | | `limit` | integer | No | `100` | Maximum number of destinations to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the raw list of destinations as provided by the Tag Manager API. # List Environments Source: https://docs.markifact.com/nodes/gtm/gtm_list_environments Lists environments in a Google Tag Manager container (live, latest, and user-created ones like Staging) Lists environments in a Google Tag Manager container (live, latest, and user-created ones like Staging). Supports filtering by name, ID, or type. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_environments` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container whose environments should be listed. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving environments. The available fields to filter by are: - environmentId: Filter by environment ID - name: Filter by environment name - type: Filter by environment type (user, live, latest, workspace) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of environments to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of environments as provided by the Tag Manager API. # List Folder Entities Source: https://docs.markifact.com/nodes/gtm/gtm_list_folder_entities Lists the tags, triggers, and variables inside a Google Tag Manager folder Lists the tags, triggers, and variables inside a Google Tag Manager folder. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_folder_entities` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `folder` | DynamicAccount | Yes | - | Select the folder whose entities (tags, triggers, variables) should be listed, or provide its folder ID. | ## Output **Type**: `Dict` Returns \{tag: \[...], trigger: \[...], variable: \[...]} as provided by the Tag Manager API. # List Folders Source: https://docs.markifact.com/nodes/gtm/gtm_list_folders Lists folders in a Google Tag Manager workspace Lists folders in a Google Tag Manager workspace. Folders organize tags, triggers, and variables in a Google Tag Manager workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_folders` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving folders. The available fields to filter by are: - folderId: Filter by folder id - name: Filter by folder name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of folders to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of folders as provided by the Tag Manager API. # List Gtag Configs Source: https://docs.markifact.com/nodes/gtm/gtm_list_gtag_configs Lists google tag configs in a Google Tag Manager workspace Lists google tag configs in a Google Tag Manager workspace. Google tag configs hold gtag.js settings in a Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_gtag_configs` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving google tag configs. The available fields to filter by are: - gtagConfigId: Filter by config id - type: Filter by config type Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of google tag configs to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of google tag configs as provided by the Tag Manager API. # List Tags Source: https://docs.markifact.com/nodes/gtm/gtm_list_tags Lists tags in a Google Tag Manager workspace with type, parameters, firing/blocking trigger IDs, and paused state Lists tags in a Google Tag Manager workspace with type, parameters, firing/blocking trigger IDs, and paused state. Supports filtering by name, tag ID, or tag type. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_tags` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace whose tags should be listed. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving tags. The available fields to filter by are: - tagId: Filter by tag ID - name: Filter by tag name - type: Filter by tag type (e.g. googtag, gaawe, html) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of tags to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM tags as provided by the Tag Manager API. # List Templates Source: https://docs.markifact.com/nodes/gtm/gtm_list_templates Lists templates in a Google Tag Manager workspace Lists templates in a Google Tag Manager workspace. Custom templates define reusable tag, variable, and client types in a Google Tag Manager container. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_templates` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving templates. The available fields to filter by are: - templateId: Filter by template id - name: Filter by template name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of templates to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of templates as provided by the Tag Manager API. # List Transformations Source: https://docs.markifact.com/nodes/gtm/gtm_list_transformations Lists transformations in a Google Tag Manager workspace Lists transformations in a Google Tag Manager workspace. Transformations modify event data in a server-side Google Tag Manager container before it reaches tags. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_transformations` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving transformations. The available fields to filter by are: - transformationId: Filter by transformation id - name: Filter by transformation name - type: Filter by transformation type Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of transformations to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of transformations as provided by the Tag Manager API. # List Triggers Source: https://docs.markifact.com/nodes/gtm/gtm_list_triggers Lists triggers in a Google Tag Manager workspace with type and firing conditions Lists triggers in a Google Tag Manager workspace with type and firing conditions. Supports filtering by name, trigger ID, or trigger type. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_triggers` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace whose triggers should be listed. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving triggers. The available fields to filter by are: - triggerId: Filter by trigger ID - name: Filter by trigger name - type: Filter by trigger type (e.g. pageview, customEvent, click) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of triggers to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM triggers as provided by the Tag Manager API. # List Variables Source: https://docs.markifact.com/nodes/gtm/gtm_list_variables Lists user-defined variables in a Google Tag Manager workspace with type and parameters Lists user-defined variables in a Google Tag Manager workspace with type and parameters. Supports filtering by name, variable ID, or variable type. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_variables` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace whose variables should be listed. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving variables. The available fields to filter by are: - variableId: Filter by variable ID - name: Filter by variable name - type: Filter by variable type (e.g. v, c, jsm) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of variables to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM variables as provided by the Tag Manager API. # List Versions Source: https://docs.markifact.com/nodes/gtm/gtm_list_versions Lists container versions in a Google Tag Manager container with tag, trigger, and variable counts Lists container versions in a Google Tag Manager container with tag, trigger, and variable counts. Optionally includes deleted versions. Supports filtering by name or version ID. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_versions` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container whose versions should be listed. | | `include_deleted` | boolean | No | `False` | Also include deleted (unpublished) versions when listing. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving versions. The available fields to filter by are: - containerVersionId: Filter by version ID - name: Filter by version name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of versions to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM container version headers as provided by the Tag Manager API. # List Workspaces Source: https://docs.markifact.com/nodes/gtm/gtm_list_workspaces Lists workspaces in a Google Tag Manager container Lists workspaces in a Google Tag Manager container. Workspaces are where tags, triggers, and variables are edited before being versioned and published. Supports filtering by name or workspace ID. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_workspaces` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container whose workspaces should be listed. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving workspaces. The available fields to filter by are: - workspaceId: Filter by workspace ID - name: Filter by workspace name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of workspaces to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of GTM workspaces as provided by the Tag Manager API. # List Zones Source: https://docs.markifact.com/nodes/gtm/gtm_list_zones Lists zones in a Google Tag Manager workspace Lists zones in a Google Tag Manager workspace. Zones control which tags third parties may add to a Google Tag Manager container (GTM 360). | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_list_zones` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `filters` | array of FilterItem | No | - | Optional filters to apply when retrieving zones. The available fields to filter by are: - zoneId: Filter by zone id - name: Filter by zone name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of zones to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of zones as provided by the Tag Manager API. # Lookup Container Source: https://docs.markifact.com/nodes/gtm/gtm_lookup_container Finds a Google Tag Manager container by its public tag ID (GTM-XXXXXX) or by a linked Google tag destination ID (e.g Finds a Google Tag Manager container by its public tag ID (GTM-XXXXXX) or by a linked Google tag destination ID (e.g. a GA4 measurement ID), without knowing which account owns it. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_lookup_container` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `tag_id` | string | No | - | Look up by the container's public tag ID, e.g. GTM-ABC123. Provide either tag\_id or destination\_id, not both. | | `destination_id` | string | No | - | Look up by a linked Google tag destination ID, e.g. a GA4 measurement ID like G-XXXXXXX. Provide either tag\_id or destination\_id, not both. | ## Output **Type**: `Dict` Returns the matching container as provided by the Tag Manager API, including its accountId. # Move Entities To Folder Source: https://docs.markifact.com/nodes/gtm/gtm_move_entities_to_folder Moves tags, triggers, and variables into a Google Tag Manager folder by their IDs Moves tags, triggers, and variables into a Google Tag Manager folder by their IDs. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_move_entities_to_folder` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `folder` | DynamicAccount | Yes | - | Select the destination folder, or provide its folder ID. | | `tag_ids` | array of string (also accepts a comma-separated string) | No | - | Tag IDs to move into the folder, as a list or comma-separated text. | | `trigger_ids` | array of string (also accepts a comma-separated string) | No | - | Trigger IDs to move into the folder, as a list or comma-separated text. | | `variable_ids` | array of string (also accepts a comma-separated string) | No | - | Variable IDs to move into the folder, as a list or comma-separated text. | ## Output **Type**: `Dict` Returns \{moved: true} with the moved IDs on success (the API returns an empty body). # Move Tag ID Source: https://docs.markifact.com/nodes/gtm/gtm_move_tag_id Moves a public tag ID (GTM-XXXXXX) out of a Google Tag Manager container into a newly created container Moves a public tag ID (GTM-XXXXXX) out of a Google Tag Manager container into a newly created container. Used when splitting a container that serves multiple tag IDs. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_move_tag_id` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container to move the tag ID out of. | | `tag_id` | string | Yes | - | The public tag ID to move out of the container into a newly created container, e.g. GTM-ABC123. Used when splitting a container that serves multiple tag IDs. | | `tag_name` | string | No | - | Name for the container created for the moved tag ID. | | `copy_settings` | boolean | No | - | Copy the current container's settings to the new container. | | `copy_users` | boolean | No | - | Copy the current container's user permissions to the new container. | | `copy_terms_of_service` | boolean | No | - | Must be set to true to accept the terms of service agreements copied from the current container to the new container. | ## Output **Type**: `Dict` Returns the newly created container as provided by the Tag Manager API. # Publish Version Source: https://docs.markifact.com/nodes/gtm/gtm_publish_version Publishes a Google Tag Manager container version, making it the live configuration on every page or app using the container Publishes a Google Tag Manager container version, making it the live configuration on every page or app using the container. Get the version from gtm\_create\_version or gtm\_list\_versions. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_publish_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `version` | DynamicAccount | Yes | - | Select the container version, or provide a version ID from gtm\_list\_versions or gtm\_create\_version. | ## Output **Type**: `Dict` Returns the published containerVersion as provided by the Tag Manager API. # Quick Preview Workspace Source: https://docs.markifact.com/nodes/gtm/gtm_quick_preview_workspace Builds a temporary preview version from a Google Tag Manager workspace without creating a real version, and reports whether compiler errors occurred Builds a temporary preview version from a Google Tag Manager workspace without creating a real version, and reports whether compiler errors occurred. Google returns only a true or false flag: the individual error messages and the affected tags, triggers, and variables are available in the Tag Manager interface only, not through the API. Useful as a dry run before gtm\_create\_version. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_quick_preview_workspace` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace to preview. Builds a temporary container version from the workspace's current state without creating a real version, and reports any compiler errors. | ## Output **Type**: `Dict` Returns the preview containerVersion and compilerError flag as provided by the Tag Manager API. # Reauthorize Environment Source: https://docs.markifact.com/nodes/gtm/gtm_reauthorize_environment Regenerates a Google Tag Manager environment's authorization code, invalidating existing preview links and environment snippets Regenerates a Google Tag Manager environment's authorization code, invalidating existing preview links and environment snippets. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_reauthorize_environment` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `environment` | DynamicAccount | Yes | - | Select the environment, or provide an environment ID from gtm\_list\_environments. | ## Output **Type**: `Dict` Returns the reauthorized environment with its new authorizationCode as provided by the Tag Manager API. # Resolve Workspace Conflict Source: https://docs.markifact.com/nodes/gtm/gtm_resolve_workspace_conflict Resolves one merge conflict in a Google Tag Manager workspace by submitting the entity in its desired resolved state Resolves one merge conflict in a Google Tag Manager workspace by submitting the entity in its desired resolved state. Get conflicts from gtm\_sync\_workspace or gtm\_get\_workspace\_status. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_resolve_workspace_conflict` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace with the merge conflict. | | `entity_payload` | object or string | Yes | - | Resolved Entity (object or JSON string) matching the Google Tag Manager API v2 Entity spec: exactly one entity key (tag, trigger, variable, folder, client, transformation, zone, gtagConfig, or builtInVariable) holding the entity in its desired resolved state, plus changeStatus. Take the entity from a mergeConflict entry returned by gtm\_sync\_workspace or gtm\_get\_workspace\_status, edit it to the state you want, and pass it here. | | `fingerprint` | string | No | - | Optional fingerprint of the entity\_in\_workspace from the mergeConflict entry. When provided, the resolve only succeeds if the workspace entity has not changed since. | ## Output **Type**: `Dict` Returns \{resolved: true} on success (the API returns an empty body). # Revert Built In Variable Source: https://docs.markifact.com/nodes/gtm/gtm_revert_built_in_variable Reverts a built-in variable's workspace enabled/disabled state back to the latest container version Reverts a built-in variable's workspace enabled/disabled state back to the latest container version. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_built_in_variable` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `type` | string | Yes | - | Built-in variable type whose workspace enabled/disabled state should be reverted to the latest container version, using the Google Tag Manager API v2 BuiltInVariable type enum (e.g. pageUrl). | ## Output **Type**: `Dict` Returns \{enabled: bool} indicating the reverted state as provided by the Tag Manager API. # Revert Client Source: https://docs.markifact.com/nodes/gtm/gtm_revert_client Reverts a client's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a client's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_client` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `client` | DynamicAccount | Yes | - | Select the client whose workspace changes should be reverted, or provide its ID. | ## Output **Type**: `Dict` Returns the reverted client (if it still exists) as provided by the Tag Manager API. # Revert Folder Source: https://docs.markifact.com/nodes/gtm/gtm_revert_folder Reverts a folder's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a folder's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_folder` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `folder` | DynamicAccount | Yes | - | Select the folder whose workspace changes should be reverted, or provide its ID. | ## Output **Type**: `Dict` Returns the reverted folder (if it still exists) as provided by the Tag Manager API. # Revert Tag Source: https://docs.markifact.com/nodes/gtm/gtm_revert_tag Reverts a tag's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a tag's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_tag` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `tag` | DynamicAccount | Yes | - | Select the tag whose workspace changes should be reverted, or provide its tag ID. | ## Output **Type**: `Dict` Returns the reverted tag (if it still exists) as provided by the Tag Manager API. # Revert Template Source: https://docs.markifact.com/nodes/gtm/gtm_revert_template Reverts a template's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a template's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_template` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `template` | DynamicAccount | Yes | - | Select the template whose workspace changes should be reverted, or provide its ID. | ## Output **Type**: `Dict` Returns the reverted template (if it still exists) as provided by the Tag Manager API. # Revert Transformation Source: https://docs.markifact.com/nodes/gtm/gtm_revert_transformation Reverts a transformation's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a transformation's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_transformation` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `transformation` | DynamicAccount | Yes | - | Select the transformation whose workspace changes should be reverted, or provide its ID. | ## Output **Type**: `Dict` Returns the reverted transformation (if it still exists) as provided by the Tag Manager API. # Revert Trigger Source: https://docs.markifact.com/nodes/gtm/gtm_revert_trigger Reverts a trigger's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a trigger's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_trigger` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `trigger` | DynamicAccount | Yes | - | Select the trigger whose workspace changes should be reverted, or provide its trigger ID. | ## Output **Type**: `Dict` Returns the reverted trigger (if it still exists) as provided by the Tag Manager API. # Revert Variable Source: https://docs.markifact.com/nodes/gtm/gtm_revert_variable Reverts a variable's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a variable's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_variable` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `variable` | DynamicAccount | Yes | - | Select the variable whose workspace changes should be reverted, or provide its variable ID. | ## Output **Type**: `Dict` Returns the reverted variable (if it still exists) as provided by the Tag Manager API. # Revert Zone Source: https://docs.markifact.com/nodes/gtm/gtm_revert_zone Reverts a zone's workspace changes back to the latest container version state, or removes it if it only existed in the workspace Reverts a zone's workspace changes back to the latest container version state, or removes it if it only existed in the workspace. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_revert_zone` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `zone` | DynamicAccount | Yes | - | Select the zone whose workspace changes should be reverted, or provide its ID. | ## Output **Type**: `Dict` Returns the reverted zone (if it still exists) as provided by the Tag Manager API. # Set Latest Version Source: https://docs.markifact.com/nodes/gtm/gtm_set_latest_version Marks a Google Tag Manager container version as the latest, which new workspaces are based on Marks a Google Tag Manager container version as the latest, which new workspaces are based on. Does not publish it. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_set_latest_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `version` | DynamicAccount | Yes | - | Select the container version, or provide a version ID from gtm\_list\_versions or gtm\_create\_version. | ## Output **Type**: `Dict` Returns the containerVersion as provided by the Tag Manager API. # Sync Workspace Source: https://docs.markifact.com/nodes/gtm/gtm_sync_workspace Syncs a Google Tag Manager workspace with the latest container version, pulling in changes published from other workspaces Syncs a Google Tag Manager workspace with the latest container version, pulling in changes published from other workspaces. Reports merge conflicts to resolve with gtm\_resolve\_workspace\_conflict. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_sync_workspace` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace to sync with the latest container version. Any merge conflicts are reported in the output; resolve them with gtm\_resolve\_workspace\_conflict. | ## Output **Type**: `Dict` Returns syncStatus and any mergeConflict entries as provided by the Tag Manager API. # Undelete Version Source: https://docs.markifact.com/nodes/gtm/gtm_undelete_version Restores a deleted Google Tag Manager container version Restores a deleted Google Tag Manager container version. Find deleted versions with gtm\_list\_versions using include\_deleted. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_undelete_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `version` | DynamicAccount | Yes | - | Select the container version, or provide a version ID from gtm\_list\_versions or gtm\_create\_version. | ## Output **Type**: `Dict` Returns the restored containerVersion as provided by the Tag Manager API. # Update Account Source: https://docs.markifact.com/nodes/gtm/gtm_update_account Updates a Google Tag Manager account's name or data sharing setting Updates a Google Tag Manager account's name or data sharing setting. Use gtm\_list\_accounts to find the account first. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_account` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account to update. | | `name` | string | No | - | New display name for the account. | | `share_data` | boolean | No | - | Whether the account shares data anonymously with Google and others to improve the product. | ## Output **Type**: `Dict` Returns the updated account as provided by the Tag Manager API. # Update Client Source: https://docs.markifact.com/nodes/gtm/gtm_update_client Replaces a client in a Google Tag Manager workspace with a full resource payload Replaces a client in a Google Tag Manager workspace with a full resource payload. Clients receive and route incoming requests in a server-side Google Tag Manager container. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_client` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `client` | DynamicAccount | Yes | - | Select the client to update, or provide its ID. | | `client_payload` | object or string | Yes | - | Full replacement Client resource; the update replaces the client entirely, so include every field it should keep. Workflow: gtm\_get\_client -> edit the payload -> gtm\_update\_client. Full Client resource (object or JSON string) matching the Google Tag Manager API v2 Client spec (server containers). Must include name and type (e.g. gaaw\_client for GA4). Example: \{"name": "GA4 Client", "type": "gaaw\_client", "parameter": \[\{"type": "template", "key": "activateDefaultPaths", "value": "true"}]} | ## Output **Type**: `Dict` Returns the updated client as provided by the Tag Manager API. # Update Container Source: https://docs.markifact.com/nodes/gtm/gtm_update_container Updates a Google Tag Manager container's name or notes Updates a Google Tag Manager container's name or notes. Use gtm\_list\_containers to find the container first. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_container` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container to update. | | `name` | string | No | - | New name for the container. | | `notes` | string | No | - | New notes for the container. | ## Output **Type**: `Dict` Returns the updated container as provided by the Tag Manager API. # Update Environment Source: https://docs.markifact.com/nodes/gtm/gtm_update_environment Updates a Google Tag Manager environment's name, description, URL, or debug setting Updates a Google Tag Manager environment's name, description, URL, or debug setting. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_environment` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `environment` | DynamicAccount | Yes | - | Select the environment, or provide an environment ID from gtm\_list\_environments. | | `name` | string | No | - | New name for the environment. | | `description` | string | No | - | New description for the environment. | | `url` | string | No | - | New default preview page URL for the environment. | | `enable_debug` | boolean | No | - | Whether debug mode is enabled by default for the environment. | ## Output **Type**: `Dict` Returns the updated environment as provided by the Tag Manager API. # Update Folder Source: https://docs.markifact.com/nodes/gtm/gtm_update_folder Updates a Google Tag Manager folder's name or notes Updates a Google Tag Manager folder's name or notes. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_folder` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `folder` | DynamicAccount | Yes | - | Select the folder to update, or provide its folder ID. | | `name` | string | No | - | New name for the folder. | | `notes` | string | No | - | New notes for the folder. | ## Output **Type**: `Dict` Returns the updated folder as provided by the Tag Manager API. # Update Gtag Config Source: https://docs.markifact.com/nodes/gtm/gtm_update_gtag_config Replaces a google tag config in a Google Tag Manager workspace with a full resource payload Replaces a google tag config in a Google Tag Manager workspace with a full resource payload. Google tag configs hold gtag.js settings in a Google Tag Manager container. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_gtag_config` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `gtag_config` | DynamicAccount | Yes | - | Select the google tag config to update, or provide its ID. | | `gtag_config_payload` | object or string | Yes | - | Full replacement GtagConfig resource; the update replaces the google tag config entirely, so include every field it should keep. Workflow: gtm\_get\_gtag\_config -> edit the payload -> gtm\_update\_gtag\_config. Full GtagConfig resource (object or JSON string) matching the Google Tag Manager API v2 GtagConfig spec. Must include type; settings go in parameter. Example: \{"type": "gtag", "parameter": \[\{"type": "template", "key": "tagId", "value": "G-XXXXXXX"}]} | ## Output **Type**: `Dict` Returns the updated google tag config as provided by the Tag Manager API. # Update Tag Source: https://docs.markifact.com/nodes/gtm/gtm_update_tag Replaces a tag in a Google Tag Manager workspace with a full Tag resource payload Replaces a tag in a Google Tag Manager workspace with a full Tag resource payload. Workflow: gtm\_get\_tag, edit the payload, gtm\_update\_tag, then version and publish. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_tag` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `tag` | DynamicAccount | Yes | - | Select the tag to update, or provide its tag ID. | | `tag_payload` | object or string | Yes | - | Full replacement Tag resource (object or JSON string) matching the Google Tag Manager API v2 Tag spec; the update replaces the tag entirely, so include every field the tag should keep. Workflow: gtm\_get\_tag -> edit the payload -> gtm\_update\_tag. Read-only fields are stripped automatically. Server containers use different type codes than web containers: the server GA4 tag is 'sgtmgaaw', not 'gaawc' or 'gaawe'. An unknown code is rejected by Google as an unknown entity type, so read the exact code from gtm\_list\_tags on that container instead of guessing, or add the tag once in the Tag Manager interface and copy it back. | ## Output **Type**: `Dict` Returns the updated tag as provided by the Tag Manager API. # Update Template Source: https://docs.markifact.com/nodes/gtm/gtm_update_template Replaces a template in a Google Tag Manager workspace with a full resource payload Replaces a template in a Google Tag Manager workspace with a full resource payload. Custom templates define reusable tag, variable, and client types in a Google Tag Manager container. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_template` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `template` | DynamicAccount | Yes | - | Select the template to update, or provide its ID. | | `template_payload` | object or string | Yes | - | Full replacement Template resource; the update replaces the template entirely, so include every field it should keep. Workflow: gtm\_get\_template -> edit the payload -> gtm\_update\_template. Full CustomTemplate resource (object or JSON string) matching the Google Tag Manager API v2 CustomTemplate spec. Must include name; templateData holds the exported template (.tpl) text. To install a community template instead, use gtm\_import\_template\_from\_gallery. | ## Output **Type**: `Dict` Returns the updated template as provided by the Tag Manager API. # Update Transformation Source: https://docs.markifact.com/nodes/gtm/gtm_update_transformation Replaces a transformation in a Google Tag Manager workspace with a full resource payload Replaces a transformation in a Google Tag Manager workspace with a full resource payload. Transformations modify event data in a server-side Google Tag Manager container before it reaches tags. Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_transformation` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `transformation` | DynamicAccount | Yes | - | Select the transformation to update, or provide its ID. | | `transformation_payload` | object or string | Yes | - | Full replacement Transformation resource (object or JSON string) matching the Google Tag Manager API v2 Transformation spec (server containers only); the update replaces the transformation entirely, so include every field it should keep. Workflow: gtm\_get\_transformation -> edit the payload -> gtm\_update\_transformation. Must include name and type; keep the type and the parameter structure of the fetched transformation. The types are tf\_exclude\_params, tf\_allow\_params and tf\_augment\_event; any other type is answered with a bare internal error. Parameter names to exclude or allow are map rows of excludedParamsTable (column excludedParams) or allowedParamsTable (column allowedParams), see gtm\_create\_transformation for a full example. Read-only fields are stripped automatically. | ## Output **Type**: `Dict` Returns the updated transformation as provided by the Tag Manager API. # Update Trigger Source: https://docs.markifact.com/nodes/gtm/gtm_update_trigger Replaces a trigger in a Google Tag Manager workspace with a full Trigger resource payload Replaces a trigger in a Google Tag Manager workspace with a full Trigger resource payload. Workflow: gtm\_get\_trigger, edit the payload, gtm\_update\_trigger, then version and publish. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_trigger` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `trigger` | DynamicAccount | Yes | - | Select the trigger to update, or provide its trigger ID. | | `trigger_payload` | object or string | Yes | - | Full replacement Trigger resource (object or JSON string) matching the Google Tag Manager API v2 Trigger spec; the update replaces the trigger entirely, so include every field the trigger should keep. Workflow: gtm\_get\_trigger -> edit the payload -> gtm\_update\_trigger. Read-only fields are stripped automatically. | ## Output **Type**: `Dict` Returns the updated trigger as provided by the Tag Manager API. # Update Variable Source: https://docs.markifact.com/nodes/gtm/gtm_update_variable Replaces a variable in a Google Tag Manager workspace with a full Variable resource payload Replaces a variable in a Google Tag Manager workspace with a full Variable resource payload. Workflow: gtm\_get\_variable, edit the payload, gtm\_update\_variable, then version and publish. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_variable` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `variable` | DynamicAccount | Yes | - | Select the variable to update, or provide its variable ID. | | `variable_payload` | object or string | Yes | - | Full replacement Variable resource (object or JSON string) matching the Google Tag Manager API v2 Variable spec; the update replaces the variable entirely, so include every field the variable should keep. Workflow: gtm\_get\_variable -> edit the payload -> gtm\_update\_variable. Read-only fields are stripped automatically. | ## Output **Type**: `Dict` Returns the updated variable as provided by the Tag Manager API. # Update Version Source: https://docs.markifact.com/nodes/gtm/gtm_update_version Updates a Google Tag Manager container version's name or description Updates a Google Tag Manager container version's name or description. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_version` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `version` | DynamicAccount | Yes | - | Select the container version, or provide a version ID from gtm\_list\_versions or gtm\_create\_version. | | `name` | string | No | - | New name for the version. | | `description` | string | No | - | New description for the version. | ## Output **Type**: `Dict` Returns the updated containerVersion as provided by the Tag Manager API. # Update Workspace Source: https://docs.markifact.com/nodes/gtm/gtm_update_workspace Updates a Google Tag Manager workspace's name or description Updates a Google Tag Manager workspace's name or description. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_workspace` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace to update. | | `name` | string | No | - | New name for the workspace. | | `description` | string | No | - | New description for the workspace. | ## Output **Type**: `Dict` Returns the updated workspace as provided by the Tag Manager API. # Update Zone Source: https://docs.markifact.com/nodes/gtm/gtm_update_zone Replaces a zone in a Google Tag Manager workspace with a full resource payload Replaces a zone in a Google Tag Manager workspace with a full resource payload. Zones control which tags third parties may add to a Google Tag Manager container (GTM 360). Version and publish to take changes live. | | | | - | - | | **App** | Google Tag Manager | | **Operation ID** | `gtm_update_zone` | | **Type** | Action | | **Connection** | `gtm` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. | | `container` | DynamicAccount | Yes | - | Select the container. | | `workspace` | DynamicAccount | Yes | - | Select the workspace. | | `zone` | DynamicAccount | Yes | - | Select the zone to update, or provide its ID. | | `zone_payload` | object or string | Yes | - | Full replacement Zone resource; the update replaces the zone entirely, so include every field it should keep. Workflow: gtm\_get\_zone -> edit the payload -> gtm\_update\_zone. Full Zone resource (object or JSON string) matching the Google Tag Manager API v2 Zone spec (GTM 360). Must include name; linked containers go in childContainer and restrictions in boundary and typeRestriction. Example: \{"name": "Marketing Zone", "childContainer": \[\{"publicId": "GTM-XXXXXX"}]} | ## Output **Type**: `Dict` Returns the updated zone as provided by the Tag Manager API. # Add Contact To List Source: https://docs.markifact.com/nodes/hubspot/hubspot_add_contact_to_list Adds an existing contact to a HubSpot list by email Adds an existing contact to a HubSpot list by email. Provide the contact's email and select a STATIC list to add them to. Returns the contact ID, email, list ID, and status. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_add_contact_to_list` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `email` | string | Yes | - | Contact's email address to add to the list | | `list_id` | string or SelectableOption | Yes | - | The ID of the HubSpot list to add the contact to (must be a STATIC list) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns operation result. **Fields**: `contact_id`, `email`, `list_id`, `status` # Create Company Source: https://docs.markifact.com/nodes/hubspot/hubspot_create_company Creates a new company in HubSpot CRM with name, domain, industry, location, employee count, revenue, and custom properties Creates a new company in HubSpot CRM with name, domain, industry, location, employee count, revenue, and custom properties. Company name is required. Returns the created company with its HubSpot ID. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_create_company` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | Company name (required - primary identifier in HubSpot) | | `domain` | string | No | - | Company website domain (e.g., example.com) | | `industry` | string | No | - | Industry the company operates in | | `phone` | string | No | - | Company's phone number | | `city` | string | No | - | City where the company is located | | `state` | string | No | - | State/region where the company is located | | `country` | string | No | - | Country where the company is located | | `lifecyclestage` | string or SelectableOption | No | - | Company's lifecycle stage in the sales process. Common stages: lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer, evangelist, other. | | `type` | string or SelectableOption | No | - | Type of company. Common options: PROSPECT, PARTNER, RESELLER, VENDOR, OTHER. | | `additional_properties` | object | No | - | Additional custom properties as key-value pairs | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created company with ID. **Fields**: `id`, `created_at`, `updated_at` # Create Contact Source: https://docs.markifact.com/nodes/hubspot/hubspot_create_contact Creates a new contact in HubSpot CRM with email, name, phone, company details, and custom properties Creates a new contact in HubSpot CRM with email, name, phone, company details, and custom properties. Email is required. Returns the created contact with its HubSpot ID. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_create_contact` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `email` | string | Yes | - | Contact's email address (required - primary identifier in HubSpot) | | `firstname` | string | No | - | Contact's first name | | `lastname` | string | No | - | Contact's last name | | `phone` | string | No | - | Contact's phone number | | `company` | string | No | - | Company name | | `website` | string | No | - | Website URL | | `jobtitle` | string | No | - | Job title | | `lifecyclestage` | string or SelectableOption | No | - | Contact's lifecycle stage. Options: subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer, evangelist, other. | | `hs_lead_status` | string or SelectableOption | No | - | Lead status. Options: NEW, OPEN, IN\_PROGRESS, OPEN\_DEAL, UNQUALIFIED, ATTEMPTED\_TO\_CONTACT, CONNECTED, BAD\_TIMING. | | `additional_properties` | object | No | - | Additional HubSpot contact properties as key-value pairs. Example: \{"city": "San Francisco", "state": "CA", "hs\_analytics\_source": "ORGANIC\_SEARCH"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created contact with ID. **Fields**: `id`, `created_at`, `updated_at` # Create Deal Source: https://docs.markifact.com/nodes/hubspot/hubspot_create_deal Creates a new deal in HubSpot CRM with deal name, amount, stage, pipeline, close date, and custom properties Creates a new deal in HubSpot CRM with deal name, amount, stage, pipeline, close date, and custom properties. Deal name is required. Returns the created deal with its HubSpot ID. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_create_deal` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `dealname` | string | Yes | - | Deal name (required - primary identifier for the deal) | | `amount` | string | No | - | Deal amount/value in the company's currency | | `dealstage` | string or SelectableOption | No | - | Deal stage representing where the deal is in the sales pipeline. Common stages: appointmentscheduled, qualifiedtobuy, presentationscheduled, decisionmakerboughtin, contractsent, closedwon, closedlost. | | `pipeline` | string or SelectableOption | No | - | Pipeline ID that the deal belongs to | | `closedate` | string | No | - | Expected close date for the deal (format: YYYY-MM-DD or timestamp) | | `dealtype` | string or SelectableOption | No | - | Type of deal. Common options: newbusiness, existingbusiness, renewalbusiness. | | `hs_priority` | string or SelectableOption | No | - | Priority level for the deal. Options: low, medium, high. | | `description` | string | No | - | Description or notes about the deal | | `additional_properties` | object | No | - | Additional HubSpot deal properties as key-value pairs. Example: \{"hs\_forecast\_amount": "50000", "hs\_forecast\_probability": "75"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created deal with ID. **Fields**: `id`, `created_at`, `updated_at` # Get Account Performance Source: https://docs.markifact.com/nodes/hubspot/hubspot_get_account_performance Fetch aggregated HubSpot account analytics like number of contacts, leads, customers, and conversion rates Fetch aggregated HubSpot account analytics like number of contacts, leads, customers, and conversion rates. Supports date, week, month, and year breakdowns with comparison features. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_get_account_performance` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns account performance metrics. **Fields**: dynamic (depend on the inputs) # Get Marketing Email Performance Source: https://docs.markifact.com/nodes/hubspot/hubspot_get_marketing_email_performance Fetch aggregate email campaign performance metrics including opens, clicks, bounces, unsubscribes, and engagement rates Fetch aggregate email campaign performance metrics including opens, clicks, bounces, unsubscribes, and engagement rates. Supports device breakdown and email-level filtering. Perfect for analyzing marketing email effectiveness. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_get_marketing_email_performance` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns email performance metrics. **Fields**: dynamic (depend on the inputs) # List Companies Source: https://docs.markifact.com/nodes/hubspot/hubspot_list_companies Retrieves company records from HubSpot CRM with customizable properties and filters Retrieves company records from HubSpot CRM with customizable properties and filters. Returns company details including name, domain, industry, location, employee count, revenue, and other company properties. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_list_companies` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `properties` | array of string or SelectableOption | Yes | - | List of company properties to retrieve. Common properties include: name, domain, industry, city, state, country, phone, website, numberofemployees, annualrevenue, createdate, hs\_lastmodifieddate. | | `filters` | array of FilterItem | No | - | List of filters to apply to companies. Each filter must have a field, operator, and value. Example: filter by industry, city, revenue, etc. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected properties. | | `limit` | integer | No | `10000` | Maximum number of companies to return. Default is 10000, maximum is 100000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of companies. **Fields**: dynamic (depend on the inputs) # List Contacts Source: https://docs.markifact.com/nodes/hubspot/hubspot_list_contacts Retrieves contact records from HubSpot CRM with customizable properties and filters Retrieves contact records from HubSpot CRM with customizable properties and filters. Returns contact details including name, email, phone, company, lifecycle stage, and other contact properties. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_list_contacts` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `properties` | array of string or SelectableOption | Yes | - | List of contact properties to retrieve. Common properties include: firstname, lastname, email, phone, company, website, jobtitle, lifecyclestage, hs\_lead\_status, createdate, lastmodifieddate. | | `filters` | array of FilterItem | No | - | List of filters to apply to contacts. Each filter must have a field, operator, and value. Example: filter by email domain, lifecycle stage, etc. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected properties. | | `limit` | integer | No | `10000` | Maximum number of contacts to return. Default is 10000, maximum is 100000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of contacts. **Fields**: dynamic (depend on the inputs) # List Deals Source: https://docs.markifact.com/nodes/hubspot/hubspot_list_deals Retrieves deal records from HubSpot CRM with customizable properties and filters Retrieves deal records from HubSpot CRM with customizable properties and filters. Returns deal details including deal name, amount, stage, pipeline, close date, and other deal properties. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_list_deals` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `properties` | array of string or SelectableOption | Yes | - | List of deal properties to retrieve. Common properties include: dealname, amount, dealstage, pipeline, closedate, createdate, hs\_priority, dealtype, description, num\_associated\_contacts. | | `filters` | array of FilterItem | No | - | List of filters to apply to deals. Each filter must have a field, operator, and value. Example: filter by deal stage, amount, pipeline, etc. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected properties. | | `limit` | integer | No | `10000` | Maximum number of deals to return. Default is 10000, maximum is 100000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of deals. **Fields**: dynamic (depend on the inputs) # Remove Contact From List Source: https://docs.markifact.com/nodes/hubspot/hubspot_remove_contact_from_list Removes an existing contact from a HubSpot list by email Removes an existing contact from a HubSpot list by email. Provide the contact's email and select a STATIC list to remove them from. Returns the contact ID, email, list ID, and status. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_remove_contact_from_list` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `email` | string | Yes | - | Contact's email address to remove from the list | | `list_id` | string or SelectableOption | Yes | - | The ID of the HubSpot list to remove the contact from (must be a STATIC list) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns operation result. **Fields**: `contact_id`, `email`, `list_id`, `status` # Update Company Source: https://docs.markifact.com/nodes/hubspot/hubspot_update_company Updates an existing company in HubSpot CRM by company ID Updates an existing company in HubSpot CRM by company ID. Provide the company ID to identify the company and include any fields you want to update (name, domain, industry, location, lifecycle stage, type, custom properties). Only provided fields will be updated. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_update_company` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `company_id` | string | Yes | - | Company ID (required to identify which company to update) | | `name` | string | No | - | Update company name | | `domain` | string | No | - | Update company website domain (e.g., example.com) | | `industry` | string | No | - | Update industry the company operates in | | `phone` | string | No | - | Update company's phone number | | `city` | string | No | - | Update city where the company is located | | `state` | string | No | - | Update state/region where the company is located | | `country` | string | No | - | Update country where the company is located | | `lifecyclestage` | string or SelectableOption | No | - | Update company's lifecycle stage. Options: lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer, evangelist, other. | | `type` | string or SelectableOption | No | - | Update company type. Options: PROSPECT, PARTNER, RESELLER, VENDOR, OTHER. | | `additional_properties` | object | No | - | Additional HubSpot company properties to update as key-value pairs. Example: \{"timezone": "America/New\_York", "description": "Updated description"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns updated company. **Fields**: `id`, `created_at`, `updated_at` # Update Contact Source: https://docs.markifact.com/nodes/hubspot/hubspot_update_contact Updates an existing contact in HubSpot CRM by email Updates an existing contact in HubSpot CRM by email. Provide the email to identify the contact and include any fields you want to update (name, phone, company, lifecycle stage, custom properties). Only provided fields will be updated. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_update_contact` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `email` | string | Yes | - | Contact's email address (required to identify which contact to update) | | `firstname` | string | No | - | Contact's first name | | `lastname` | string | No | - | Contact's last name | | `phone` | string | No | - | Contact's phone number | | `company` | string | No | - | Company name | | `website` | string | No | - | Website URL | | `jobtitle` | string | No | - | Job title | | `lifecyclestage` | string or SelectableOption | No | - | Contact's lifecycle stage. Options: subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer, evangelist, other. | | `hs_lead_status` | string or SelectableOption | No | - | Lead status. Options: NEW, OPEN, IN\_PROGRESS, OPEN\_DEAL, UNQUALIFIED, ATTEMPTED\_TO\_CONTACT, CONNECTED, BAD\_TIMING. | | `additional_properties` | object | No | - | Additional HubSpot contact properties to update as key-value pairs. Example: \{"city": "San Francisco", "state": "CA", "hs\_analytics\_source": "ORGANIC\_SEARCH"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns updated contact. **Fields**: `id`, `created_at`, `updated_at` # Update Deal Source: https://docs.markifact.com/nodes/hubspot/hubspot_update_deal Updates an existing deal in HubSpot CRM by deal ID Updates an existing deal in HubSpot CRM by deal ID. Provide the deal ID to identify the deal and include any fields you want to update (deal name, amount, stage, pipeline, close date, custom properties). Only provided fields will be updated. | | | | - | - | | **App** | HubSpot | | **Operation ID** | `hubspot_update_deal` | | **Type** | Action | | **Connection** | `hubspot` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `deal_id` | string | Yes | - | Deal ID (required to identify which deal to update) | | `dealname` | string | No | - | Update deal name | | `amount` | string | No | - | Update deal amount/value | | `dealstage` | string or SelectableOption | No | - | Update deal stage. Common stages: appointmentscheduled, qualifiedtobuy, presentationscheduled, decisionmakerboughtin, contractsent, closedwon, closedlost. | | `pipeline` | string or SelectableOption | No | - | Update pipeline ID that the deal belongs to | | `closedate` | string | No | - | Update expected close date (format: YYYY-MM-DD or timestamp) | | `dealtype` | string or SelectableOption | No | - | Update deal type. Options: newbusiness, existingbusiness, renewalbusiness. | | `hs_priority` | string or SelectableOption | No | - | Update priority level. Options: low, medium, high. | | `description` | string | No | - | Update description or notes about the deal | | `additional_properties` | object | No | - | Additional HubSpot deal properties to update as key-value pairs. Example: \{"hs\_forecast\_amount": "50000", "hs\_forecast\_probability": "75"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns updated deal. **Fields**: `id`, `created_at`, `updated_at` # Custom Instagram App Source: https://docs.markifact.com/nodes/instagram/instagram_custom_app Connect Instagram through your own Meta app (white-label) by pasting a System User access token from your Business Manager. Markifact supports two ways to connect Instagram: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Meta app** (Custom App). With a custom app, every request Markifact makes runs under your app in the account's business integrations, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Access token** | A System User token from your Meta app (never expires) | | **Required permissions** | `instagram_basic`, `instagram_content_publish`, `instagram_manage_insights`, `pages_show_list`, `business_management` | | **Assets assigned to the system user** | the Facebook Pages linked to the Instagram professional accounts you want to publish to and report on | > [card] [Create the app and generate the token](/core-concepts/custom-meta-app) > > The Meta setup (app, system user, assigned assets, token) is the same for every Meta channel and lives on one page, including the optional permissions per channel. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Instagram**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Instagram"). This is how the connection appears in nodes, agents, and MCP. **3. Paste the access token** Paste the **Access Token** generated for your system user. **4. Verify & Connect** Markifact makes one Graph API call that reads the token owner and the Pages it can reach, looking for one with a linked Instagram professional account. Nothing is saved unless that call succeeds. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new token. Markifact replaces the stored token in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] None of the Pages has a linked Instagram professional account > > Instagram professional accounts are reached through the Facebook Page they are linked to. Link the Instagram account to a Page in Instagram settings, assign that Page (and the Instagram account) to the system user in Business Manager, then generate a new token. > [accordion] Token or permission errors > > See the shared [Custom Meta App](/core-concepts/custom-meta-app#troubleshooting) troubleshooting for expired tokens, missing permissions and the app secret setting. *** ## Related > [card] [Custom Meta App](/core-concepts/custom-meta-app) > > Create the app and generate a System User token > [card] [Publish Post](/nodes/instagram/instagram_publish_post) > > Publish to an Instagram account # Get Account Performance Source: https://docs.markifact.com/nodes/instagram/instagram_get_account_performance Report Instagram account content views, engagement, followers and audience demographics Report Instagram account content views, engagement, followers and audience demographics. Views are content views, not profile visits. Demographics are subject to Meta audience thresholds. | | | | - | - | | **App** | Instagram Organic | | **Operation ID** | `instagram_get_account_performance` | | **Type** | Action | | **Connection** | `instagram` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | InstagramAccountOptions | No | - | Report formatting and engaged-audience demographic timeframe. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### InstagramAccountOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `demographic_timeframe` | enum (`this_month`, `this_week`) | No | `this_month` | Engaged-audience demographics lookback: this\_month is the last 30 days; this\_week is the last 7 days. Overrides the report date range for this metric. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "accountName": "MyBrand", "followers": 15000, "views": 50000, "reach": 35000 } ] ``` # Get Posts Performance Source: https://docs.markifact.com/nodes/instagram/instagram_get_posts_performance Report Instagram Feed, Reel and Story insights Report Instagram Feed, Reel and Story insights. Date ranges select publication dates; metrics are lifetime totals. Stories are available for 24 hours. Unavailable metrics and combined Reel rates without valid denominators return null. | | | | - | - | | **App** | Instagram Organic | | **Operation ID** | `instagram_get_posts_performance` | | **Type** | Action | | **Connection** | `instagram` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | InstagramPostsOptions | No | - | Report formatting and Story inclusion. Unavailable metrics and combined Reel averages/rates without a valid denominator return null. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### InstagramPostsOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `include_stories` | boolean | No | `False` | Include currently available Stories alongside Feed posts and Reels. Stories are available for 24 hours. Automatically enabled for replies, navigation, linkClicks or storyNavigationActionType. Date range filters publication dates; media insights are lifetime totals. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "postId": "123", "likes": 500, "comments": 45, "shares": 20, "views": 8000 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/instagram/instagram_list_report_fields Search and browse available Instagram reporting metrics and dimensions before running reports Search and browse available Instagram reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(views|reach).*'}]. | | | | - | - | | **App** | Instagram Organic | | **Operation ID** | `instagram_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type`, `group`, `description`, `supported_reports`, `media_types` # Publish Post Source: https://docs.markifact.com/nodes/instagram/instagram_publish_post Publishes content to an Instagram Business/Creator account: single image, carousel (2 to 10 images and/or videos), reel, or a 24 hour story Publishes content to an Instagram Business/Creator account: single image, carousel (2 to 10 images and/or videos), reel, or a 24 hour story. Instagram has no native scheduling; run this node from a scheduled workflow to schedule posts. | | | | - | - | | **App** | Instagram Organic | | **Operation ID** | `instagram_publish_post` | | **Type** | Action | | **Connection** | `instagram` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | string or SelectItem | Yes | - | Select the Instagram Business/Creator account to publish to, ask the user for it if not provided | | `post_type` | string or SelectableOption | Yes | - | Type of content to publish. Available options: 'image' (single image feed post), 'carousel' (2 to 10 images and/or videos in one post), 'reel' (video feed post; all Instagram feed videos are reels, recommended vertical 9:16, roughly 3 seconds to 15 minutes), 'story' (24 hour story from ONE image or ONE video; no caption). Instagram has no native scheduling; to schedule, run this node from a scheduled workflow. | | `caption` | string | No | - | The caption text, up to 2200 characters. Used for image, carousel, and reel posts. Stories do not support captions. | | `image_urls` | string or array of string | No | - | Image for image posts and image stories (exactly one URL). Instagram requires JPEG images, max 8MB, aspect ratio between 4:5 and 1.91:1 for feed posts. Accepts direct URLs or Google Drive share links with sharing set to 'Anyone with the link'. URLs must be publicly reachable since Instagram downloads them server side. | | `video_url` | string | No | - | Video for reel and video story posts. Recommended vertical 9:16. Reels are roughly 3 seconds to 15 minutes; story videos up to roughly 60 seconds. Accepts direct URLs or Google Drive share links. Must be publicly reachable. | | `media_urls` | string or array of string | No | - | Carousel items: 2 to 10 URLs as a list or one string separated by commas or new lines. Images and videos can be mixed; whether each item is an image or a video is detected automatically. | | `cover_url` | string | No | - | Optional cover image URL for reels. If empty, Instagram picks a frame from the video. | | `share_to_feed` | boolean | No | - | Reels only. Set to False to publish the reel to the Reels tab without showing it in the main feed. Default is True. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the published media details. Instagram allows up to 50 API published posts per account per rolling 24 hours. **Fields**: `post_id`, `post_url`, `account_id`, `account_name`, `post_type`, `status` **Example**: ```json theme={"dark"} { "post_id": "17900123456789012", "post_url": "https://www.instagram.com/p/AbCdEfG/", "account_id": "17841400000000000", "account_name": "mybrand", "post_type": "image", "status": "published" } ``` # Select Accounts Source: https://docs.markifact.com/nodes/instagram/instagram_select_accounts Select Instagram Business accounts once and reuse them across multiple Instagram nodes—no repeated account selection Select Instagram Business accounts once and reuse them across multiple Instagram nodes—no repeated account selection. You can also select and list all available accounts. | | | | - | - | | **App** | Instagram Organic | | **Operation ID** | `instagram_select_accounts` | | **Type** | Action | | **Connection** | `instagram` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Get Report Source: https://docs.markifact.com/nodes/klaviyo/klaviyo_get_report Fetches Klaviyo reports with customizable metrics, dimensions, filters, date ranges, and sorting options Fetches Klaviyo reports with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports email, SMS, and conversion metrics from Klaviyo, Shopify, WooCommerce, and API integrations. | | | | - | - | | **App** | Klaviyo | | **Operation ID** | `klaviyo_get_report` | | **Type** | Action | | **Connection** | `klaviyo` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. Supports email metrics (opens, clicks, bounces), SMS metrics, and conversion data from integrated platforms. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-01-24", "campaignName": "Winter Sale", "emailsSent": 1500, "opensUnique": 450, "clicksUnique": 120, "openRate": 0.3 } ] ``` # List Campaigns Source: https://docs.markifact.com/nodes/klaviyo/klaviyo_list_campaigns List Klaviyo campaigns with filters for channel (email, SMS, mobile push), status, and created date range List Klaviyo campaigns with filters for channel (email, SMS, mobile push), status, and created date range. Returns campaign details including name, status, send time, and tracking options. | | | | - | - | | **App** | Klaviyo | | **Operation ID** | `klaviyo_list_campaigns` | | **Type** | Action | | **Connection** | `klaviyo` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `channel` | enum (`email`, `sms`, `mobile_push`) | Yes | - | Campaign channel type: email, sms, or mobile\_push | | `status` | array of enum (`Draft`, `Scheduled`, `Sending`, `Sent`, `Cancelled`, `Adding Recipients`, `Variations Sent`, `Sending Segments`, ...) | No | - | Filter by campaign status | | `date_range` | DateRange | No | - | Filter campaigns by created date range | | `orders` | array of OrderItem | No | - | Sort results by field and direction. Available fields: - created\_at: Created date - name: Campaign name - updated\_at: Updated date - scheduled\_at: Scheduled date | | `limit` | integer | No | `1000` | Maximum number of campaigns to return (1-10000) | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of campaigns with id, name, status, archived, created\_at, updated\_at, scheduled\_at, send\_time, and tracking options. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "01ABC123", "name": "Winter Sale", "status": "sent", "created_at": "2026-01-15T10:00:00Z", "send_time": "2026-01-20T14:00:00Z" } ] ``` # List Flows Source: https://docs.markifact.com/nodes/klaviyo/klaviyo_list_flows List Klaviyo flows with filters for status, trigger type, and date range List Klaviyo flows with filters for status, trigger type, and date range. Returns flow details including name, status, trigger type, and timestamps. | | | | - | - | | **App** | Klaviyo | | **Operation ID** | `klaviyo_list_flows` | | **Type** | Action | | **Connection** | `klaviyo` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `status` | array of enum (`draft`, `manual`, `live`) | No | - | Filter by flow status: draft, manual, or live | | `trigger_type` | enum (`metric`, `list`, `segment`, `date_property`, `price_drop`) | No | - | Filter by trigger type | | `date_range` | DateRange | No | - | Filter flows by created date range | | `orders` | array of OrderItem | No | - | Sort by: created, name, status, updated | | `limit` | integer | No | `1000` | Maximum number of flows to return (1-10000) | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of flows with id, name, status, trigger\_type, archived, created, updated. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "ABC123", "name": "Welcome Series", "status": "live", "trigger_type": "list", "created": "2026-01-15T10:00:00Z" } ] ``` # List Profiles Source: https://docs.markifact.com/nodes/klaviyo/klaviyo_list_profiles List Klaviyo profiles with optional subscription data and date filtering List Klaviyo profiles with optional subscription data and date filtering. Returns profile details including email, phone, name, location, and subscription status. | | | | - | - | | **App** | Klaviyo | | **Operation ID** | `klaviyo_list_profiles` | | **Type** | Action | | **Connection** | `klaviyo` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `date_range` | DateRange | No | - | Filter profiles by created date range | | `orders` | array of OrderItem | No | - | Sort profiles by field and direction. Available fields: created, updated, email | | `limit` | integer | No | `1000` | Maximum number of profiles to return (1-10000) | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of profiles with id, email, phone\_number, first\_name, last\_name, location, created, updated, and optionally subscription status. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "01ABC123", "email": "user@example.com", "first_name": "John", "last_name": "Doe", "created": "2026-01-15T10:00:00Z" } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/klaviyo/klaviyo_list_report_fields Search and browse available Klaviyo reporting metrics and dimensions before running reports Search and browse available Klaviyo reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(revenue|openRate).*'}]. | | | | - | - | | **App** | Klaviyo | | **Operation ID** | `klaviyo_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Create Comment Source: https://docs.markifact.com/nodes/linkedin/linkedin_create_comment Comments on a LinkedIn post, or replies to a comment, as the connected member or as a Company Page they manage Comments on a LinkedIn post, or replies to a comment, as the connected member or as a Company Page they manage. The comment is public immediately. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_create_comment` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `author` | string or SelectItem | Yes | - | Who comments: 'me' for the connected member, or a Company Page id from linkedin\_select\_pages (urn:li:organization:\ also works). There is no default: confirm with the user which one they mean. | | `target` | string | Yes | - | What to comment on: a post (its URN or LinkedIn URL) for a top-level comment, or a comment URN (urn:li:comment:(urn:li:activity:\,\), the 'commentUrn' linkedin\_list\_comments returns) to reply to that comment. | | `text` | string | Yes | - | The comment text. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` The created comment as LinkedIn returns it, including its 'commentUrn'. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "commentUrn": "urn:li:comment:(urn:li:activity:7359128276847554571,7360000000000000001)", "actor": "urn:li:organization:94825288", "message": { "text": "Thanks for the feedback!" } } ``` # Delete Post Source: https://docs.markifact.com/nodes/linkedin/linkedin_delete_post Deletes a LinkedIn post published by the connected member or one of their Company Pages Deletes a LinkedIn post published by the connected member or one of their Company Pages. This cannot be undone. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_delete_post` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `post_id` | string | Yes | - | The post to delete: its URN (urn:li:share:\ or urn:li:ugcPost:\, the 'id' linkedin\_list\_posts returns and the 'post\_id' linkedin\_publish\_post returns) or its LinkedIn URL. Deletion is permanent. | ## Output **Type**: `Dict` Confirms the post was deleted. **Fields**: `post_id`, `deleted` **Example**: ```json theme={"dark"} { "post_id": "urn:li:share:7393849934576214016", "deleted": true } ``` # Get Page Report Source: https://docs.markifact.com/nodes/linkedin/linkedin_get_page_report Retrieves organic LinkedIn Company Page analytics: daily followers, page views, button clicks and post engagement; lifetime totals per post (post fields); or lifetime followers and page views by co... Retrieves organic LinkedIn Company Page analytics: daily followers, page views, button clicks and post engagement; lifetime totals per post (post fields); or lifetime followers and page views by country, industry, job function, seniority or company size (audience fields). Groups cannot be mixed. For your own profile, use linkedin\_get\_profile\_report. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_get_page_report` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Company Pages to report on: page ids from linkedin\_select\_pages (or urn:li:organization:\). Several pages can be queried at once; add the accountName dimension to break the data down by page. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Page level: one row per date (or week/month, or one totals row) and page. Post level: one row per organic post published in the date range, with lifetime totals. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-11-01", "followerGains": 3, "pageViews": 12, "impressions": 240, "engagementRate": 0.031 } ] ``` # Get Profile Details Source: https://docs.markifact.com/nodes/linkedin/linkedin_get_profile_details Retrieves public details (headline, current role, location) of any LinkedIn personal profile by username Retrieves public details (headline, current role, location) of any LinkedIn personal profile by username. Scrapes public data, so it needs no LinkedIn connection. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_get_profile_details` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `username` | string | No | - | Enter either the full LinkedIn profile URL (e.g., `https://www.linkedin.com/in/username`) | | `usernames` | array of string (also accepts a comma-separated string) | No | - | Enter a list of LinkedIn profile URLs | | `update_type` | string or SelectableOption | Yes | - | Choose how to provide profile URLs. Available options: 'single' (Single Profile), 'bulk' (Multiple Profiles) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns profile details. **Fields**: dynamic (depend on the inputs) # Get Profile Posts Source: https://docs.markifact.com/nodes/linkedin/linkedin_get_profile_posts Retrieves recent public posts from any LinkedIn personal profile by username (not company pages) Retrieves recent public posts from any LinkedIn personal profile by username (not company pages). Scrapes public data, so it needs no LinkedIn connection. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_get_profile_posts` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `username` | string | Yes | - | Enter either the full LinkedIn profile URL or just the username (e.g., john-doe13) | | `limit` | integer | No | `10` | Maximum number of posts to fetch (default is 10, range: 1-100) | | `page_number` | integer | No | `1` | Page number for pagination (default is 1) | ## Output **Type**: `List[Dict]` Returns list of posts from the profile. **Fields**: dynamic (depend on the inputs) # Get Profile Reactions Source: https://docs.markifact.com/nodes/linkedin/linkedin_get_profile_reactions Retrieves the posts a LinkedIn personal profile recently reacted to, by username Retrieves the posts a LinkedIn personal profile recently reacted to, by username. Scrapes public data, so it needs no LinkedIn connection. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_get_profile_reactions` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `username` | string | Yes | - | Enter either the full LinkedIn profile URL or just the username (e.g., john-doe13) | | `limit` | integer | No | `10` | Maximum number of reactions to fetch (default is 10, range: 1-100) | | `page_number` | integer | No | `1` | Page number for pagination (default is 1) | ## Output **Type**: `List[Dict]` Returns list of posts the user reacted to. **Fields**: dynamic (depend on the inputs) # Get Profile Report Source: https://docs.markifact.com/nodes/linkedin/linkedin_get_profile_report Retrieves analytics for the connected member's own LinkedIn profile: post impressions, members reached, reactions, comments, reposts, saves, sends, clicks, new and total followers Retrieves analytics for the connected member's own LinkedIn profile: post impressions, members reached, reactions, comments, reposts, saves, sends, clicks, new and total followers. Only the connected member's profile, never other people's; for Company Pages use linkedin\_get\_page\_report. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_get_profile_report` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` One row per date (or week/month), or a single totals row without a time dimension. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "impressions": 3267, "membersReached": 693, "newFollowers": 41, "totalFollowers": 10179 } ] ``` # List Comments Source: https://docs.markifact.com/nodes/linkedin/linkedin_list_comments Lists the comments on a LinkedIn Company Page post, or the replies under a comment, with author, text, time and likes Lists the comments on a LinkedIn Company Page post, or the replies under a comment, with author, text, time and likes. Comments on personal profile posts cannot be read; LinkedIn restricts that access. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_list_comments` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | Whose comments to list: a Company Page post (its URN, the 'id' linkedin\_list\_posts returns, or its LinkedIn URL) for the top-level comments, or a comment URN (urn:li:comment:(urn:li:activity:\,\), the 'commentUrn' this node returns) for the replies under it. Comments on personal profile posts cannot be read. | | `limit` | integer | No | `50` | Maximum number of comments to return. Default 50, max 500. | ## Output **Type**: `List[Dict]` Comments as LinkedIn returns them. 'commentUrn' is the value to reply to or list replies for; 'actor' is the commenter (urn:li:person or urn:li:organization). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "commentUrn": "urn:li:comment:(urn:li:activity:7359128276847554571,7360000000000000000)", "actor": "urn:li:person:f49f2kf0", "message": { "text": "Great update!" }, "created": { "time": 1754600000000 } } ] ``` # List Posts Source: https://docs.markifact.com/nodes/linkedin/linkedin_list_posts Lists a LinkedIn Company Page's organic posts, newest first, with optional lifetime statistics per post Lists a LinkedIn Company Page's organic posts, newest first, with optional lifetime statistics per post. Personal profile posts cannot be listed here (LinkedIn does not grant that access); linkedin\_get\_profile\_posts reads any public profile's posts by username. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_list_posts` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | The Company Page whose posts to list: a page id from linkedin\_select\_pages or urn:li:organization:\. Personal profiles cannot be listed (LinkedIn does not grant access to a member's own posts). | | `limit` | integer | No | `25` | Maximum number of posts to return, newest first. Default 25, max 500. | | `include_sponsored` | boolean | No | `False` | Set to True to also return sponsored-only posts created for LinkedIn Ads (they never appear on the page feed). By default only organic page posts are returned. | | `include_statistics` | boolean | No | `False` | Set to True to add each post's lifetime organic statistics under 'statistics' (impressionCount, uniqueImpressionsCount, clickCount, likeCount, commentCount, shareCount, engagement). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Posts as LinkedIn returns them ('id' is the post URN). With include\_statistics, each post also has a 'statistics' object. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "urn:li:share:7359128276847554571", "author": "urn:li:organization:106645316", "commentary": "Performance Max search terms are now supported in Markifact", "publishedAt": 1754552907306, "lifecycleState": "PUBLISHED", "statistics": { "impressionCount": 19, "clickCount": 0, "likeCount": 1 } } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/linkedin/linkedin_list_report_fields Lists the metrics and dimensions of linkedin_get_page_report and linkedin_get_profile_report, with which report each belongs to and whether it can be split by date Lists the metrics and dimensions of linkedin\_get\_page\_report and linkedin\_get\_profile\_report, with which report each belongs to and whether it can be split by date. Filter e.g. \[\{'field':'report','operator':'EQUALS','value':'linkedin\_get\_profile\_report'}]. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Available report fields. **Fields**: `id`, `name`, `type`, `data_type`, `report`, `level`, `by_date`, `description` **Example**: ```json theme={"dark"} [ { "id": "followerGains", "name": "New Followers", "type": "metric", "data_type": "int", "report": "linkedin_get_page_report", "level": "page", "by_date": true, "description": null } ] ``` # Publish Post Source: https://docs.markifact.com/nodes/linkedin/linkedin_publish_post Publishes an organic LinkedIn post as the connected member or as a Company Page: text, link, one or several images, video, document, or a repost Publishes an organic LinkedIn post as the connected member or as a Company Page: text, link, one or several images, video, document, or a repost. Goes live immediately and is public by default. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_publish_post` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `author` | string or SelectItem | Yes | - | Who publishes the post: 'me' for the connected member's personal profile, or a Company Page id from linkedin\_select\_pages (urn:li:organization:\ also works). There is no default: confirm with the user which one they mean. | | `text` | string | No | - | The post text. Hashtags (#marketing) work as typed. Mention a page or member with @\[Exact Name]\(urn:li:organization:\) or @\[Name]\(urn:li:person:\); the name must match the entity's LinkedIn name or it shows as plain text. | | `link_url` | string | No | - | Share a link as an article card. LinkedIn does not scrape the page, so set link\_title (and optionally link\_description and link\_thumbnail\_url) to control how the card looks. | | `link_title` | string | No | - | Article card title. | | `link_description` | string | No | - | Article card description. | | `link_thumbnail_url` | string | No | - | Article card image. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. | | `image_urls` | string or array of string | No | - | One image, or 2 to 20 images for a multi-image post (JPG, PNG or GIF). Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. | | `video_url` | string | No | - | A video to post (MP4). Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. | | `document_url` | string | No | - | A document to post as a swipeable carousel: PDF, PPT(X) or DOC(X), up to 100 MB and 300 pages. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. | | `media_title` | string | No | - | Title shown on a video or document post. | | `repost_of` | string | No | - | Repost an existing post with your text on top: its URN (urn:li:share:\ or urn:li:ugcPost:\) or its LinkedIn URL. | | `visibility` | enum (`PUBLIC`, `CONNECTIONS`, `LOGGED_IN`) | No | `PUBLIC` | PUBLIC (default) shows the post to anyone. CONNECTIONS (member posts only) limits it to the member's connections. LOGGED\_IN limits it to signed-in LinkedIn members. | | `disable_reshare` | boolean | No | `False` | Set to True to stop others from reposting this post. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` The new post's URN and URL. **Fields**: `post_id`, `post_url`, `author` **Example**: ```json theme={"dark"} { "post_id": "urn:li:share:7393849934576214016", "post_url": "https://www.linkedin.com/feed/update/urn:li:share:7393849934576214016/", "author": "urn:li:organization:94825288" } ``` # Select Pages Source: https://docs.markifact.com/nodes/linkedin/linkedin_select_pages Lists the LinkedIn Company Pages the connected member manages, with their roles, plus the member's own profile (id 'me') Lists the LinkedIn Company Pages the connected member manages, with their roles, plus the member's own profile (id 'me'). Use these ids as the page or author in the other LinkedIn nodes. | | | | - | - | | **App** | LinkedIn Organic | | **Operation ID** | `linkedin_select_pages` | | **Type** | Action | | **Connection** | `linkedin` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `List[Dict]` The member's own profile first (type 'profile', id 'me'), then one entry per Company Page (type 'page'). **Fields**: `id`, `urn`, `name`, `vanity_name`, `roles`, `type` **Example**: ```json theme={"dark"} [ { "id": "me", "urn": "urn:li:person:MZDpJXOQpk", "name": "Ahmed Ali", "vanity_name": null, "roles": [], "type": "profile" }, { "id": "106645316", "urn": "urn:li:organization:106645316", "name": "Markifact", "vanity_name": "markifact", "roles": [ "ADMINISTRATOR" ], "type": "page" } ] ``` # Assign Conversions To Adset Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_assign_conversions_to_adset Assign existing LinkedIn Ads conversion rules to an ad set Assign existing LinkedIn Ads conversion rules to an ad set. Use linkedin\_ads\_list\_conversions first to find conversion IDs or URNs. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_assign_conversions_to_adset` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account that owns the ad set and conversion rules. | | `adset_id` | string or SelectItem | Yes | - | LinkedIn ad set ID or URN. In LinkedIn's API this is a sponsoredCampaign, for example 345396555 or urn:li:sponsoredCampaign:345396555. | | `conversion_ids` | array of string or SelectItem | Yes | - | Existing LinkedIn conversion rule IDs or URNs to assign to the ad set. Use linkedin\_ads\_list\_conversions to find available conversions. Accepts IDs like 104012 or URNs like urn:lla:llaPartnerConversion:104012. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns per-conversion assignment status for the LinkedIn ad set. **Fields**: `adset_id`, `conversions` # Create Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_ad Low-level LinkedIn Ads ad creation Low-level LinkedIn Ads ad creation. Forwards a raw LinkedIn creative body to the creatives endpoint as-is. Use the dedicated create nodes first (linkedin\_ads\_create\_image\_ad, create\_video\_ad, create\_document\_ad, create\_carousel\_ad, create\_text\_ad, create\_spotlight\_ad, create\_ad\_from\_post); this is the advanced fallback for formats or fields without one, such as event, follower, or jobs ads. Payloads with inlineContent are routed to createInline (dark post + creative in one call). Media URNs must already exist; upload via linkedin\_ads\_upload\_media. In LinkedIn's API an ad is a creative. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to create the ad in. | | `ad_payload` | object or string | Yes | - | Raw LinkedIn creative body, sent to LinkedIn as-is. Two shapes are supported: a creative referencing existing content (e.g. \{"campaign": "urn:li:sponsoredCampaign:123", "intendedStatus": "DRAFT", "content": \{"reference": "urn:li:ugcPost:456"}}), or a creative with "inlineContent": \{"post": \{...}} which creates the dark post and the creative in one call (routed to createInline automatically). Media URNs (urn:li:image/video/document) must already exist; upload them with linkedin\_ads\_upload\_media. Accepts a JSON object or JSON string. | | `dry_run` | boolean | No | `False` | When true, return the resolved creative body and endpoint without calling LinkedIn. | ## Output **Type**: `Dict` Returns the created ad (creative) id, the forwarded payload, and whether it was created via createInline. **Fields**: `ad_id`, `payload`, `inline_post`, `dry_run` # Create Ad From Post Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_ad_from_post Sponsor an existing LinkedIn post as an ad: create a creative under an ad set that references an existing post URN (urn:li:ugcPost / urn:li:share) Sponsor an existing LinkedIn post as an ad: create a creative under an ad set that references an existing post URN (urn:li:ugcPost / urn:li:share). Use linkedin\_ads\_list\_posts to find a post. Supports single or bulk. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_ad_from_post` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Create a single ad from a post ('single') or many at once ('bulk'). | | `adset_id` | string or SelectItem | No | - | Ad set (LinkedIn sponsored campaign) the ad belongs to. Maps to the creative's campaign. | | `post` | string | No | - | The existing post to sponsor, as a LinkedIn post URN (e.g. urn:li:ugcPost:123 or urn:li:share:123). Use linkedin\_ads\_list\_posts to find one. | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Each row supports: post, adset\_id, ad\_name, status. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created creative id(s) and (in bulk) per-row results. **Fields**: `creative_ids`, `created_count`, `success_count`, `failed_count`, `results` # Create Adset Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_adset Create a LinkedIn Ads ad set under a campaign Create a LinkedIn Ads ad set under a campaign. In LinkedIn's API this is a campaign (adCampaigns); LinkedIn's newer UI naming calls this an ad set. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_adset` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad set in. | | `campaign_id` | string or SelectItem | Yes | - | Parent campaign ID. This maps to LinkedIn campaignGroup. | | `adset_name` | string | Yes | - | Ad set name. | | `objective_type` | string or SelectableOption | Yes | - | Ad set objective. | | `ad_format` | string or SelectableOption | Yes | - | LinkedIn Campaign Manager ad format. | | `associated_entity_urn` | string | No | - | Organization or member URN required for sponsored content, dynamic ads, and lead gen forms. | | `budget_type` | string or SelectableOption | No | - | Budget mode: DAILY, LIFETIME, or BOTH. When omitted, it follows the budgets given. Leave every budget empty for an ad set in a campaign group with budget optimization: it spends from the group's shared budget, and LinkedIn drops an ad set budget there. Elsewhere LinkedIn requires daily\_budget or total\_budget before an ad set can be ACTIVE (DRAFT and PAUSED can omit it). | | `daily_budget` | number | No | - | Daily budget in the account currency. Currency is resolved by backend. Omit for ad sets in a budget-optimized campaign group. | | `total_budget` | number | No | - | Lifetime/total budget in the account currency. Currency is resolved by backend. Omit for ad sets in a budget-optimized campaign group. | | `start_time` | integer or string | No | - | Optional start date/time as Unix timestamp or ISO datetime. | | `end_time` | integer or string | No | - | Optional end date/time as Unix timestamp or ISO datetime. | | `optimization_goal` | string or SelectableOption | No | - | What LinkedIn optimizes delivery for. Objective-specific, e.g. REACH, IMPRESSIONS, LANDING\_PAGE\_CLICKS, ENGAGEMENT\_CLICKS, WEBSITE\_CONVERSIONS, LEADS, VIDEO\_VIEWS, SENDS. | | `bidding_strategy` | string or SelectableOption | No | - | How bids are placed: MAX\_DELIVERY (automated), TARGET\_COST, or MANUAL. | | `unit_cost` | number | No | - | Optional bid amount in account currency. Required for manual bidding choices. | | `locale_language` | string | No | `en` | LinkedIn ad set locale language as a two-letter lowercase code, for example 'en'. This is not audience targeting; it tells LinkedIn the language context for the campaign setup. Use the account/user market default unless the user explicitly needs another locale. | | `locale_country` | string | No | `US` | LinkedIn ad set locale country as a two-letter uppercase code, for example 'US'. This is not the geographic audience target; it pairs with locale\_language in the LinkedIn locale object. Use the account/user market default unless the user explicitly needs another locale. | | `targeting_criteria` | object or string | Yes | - | LinkedIn targetingCriteria object for the ad set. Use this to define the actual audience, including required locations and any other facets such as industries, job titles, company sizes, or exclusions. Use `linkedin_ads_search_targeting` operation to explore available URNs for locations, job titles, companies, industries, skills, and other targeting facets. Do not invent LinkedIn URNs or IDs. Pass either a dict or a valid JSON string matching LinkedIn's targetingCriteria shape, for example \{'include': \{'and': \[\{'or': \{'urn:li:adTargetingFacet:locations': \['urn:li:geo:103644278']}}]}}. This is audience targeting and is separate from locale\_language/locale\_country. | | `conversion_ids` | array of string or SelectItem | No | - | Optional existing LinkedIn conversion rule IDs or URNs to associate with the ad set after it is created. Use linkedin\_ads\_list\_conversions to find available conversions. Accepts IDs like 104012 or URNs like urn:lla:llaPartnerConversion:104012. | | `audience_expansion_enabled` | boolean | No | `False` | Enable LinkedIn audience expansion. | | `offsite_delivery_enabled` | boolean | No | `False` | Enable LinkedIn Audience Network/offsite delivery. | | `creative_selection` | string or SelectableOption | No | - | Creative rotation strategy. Defaults to OPTIMIZED, except Message/Conversation ads outside LEAD\_GENERATION default to ROUND\_ROBIN. Explicit selections are preserved; LinkedIn rejects OPTIMIZED for other InMail objectives. | | `political_intent` | string or SelectableOption | No | `{'value': 'NOT_DECLARED', 'label': 'Not declared'}` | Political advertising declaration. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Initial ad set status. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn ad set details. **Fields**: `adset_id`, `adset_name`, `status`, `ad_format`, `conversions` # Create Campaign Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_campaign Create a LinkedIn Ads campaign in Campaign Manager Create a LinkedIn Ads campaign in Campaign Manager. In LinkedIn's API this is a campaign group (adCampaignGroups); LinkedIn's newer UI naming calls this a campaign. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_campaign` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to create the campaign in. | | `campaign_name` | string | Yes | - | Campaign name. LinkedIn limits campaign group names to 100 characters. | | `objective_type` | string or SelectableOption | No | - | Optional LinkedIn campaign objective using the exact LinkedIn campaign-group API enum. If set, ad sets under this campaign inherit the same objective. | | `billing_reference` | string | No | - | Billing object URN. ENTERPRISE accounts only; immutable after campaign group creation. | | `billing_parent_reference` | string | No | - | Parent billing object URN. ENTERPRISE accounts only; immutable after campaign group creation. | | `beneficiary_reference` | LinkedInBeneficiaryReference or string | No | - | Beneficiary object or JSON string: \{"organization":"urn:li:organization:123"} or \{"company":"urn:li:company:123"}. Supply exactly one member. Immutable after campaign group creation. | | `buying_type` | enum (`AUCTION`, `RESERVATION`) | No | - | AUCTION for auction inventory or RESERVATION for reserved inventory. Immutable after campaign group creation. Omit to use LinkedIn's default. | | `budget_optimization_on` | boolean | No | `False` | Turn on LinkedIn dynamic budget optimization for this campaign. | | `budget_optimization_bid_strategy` | string or SelectableOption | No | `{'value': 'MAXIMUM_DELIVERY', 'label': 'Maximum delivery'}` | Bid strategy used when budget optimization is on: MAXIMUM\_DELIVERY (automated), MANUAL, or COST\_CAP. All campaigns in the group must share this strategy. | | `budget_type` | string or SelectableOption | No | `{'value': 'LIFETIME', 'label': 'Lifetime budget'}` | Campaign group budget mode: DAILY or LIFETIME. Budget is optional unless budget optimization is enabled. | | `budget_amount` | number | No | - | Budget amount in the selected account currency. Interpreted as a daily or lifetime budget based on budget\_type. Required when budget optimization is enabled. Currency is resolved from the LinkedIn Ads account. | | `start_time` | integer or string | Yes | - | Campaign start date/time as a Unix timestamp or datetime value. Sent to LinkedIn as milliseconds. | | `end_time` | integer or string | No | - | Optional campaign end date/time. Required when a lifetime/total budget is set. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial LinkedIn campaign status. Use DRAFT to create safely inactive, or ACTIVE to launch subject to schedule, budget, billing, and account constraints. | ### LinkedInBeneficiaryReference | Field | Type | Required | Default | Description | | - | - | - | - | - | | `company` | string | No | - | Beneficiary company URN, e.g. urn:li:company:123. Supply company or organization. | | `organization` | string | No | - | Beneficiary organization URN, e.g. urn:li:organization:123. Supply company or organization. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn campaign details. **Fields**: `campaign_id`, `campaign_name`, `account_id`, `campaign_status`, `linkedin_create_status` # Create Carousel Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_carousel_ad Create a LinkedIn carousel ad (sponsored creative) under an ad set, with 2-10 image cards (each card has its own image, headline, and destination URL) Create a LinkedIn carousel ad (sponsored creative) under an ad set, with 2-10 image cards (each card has its own image, headline, and destination URL). Uploads card images and creates the creative inline. Supports lead-gen forms. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_carousel_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `adset_id` | string or SelectItem | Yes | - | Ad set (LinkedIn sponsored campaign) the ad belongs to. | | `organization` | string or SelectItem | Yes | - | Company Page used as the post author. Accepts an organization id or urn:li:organization:123. | | `cards` | array of LinkedInCarouselCard | Yes | - | The carousel cards (2-10). Each has an image, a headline, and an optional destination URL override. | | `intro_text` | string | No | - | Introductory text shown above the carousel. About 150 characters show before LinkedIn adds a see more link. | | `destination_url` | string | Yes | - | Primary landing page URL for the carousel ad. Cards use this URL unless they provide their own destination\_url. | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `lead_form` | string or SelectItem | No | - | Optional LinkedIn lead-gen form. Provide this for Lead Generation ad sets. Accepts a form id or urn:li:adForm:123. | | `call_to_action` | string or SelectableOption | No | - | Call-to-action label, used when a lead form is attached. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | ### LinkedInCarouselCard A single carousel card: an image, a headline, and optional URL override. | Field | Type | Required | Default | Description | | - | - | - | - | - | | `image_url` | string | Yes | - | Card image URL or a Google Drive share link. | | `headline` | string | Yes | - | Card headline shown on the card. Up to 255 characters. | | `destination_url` | string | No | - | Optional card-specific landing page URL. Defaults to the ad destination URL. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created LinkedIn carousel ad creative ID. **Fields**: `creative_ids`, `created_count`, `card_count` # Create Conversion Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_conversion Create an Insight Tag conversion rule on a LinkedIn ad account, either matching page URLs or firing from an event Create an Insight Tag conversion rule on a LinkedIn ad account, either matching page URLs or firing from an event. Requires a live Insight Tag on the site. Use linkedin\_ads\_assign\_conversions\_to\_adset afterwards so campaigns report against it. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_conversion` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the conversion rule in. | | `name` | string | Yes | - | Name for the conversion rule, shown in Campaign Manager and in reports. | | `conversion_type` | enum (`ADD_TO_CART`, `DOWNLOAD`, `INSTALL`, `KEY_PAGE_VIEW`, `LEAD`, `PURCHASE`, `SIGN_UP`, `OTHER`, ...) | Yes | - | What the member did. Pick the closest match, or OTHER. | | `url_rules` | string or array of any | No | - | URL match rules that fire this conversion, as JSON. Each rule is \{"match\_type": "EXACT" \| "STARTS\_WITH" \| "CONTAINS", "match\_value": "..."}. A flat list ANDs its rules; a list of lists ORs the groups. Leave empty to create an event-specific conversion that fires from the Conversions API or an event pixel instead of a page view. Drop the protocol from match\_value: use example.com/thanks, not `https://example.com/thanks.` Regular expressions are not supported, but CONTAINS accepts 'a OR b' in a single value. Requires a live Insight Tag on the site, which linkedin\_ads\_get\_insight\_tag confirms. | | `attribution_type` | enum (`LAST_TOUCH_BY_CAMPAIGN`, `LAST_TOUCH_BY_CONVERSION`) | No | - | LAST\_TOUCH\_BY\_CAMPAIGN counts the conversion once for every campaign it can be attributed to. LAST\_TOUCH\_BY\_CONVERSION counts it once overall. LinkedIn defaults to LAST\_TOUCH\_BY\_CAMPAIGN. | | `post_click_attribution_window_size` | integer | No | - | Post-click attribution window: 1, 7, 30, 90, 180 or 365 days. The 180/365-day windows apply only to SUBMIT\_APPLICATION, PURCHASE, ADD\_TO\_CART, QUALIFIED\_LEAD, LEAD, MARKETING\_QUALIFIED\_LEAD and SALES\_QUALIFIED\_LEAD; LinkedIn validates eligibility. LinkedIn defaults to 30. | | `view_through_attribution_window_size` | integer | No | - | View-through attribution window: 1, 7, 30, 90, 180 or 365 days. The 180/365-day windows apply only to SUBMIT\_APPLICATION, PURCHASE, ADD\_TO\_CART, QUALIFIED\_LEAD, LEAD, MARKETING\_QUALIFIED\_LEAD and SALES\_QUALIFIED\_LEAD; LinkedIn validates eligibility. LinkedIn defaults to 7. | | `value_amount` | number | No | - | Monetary value of one conversion. Leave empty unless the conversion has a fixed worth. The currency follows the ad account. | | `value_type` | enum (`DYNAMIC`, `FIXED`, `NO_VALUE`) | No | - | DYNAMIC uses the value sent with each event and is LinkedIn's default. FIXED uses value\_amount for every conversion. NO\_VALUE records no value. | | `enabled` | boolean | No | `True` | Whether the rule starts matching immediately. Defaults to true. | ## Output **Type**: `Dict` Returns the created conversion rule. **Fields**: `id`, `urn`, `name`, `type`, `enabled`, `attribution_type`, `url_match_rules`, `value` # Create Document Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_document_ad Create a LinkedIn document ad (sponsored creative) under an ad set from a PDF, PPT(X), or DOC(X) file Create a LinkedIn document ad (sponsored creative) under an ad set from a PDF, PPT(X), or DOC(X) file. Uploads the document, then creates the creative inline. destination\_url is required when the ad set's objective is Website Visits or Website Conversions, optional otherwise. Supports single and bulk creation and lead-gen forms (document gated behind the form). | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_document_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Create a single document ad ('single') or many at once ('bulk'). | | `adset_id` | string or SelectItem | No | - | Ad set (LinkedIn sponsored campaign) the ad belongs to. Maps to the creative's campaign. | | `organization` | string or SelectItem | Yes | - | Company Page used as the post author. Accepts an organization id or urn:li:organization:123. | | `document_url` | string | No | - | Document for the ad: PDF, PPT, PPTX, DOC, or DOCX up to 100MB and 300 pages. Accepts a direct file URL or a Google Drive share link (set to 'Anyone with the link'). Markifact uploads it to LinkedIn automatically. | | `intro_text` | string | No | - | Introductory text shown above the document. About 150 characters show before LinkedIn adds a see more link. | | `headline` | string | No | - | Document title shown on the ad. Cannot be changed after the ad is created. | | `destination_url` | string | No | - | Landing page URL the ad clicks through to. Required when the ad set's objective is Website Visits or Website Conversions (LinkedIn rejects the ad without it); optional for Brand Awareness, Engagement, and Lead Generation. | | `lead_form` | string or SelectItem | No | - | Optional LinkedIn lead-gen form. Provide this for Lead Generation ad sets: the document is gated behind the form. Accepts a form id or urn:li:adForm:123. LinkedIn does not allow reusing one document across multiple lead-gen ads; Markifact uploads the document fresh for each ad, which satisfies this. | | `call_to_action` | string or SelectableOption | No | - | Call-to-action button label (e.g. DOWNLOAD, SIGN\_UP). Used with a lead form or a destination URL; ignored otherwise. | | `gated_preview_pages` | integer | No | - | Lead-gen only: number of pages shown as a free preview before the form (starting from page 1). Leave empty for LinkedIn's default. | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk', typically the output of a Sheets read. Each row supports: document\_url, adset\_id, intro\_text, headline, destination\_url, lead\_form, call\_to\_action, gated\_preview\_pages, ad\_name, status. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn document ad creative IDs. **Fields**: `creative_ids`, `document_urns`, `created_count`, `success_count`, `failed_count`, `total_count`, `results` # Create Image Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_image_ad Create a LinkedIn single image ad (sponsored creative) under an ad set Create a LinkedIn single image ad (sponsored creative) under an ad set. Uploads the image, then creates the creative inline. Supports single and bulk creation and lead-gen forms. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_image_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Create a single image ad ('single') or many at once ('bulk'). | | `adset_id` | string or SelectItem | No | - | Ad set (LinkedIn sponsored campaign) the ad belongs to. Maps to the creative's campaign. | | `organization` | string or SelectItem | Yes | - | Company Page used as the post author. Accepts an organization id or urn:li:organization:123. | | `image_url` | string | No | - | Image for the ad. Accepts a direct image URL or a Google Drive share link (set to 'Anyone with the link'). Markifact uploads it to LinkedIn automatically. | | `intro_text` | string | No | - | Introductory text shown above the image. About 150 characters show before LinkedIn adds a see more link. | | `headline` | string | No | - | Headline shown below the image. Up to 70 characters. LinkedIn only saves a headline together with a destination\_url (the headline is the link preview title), so set both or neither. Cannot be changed after the ad is created. | | `description` | string | No | - | Optional description (LinkedIn Audience Network only). Up to 70 characters. | | `destination_url` | string | No | - | Landing page URL the ad clicks through to. Required unless a lead form is set. | | `lead_form` | string or SelectItem | No | - | Optional LinkedIn lead-gen form. Provide this for Lead Generation ad sets: the ad opens this form instead of a destination URL. Accepts a form id or urn:li:adForm:123. | | `call_to_action` | string or SelectableOption | No | - | Call-to-action button label (e.g. LEARN\_MORE, SIGN\_UP, DOWNLOAD). | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk', typically the output of a Sheets read. Each row supports: image\_url, adset\_id, intro\_text, headline, description, destination\_url, lead\_form, call\_to\_action, ad\_name, status. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn image ad creative IDs. **Fields**: `creative_ids`, `image_urns`, `created_count`, `success_count`, `failed_count`, `total_count`, `results` # Create Insight Tag Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_insight_tag Create the LinkedIn Insight Tag for an ad account and return the JavaScript snippet to install on the site Create the LinkedIn Insight Tag for an ad account and return the JavaScript snippet to install on the site. An account can hold only one tag, so check with linkedin\_ads\_get\_insight\_tag first. The tag reports domains a few minutes after the snippet goes live and a page is visited. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_insight_tag` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the Insight Tag for. An account can hold only one Insight Tag, so this fails if one already exists. Check with linkedin\_ads\_get\_insight\_tag first. | | `first_party_tracking_enabled` | boolean | No | `True` | Whether the tag may drop a first party cookie on the advertiser's own domain, which survives browser tracking restrictions better than a third party cookie. LinkedIn defaults this on, and the setting applies to every account sharing the tag. | ## Output **Type**: `Dict` Returns the Insight Tag with its installable snippet. If the account already had one, that tag is returned with already\_existed true and nothing is created. **Fields**: `account_id`, `insight_tag_id`, `first_party_tracking_enabled`, `snippet`, `already_existed` # Create Lead Form Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_lead_form Create a LinkedIn Lead Gen Form (ad form) in DRAFT state with prefilled or custom questions, privacy policy, consent checkboxes and a thank-you message/link/CTA Create a LinkedIn Lead Gen Form (ad form) in DRAFT state with prefilled or custom questions, privacy policy, consent checkboxes and a thank-you message/link/CTA. Returns the form ID and adForm URN for ad creation. Requires rw\_ads; does not require Lead Sync access. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_lead_form` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Ad account that will own the form. | | `name` | string | Yes | - | Internal form name. | | `headline` | string | Yes | - | Form headline shown to members. | | `description` | string | No | - | Optional introductory text. | | `locale` | string | No | `en_US` | Form language and country, e.g. en\_US or nl\_NL. Supply labels and copy in that language. | | `questions` | array of object or string | Yes | - | LinkedIn leadForms question objects, sent as-is. Accepts an array or JSON array string. Use name, question.localized, questionDetails and optional predefinedField/responseRequired. Prefill fields include EMAIL, FIRST\_NAME, LAST\_NAME, WORK\_EMAIL and JOB\_TITLE. Localized keys must match locale. Advanced fields pass through unchanged. Prefill example: \[\{"name":"email","question":\{"localized":\{"en\_US":"Email"}},"predefinedField":"EMAIL","questionDetails":\{"textQuestionDetails":\{}},"responseRequired":true}]. Custom choice example: \[\{"name":"budget","question":\{"localized":\{"en\_US":"Budget?"}},"questionDetails":\{"multipleChoiceQuestionDetails":\{"options":\[\{"id":1,"text":\{"localized":\{"en\_US":"Under $1,000"}}},\{"id":2,"text":\{"localized":\{"en_US":"$1,000 or more"}}}]}},"responseRequired":false}]. For custom text, omit predefinedField and use textQuestionDetails. | | `privacy_policy_url` | string | Yes | - | Public privacy policy URL. | | `legal_disclaimer` | string | No | - | Optional privacy/disclaimer text. | | `consents` | array of object or string | No | - | Optional LinkedIn consent objects, sent as-is. Accepts an array or JSON array string. Use id, consent.localized and checkRequired. Localized keys must match locale. Example: \[\{"id":1,"consent":\{"localized":\{"en\_US":"Contact me by email"}},"checkRequired":false}]. | | `hidden_fields` | array of object or string | No | - | Optional LinkedIn hiddenFields, sent as-is. Accepts an array or JSON array string. Example: \[\{"name":"source","value":"linkedin"}]. LinkedIn allows up to 20 fields. | | `thank_you_message` | string | Yes | - | Message shown after submission. | | `thank_you_url` | string | Yes | - | Destination of the button shown after submission. | | `call_to_action` | string or SelectableOption | No | `{'value': 'LEARN_MORE', 'label': 'Learn More'}` | Thank-you button shown after form submission. Defaults to Learn More. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created form ID, adForm URN, name and state. **Fields**: `id`, `urn`, `name`, `state` # Create Spotlight Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_spotlight_ad Create a LinkedIn Dynamic Spotlight ad creative under a Spotlight ad set Create a LinkedIn Dynamic Spotlight ad creative under a Spotlight ad set. Supports single and bulk creation and optional background images. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_spotlight_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Create a single Spotlight ad ('single') or many at once ('bulk'). | | `adset_id` | string or SelectItem | No | - | Spotlight ad set (LinkedIn sponsored campaign) the ad belongs to. | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `headline` | string | No | - | Spotlight ad headline. Required. Up to 50 characters. | | `organization_name` | string | No | - | Company or organization name shown in the ad. Required. Up to 25 characters. | | `logo_url` | string | No | - | Company logo/image for the Spotlight ad. Accepts a direct image URL or Google Drive share link. Markifact uploads it to LinkedIn automatically. | | `show_member_profile_photo` | boolean | No | `True` | Whether LinkedIn should personalize the ad with the member's profile photo. | | `description` | string | No | - | Optional Spotlight ad description. Up to 70 characters. | | `call_to_action` | string | No | - | Call-to-action button text. Required. Up to 18 characters. | | `destination_url` | string | No | - | Landing page URL. Required. Up to 500 characters. | | `background_image_url` | string | No | - | Optional custom background image. When set, LinkedIn does not use the member profile photo or ad description. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Each row supports: adset\_id, ad\_name, headline, organization\_name, logo\_url, show\_member\_profile\_photo, description, call\_to\_action, destination\_url, background\_image\_url, status. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn Spotlight ad creative IDs. **Fields**: `creative_ids`, `image_urns`, `background_image_urns`, `created_count`, `success_count`, `failed_count`, `total_count`, `results` # Create Target Template Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_target_template Save a LinkedIn targeting spec as a reusable audience template on an ad account, so the same audience can be applied to future campaigns Save a LinkedIn targeting spec as a reusable audience template on an ad account, so the same audience can be applied to future campaigns. Size the audience with linkedin\_ads\_get\_audience\_count first. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_target_template` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to save the audience template in. LinkedIn fixes this at creation, so a template cannot be moved between accounts later. | | `name` | string | Yes | - | Name for the saved audience, up to 100 characters. | | `targeting_criteria` | object or string | Yes | - | LinkedIn targetingCriteria object describing the audience, as a dict or JSON string, for example \{'include': \{'and': \[\{'or': \{'urn:li:adTargetingFacet:locations': \['urn:li:geo:103644278']}}]}}. Use linkedin\_ads\_search\_targeting to look up real URNs and do not invent them. LinkedIn requires locations, and in practice also interfaceLocales, before it will answer. | | `description` | string | No | - | Optional description of who this audience is, up to 500 characters. | ## Output **Type**: `Dict` Returns the saved audience template. **Fields**: `id`, `name`, `description`, `account`, `targeting_criteria` # Create Text Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_text_ad Create a LinkedIn text ad creative under a text ad set Create a LinkedIn text ad creative under a text ad set. Supports single and bulk creation. Optionally uploads a 100x100 image. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_text_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Create a single text ad ('single') or many at once ('bulk'). | | `adset_id` | string or SelectItem | No | - | Text ad set (LinkedIn sponsored campaign) the ad belongs to. | | `image_url` | string | No | - | Optional 100x100 text ad image. Accepts a direct image URL or a Google Drive share link (set to 'Anyone with the link'). Markifact uploads it to LinkedIn automatically. | | `headline` | string | No | - | Text ad headline. Required. Up to 25 characters. | | `description` | string | No | - | Text ad description. Required. Up to 75 characters. | | `destination_url` | string | No | - | Landing page URL. Required. Up to 500 characters. | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk', typically the output of a Sheets read. Each row supports: adset\_id, image\_url, headline, description, destination\_url, ad\_name, status. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn text ad creative IDs. **Fields**: `creative_ids`, `image_urns`, `created_count`, `success_count`, `failed_count`, `total_count`, `results` # Create Video Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_create_video_ad Create a LinkedIn single video ad (sponsored creative) under an ad set Create a LinkedIn single video ad (sponsored creative) under an ad set. Uploads the video, then creates the creative inline. Supports single and bulk creation and lead-gen forms. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_create_video_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Create a single video ad ('single') or many at once ('bulk'). | | `adset_id` | string or SelectItem | No | - | Ad set (LinkedIn sponsored campaign) the ad belongs to. Maps to the creative's campaign. | | `organization` | string or SelectItem | Yes | - | Company Page used as the post author. Accepts an organization id or urn:li:organization:123. | | `video_url` | string | No | - | Video for the ad (MP4). Accepts a direct video URL or a Google Drive share link (set to 'Anyone with the link'). Markifact uploads it to LinkedIn automatically. | | `intro_text` | string | No | - | Introductory text shown above the video. About 150 characters show before LinkedIn adds a see more link. | | `headline` | string | No | - | Headline shown below the video. Up to 70 characters. | | `destination_url` | string | No | - | Landing page URL the ad clicks through to. Required unless a lead form is set. | | `lead_form` | string or SelectItem | No | - | Optional LinkedIn lead-gen form. Provide this for Lead Generation ad sets: the ad opens this form instead of a destination URL. Accepts a form id or urn:li:adForm:123. | | `call_to_action` | string or SelectableOption | No | - | Call-to-action button label (e.g. LEARN\_MORE, SIGN\_UP, DOWNLOAD). | | `ad_name` | string | No | - | Optional creative name. Up to 255 characters. | | `status` | string or SelectableOption | No | `{'value': 'DRAFT', 'label': 'Draft'}` | Initial creative status: DRAFT (safely inactive) or ACTIVE (submitted for review). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk', typically the output of a Sheets read. Each row supports: video\_url, adset\_id, intro\_text, headline, destination\_url, lead\_form, call\_to\_action, ad\_name, status. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures so the workflow can continue. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created LinkedIn video ad creative IDs. **Fields**: `creative_ids`, `video_urns`, `created_count`, `success_count`, `failed_count`, `total_count`, `results` # Custom LinkedIn Ads App Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_custom_app Connect LinkedIn Ads through your own LinkedIn app (white-label) by pasting an access token generated with your app. Markifact supports two ways to connect LinkedIn Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **LinkedIn app** (Custom App). With a custom app, every request Markifact makes to the Marketing API runs under your app, so your clients never see Markifact in their permitted services. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 15 minutes, plus LinkedIn's product approval | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need One value: an **access token** generated with your own LinkedIn app by a member who has a role on the ad accounts you want to manage. LinkedIn access tokens last **60 days**. Markifact does not refresh them (that needs LinkedIn's programmatic refresh approval, which Markifact does not use), so plan to generate a new token before the 60 days end and add the connection again with the same name. > [!NOTE] > > **Already have a token?** If your systems already hold a LinkedIn access token issued by your app with the scopes below, skip to [Connect to Markifact](#connect-to-markifact). ### Scopes | Scope | Needed for | | :- | :- | | `r_ads`, `rw_ads` | Reading and managing campaigns, ad sets and ads (required) | | `r_ads_reporting` | Performance reports (required) | | `r_organization_admin`, `r_organization_social`, `w_organization_social` | Organization pages, posts and lead forms | *** ## Setting Up Your Custom LinkedIn App **1. Create the App** 1. Go to the [LinkedIn Developer portal](https://www.linkedin.com/developers/apps) and click **Create app** 2. Enter the app name, associate it with your **Company Page**, and upload your logo. This is the branding members see when they authorize 3. Under **Auth**, add a **Redirect URL** you control (any URL works for the token generator, for example `https://www.youragency.com/linkedin-callback`) **2. Request Marketing Developer Platform Access** 1. Open the **Products** tab and request access to **Advertising API** (Marketing Developer Platform) 2. Complete LinkedIn's access form and wait for approval. Agencies that already run their own integrations will have this in place; until it is approved, the ads scopes are not available to your app **3. Generate the Access Token** 1. In the developer portal, open **OAuth 2.0 tools** (under **Docs & tools**) and click **Create token** 2. Select your app and tick the scopes from the table above 3. Sign in as the LinkedIn member who has a role on the ad accounts you want to manage and authorize 4. Copy the access token If you prefer your own OAuth flow, request the same scopes and use the token it returns. > **Important:** Keep this token secure. Anyone holding it can act on every ad account the member can access, for 60 days. **4. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **LinkedIn Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency LinkedIn Ads") 5. Paste the **Access Token** 6. Click **Verify & Connect** Markifact makes one call that lists the ad accounts the token can reach. Nothing is saved unless it succeeds and returns at least one ad account. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in LinkedIn Ads nodes, agents, and MCP exactly like any other LinkedIn Ads connection. *** ## Renewing the Token Every 60 days, generate a new token and add the connection again with the **same connection name**. Markifact replaces the stored token in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] LinkedIn rejected the access token (INVALID\_ACCESS\_TOKEN) > > The token expired (60 days) or the member revoked your app under LinkedIn **Settings** > **Data privacy** > **Permitted services**. Generate a new token and add the connection again with the same name. > [accordion] LinkedIn refused access (403) > > Either the token is missing the ads scopes, or your app has not been approved for the Advertising API yet. Check the **Products** tab in the developer portal and generate the token again with `r_ads`, `rw_ads` and `r_ads_reporting`. > [accordion] This LinkedIn member has no ad accounts > > The member who generated the token has no role on any ad account. Add them under **Account settings** > **Manage access** in Campaign Manager, then generate a new token. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Access Token** | Developer portal > OAuth 2.0 tools > Create token | `AQV...` | | **Required scopes** | Token generator scope list | `r_ads`, `rw_ads`, `r_ads_reporting` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/linkedin_ads/linkedin_ads_get_report) > > Pull LinkedIn Ads performance data # Get Account Details Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_account_details Get a LinkedIn Ads account's details (name, currency, status, type, and more) Get a LinkedIn Ads account's details (name, currency, status, type, and more). In LinkedIn's API this is an adAccount. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_account_details` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to fetch details for. | ## Output **Type**: `Dict` Returns LinkedIn's raw adAccount object, unmodified. Field set varies per account. **Fields**: `id`, `name`, `currency`, `status`, `type`, `reference`, `servingStatuses`, `test`, `changeAuditStamps` # Get Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_ad Get a single LinkedIn ad (creative) by id, including its actual content Get a single LinkedIn ad (creative) by id, including its actual content. The ad's referenced post is resolved via the Posts API and returned under 'content' (copy, media, link, CTA); message and conversation ads return their InMail content (subject, sender, body, CTA) plus the conversation messages and reply buttons. In LinkedIn's API an ad is a creative. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | The ad to fetch. In LinkedIn's API this is a creative. Accepts a creative id or urn:li:sponsoredCreative URN. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns \{ creative: raw LinkedIn creative, content: raw referenced post (or null), content\_error: present only if the post could not be resolved }. **Fields**: `creative`, `content`, `content_error` # Get Ad Preview Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_ad_preview Get LinkedIn's rendered preview of existing ads, returned as embeddable iframe tags for desktop and mobile placements Get LinkedIn's rendered preview of existing ads, returned as embeddable iframe tags for desktop and mobile placements. Use it to show how an ad looks before a campaign goes live. Supports single image, carousel, video, single job and event ads. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_ad_preview` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account that owns the ads. | | `ad_ids` | string or array of string or integer | Yes | - | Ad IDs or creative URNs to preview, as a list or comma separated. Up to 20 per call. linkedin\_ads\_list\_ads returns these. Supported for single image, carousel, video, single job and event ads. | ## Output **Type**: `List[Dict]` Returns one row per ad, placement and device, each carrying an embeddable iframe tag. When several ads are asked for, a failing ad carries an error and the rest still return. **Fields**: `ad_id`, `creative`, `placement`, `device`, `preview`, `error` # Get Audience Count Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_audience_count Size a LinkedIn audience from targeting criteria before building anything Size a LinkedIn audience from targeting criteria before building anything. Use it to check a targeting spec clears LinkedIn's 300 member minimum, and to compare how much each facet narrows the audience. Look up real facet URNs with linkedin\_ads\_search\_targeting first. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_audience_count` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targeting_criteria` | object or string | Yes | - | LinkedIn targetingCriteria object describing the audience, as a dict or JSON string, for example \{'include': \{'and': \[\{'or': \{'urn:li:adTargetingFacet:locations': \['urn:li:geo:103644278']}}]}}. Use linkedin\_ads\_search\_targeting to look up real URNs and do not invent them. LinkedIn requires locations, and in practice also interfaceLocales, before it will answer. | ## Output **Type**: `List[Dict]` Returns the total and active audience size. A total of 0 means either no match or a privacy-suppressed count below 300. **Fields**: `total`, `active`, `meets_campaign_minimum`, `note` # Get Bid Recommendations Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_bid_recommendations Get LinkedIn's suggested bid, allowed bid range and daily budget range for a targeting spec and ad format Get LinkedIn's suggested bid, allowed bid range and daily budget range for a targeting spec and ad format. Use it to set a bid that will actually deliver, since bidding under the minimum starves a campaign. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_bid_recommendations` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account the bid guidance should be priced for. | | `targeting_criteria` | object or string | Yes | - | LinkedIn targetingCriteria object describing the audience, as a dict or JSON string, for example \{'include': \{'and': \[\{'or': \{'urn:li:adTargetingFacet:locations': \['urn:li:geo:103644278']}}]}}. Use linkedin\_ads\_search\_targeting to look up real URNs and do not invent them. LinkedIn requires locations, and in practice also interfaceLocales, before it will answer. | | `campaign_type` | enum (`TEXT_AD`, `SPONSORED_UPDATES`, `SPONSORED_INMAILS`) | Yes | - | Ad format being priced. SPONSORED\_UPDATES covers feed ads including single image, video and carousel. | | `bid_type` | enum (`CPM`, `CPC`, `CPV`) | Yes | - | CPM per thousand impressions, CPC per click, CPV per video view. | | `match_type` | enum (`EXACT`, `AUDIENCE_EXPANDED`) | No | `EXACT` | EXACT prices the audience as given. AUDIENCE\_EXPANDED prices it with LinkedIn's audience expansion on, which widens reach and usually lowers bids. | | `currency` | string | No | - | Three letter currency code for the returned amounts. Defaults to the ad account's own currency. | | `objective_type` | enum (`BRAND_AWARENESS`, `ENGAGEMENT`, `LEAD_GENERATION`, `VIDEO_VIEW`, `WEBSITE_CONVERSION`, `WEBSITE_TRAFFIC`, `WEBSITE_VISIT`) | No | - | Campaign objective, which sharpens the estimate when supplied. | | `daily_budget` | number | No | - | Planned daily budget, which sharpens the estimate when supplied. | | `country_code` | string | No | - | Two letter lower case country code, used to price a single market. | ## Output **Type**: `List[Dict]` Returns one row of bid and daily budget guidance. **Fields**: `currency`, `bid_type`, `suggested_bid`, `suggested_bid_min`, `suggested_bid_max`, `bid_min`, `bid_max`, `daily_budget_min`, `daily_budget_default`, `daily_budget_max` # Get Insight Tag Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_insight_tag Check an ad account's LinkedIn Insight Tag: whether one exists, which domains are sending signal to it, when each domain last reported, and which are blocked Check an ad account's LinkedIn Insight Tag: whether one exists, which domains are sending signal to it, when each domain last reported, and which are blocked. Use this before building conversion tracking or website retargeting, both of which need a live tag. A tag with no domains has never received traffic. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_insight_tag` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account whose Insight Tag should be inspected. | | `include_snippet` | boolean | No | `False` | If true, also return the Insight Tag's JavaScript snippet so it can be installed on the site. Off by default because the snippet is long and is only needed when setting tracking up for the first time. | ## Output **Type**: `List[Dict]` Returns one row per account with the tag state and a domains list, each carrying domain, blocked, first\_seen\_at and last\_signal\_at. **Fields**: `account_id`, `has_insight_tag`, `insight_tag_id`, `first_party_tracking_enabled`, `domain_count`, `receiving_signal`, `domains` # Get Report Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_report Retrieves LinkedIn Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves LinkedIn Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including Campaigns, Ad Groups, and Ads. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_report` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). DMA® breakdown rows also include dmaAttribution; display its Nielsen service-mark notice alongside the results. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "B2B Leads", "clicks": 45, "impressions": 1800, "cost": 180.0 } ] ``` # Get Supply Forecast Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_get_supply_forecast Forecast how a LinkedIn campaign would deliver: impressions, clicks, spend and objective specific metrics per day, each with a low and high range Forecast how a LinkedIn campaign would deliver: impressions, clicks, spend and objective specific metrics per day, each with a low and high range. Supplying a daily budget and bid changes the answer substantially, because the forecast is capped by the budget. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_get_supply_forecast` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account the forecast should be run for. | | `targeting_criteria` | object or string | Yes | - | LinkedIn targetingCriteria object describing the audience, as a dict or JSON string, for example \{'include': \{'and': \[\{'or': \{'urn:li:adTargetingFacet:locations': \['urn:li:geo:103644278']}}]}}. Use linkedin\_ads\_search\_targeting to look up real URNs and do not invent them. LinkedIn requires locations, and in practice also interfaceLocales, before it will answer. | | `campaign_type` | enum (`SPONSORED_UPDATES`, `SPONSORED_INMAILS`, `DYNAMIC`) | Yes | - | Ad format being forecast. SPONSORED\_UPDATES covers feed ads including single image, video and carousel. | | `objective_type` | enum (`BRAND_AWARENESS`, `ENGAGEMENT`, `LEAD_GENERATION`, `VIDEO_VIEW`, `WEBSITE_CONVERSION`, `WEBSITE_TRAFFIC`, `WEBSITE_VISIT`) | Yes | - | Campaign objective. LinkedIn's docs call this optional, but the API rejects the request without it, and the objective decides which metrics come back: LEAD\_GENERATION adds leads, BRAND\_AWARENESS adds cost per impression. | | `days` | integer | No | `7` | How many days ahead to forecast, starting tomorrow. Defaults to 7. LinkedIn only forecasts future time, so the window always starts in the future. | | `daily_budget` | number | Yes | - | Planned daily budget in the account currency. The forecast is capped by it, so the budget drives the result as much as the targeting does. | | `bid_amount` | number | Yes | - | Planned bid in the account currency. | | `bid_type` | enum (`CPM`, `CPC`, `CPV`) | Yes | - | Bid basis that goes with bid\_amount. | | `enable_audience_network` | boolean | No | - | Whether to forecast with the LinkedIn Audience Network on, which extends delivery to third party apps and sites. | ## Output **Type**: `List[Dict]` Returns one row per metric, granularity and day. A metric repeats across granularities, so filter on granularity when comparing. **Fields**: `metric`, `granularity`, `date`, `value`, `low_end`, `high_end` # Library Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_library Search and retrieve ads from LinkedIn Ads Library to spy on competitors Search and retrieve ads from LinkedIn Ads Library to spy on competitors | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_library` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `input_mode` | string or SelectableOption | Yes | - | Input mode, either provide a LinkedIn Ads Library URL or configure manually by filling out the fields below like advertiser, keyword, etc | | `linkedin_ads_url` | string | No | - | LinkedIn Ads Library URL to parse. Use only when input\_mode is 'url' | | `q` | string | No | - | Keyword or phrase to search for in ads | | `advertiser` | string | No | - | Advertiser name or company to search for ads from a specific advertiser (e.g., 'markifact', 'google') | | `country` | string | No | `ALL` | Country for the search. Default is 'ALL', provide comma-separated country codes (e.g., 'US,CA,GB') to filter by countries. | | `date_range` | DateRange | No | - | Custom date range with start/end dates | | `limit` | integer | No | `25` | Maximum number of results to return (minimum 25 for 5 credits) | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of ads from LinkedIn Ads Library. **Fields**: dynamic (depend on the inputs) # List Ads Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_ads List ads in a LinkedIn Ads account, with optional parent ad set filter and status filter List ads in a LinkedIn Ads account, with optional parent ad set filter and status filter. In LinkedIn's API ads are creatives; each creative's parent campaign is what LinkedIn's newer UI naming calls an ad set. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_ads` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to list ads from. | | `adset_id` | string or SelectItem | No | - | Optional. Filter ads by their parent ad set (LinkedIn campaign), applied client-side. Accepts an ad set id or urn:li:sponsoredCampaign URN. | | `status` | array of string or SelectableOption | No | - | Filter ads by intended status (applied client-side). Multiple can be selected. Options: ACTIVE, PAUSED, DRAFT, ARCHIVED, CANCELED, PENDING\_DELETION, REMOVED. | | `limit` | integer | No | `100` | Maximum number of ads to return. The node paginates LinkedIn internally to reach this many. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns LinkedIn's raw creative (ad) objects, unmodified, so they can be fed into other nodes. Field set varies per ad. **Fields**: `id`, `campaign`, `intendedStatus`, `content`, `review`, `isServing`, `servingHoldReasons`, `createdAt`, `lastModifiedAt` # List Adsets Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_adsets List ad sets in a LinkedIn Ads account, with optional parent campaign filter, status filter, and sort order List ad sets in a LinkedIn Ads account, with optional parent campaign filter, status filter, and sort order. In LinkedIn's API these are campaigns (adCampaigns); LinkedIn's newer UI naming calls them ad sets. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_adsets` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to list ad sets from. | | `campaign_id` | string or SelectItem | No | - | Optional. Filter ad sets by their parent campaign (LinkedIn campaign group), applied client-side. Accepts a campaign id or urn:li:sponsoredCampaignGroup URN. | | `status` | array of string or SelectableOption | No | - | Filter ad sets by status (applied client-side). Multiple can be selected. Options: ACTIVE, PAUSED, ARCHIVED, COMPLETED, CANCELED, DRAFT, PENDING\_DELETION, REMOVED. | | `sort_order` | string or SelectableOption | No | `{'value': 'DESCENDING', 'label': 'Descending'}` | Sort order by ad set id: ASCENDING or DESCENDING. Default DESCENDING. | | `limit` | integer | No | `100` | Maximum number of ad sets to return. The node paginates LinkedIn internally to reach this many. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns LinkedIn's raw campaign (adCampaigns) objects, unmodified, so they can be fed into other nodes. Field set varies per ad set. **Fields**: `id`, `name`, `status`, `type`, `account`, `campaignGroup`, `dailyBudget`, `totalBudget`, `unitCost`, `costType`, `optimizationTargetType`, `creativeSelection`, `runSchedule`, `locale`, `targetingCriteria`, `servingStatuses`, `test`, `changeAuditStamps` # List Campaigns Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_campaigns List campaigns in a LinkedIn Ads account, with optional status filter and sort order List campaigns in a LinkedIn Ads account, with optional status filter and sort order. In LinkedIn's API these are campaign groups (adCampaignGroups); LinkedIn's newer UI naming calls them campaigns. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_campaigns` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to list campaigns from. | | `status` | array of string or SelectableOption | No | - | Filter campaigns by status (applied client-side). Multiple can be selected. Options: ACTIVE, PAUSED, ARCHIVED, COMPLETED, CANCELED, DRAFT, PENDING\_DELETION, REMOVED. | | `sort_order` | string or SelectableOption | No | `{'value': 'DESCENDING', 'label': 'Descending'}` | Sort order by campaign id: ASCENDING or DESCENDING. Default DESCENDING. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. The node paginates LinkedIn internally to reach this many. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns LinkedIn's raw campaign group (adCampaignGroups) objects, unmodified, so they can be fed into other nodes. Field set varies per campaign. **Fields**: `id`, `name`, `status`, `account`, `objectiveType`, `totalBudget`, `runSchedule`, `servingStatuses`, `test`, `changeAuditStamps` # List Conversions Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_conversions List existing LinkedIn Ads conversion rules for an ad account List existing LinkedIn Ads conversion rules for an ad account. Use this to find conversion IDs or URNs before assigning conversions to ad sets. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_conversions` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account whose conversion rules should be listed. | | `enabled_only` | boolean | No | `False` | If true, return only enabled conversion rules. Leave false to list enabled and disabled conversions. | | `limit` | integer | No | `100` | Maximum number of conversions to return. Defaults to 100. | ## Output **Type**: `List[Dict]` Returns LinkedIn conversion rules normalized with conversion IDs and URNs. **Fields**: `id`, `urn`, `name`, `type`, `enabled`, `account`, `associated_campaigns`, `campaigns` # List Lead Forms Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_lead_forms List existing LinkedIn Lead Gen Forms for an ad account, including form IDs, adForm URNs and questions List existing LinkedIn Lead Gen Forms for an ad account, including form IDs, adForm URNs and questions. Use this to find a lead\_form for ad creation. Requires r\_ads or rw\_ads; does not retrieve submitted leads. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_lead_forms` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account whose lead gen forms should be listed. | | `limit` | integer | No | `100` | Maximum number of forms to return. Defaults to 100. | ## Output **Type**: `List[Dict]` Returns LinkedIn lead gen forms with their questions; each question's field\_key is the column name the retrieve leads node emits for it. **Fields**: `id`, `urn`, `versioned_form_urn`, `name`, `state`, `created_at`, `last_modified_at`, `questions`, `consents` # List Posts Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_posts List a Company Page's posts (most recently modified first) so they can be sponsored as ads via linkedin_ads_create_ad_from_post List a Company Page's posts (most recently modified first) so they can be sponsored as ads via linkedin\_ads\_create\_ad\_from\_post. Requires admin access to the page. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_posts` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `organization` | string or SelectItem | Yes | - | The Company Page whose posts to list. Accepts an organization id or urn:li:organization:123. You must be an admin of the page. | | `limit` | integer | No | `25` | Maximum number of posts to return (most recently modified first). The node paginates LinkedIn internally to reach this many. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns LinkedIn's raw post objects, unmodified. Use a post's id (urn) with linkedin\_ads\_create\_ad\_from\_post. **Fields**: `id`, `author`, `commentary`, `content`, `lifecycleState`, `visibility`, `createdAt`, `lastModifiedAt` # List Report Fields Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_report_fields Search and browse available LinkedIn Ads reporting metrics and dimensions before running reports Search and browse available LinkedIn Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|leads).*'}]. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # List Target Templates Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_list_target_templates List the saved audience templates on a LinkedIn ad account List the saved audience templates on a LinkedIn ad account. Turn on include\_targeting to get each template's targeting criteria, which can be passed straight into linkedin\_ads\_create\_adset to reuse the audience. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_list_target_templates` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account whose saved audience templates should be listed. | | `include_targeting` | boolean | No | `False` | If true, also return each template's full targeting criteria object. Off by default because the object is large; turn it on to reuse a saved audience when creating an ad set. | | `sort_field` | enum (`ID`, `NAME`) | No | - | Sort by ID or NAME. Defaults to ID. | | `sort_order` | enum (`ASCENDING`, `DESCENDING`) | No | - | Sort direction. Defaults to ASCENDING. | | `limit` | integer | No | `100` | Maximum number of templates to return. Defaults to 100. | ## Output **Type**: `List[Dict]` Returns saved audiences. targeting\_criteria is present only when include\_targeting is on. **Fields**: `id`, `name`, `description`, `account`, `approximate_member_count`, `targeting_criteria` # Rename Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_rename_ad Rename LinkedIn Ads ads (creatives), one at a time or in bulk Rename LinkedIn Ads ads (creatives), one at a time or in bulk. Updates both of LinkedIn's name fields (the creative name shown in the list view and the sponsored post name shown in the edit view) so Campaign Manager stays consistent. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_rename_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple ads at once. Options: 'single' or 'bulk'. | | `ad_id` | string or SelectItem | No | - | Select the ad to rename. In LinkedIn's API this is a creative; accepts a creative id or urn:li:sponsoredCreative URN. Required for single update. | | `ad_name` | string | No | - | The new name for the ad. LinkedIn limits names to 255 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'ad\_name' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-ad rename results, including whether the sponsored post name was also updated (post\_name\_updated; false for ads sponsoring organic posts). **Fields**: `message`, `updated_count`, `results` # Rename Adset Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_rename_adset Rename LinkedIn Ads ad sets, one at a time or in bulk Rename LinkedIn Ads ad sets, one at a time or in bulk. In LinkedIn's API these are campaigns (adCampaigns); LinkedIn's newer UI naming calls them ad sets. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_rename_adset` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the ad sets. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad set or multiple ad sets at once. Options: 'single' or 'bulk'. | | `adset_id` | string or SelectItem | No | - | Select the ad set to rename. In LinkedIn's API this is a campaign (adCampaigns). Required for single update. | | `adset_name` | string | No | - | The new name for the ad set. LinkedIn limits names to 100 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id' and 'adset\_name' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn ad set rename results. **Fields**: `message`, `updated_count`, `results` # Rename Campaign Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_rename_campaign Rename LinkedIn Ads campaigns, one at a time or in bulk Rename LinkedIn Ads campaigns, one at a time or in bulk. In LinkedIn's API these are campaign groups (adCampaignGroups); LinkedIn's newer UI naming calls them campaigns. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_rename_campaign` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign to rename. In LinkedIn's API this is a campaign group (adCampaignGroups). Required for single update. | | `campaign_name` | string | No | - | The new name for the campaign. LinkedIn limits names to 100 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'campaign\_name' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn campaign rename results. **Fields**: `message`, `updated_count`, `results` # Retrieve Leads Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_retrieve_leads Retrieve leads submitted through LinkedIn lead gen forms for an ad account, flattened to one row per lead with a column per form field Retrieve leads submitted through LinkedIn lead gen forms for an ad account, flattened to one row per lead with a column per form field. Requires the connection to have LinkedIn's Lead Sync permission (r\_marketing\_leadgen\_automation). | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_retrieve_leads` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account to retrieve leads from. | | `lead_form` | string or SelectItem | No | - | Optional lead form ID to filter by. Leave empty to retrieve leads from all forms in the account. Use linkedin\_ads\_list\_lead\_forms to find form IDs. | | `date_range` | DateRange | No | - | Optional submitted-at date range filter. Supports custom date ranges and presets. Note that LinkedIn retains lead data for a limited time, so older leads are not available. | | `include_test_leads` | boolean | No | `False` | If true, include test leads submitted through Campaign Manager's form testing tools. Defaults to false. | | `limit` | integer | No | - | Maximum number of leads to return. Leave empty to retrieve all available leads. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns one flat row per lead: the fixed columns above plus one dynamic column per form question (named after the question, e.g. email, first\_name) and consent checkbox. **Fields**: `lead_id`, `form_id`, `form_name`, `adset_id`, `adset_name`, `creative_id`, `is_test_lead`, `submitted_at` # Search Targeting Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_search_targeting Search, browse, and resolve LinkedIn Ads targeting categories and values Search, browse, and resolve LinkedIn Ads targeting categories and values. Use this before creating ad sets to find valid targeting URNs for targeting\_criteria. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_search_targeting` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search_mode` | string or SelectableOption | Yes | - | How to discover LinkedIn targeting values. Use facets to list available audience categories. Use typeahead to search user-entered text for locations, job titles, companies, schools, skills, interests, and similar searchable categories. Use entities\_by\_facet to browse fixed lists such as seniorities, job functions, company sizes, age ranges, member behaviors, and interface languages. Use urns to resolve known URNs to names. Use similar\_entities to find related entities from seed URNs. | | `facet` | string or SelectableOption | No | - | Targeting category, also called a LinkedIn facet. This is the audience bucket to search inside and the key used later in create ad set targeting\_criteria. Examples: locations, industries, titles, employers, seniorities, jobFunctions, staffCountRanges, skills, schools, or urn:li:adTargetingFacet:locations. Required for typeahead, entities\_by\_facet, and similar\_entities. Do not use entity\_type instead of facet; entity\_type only narrows results inside a facet. | | `query` | string | No | - | Search text for typeahead mode, for example United States, Dubai, marketing manager, software, HubSpot, or economics. Required only when the selected facet supports LinkedIn typeahead, such as locations, titles, employers, skills, schools, industries, or interests. Optional for browse-only facets such as jobFunctions, seniorities, staffCountRanges, ageRanges, interfaceLocales, and yearsOfExperienceRanges; those are listed from LinkedIn and filtered locally when query is present. | | `urns` | string | No | - | One or more LinkedIn entity URNs for urns or similar\_entities mode. Accepts a JSON array, comma-separated text, or one URN per line. Examples: urn:li:geo:103644278, urn:li:title:25170, urn:li:organization:1035. | | `entity_type` | string or SelectableOption | No | - | Optional result-type filter, not the targeting category. Use only to narrow typeahead or similar\_entities results inside the selected facet. Examples: TITLE, COMPANY, INDUSTRY, SKILL, SCHOOL, SENIORITY, FUNCTION, FIELD\_OF\_STUDY, MEMBER\_BEHAVIOR, LOCALE. Usually leave empty. If the user asks for job titles, set facet=titles; entity\_type=TITLE is optional. If the user asks for companies, set facet=employers; entity\_type=COMPANY is optional. | | `locale_language` | string | No | `en` | Two-letter lowercase response locale language. Defaults to en. | | `locale_country` | string | No | `US` | Two-letter uppercase response locale country. Defaults to US. | | `fetch_type` | string or SelectableOption | No | `{'value': 'SINGLE_NODE', 'label': 'Single node'}` | URN resolution only. SINGLE\_NODE resolves exactly the requested URNs. LAZY can include descendants when LinkedIn supports it. | | `limit` | integer | No | `100` | Maximum normalized results to return. Defaults to 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns normalized LinkedIn targeting facets or entity values with URNs that can be used in create ad set targeting\_criteria. **Fields**: `urn`, `id`, `name`, `facet_urn`, `facet_name`, `targeting_criteria_key`, `targeting_criteria_value`, `example_targeting_criteria` # Select Accounts Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_select_accounts Select LinkedIn Ads accounts once and reuse them across multiple linkedin_ads_get_report nodes—no repeated account selection Select LinkedIn Ads accounts once and reuse them across multiple linkedin\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one linkedin\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_select_accounts` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_ad Low-level LinkedIn Ads ad update Low-level LinkedIn Ads ad update. Forwards a raw LinkedIn creative partial-update body to the creatives endpoint as-is. Use the dedicated linkedin\_ads\_update\_ad\_status node first; this is the advanced fallback for fields without one. Editable here: name, intendedStatus, and leadgenCallToAction (lead form + label, DRAFT ads only). The ad's content (copy/link/CTA) lives on the referenced post; use linkedin\_ads\_update\_post for those fields. In LinkedIn's API an ad is a creative. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_ad` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | The ad to update. In LinkedIn's API this is a creative. Accepts a creative id or urn:li:sponsoredCreative URN. The id goes in the request path, not in update\_payload. | | `update_payload` | object or string | Yes | - | Raw LinkedIn creative partial-update body, sent to LinkedIn as-is. Use LinkedIn's documented shape: \{"patch": \{"$set": \{...}, "$delete": \[...]}}. Prefer the dedicated node when it exists (linkedin\_ads\_update\_ad\_status). Editable here: name, intendedStatus, leadgenCallToAction (DRAFT ads only). The ad's content (copy, link, CTA) lives on the referenced post, not the creative; use linkedin\_ads\_update\_post for it. Accepts a JSON object or JSON string. | | `dry_run` | boolean | No | `False` | When true, return the resolved update body without calling LinkedIn. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the ad id, the forwarded payload, and LinkedIn's response. **Fields**: `ad_id`, `payload`, `dry_run`, `response` # Update Ad Status Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_ad_status Activate, pause, or delete LinkedIn Ads creatives Activate, pause, or delete LinkedIn Ads creatives. This maps to LinkedIn's adAccounts/\{accountId}/creatives API. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_ad_status` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to update ads in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: 'single' or 'bulk'. | | `ad_id` | string or SelectItem | No | - | LinkedIn creative/ad ID to update. Accepts a numeric ID or urn:li:sponsoredCreative:\{id}. Required for single update. | | `ad_status` | string or SelectableOption | No | - | Select the new ad status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'status' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn ad status update results. **Fields**: `message`, `updated_count`, `results` # Update Adset Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_adset Low-level LinkedIn Ads ad set update Low-level LinkedIn Ads ad set update. Forwards a raw LinkedIn campaign partial-update body to adCampaigns as-is. Use the dedicated status/budget/rename nodes first; this is the advanced fallback for fields without one. In LinkedIn's API these are campaigns; LinkedIn's newer UI naming calls them ad sets. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_adset` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the ad set. | | `adset_id` | string or SelectItem | Yes | - | The ad set to update. In LinkedIn's API this is a campaign (adCampaigns). The id goes in the request path, not in update\_payload. | | `update_payload` | object or string | Yes | - | Raw LinkedIn campaign (ad set) partial-update body, sent to LinkedIn as-is. Use LinkedIn's documented shape: \{"patch": \{"$set": \{...}, "$delete": \[...]}}. Prefer the dedicated nodes when they exist (linkedin\_ads\_update\_adset\_status, linkedin\_ads\_update\_adset\_budget, linkedin\_ads\_rename\_adset). For budgets you must include the full amount object, e.g. \{"\$set": \{"dailyBudget": \{"amount": "50", "currencyCode": "USD"}}} -- this node does not resolve currency for you. Accepts a JSON object or JSON string. | | `dry_run` | boolean | No | `False` | When true, return the resolved update body without calling LinkedIn. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the ad set id, the forwarded payload, and LinkedIn's response. **Fields**: `adset_id`, `payload`, `dry_run`, `response` # Update Adset Budget Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_adset_budget Update the daily or lifetime budget of LinkedIn Ads ad sets, one at a time or in bulk Update the daily or lifetime budget of LinkedIn Ads ad sets, one at a time or in bulk. In LinkedIn's API these are campaigns (adCampaigns); LinkedIn's newer UI naming calls them ad sets. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_adset_budget` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the ad sets. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set or multiple ad sets at once. Options: 'single' or 'bulk'. | | `adset_id` | string or SelectItem | No | - | Select the ad set to update. In LinkedIn's API this is a campaign (adCampaigns). Required for single update. | | `budget_type` | string or SelectableOption | No | - | Which budget to set: DAILY or LIFETIME. Required for single update. | | `budget_amount` | number | No | - | Budget amount as an actual value in the account currency, NOT minor units (e.g. pass 100 for 100.00). Applied as a daily or lifetime budget based on budget\_type. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id', 'budget\_type' (DAILY or LIFETIME), and 'budget\_amount' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn ad set budget update results. **Fields**: `message`, `updated_count`, `results` # Update Adset Status Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_adset_status Activate, pause, or delete LinkedIn Ads ad sets Activate, pause, or delete LinkedIn Ads ad sets. In LinkedIn's API these are campaigns (adCampaigns); LinkedIn's newer UI naming calls them ad sets. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_adset_status` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to update ad sets in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set or multiple ad sets at once. Options: 'single' or 'bulk'. | | `adset_id` | string or SelectItem | No | - | Select the ad set ID to update. Required for single update. | | `adset_status` | string or SelectableOption | No | - | Select the new ad set status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id' and 'status' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn ad set status update results. **Fields**: `message`, `updated_count`, `results` # Update Campaign Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_campaign Low-level LinkedIn Ads campaign update Low-level LinkedIn Ads campaign update. Forwards a raw LinkedIn campaign-group partial-update body to adCampaignGroups as-is. Use the dedicated status/budget/rename nodes first; this is the advanced fallback for fields without one. In LinkedIn's API these are campaign groups; LinkedIn's newer UI naming calls them campaigns. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_campaign` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | The campaign to update. In LinkedIn's API this is a campaign group (adCampaignGroups). The id goes in the request path, not in update\_payload. | | `update_payload` | object or string | Yes | - | Raw LinkedIn campaign-group partial-update body, sent to LinkedIn as-is. Use LinkedIn's documented shape: \{"patch": \{"$set": \{...}, "$delete": \[...]}}. Prefer the dedicated nodes when they exist (linkedin\_ads\_update\_campaign\_status, linkedin\_ads\_update\_campaign\_budget, linkedin\_ads\_rename\_campaign). For budgets you must include the full amount object, e.g. \{"\$set": \{"totalBudget": \{"amount": "100", "currencyCode": "USD"}}} -- this node does not resolve currency for you. Accepts a JSON object or JSON string. | | `dry_run` | boolean | No | `False` | When true, return the resolved update body without calling LinkedIn. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the campaign id, the forwarded payload, and LinkedIn's response. **Fields**: `campaign_id`, `payload`, `dry_run`, `response` # Update Campaign Budget Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_campaign_budget Update the daily or lifetime budget of LinkedIn Ads campaigns, one at a time or in bulk Update the daily or lifetime budget of LinkedIn Ads campaigns, one at a time or in bulk. In LinkedIn's API these are campaign groups (adCampaignGroups); LinkedIn's newer UI naming calls them campaigns. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign to update. In LinkedIn's API this is a campaign group (adCampaignGroups). Required for single update. | | `budget_type` | string or SelectableOption | No | - | Which budget to set: DAILY or LIFETIME. Required for single update. | | `budget_amount` | number | No | - | Budget amount as an actual value in the account currency, NOT minor units (e.g. pass 100 for 100.00). Applied as a daily or lifetime budget based on budget\_type. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id', 'budget\_type' (DAILY or LIFETIME), and 'budget\_amount' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn campaign budget update results. **Fields**: `message`, `updated_count`, `results` # Update Campaign Status Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_campaign_status Activate, pause, or delete LinkedIn Ads campaigns in Campaign Manager Activate, pause, or delete LinkedIn Ads campaigns in Campaign Manager. In LinkedIn's API these are campaign groups (adCampaignGroups); LinkedIn's newer UI naming calls them campaigns. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account to update campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to update. Required for single update. | | `campaign_status` | string or SelectableOption | No | - | Select the new campaign status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'status' fields for each row. Required for bulk update. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns LinkedIn campaign status update results. **Fields**: `message`, `updated_count`, `results` # Update Conversion Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_conversion Edit a LinkedIn Insight Tag conversion rule: rename it, change its attribution windows or value, replace its URL match rules, or disable it Edit a LinkedIn Insight Tag conversion rule: rename it, change its attribution windows or value, replace its URL match rules, or disable it. LinkedIn has no delete for conversion rules, so disabling is how one is retired. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_conversion` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | LinkedIn Ads account that owns the conversion rule. | | `conversion_id` | string or integer | Yes | - | Numeric ID of the conversion rule to update. linkedin\_ads\_list\_conversions returns these. | | `name` | string | No | - | New name for the conversion rule. | | `enabled` | boolean | No | - | Set false to stop the rule matching without removing it. LinkedIn has no delete for conversion rules, so this is how a rule is retired. | | `url_rules` | string or array of any | No | - | Replacement URL match rules, as JSON, in the same shape linkedin\_ads\_create\_conversion takes. This replaces the existing rules rather than adding to them. Leave empty to keep them unchanged. | | `attribution_type` | enum (`LAST_TOUCH_BY_CAMPAIGN`, `LAST_TOUCH_BY_CONVERSION`) | No | - | Change how the conversion is counted across campaigns. | | `post_click_attribution_window_size` | integer | No | - | Post-click attribution window: 1, 7, 30, 90, 180 or 365 days. The 180/365-day windows apply only to SUBMIT\_APPLICATION, PURCHASE, ADD\_TO\_CART, QUALIFIED\_LEAD, LEAD, MARKETING\_QUALIFIED\_LEAD and SALES\_QUALIFIED\_LEAD; LinkedIn validates eligibility. | | `view_through_attribution_window_size` | integer | No | - | View-through attribution window: 1, 7, 30, 90, 180 or 365 days. The 180/365-day windows apply only to SUBMIT\_APPLICATION, PURCHASE, ADD\_TO\_CART, QUALIFIED\_LEAD, LEAD, MARKETING\_QUALIFIED\_LEAD and SALES\_QUALIFIED\_LEAD; LinkedIn validates eligibility. | | `value_amount` | number | No | - | New monetary value for one conversion. The currency follows the ad account. | | `value_type` | enum (`DYNAMIC`, `FIXED`, `NO_VALUE`) | No | - | DYNAMIC uses the value sent per event, FIXED uses value\_amount, NO\_VALUE records none. | ## Output **Type**: `Dict` Returns the conversion rule as it stands after the update. **Fields**: `id`, `urn`, `name`, `type`, `enabled`, `attribution_type`, `url_match_rules`, `value` # Update Lead Form Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_lead_form Low-level LinkedIn Lead Gen Form update Low-level LinkedIn Lead Gen Form update. Forwards a native leadForms partial-update body unchanged. Supports editing draft forms and limited edits to published forms, including archiving (PUBLISHED to ARCHIVED). LinkedIn validates editable fields and state transitions. Archiving stops associated ads from serving; changing questions may require CRM field remapping. Requires rw\_ads, not Lead Sync access. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_lead_form` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the LinkedIn Ads account that owns the lead form. | | `lead_form` | string or SelectItem | Yes | - | Form ID or urn:li:adForm:123 from linkedin\_ads\_list\_lead\_forms. The ID goes in the request path, not in update\_payload. | | `update_payload` | object or string | Yes | - | Raw LinkedIn leadForms partial-update body, forwarded unchanged. Accepts a JSON object or JSON string. Archive example: \{"patch":\{"\$set":\{"state":"ARCHIVED"}}}. Use the form's locale for localized text. Draft/unattached forms, or forms linked only to draft campaigns, allow edits to all editable fields. Published forms allow limited edits to headline, description, legal disclaimer, privacy/landing URLs, thank-you message/CTA and status; published forms linked to Sponsored InMail or Conversation Ads cannot be edited. LinkedIn documents PUBLISHED to ARCHIVED; do not assume other state transitions are supported. Archiving stops associated ads from serving. Changing questions may require remapping fields in a connected CRM. LinkedIn validates the payload. | | `dry_run` | boolean | No | `False` | When true, return the resolved update body without calling LinkedIn. This does not validate it against LinkedIn's API. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the form ID, forwarded payload and dry\_run flag. LinkedIn's response is included when nonempty; successful updates normally return HTTP 204 with no body. **Fields**: `lead_form`, `payload`, `dry_run`, `response` # Update Post Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_update_post Low-level LinkedIn post update Low-level LinkedIn post update. Forwards a raw Posts API partial-update body as-is. This is how an ad's editable content is changed: resolve the ad's post URN via linkedin\_ads\_get\_ad, then patch commentary (intro text), contentLandingPage (destination URL), contentCallToActionLabel, or adContext.dscName/dscStatus. Headline and attached media are never editable (LinkedIn limitation; create a new ad instead). Requires the connected user to have an admin or DSC-poster role on the authoring Company Page. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_update_post` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `post` | string or SelectItem | Yes | - | The post to update, as a full URN (urn:li:ugcPost:123 or urn:li:share:123). An ad's content lives on its referenced post: get the URN from linkedin\_ads\_get\_ad (creative.content.reference). | | `update_payload` | object or string | Yes | - | Raw LinkedIn post partial-update body, sent to LinkedIn as-is. Use LinkedIn's documented shape: \{"patch": \{"$set": \{...}}}. LinkedIn only allows updating: commentary (intro text), contentLandingPage (destination URL), contentCallToActionLabel, lifecycleState, and the sponsored name/status via a nested patch: \{"patch": \{"adContext": \{"$set": \{"dscName": "..."}}}}. Headline and attached media cannot be updated (LinkedIn limitation; create a new ad instead). Accepts a JSON object or JSON string. | | `dry_run` | boolean | No | `False` | When true, return the resolved update body without calling LinkedIn. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the post URN, the forwarded payload, and LinkedIn's response (successful post updates return no body, HTTP 204). **Fields**: `post`, `payload`, `dry_run`, `response` # Upload Media Source: https://docs.markifact.com/nodes/linkedin_ads/linkedin_ads_upload_media Uploads a single image, video, or document to LinkedIn and returns its asset URN (urn:li:image / urn:li:video / urn:li:document), owned by the given Company Page Uploads a single image, video, or document to LinkedIn and returns its asset URN (urn:li:image / urn:li:video / urn:li:document), owned by the given Company Page. Use this to get a media URN to embed in a raw creative payload for linkedin\_ads\_create\_ad. For creating a full ad with new media, prefer the dedicated create operations, which upload internally. | | | | - | - | | **App** | LinkedIn Ads | | **Operation ID** | `linkedin_ads_upload_media` | | **Type** | Action | | **Connection** | `linkedin_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `organization` | string or SelectItem | Yes | - | Company Page that owns the uploaded asset (the same organization used as the post author). Accepts an organization id or urn:li:organization:123. | | `image_url` | string | No | - | Image to upload. Accepts a direct image URL or a Google Drive share link (set to 'Anyone with the link'). Returns an urn:li:image URN. Provide exactly one of image\_url, video\_url, or document\_url. | | `video_url` | string | No | - | Video to upload. Accepts a direct video URL or a Google Drive share link (set to 'Anyone with the link'). Returns an urn:li:video URN. Waits for LinkedIn to finish processing. Provide exactly one of image\_url, video\_url, or document\_url. | | `document_url` | string | No | - | Document to upload: PDF, PPT, PPTX, DOC, or DOCX up to 100MB and 300 pages. Accepts a direct file URL or a Google Drive share link (set to 'Anyone with the link'). Returns an urn:li:document URN. Provide exactly one of image\_url, video\_url, or document\_url. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the uploaded asset's URN, its type (image/video/document), and the owning organization URN. **Fields**: `media_urn`, `media_type`, `organization` # Count Items Source: https://docs.markifact.com/nodes/list_tools/list_count_items Counts the number of items in a list or array Counts the number of items in a list or array | | | | - | - | | **App** | List Tools | | **Operation ID** | `list_count_items` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `list` | array (also accepts a comma-separated string) | No | - | Select the list to count items from | ## Output **Type**: `int` Returns the count of items in the list. # Generate Source: https://docs.markifact.com/nodes/list_tools/list_generate Generates lists of data based on specified criteria, patterns Generates lists of data based on specified criteria, patterns | | | | - | - | | **App** | List Tools | | **Operation ID** | `list_generate` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `generation_mode` | string or SelectableOption | Yes | - | Choose how to generate your list. Available options: 'repeat' (Repeat an Item), 'text\_input' (From Text Input) | | `value` | string | No | - | Enter the text, number, or phrase you want to repeat in the list | | `count` | integer | No | - | Specify how many times you want to repeat the item (1-1000) | | `text_input` | string | No | - | Enter items to create a list based on your chosen delimiter | | `delimiter` | string or SelectableOption | No | - | Choose how to separate your list items. Available options: 'newline' (New Line), 'comma' (Comma-separated), 'space' (Space-separated), 'tab' (Tab-separated), 'semicolon' (Semicolon-separated) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List` Returns generated list based on specified pattern. # Merge Source: https://docs.markifact.com/nodes/list_tools/list_merge Combines multiple lists into a single unified list Combines multiple lists into a single unified list. Use this to join, blend, or union data from sources like Google Ads, Meta Ads, etc. For best results, standardize field names beforehand using the rename\_fields node. | | | | - | - | | **App** | List Tools | | **Operation ID** | `list_merge` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `lists` | array of any | Yes | - | Add multiple lists that you want to combine into one, this will be mainly the output of upstream nodes in the workflow. Don't worry about data conversion, it will be handled automatically based on the list type. | ## Output **Type**: `List` Returns combined list from all inputs. **Fields**: dynamic (depend on the inputs) # Pick Item Source: https://docs.markifact.com/nodes/list_tools/list_pick_item Selects specific items from a list based on index or random selection Selects specific items from a list based on index or random selection | | | | - | - | | **App** | List Tools | | **Operation ID** | `list_pick_item` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `list` | array (also accepts a comma-separated string) | Yes | - | Select the list to pick an item from | | `pick_mode` | string or SelectableOption | Yes | - | Choose how to pick the item from the list. Available options: 'first' (First Item), 'last' (Last Item), 'random' (Random Item), 'custom' (Custom Index) | | `custom_index` | integer | No | - | Specify the index position of the item to pick (0-based indexing). Use only if pick\_mode is set to 'custom'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Any` Returns selected item(s) from the list. # Remove Duplicates Source: https://docs.markifact.com/nodes/list_tools/list_remove_duplicates Removes duplicate items from lists while preserving unique values Removes duplicate items from lists while preserving unique values | | | | - | - | | **App** | List Tools | | **Operation ID** | `list_remove_duplicates` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `list` | array (also accepts a comma-separated string) | No | - | Select the list to remove duplicate items from | ## Output **Type**: `List` Returns list with duplicates removed. # Split Source: https://docs.markifact.com/nodes/list_tools/list_split Divides lists into smaller sublists based on batch size Divides lists into smaller sublists based on batch size | | | | - | - | | **App** | List Tools | | **Operation ID** | `list_split` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `list` | array (also accepts a comma-separated string) | Yes | - | Select the list to split into smaller batches | | `batch_size` | integer | Yes | - | Size of each batch/sublist (must be greater than 0) | ## Output **Type**: `List[List]` Returns list of sublists. # Run Source: https://docs.markifact.com/nodes/manual_run/manual_run A trigger that allows manual execution of the workflow through the UI with a click of a button A trigger that allows manual execution of the workflow through the UI with a click of a button | | | | - | - | | **App** | Manual Run | | **Operation ID** | `manual_run` | | **Type** | Trigger | | **Connection** | None | | **Credits per run** | Free | ## Inputs This node takes no inputs. ## Output *No output documented.* # Server Source: https://docs.markifact.com/nodes/mcp/mcp_server Connect a remote MCP (Model Context Protocol) server to the workflow AI agent node Connect a remote MCP (Model Context Protocol) server to the workflow AI agent node. The agent discovers the server's tools and can call them during a run. Supports streamable HTTP servers with optional custom headers for authentication. Can only be used as a workflow AI agent tool, not as a standalone node or main-agent tool. | | | | - | - | | **App** | MCP | | **Operation ID** | `mcp_server` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `url` | string | Yes | - | Streamable HTTP endpoint of the MCP server, e.g. `https://example.com/mcp.` Only https URLs are supported. | | `headers` | object | No | - | Optional HTTP headers sent with every request to the MCP server, e.g. \{'Authorization': 'Bearer ...'} | | `allowed_tools` | array of string | No | - | Optional list of tool names the agent is allowed to use from this server. Leave empty to allow all tools. | ## Output **Type**: `None` MCP tool results are returned to the AI agent, not as node output. **Fields**: dynamic (depend on the inputs) # Batch Request Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_batch_request Fallback for Meta Ads changes no dedicated operation supports: sends raw Graph API calls (POST, DELETE, PUT, or GET for many reads at once) through Meta's batch API, 50 per request Fallback for Meta Ads changes no dedicated operation supports: sends raw Graph API calls (POST, DELETE, PUT, or GET for many reads at once) through Meta's batch API, 50 per request. Use this only when no dedicated operation supports the change. For a single read, use meta\_ads\_get\_graph\_data. If a focused operation exists, such as meta\_ads\_update\_ad\_status or meta\_ads\_update\_adset\_budget, always use that dedicated operation instead. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_batch_request` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The Meta Ads account these calls are for. Calls are not limited to it; Meta checks the connection's permissions on every object. | | `requests` | array of MetaBatchCall or string | Yes | - | Graph API calls to run, as a list or JSON array text (up to 1000 per run). They are sent through Meta's batch API in groups of 50, one group after another, and each call's result is returned. Meta runs the calls within a group in parallel, so a read in the same group as a write may return the value from before the write; Meta also allows only one write per object about every 30 seconds, so put repeat changes to the same object in a later run. Example: \[\{"method": "POST", "relative\_url": "120249701623300208", "body": \{"name": "New ad name"}}] | | `return_detailed_results` | boolean | No | `False` | If true, returns every call's result and does NOT raise an error when some calls fail. If false (default), raises an error when any call fails. | ### MetaBatchCall | Field | Type | Required | Default | Description | | - | - | - | - | - | | `method` | enum (`GET`, `POST`, `DELETE`, `PUT`) | Yes | - | HTTP method: GET, POST, DELETE or PUT. DELETE is permanent for most objects; use the status operations to pause or delete ads normally. | | `relative_url` | string | Yes | - | Graph API path (Graph API v26.0, added for you) without the version or a leading slash, e.g. '120249701623300208' to update an ad, '120249701623300208?fields=name,tracking\_specs' to read one, or 'act\_123/ads' to create. | | `body` | object or string | No | - | POST/PUT parameters, as an object (nested objects and lists are JSON-encoded for you) or a URL-encoded string, e.g. \{"tracking\_specs": \[\{"action.type": \["offsite\_conversion"], "fb\_pixel": \["705510069587299"]}]}. Updates that replace a list, like tracking\_specs, must include the existing entries to keep. | | `page_id` | string | No | - | Facebook Page ID whose Page access token to send for this call instead of the user token. Set it when Meta answers that the call needs a Page access token (e.g. Page canvases, lead forms, Page posts). | | `name` | string | No | - | Optional call name, so a later call can reference its result (e.g. \{result=create-ad:\$.id}). References only work within the same group of 50 calls. | ## Output **Type**: `Dict` Returns total\_count, success\_count, failed\_count and results: one entry per call with index, method, relative\_url, status (success, error, not\_executed, not\_sent or unknown), http\_code, Meta's response or error. **Fields**: `total_count`, `success_count`, `failed_count`, `results` # Check Catalog Diagnostics Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_check_catalog_diagnostics Checks a Meta catalog for data quality, policy, and feed issues, returning aggregated diagnostic issue groups with severity and affected item counts Checks a Meta catalog for data quality, policy, and feed issues, returning aggregated diagnostic issue groups with severity and affected item counts. Use meta\_ads\_list\_catalogs first to find the catalog id, and meta\_ads\_get\_product\_details to inspect a specific rejected product. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_check_catalog_diagnostics` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | Yes | - | Meta catalog ID. Use Meta Ads List Catalogs first to find this value. | | `severity` | enum (`MUST_FIX`, `OPPORTUNITY`) | No | - | Optional severity filter: MUST\_FIX for blocking issues or OPPORTUNITY for recommendations. Leave empty to return all issues. | | `limit` | integer | No | `100` | Maximum number of diagnostic issue groups to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns catalog\_id, issue\_count, must\_fix\_count, and the list of diagnostic issue groups. **Fields**: dynamic (depend on the inputs) # Create Ad Creative Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_ad_creative Creates a Meta ad creative from a raw creative payload and returns the new creative_id Creates a Meta ad creative from a raw creative payload and returns the new creative\_id. Does not attach it to any ad. Used in the edit-ad workflow: meta\_ads\_get\_ad\_creative -> modify payload -> meta\_ads\_create\_ad\_creative -> meta\_ads\_replace\_ad\_creative. Best when the edited payload already references existing media in Meta, such as image\_hash or video\_id. If the edit needs brand new media uploads or a new ad from scratch, use the dedicated create\_\*\_ad operations (e.g. meta\_ads\_create\_single\_image\_ad, meta\_ads\_create\_carousel\_ad) instead. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_ad_creative` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account where the new creative should be created. Used in the edit-ad workflow after meta\_ads\_get\_ad\_creative and before meta\_ads\_replace\_ad\_creative. | | `creative_payload` | object or string | Yes | - | Full Meta ad creative payload (object or JSON string). Usually this is the payload returned by meta\_ads\_get\_ad\_creative after you edit it. Workflow: meta\_ads\_get\_ad\_creative -> edit payload -> meta\_ads\_create\_ad\_creative -> meta\_ads\_replace\_ad\_creative. Use this when the edited creative still points to existing media references already available in Meta, such as image\_hash or video\_id. If the edit needs brand new media uploads, use the dedicated create\_**ad operations instead, for example meta\_ads\_create\_single\_image\_ad. Read-only fields (id, status, account\_id, effective**, etc.) are stripped automatically before posting. This creates only the creative, not the ad. | | `name` | string | No | - | Optional name override for the new creative. If provided, replaces any name in creative\_payload before the new creative is created for the edit workflow. | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the creative payload without creating a creative or ad. No creative ID is returned. Use existing media references such as image\_hash or video\_id; this operation does not upload media. | ## Output **Type**: `Dict` Returns the new creative ID and its name. **Fields**: `creative_id`, `name` # Create Ad From Creative Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_ad_from_creative Creates a new Meta ad from an existing ad creative ID Creates a new Meta ad from an existing ad creative ID. Useful when you want to reuse or duplicate an existing creative into a new ad or ad set, or when you already created a creative with meta\_ads\_create\_ad\_creative. This operation does not upload media or build a new creative payload. If you need to create an ad from new media, use the relevant ad creation operation such as meta\_ads\_create\_single\_image\_ad or meta\_ads\_create\_single\_video\_ad, etc instead. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_ad_from_creative` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | Select the ad set where the new ad should be created, ask the user for it if not provided | | `ad_name` | string | Yes | - | Name of the new ad | | `creative_id` | string | Yes | - | Existing Meta ad creative ID to attach to the new ad. Use this when reusing or duplicating a creative that already exists in Meta. | | `ad_status` | string or SelectableOption | No | - | Select the status for the new ad. Available options: 'ACTIVE', 'PAUSED'. Defaults to 'PAUSED'. | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the request without creating anything. No new object ID is returned. Requires existing ad set and creative IDs. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad ID and the creative ID attached to it. **Fields**: `ad_id`, `creative_id`, `ad_name`, `adset_id`, `status` # Create Ad From Post Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_ad_from_post Creates Meta ads from existing Facebook Page posts or Instagram media, i.e Creates Meta ads from existing Facebook Page posts or Instagram media, i.e. boosts an existing post (no media upload, no copy authoring). By default it creates the full ad attached to the given ad set. It can also run in creative-only mode, which returns a creative\_id without attaching it to an ad; that creative\_id can then be used with meta\_ads\_replace\_ad\_creative. Provide either post\_id (Facebook page post) or instagram\_media\_id (Instagram media), not both. The page id is combined with post\_id automatically. Supports detailed-results mode: by default the response returns only IDs, while return\_detailed\_results=true returns per-row success and failure details. Detailed results are recommended for AI agents. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_ad_from_post` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Available options: 'single' (Single Ad), 'bulk' (Multiple Ads) | | `page` | string or SelectItem | Yes | - | Select the Facebook page that owns the post (or whose linked Instagram account owns the media). Find it with meta\_ads\_list\_pages, or ask the user. | | `instagram_user_id` | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — Find it with meta\_ads\_list\_instagram\_accounts.the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. | | `adset_id` | string or SelectItem | No | - | Select the ad set for this ad. Single mode only; in bulk mode each structured\_data row carries its own adset\_id. | | `ad_name` | string | No | - | Name of the ad | | `ad_status` | string or SelectableOption | No | - | Select the status for the new ad. Available options: 'ACTIVE', 'PAUSED' | | `post_id` | string | No | - | ID of the Facebook page post to advertise. Provide just the numeric post id; Markifact combines it with the selected page id automatically. Required for Facebook posts. If you want to advertise an Instagram media instead, set instagram\_media\_id and leave this empty. | | `instagram_media_id` | string | No | - | Meta Marketing API source Instagram media V2 ID for the existing Instagram post to advertise. Provide this instead of post\_id only when advertising an existing Instagram post from the selected Instagram account. This must be the numeric media ID returned by Meta for that Instagram account (the value Meta accepts as source\_instagram\_media\_id), not an Instagram permalink, shortcode, reel code, media URL, scraped media PK, post caption ID, or ad/creative ID. Get it from meta\_ads\_list\_instagram\_media, which lists the account's posts and resolves a post URL or shortcode to this ID. Uses the page-linked Instagram account by default, or the override set via instagram\_user\_id. | | `url_parameters` | string | No | - | Add UTM or other tracking parameters to the post's link (e.g., utm\_source=facebook\&utm\_medium=cpc). In bulk mode this acts as the default for all rows; a row's own url\_parameters column wins. | | `website_url` | string | No | - | Destination website URL for Instagram media ads (instagram\_media\_id only). Meta requires it for objectives with a destination, such as traffic or leads, and rejects the ad with 'website URL is required' without it. Sent as the creative's call to action link; Facebook post ads keep the post's own link. | | `call_to_action_type` | string | No | - | Call to action button for Instagram media ads (e.g., LEARN\_MORE, SHOP\_NOW, SIGN\_UP, CONTACT\_US). Only used together with website\_url; defaults to LEARN\_MORE when website\_url is set without it. | | `creative_only` | boolean | No | `False` | Set to true to create only the Meta ad creative without creating an ad. Useful when editing an existing ad: create a new creative pointing at a different post, then attach it using meta\_ads\_replace\_ad\_creative. When true, adset\_id is not required since you're not creating a new ad. Returns creative IDs instead of ad IDs. Default is false. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results (success\_count, failed\_count, total\_count, results\[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Mainly the output of a Google Sheets read operation. Each row should include: 'ad\_name', 'adset\_id' (when not creative\_only), and either 'post\_id' (Facebook post) or 'instagram\_media\_id' (Instagram media). Optional per-row fields: 'ad\_status' (ACTIVE/PAUSED, default PAUSED), 'url\_parameters', 'website\_url' and 'call\_to\_action\_type' (Instagram media rows only; see the top-level field descriptions). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ad details, a list of ad IDs and count. **Fields**: `ad_ids`, `created_count` # Create Adset Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_adset Create a new Meta Ads ad set with budget, targeting, optimization, and promoted object settings Create a new Meta Ads ad set with budget, targeting, optimization, and promoted object settings. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_adset` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Ad account to use. Accepts account ID or option object; value may be with or without 'act\_' prefix (for example 'act\_1234567890' or '1234567890') | | `campaign_id` | string or SelectItem | Yes | - | Campaign ID where the ad set will be created | | `adset_name` | string | Yes | - | Ad set name shown in Ads Manager. Maximum 400 characters | | `status` | string or SelectableOption | No | - | Initial delivery status after creation. If omitted, runner defaults to PAUSED | | `destination_type` | string or SelectableOption | Yes | - | ODAX destination type. Must be compatible with optimization\_goal and promoted\_object fields. For native Calls ad sets, use PHONE\_CALL with optimization\_goal QUALITY\_CALL and promoted\_object \{"page\_id":"YOUR\_REGIONAL\_PAGE\_ID"}. Set the intended Page during creation. | | `optimization_goal` | string or SelectableOption | Yes | - | Optimization goal used for delivery and learning. Must align with destination\_type and billing\_event | | `billing_event` | string or SelectableOption | Yes | - | Billing event used by Meta for charging/optimization. Must be valid for the selected goal | | `bid_strategy` | string or SelectableOption | No | - | Bid strategy. If omitted, runner defaults to LOWEST\_COST\_WITHOUT\_CAP | | `bid_amount` | number | No | - | Bid amount in the account currency exactly as shown in Ads Manager (e.g. 2.5 for \$2.50, 15000 for COP 15,000); the backend applies Meta's currency offset automatically, never multiply yourself. Required when bid\_strategy is COST\_CAP or LOWEST\_COST\_WITH\_BID\_CAP. | | `budget_type` | string or SelectableOption | No | - | Budget mode: CAMPAIGN (use campaign budget), DAILY, or LIFETIME | | `budget_value` | number | No | - | Budget amount in the account currency exactly as shown in Ads Manager (e.g. 25 for $25, 12.5 for $12.50, 300000 for COP 300,000); the backend applies Meta's currency offset automatically, never multiply yourself. Required for DAILY and LIFETIME; ignored for CAMPAIGN. | | `attribution_setting` | string or SelectableOption | No | - | Optional conversion attribution setting for optimization. Don't set this unless you know you need it; Meta's default attribution setting is typically recommended and sufficient for most use cases. If set, must be compatible with the selected optimization\_goal. | | `is_incremental_attribution_enabled` | boolean | No | - | Optional incremental attribution optimization flag. Omit this to let Meta use the standard attribution optimization behavior. If enabled, meta will ignore any attribution\_setting provided | | `is_dynamic_creative` | boolean | No | - | Enable Dynamic Creative for this ad set. This can only be set when the ad set is created and cannot be changed afterward. Enable it when the ad creative will use asset\_feed\_spec with multiple creative assets. | | `start_time` | integer or string | No | - | Optional start date/time: Unix seconds, YYYY-MM-DD, or an ISO datetime such as 2026-10-01 09:00 (UTC). Accepts a value from a previous node, for example a Sheets cell. | | `end_time` | integer or string | No | - | Optional end date/time: Unix seconds, YYYY-MM-DD, or an ISO datetime such as 2026-10-31 23:59 (UTC). Required when budget\_type is LIFETIME. Accepts a value from a previous node, for example a Sheets cell. | | `promoted_object` | object or string | No | - | The object this ad set promotes, as a Meta promoted\_object JSON object. Required for certain objectives (for example website/app conversions, page likes, product sales). Pass only the Meta fields you need; do not wrap them in any discriminator. Meta validates the supplied fields and their combinations. Common keys: custom\_conversion\_id, pixel\_id, custom\_event\_type, custom\_event\_str, page\_id, application\_id, object\_store\_url, product\_set\_id, product\_catalog\_id, offline\_conversion\_data\_set\_id, event\_id. custom\_event\_type must be a valid Meta CustomEventType value, for example PURCHASE, LEAD, COMPLETE\_REGISTRATION, ADD\_TO\_CART, INITIATED\_CHECKOUT, CONTENT\_VIEW, SUBSCRIBE, or OTHER (use OTHER with custom\_event\_str for a custom event). Pixel event example: \{"pixel\_id": "1234567890", "custom\_event\_type": "PURCHASE"}. Custom conversion example: \{"custom\_conversion\_id": "1234567890"}. A custom conversion is not a named custom pixel event; do not invent custom\_event\_str or add OTHER just to reference a custom conversion. | | `targeting` | object or string | Yes | - | The Meta targeting spec for this ad set, as a JSON object sent to Meta as-is. Only geo\_locations is required. Every other key below is optional: omit any you don't explicitly need and Meta applies its own defaults (for example broad age range, all genders, automatic placements). Do not send keys just to restate Meta's defaults. Use the keys below as needed: - geo\_locations (required): object with any of countries (ISO 3166-1 alpha-2, e.g. \['US','GB']), regions (\[\{key}]), cities (\[\{key, radius, distance\_unit}]), zips (\[\{key}]), custom\_locations (\[\{latitude, longitude, radius, distance\_unit}]), geo\_markets (\[\{key, name}]). location\_types (e.g. \['home','recent']). - excluded\_geo\_locations: same shape as geo\_locations, to exclude areas. - age\_min (13-65), age\_max (13-65), omit for meta's default of 18-65+ - genders: \[1] for male, \[2] for female, omit for all. - locales: list of Meta locale IDs (languages). - interests / behaviors: lists of \{id, name} from Meta's targeting search. - flexible\_spec: list of AND-grouped objects, each with interests/behaviors/demographics arrays (OR within each); used for detailed targeting. - exclusions: object with interests/behaviors to exclude. - custom\_audiences / excluded\_custom\_audiences: lists of \{id} for saved, lookalike, or retargeting audiences. - publisher\_platforms: subset of \['facebook','instagram','messenger','audience\_network','threads']; omit for automatic (Advantage+) placements. - device\_platforms: \['mobile','desktop']. - facebook\_positions / instagram\_positions / messenger\_positions / audience\_network\_positions / threads\_positions: per-platform placement lists; only valid when the matching publisher platform is set. - targeting\_automation: for constrained audience setups in Housing, Employment, Credit, or Financial Products/Services campaigns, explicitly send \{"advantage\_audience": 1} to enable Advantage+ Audience or \{"advantage\_audience": 0} to disable it. Use the JSON numbers 1 or 0, not strings or booleans. Example: \{"geo\_locations": \{"countries": \["US"]}, "age\_min": 25, "age\_max": 45, "genders": \[2], "interests": \[\{"id": "6003107902433", "name": "Yoga"}]} | | `dsa_beneficiary` | string | No | - | Optional DSA beneficiary text for EU ad transparency requirements | | `dsa_payor` | string | No | - | Optional DSA payor text for EU ad transparency requirements | | `regional_regulated_categories` | array of string | No | - | Optional ad transparency categories required by some countries, for example \["BRAZIL\_REGULATION"]. Set it together with regional\_regulation\_identities. | | `regional_regulation_identities` | object or string | No | - | Optional verified identity IDs for the declared regional\_regulated\_categories, for example \{"universal\_beneficiary": "\", "universal\_payer": "\"} | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the request without creating anything. No new object ID is returned. Requires an existing campaign ID; a validation-only campaign has no ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ad set details. **Fields**: `adset_id`, `adset_name`, `campaign_id`, `status` # Create Automated Rule Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_automated_rule Create a Meta automated rule for scheduled or condition-based campaign, ad set or ad changes Create a Meta automated rule for scheduled or condition-based campaign, ad set or ad changes. New rules default to disabled. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_automated_rule` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Meta Ads account where the automated rule will be created. | | `name` | string | Yes | - | Name of the automated rule. | | `evaluation_spec` | object or string | Yes | - | Native Meta evaluation\_spec object or JSON string: evaluation\_type (SCHEDULE or TRIGGER), filters (each has field, operator, value), and optional trigger. Defines target entities and conditions. To retarget an existing rule, read it first and preserve its other filters. On update supply the complete replacement evaluation\_spec, not just the changed filter. | | `execution_spec` | object or string | Yes | - | Native Meta execution\_spec object or JSON string. Example: \{"execution\_type":"PAUSE"}; UNPAUSE resumes delivery. Other actions and their execution\_options pass through unchanged for Meta to validate. On update supply the complete replacement execution\_spec. | | `schedule_spec` | object or string | No | - | Native Meta schedule\_spec object or JSON string: schedule\_type and, when applicable, schedule entries with days, start\_minute, and end\_minute. Preserve Meta's native schedule values when copying an existing rule. On update supply the complete replacement schedule\_spec. | | `status` | enum (`ENABLED`, `DISABLED`) | No | `DISABLED` | Defaults to DISABLED. ENABLED allows Meta to execute this rule automatically against matching entities. | ## Output **Type**: `Dict` Meta creation response including the new rule ID. # Create Campaign Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_campaign Create a new campaign in Meta Ads with customizable settings including objective, budget, targeting, and scheduling Create a new campaign in Meta Ads with customizable settings including objective, budget, targeting, and scheduling. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_campaign` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `campaign_name` | string | Yes | - | Name for the campaign | | `objective` | string or SelectableOption | Yes | - | Campaign's objective. Select the marketing goal for this campaign | | `buying_type` | string or SelectableOption | No | - | Buying type for the campaign. Available options: 'AUCTION' (Auction - default), 'RESERVED' (Reach and Frequency) | | `status` | string or SelectableOption | No | - | Initial status of the campaign. Available options: 'ACTIVE', 'PAUSED' (default) | | `special_ad_categories` | array of string or SelectableOption | No | `['NONE']` | Special ad categories. Defaults to \['NONE'] if not provided | | `special_ad_category_country` | array of string or SelectableOption | No | - | Countries for special ad category. Required if special\_ad\_categories is not \['NONE'] | | `bid_strategy` | string or SelectableOption | No | - | Campaign bid strategy for campaign budgets or shared ad-set budgets. Defaults to LOWEST\_COST\_WITHOUT\_CAP when applicable. Omitted for independent ad-set budgets (no campaign budget and is\_adset\_budget\_sharing\_enabled=false); set bidding on the ad sets instead. Options: LOWEST\_COST\_WITHOUT\_CAP, COST\_CAP, LOWEST\_COST\_WITH\_BID\_CAP, LOWEST\_COST\_WITH\_MIN\_ROAS. | | `budget_type` | string or SelectableOption | No | - | Budget type for the campaign. Available options: 'DAILY' (Daily Budget), 'LIFETIME' (Lifetime Budget), 'ADSET\_BUDGET' (Budget set at ad set level) | | `budget_value` | number | No | - | Budget amount in the account currency exactly as shown in Ads Manager (e.g. 100 for \$100, 300000 for COP 300,000); the backend applies Meta's currency offset automatically, never multiply yourself. Required if budget\_type is not 'ADSET\_BUDGET'. | | `spend_cap` | number | No | - | Spend cap in the account currency as shown in Ads Manager (e.g. 100 for USD 100, 300000 for COP 300,000). The backend applies Meta's currency offset automatically. Campaign will not spend more than this amount. Not applicable when using lifetime budget. | | `is_adset_budget_sharing_enabled` | boolean | No | - | Only for budget\_type 'ADSET\_BUDGET' (Meta requires a value then; defaults to true). True lets Meta move budget between the campaign's ad sets and needs a campaign bid strategy. Set false when ad sets need independent budgets, e.g. lifetime budgets on different dates, which Meta rejects while sharing is on. | | `start_time` | integer or string | No | - | Start time for campaign delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC). Leave empty to start immediately | | `stop_time` | integer or string | No | - | End time for campaign delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC). Leave empty for no end time | | `is_skadnetwork_attribution` | boolean | No | - | Enable SKAdNetwork attribution for an iOS 14+ app promotion campaign. Meta only accepts this at creation (it cannot be added later) and then requires promoted\_object with application\_id and object\_store\_url. | | `promoted_object` | object or string | No | - | Campaign-level promoted object as JSON, sent as-is. Required by Meta for iOS 14+ app promotion (SKAdNetwork) campaigns, for example \{"application\_id": "893126232356131", "object\_store\_url": "`http://itunes.apple.com/app/id6502289375`"}. Use meta\_list\_promotable\_apps to find the application\_id. | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the request without creating anything. No new object ID is returned. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created campaign details. **Fields**: `campaign_id`, `campaign_name` # Create Carousel Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_carousel_ad Creates new Meta carousel ads with 2-10 cards containing images or videos (bulk mode only) Creates new Meta carousel ads with 2-10 cards containing images or videos (bulk mode only). By default it creates the full ad. It can also run in creative-only mode, which returns a creative\_id without attaching it to an ad; that creative\_id can then be used with meta\_ads\_replace\_ad\_creative. It also supports detailed-results mode: by default the response returns only IDs, while return\_detailed\_results=true returns per-row success and failure details. Detailed results are recommended for AI agents. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_carousel_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `page` | string or SelectItem | Yes | - | Select Facebook page, ask the user for it if not provided | | `instagram_user_id` | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. | | `structured_data` | array (also accepts a comma-separated string) | Yes | - | Structured data containing carousel ad information. Each row represents one carousel ad with multiple cards (2-10 cards per ad). Required columns: adset\_id, ad\_name, ad\_status, primary\_text, website\_url, card\_1\_media\_url, card\_1\_headline, card\_2\_media\_url, card\_2\_headline. Optional columns: card\_N\_description (if empty, Meta may show the landing page's meta description), card\_N\_website\_url, card\_N\_call\_to\_action, card\_N\_story\_media\_url (for placement optimization), form\_id (for lead form ads), disable\_creative\_enhancements (set to True to disable Meta's automatic creative optimizations), disable\_multi\_advertiser\_ads (set to True to opt out of showing your ad alongside other ads), is\_ai\_generated (True or False: ticks Ads Manager's 'Ad includes media created or edited with AI' (the creative's AI self-disclosure); false opts out, empty leaves Meta's default. Set when the creative is created; existing ads cannot be changed; True also flags the row's uploaded videos), pixel\_id (optional, leave empty to inherit from ad set and account), product\_set\_id (optional, a catalog product set id from meta\_ads\_list\_product\_sets to show its products below the ad; needs a Sales or Traffic campaign), ad\_start\_time (schedule ad start, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone), ad\_end\_time (schedule ad end, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone). IMPORTANT: For additional cards (3-10), if ANY field is provided for a card, then both card\_N\_media\_url AND card\_N\_headline become required. No incomplete card data allowed. Video thumbnails are auto-generated. Note: user can provide direct media URLs or Google Drive share links; Markifact will convert Drive links to direct URLs automatically, the only requirement is that the file sharing is set to 'Anyone with the link'. | | `creative_only` | boolean | No | `False` | Set to true to create only the Meta ad creative without creating an ad. Useful when editing an existing ad: create a new creative with the updated carousel cards, media, text, or URLs, then attach it using replace\_ad\_creative. When true, adset\_id is not required since you're not creating a new ad, just an ad creative. Returns creative IDs instead of ad IDs. Default is false. | | `return_detailed_results` | boolean | No | `False` | If true, returns per-row results (success\_count, failed\_count, total\_count, results\[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created ad details, a list of ad IDs and count. **Fields**: `ad_ids`, `created_count` # Create Catalog Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_catalog_ad Creates Advantage+ Catalog / dynamic Ads (carousel or single image) via product sets (bulk mode) Creates Advantage+ Catalog / dynamic Ads (carousel or single image) via product sets (bulk mode). Meta has deprecated the legacy Collection ad format with its separate Instant Experience; the replacement is format automation, where one catalog carousel is rendered as a collection where that performs better. Meta applies this automatically to catalog ads created here, so no extra setting is needed, and it cannot be switched off through the API; use Ads Manager if a client needs collection disabled. By default it creates the full ad. It can also run in creative-only mode, which returns a creative\_id without attaching it to an ad; that creative\_id can then be used with meta\_ads\_replace\_ad\_creative. It also supports detailed-results mode: by default the response returns only IDs, while return\_detailed\_results=true returns per-row success and failure details. Detailed results are recommended for AI agents. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_catalog_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `page` | string or SelectItem | Yes | - | Select Facebook page, ask the user for it if not provided | | `instagram_user_id` | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. | | `structured_data` | array (also accepts a comma-separated string) | Yes | - | Structured data containing catalog ad information. Each row represents one catalog ad. Required columns: adset\_id, product\_set\_id, ad\_name, website\_url, primary\_text, headline. Optional columns: primary\_text\_2 through primary\_text\_5, headline\_2 through headline\_5, and description\_2 through description\_5 (additional text variations, Meta picks the best combination per viewer; primary\_text\_1/headline\_1/description\_1 are accepted as aliases of the bare columns), description, url\_parameters, ad\_status (ACTIVE/PAUSED), ad\_type (carousel/single\_image), carousel\_card\_type (use value 'slideshow' to enable slideshow cards; any other value ignored), format\_option (Meta card layout, sent as given: 'carousel\_images\_multi\_items' shows several product images per card, 'carousel\_images\_single\_item' one image per card and needs multi\_share\_end\_card false, 'carousel\_slideshows' slideshow cards; takes precedence over carousel\_card\_type), multi\_share\_end\_card (only set FALSE by putting 'false'; omitted otherwise), show\_multiple\_images (only set TRUE by putting 'true'; omitted otherwise), static\_card\_media\_url, static\_card\_headline, static\_card\_description (if static\_card\_media\_url AND static\_card\_headline provided, a static card is prepended as first child attachment; supports both images and videos; description optional), call\_to\_action (optional, e.g. SHOP\_NOW, LEARN\_MORE, SIGN\_UP; defaults to SHOP\_NOW if omitted or invalid), disable\_creative\_enhancements (set to True to disable Meta's automatic creative optimizations like enhanced CTAs, image cropping, text optimizations, dynamic media, etc.), disable\_multi\_advertiser\_ads (set to True to opt out of showing your ad alongside other ads), is\_ai\_generated (set to True to mark the row's videos as AI-generated through Meta's is\_ai\_generated upload flag; Meta does not document its effect, and images have no such flag), ad\_start\_time (schedule ad start, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone), ad\_end\_time (schedule ad end, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone). For single image ads set ad\_type to 'single\_image' which internally sets force\_single\_link=true. Case-insensitive matching is applied for ad\_type, carousel\_card\_type, and the boolean flags. Note: user can provide direct media URLs or Google Drive share links; Markifact will convert Drive links to direct URLs automatically, the only requirement is that the file sharing is set to 'Anyone with the link'. | | `creative_only` | boolean | No | `False` | Set to true to create only the Meta ad creative without creating an ad. Useful when editing an existing ad: create a new catalog creative with the updated product set, static card, text, or template data, then attach it using replace\_ad\_creative. When true, adset\_id is not required since you're not creating a new ad, just an ad creative. Returns creative IDs instead of ad IDs. Default is false. | | `return_detailed_results` | boolean | No | `False` | If true, returns per-row results (success\_count, failed\_count, total\_count, results\[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created ad details, a list of ad IDs and count. **Fields**: `ad_ids`, `created_count` # Create Experiment Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_experiment Create a native Meta A/B split test or ad study using existing campaign/ad-set variants, including instant forms Create a native Meta A/B split test or ad study using existing campaign/ad-set variants, including instant forms. Meta handles test allocation; budgets and ads are configured separately. Other study types require Meta eligibility. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_experiment` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `business_id` | string or SelectItem | Yes | - | Meta business portfolio ID that owns the experiment, available in meta\_ads\_get\_account\_details. This is not an ad account ID. | | `name` | string | Yes | - | Name of the native Meta A/B test or ad study. | | `experiment_type` | enum (`SPLIT_TEST`, `LIFT`, `CONTINUOUS_LIFT_CONFIG`, `GEO_LIFT`, `BACKEND_AB_TESTING`, `CREATIVE_SPEND_ENFORCEMENT`, `PORTFOLIO_OPTIMIZER`, `VERSION_CONTROL`) | No | `SPLIT_TEST` | Defaults to SPLIT\_TEST for native A/B testing. Other study types have separate Meta eligibility and configuration requirements. | | `start_time` | integer or string | Yes | - | Study start as Unix seconds/milliseconds or an ISO datetime. Dates without a timezone use UTC. | | `end_time` | integer or string | Yes | - | Study end as Unix seconds/milliseconds or an ISO datetime. Dates without a timezone use UTC. | | `cells` | array of object or string | Yes | - | Native Meta study cells as an array or JSON string, forwarded unchanged. Reference existing campaigns or adsets; prepare the form/ad variants separately. Example: \[\{"name":"A","treatment\_percentage":50,"campaigns":\["CAMPAIGN\_A\_ID"]},\{"name":"B","treatment\_percentage":50,"campaigns":\["CAMPAIGN\_B\_ID"]}]. Audience allocation is separate from campaign/ad-set budgets; this operation does not set budgets. Meta validates nested fields and combinations. | | `objectives` | array of object or string | No | - | Optional native Meta study measurement objectives as an array or JSON string. Sent unchanged; Meta validates the objective configuration for the chosen study type. Results depend on Meta's measurement availability. | | `description` | string | No | - | Study description. | | `confidence_level` | number | No | - | Meta study confidence level, passed through to the API. | | `client_business` | string | No | - | Optional client business portfolio ID. | | `cooldown_start_time` | integer or string | No | - | Optional cooldown start as Unix seconds/milliseconds or an ISO datetime. | | `observation_end_time` | integer or string | No | - | Optional observation end as Unix seconds/milliseconds or an ISO datetime. | | `creative_test_config` | object or string | No | - | Optional native Meta creative test configuration object or JSON string. Sent unchanged. | | `viewers` | array of integer or string | No | - | Optional Meta user IDs allowed to view the study, as an array or JSON array string. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns Meta's created ad study response, including its id. Use meta\_ads\_get\_experiment to read the study and cells. **Fields**: `id` # Create Flexible Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_flexible_ad Creates flexible ads with multiple media (up to 10) and text variations (up to 5 each) Creates flexible ads with multiple media (up to 10) and text variations (up to 5 each). By default it creates the full ad. It also supports detailed-results mode: by default the response returns only IDs, while return\_detailed\_results=true returns per-row success and failure details. Detailed results are recommended for AI agents. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_flexible_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `page` | string or SelectItem | Yes | - | Select Facebook page, ask the user for it if not provided | | `instagram_user_id` | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. | | `structured_data` | array (also accepts a comma-separated string) | Yes | - | Structured data containing flexible ad information. Each row represents one flexible ad. Required columns: adset\_id, ad\_name, primary\_text\_1, headline\_1, website\_url, media\_1\_url. Optional columns: media\_2\_url through media\_10\_url (up to 10 media total), primary\_text\_2 through primary\_text\_5 (up to 5 variations), headline\_2 through headline\_5 (up to 5 variations), description\_1 through description\_5 (up to 5 variations), call\_to\_action (e.g., LEARN\_MORE, SHOP\_NOW, SIGN\_UP), url\_parameters, ad\_status (ACTIVE/PAUSED), form\_id (for lead form ads), disable\_creative\_enhancements (set to True/'true'/'TRUE' to disable Meta's automatic creative optimizations), disable\_multi\_advertiser\_ads (set to True/'true'/'TRUE' to opt out of showing your ad alongside other ads), is\_ai\_generated (set to True to mark the row's videos as AI-generated through Meta's is\_ai\_generated upload flag; Meta does not document its effect, and images have no such flag), ad\_start\_time (schedule ad start, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone), ad\_end\_time (schedule ad end, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone). Meta will automatically test different combinations to find the best performing ads. Note: user can provide direct media URLs or Google Drive share links; Markifact will convert Drive links to direct URLs automatically, the only requirement is that the file sharing is set to 'Anyone with the link'. | | `return_detailed_results` | boolean | No | `False` | If true, returns per-row results (success\_count, failed\_count, total\_count, results\[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created ad details, a list of ad IDs and count. **Fields**: `ad_ids`, `created_count` # Create Product Set Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_product_set Low-level tool that creates a Meta product set inside a catalog from a raw Meta filter passed to Meta as-is Low-level tool that creates a Meta product set inside a catalog from a raw Meta filter passed to Meta as-is. Use meta\_ads\_list\_catalogs first to find the catalog id. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_product_set` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | Yes | - | Meta catalog ID. Use Meta Ads List Catalogs first to find this value. | | `name` | string | Yes | - | Name for the new product set. | | `filter` | object or string | Yes | - | Raw Meta product set filter as an object, sent to Meta as-is. Use Meta filter syntax with operators like is\_any, contains, i\_contains, eq, neq, and and/or groups over catalog fields such as retailer\_id, brand, category, availability, condition, or custom\_label\_0 to custom\_label\_4. Examples: \{"retailer\_id": \{"is\_any": \["SKU\_1", "SKU\_2"]}} or \{"and": \[\{"brand": \{"i\_contains": "nike"}}, \{"availability": \{"eq": "in stock"}}]}. To include all products use \{"retailer\_id": \{"i\_contains": ""}}. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created Meta product set. **Fields**: `id` # Create Single Image Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_single_image_ad Creates new Meta ads using single image creative assets Creates new Meta ads using single image creative assets. By default it creates the full ad. It can also run in creative-only mode, which returns a creative\_id without attaching it to an ad; that creative\_id can then be used with meta\_ads\_replace\_ad\_creative. It also supports detailed-results mode: by default the response returns only IDs, while return\_detailed\_results=true returns per-row success and failure details. Detailed results are recommended for AI agents. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_single_image_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose how to create ads. Available options: 'single' (one ad with one image, one headline, one primary text), 'bulk' (one or many ads from structured\_data). Bulk unlocks features the single form does not have: multiple headlines, primary texts, and descriptions (headline\_1-5, primary\_text\_1-5, description\_1-5), placement-specific images (story, right column), lead forms (form\_id), pixel\_id, ad scheduling (ad\_start\_time/ad\_end\_time), and sitelinks. Use bulk when an ad needs any of these. | | `page` | string or SelectItem | Yes | - | Select Facebook page, ask the user for it if not provided | | `instagram_user_id` | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. | | `adset_id` | string or SelectItem | No | - | Select the ad set for this ad. Single mode only; in bulk mode each structured\_data row carries its own adset\_id. | | `ad_name` | string | No | - | Name of the ad | | `ad_status` | string or SelectableOption | No | - | Select the new status for the ad. Available options: 'ACTIVE', 'PAUSED'. Single mode only; in bulk mode each structured\_data row sets its own ad\_status (defaults to PAUSED). | | `image_url` | string | No | - | Image to use for the ad. Accepts a direct image URL or a Google Drive share link. If a Drive link is provided, Markifact automatically converts it to a direct image URL. The only requirement is that the file sharing is set to 'Anyone with the link'. For placement-specific images (story, right column), use bulk mode. | | `primary_text` | string | No | - | The main body text of the ad. For multiple text variations, use bulk mode (primary\_text\_1-5 columns). | | `headline` | string | No | - | The headline of the ad. For multiple headline variations, use bulk mode (headline\_1-5 columns). | | `description` | string | No | - | Additional text that appears below the headline. If left empty, Meta may show the landing page's meta description instead; set your own to control the text. | | `website_url` | string | No | - | The URL where people will go when they click your ad (e.g., `https://example.com`) | | `call_to_action` | string or SelectableOption | No | - | Select a call to action button for the ad: Some Options: 'LEARN\_MORE', 'SHOP\_NOW', 'BOOK\_TRAVEL', 'DOWNLOAD', 'GET\_QUOTE', 'CONTACT\_US', 'APPLY\_NOW', 'SIGN\_UP'. Single mode only; in bulk mode each structured\_data row sets its own call\_to\_action (defaults to LEARN\_MORE). | | `url_parameters` | string | No | - | Add UTM or other tracking parameters to your URL (e.g., utm\_source=facebook\&utm\_medium=cpc). In bulk mode this acts as the default for all rows; a row's own url\_parameters column wins. | | `disable_creative_enhancements` | boolean | No | - | Set to True to disable Meta's automatic creative enhancements (image templates, touchups, text optimizations, dynamic media etc.). | | `disable_multi_advertiser_ads` | boolean | No | - | Set to True to opt out of Meta's multi-advertiser ads feature, which shows your ad alongside other ads. By default, Meta enables this feature. In bulk mode this acts as the default for all rows; a row's own column wins. | | `display_url` | string | No | - | A custom display URL shown on the ad instead of the actual website URL (e.g., 'example.com'). This is cosmetic only and does not affect the landing page. | | `product_set_id` | string or SelectItem | No | - | Optional catalog product set to show its products below the ad (Meta product extensions; Ads Manager's catalog products option). Find ids with meta\_ads\_list\_product\_sets. Needs a Sales or Traffic campaign and a catalog the ad account can use. In bulk mode it is the default for rows without their own product\_set\_id. | | `is_ai_generated` | boolean | No | - | Set to true to mark the ad as made with AI: ticks Ads Manager's 'Ad includes media created or edited with AI' (the creative's AI self-disclosure); false opts out, empty leaves Meta's default. Set when the creative is created; existing ads cannot be changed. In bulk mode this acts as the default for all rows; a row's own is\_ai\_generated column wins. | | `creative_only` | boolean | No | `False` | Set to true to create only the Meta ad creative without creating an ad. Useful when editing an existing ad: create a new creative with the updated text, URL, image, video, or carousel payload, then attach it using replace\_ad\_creative. When true, adset\_id is not required since you're not creating a new ad, just an ad creative. Returns creative IDs instead of ad IDs. Default is false. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results (success\_count, failed\_count, total\_count, results\[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Every row must carry its own adset\_id (unless creative\_only), ad\_name, website\_url and an image; the top-level adset\_id, ad\_status and call\_to\_action are not applied to rows, so set 'ad\_status' and 'call\_to\_action' in each row. Supports multiple images with clear naming: 'image\_url' or 'default\_image\_url' (all placements), 'story\_image\_url' (story placements), 'right\_column\_image\_url' (right column placements). Also supports multiple text variations (headline\_1-5, primary\_text\_1-5, description\_1-5); Meta allows only one description when a story or right-column image is set. For lead form ads, include 'form\_id' field. Optional: 'disable\_creative\_enhancements' (set to True to disable Meta's automatic creative optimizations), 'disable\_multi\_advertiser\_ads' (set to True to opt out of showing your ad alongside other ads), 'pixel\_id' (optional, leave empty to inherit from ad set and account), 'product\_set\_id' (optional, a catalog product set id from meta\_ads\_list\_product\_sets to show its products below the ad; needs a Sales or Traffic campaign), 'is\_ai\_generated' (True or False, the row's AI disclosure; see is\_ai\_generated), 'display\_url' (optional, a custom display URL shown on the ad instead of the actual website URL, e.g. 'example.com'), 'ad\_start\_time' and 'ad\_end\_time' (schedule individual ads, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, uses ad account timezone; only works for sales and app promotion campaigns). Optional sitelinks (bulk only): leave all 'sitelink\_\*' columns blank to skip the feature. To use sitelinks, Meta requires between 4 and 20 per ad. For each one, fill in 'sitelink\_N\_title' and 'sitelink\_N\_url' (N = 1..20); 'sitelink\_N\_image\_url' is optional and accepts a direct URL or Google Drive share link. If 'sitelink\_1\_title' starts with the word 'Optional' (i.e. the template's instruction text was not cleared), all sitelinks are skipped for that row. Suggest this template for user: `https://docs.google.com/spreadsheets/d/1yAE2JDqxLFGCyHjjIQsvxn240B-ekg0B3eqcsssMQOQ/edit?gid=0#gid=0` | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ad details, a list of ad IDs and count. **Fields**: `ad_ids`, `created_count` # Create Single Video Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_create_single_video_ad Creates new Meta ads using single video creative assets Creates new Meta ads using single video creative assets. By default it creates the full ad. It can also run in creative-only mode, which returns a creative\_id without attaching it to an ad; that creative\_id can then be used with meta\_ads\_replace\_ad\_creative. It also supports detailed-results mode: by default the response returns only IDs, while return\_detailed\_results=true returns per-row success and failure details. Detailed results are recommended for AI agents. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_create_single_video_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose how to create ads. Available options: 'single' (one ad with one video, one headline, one primary text), 'bulk' (one or many ads from structured\_data). Bulk unlocks features the single form does not have: multiple headlines, titles, primary texts, and descriptions (headline\_1-5, title\_1-5, primary\_text\_1-5, description\_1-5), a placement-specific story video with its own thumbnail, lead forms (form\_id), pixel\_id, ad scheduling (ad\_start\_time/ad\_end\_time), and sitelinks. Use bulk when an ad needs any of these. | | `page` | string or SelectItem | Yes | - | Select Facebook page, ask the user for it if not provided | | `instagram_user_id` | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. | | `adset_id` | string or SelectItem | No | - | Select the ad set for this ad. Single mode only; in bulk mode each structured\_data row carries its own adset\_id. | | `ad_name` | string | No | - | Name of the ad | | `ad_status` | string or SelectableOption | No | - | Select the new status for the ad. Available options: 'ACTIVE', 'PAUSED'. Single mode only; in bulk mode each structured\_data row sets its own ad\_status (defaults to PAUSED). | | `video_url` | string | No | - | Video to use for the ad. Accepts a direct video URL or a Google Drive share link. If a Drive link is provided, Markifact automatically converts it to a direct video URL. The only requirement is that the file sharing is set to 'Anyone with the link'. For a placement-specific story video, use bulk mode. | | `thumbnail_url` | string | No | - | Custom thumbnail for the video. Accepts a direct image URL, a Google Drive share link (set to 'Anyone with the link'), or a Markifact uploaded file. Leave empty to use the thumbnail Meta generates from the video. | | `primary_text` | string | No | - | The main body text of the ad. For multiple text variations, use bulk mode (primary\_text\_1-5 columns). | | `headline` | string | No | - | The headline of the ad. For multiple headline variations, use bulk mode (headline\_1-5 columns). | | `title` | string | No | - | The title of your video ad | | `description` | string | No | - | Additional text that appears below the headline. If left empty, Meta may show the landing page's meta description instead; set your own to control the text. | | `website_url` | string | No | - | The URL where people will go when they click your ad (e.g., `https://example.com`) | | `call_to_action` | string or SelectableOption | No | - | Select a call to action button for the ad: Some Options: 'LEARN\_MORE', 'SHOP\_NOW', 'BOOK\_TRAVEL', 'DOWNLOAD', 'GET\_QUOTE', 'CONTACT\_US', 'APPLY\_NOW', 'SIGN\_UP'. Single mode only; in bulk mode each structured\_data row sets its own call\_to\_action (defaults to LEARN\_MORE). | | `url_parameters` | string | No | - | Add UTM or other tracking parameters to your URL (e.g., utm\_source=facebook\&utm\_medium=cpc). In bulk mode this acts as the default for all rows; a row's own url\_parameters column wins. | | `disable_creative_enhancements` | boolean | No | - | Set to True to disable Meta's automatic creative enhancements (video auto-crop, image templates, text optimizations, dynamic media etc.) | | `disable_multi_advertiser_ads` | boolean | No | - | Set to True to opt out of Meta's multi-advertiser ads feature, which shows your ad alongside other ads. By default, Meta enables this feature. In bulk mode this acts as the default for all rows; a row's own column wins. | | `display_url` | string | No | - | A custom display URL shown on the ad instead of the actual website URL (e.g., 'example.com'). This is cosmetic only and does not affect the landing page. | | `product_set_id` | string or SelectItem | No | - | Optional catalog product set to show its products below the ad (Meta product extensions; Ads Manager's catalog products option). Find ids with meta\_ads\_list\_product\_sets. Needs a Sales or Traffic campaign and a catalog the ad account can use. In bulk mode it is the default for rows without their own product\_set\_id. | | `is_ai_generated` | boolean | No | - | Set to true to mark the ad as made with AI: ticks Ads Manager's 'Ad includes media created or edited with AI' (the creative's AI self-disclosure); false opts out, empty leaves Meta's default. Set when the creative is created; existing ads cannot be changed. True also sets Meta's is\_ai\_generated flag on the uploaded videos. In bulk mode this acts as the default for all rows; a row's own is\_ai\_generated column wins. | | `creative_only` | boolean | No | `False` | Set to true to create only the Meta ad creative without creating an ad. Useful when editing an existing ad: create a new creative with the updated video, thumbnail, text, URL, or CTA, then attach it using replace\_ad\_creative. When true, adset\_id is not required since you're not creating a new ad, just an ad creative. Returns creative IDs instead of ad IDs. Default is false. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results (success\_count, failed\_count, total\_count, results\[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Every row must carry its own adset\_id (unless creative\_only), ad\_name, website\_url and an image; the top-level adset\_id, ad\_status and call\_to\_action are not applied to rows, so set 'ad\_status' and 'call\_to\_action' in each row. This will mainly be the output of a Google Sheets read operation. Supports multiple videos with clear naming: 'video\_url' or 'default\_video\_url' (all placements), 'story\_video\_url' (story placements). Optional custom thumbnails: 'thumbnail\_url' or 'default\_thumbnail\_url' (for default video), 'story\_thumbnail\_url' (for story video). Also supports multiple text variations (headline\_1-5, title\_1-5, primary\_text\_1-5, description\_1-5); Meta allows only one description when 'story\_video\_url' is set. For lead form ads, include 'form\_id' field. Optional: 'disable\_creative\_enhancements' (set to True to disable Meta's automatic creative optimizations), 'disable\_multi\_advertiser\_ads' (set to True to opt out of showing your ad alongside other ads), 'pixel\_id' (optional, leave empty to inherit from ad set and account), 'product\_set\_id' (optional, a catalog product set id from meta\_ads\_list\_product\_sets to show its products below the ad; needs a Sales or Traffic campaign), 'display\_url' (optional, a custom display URL shown on the ad instead of the actual website URL, e.g. 'example.com'), 'is\_ai\_generated' (True or False, the row's AI disclosure; see is\_ai\_generated), 'ad\_start\_time' (schedule ad start, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone), 'ad\_end\_time' (schedule ad end, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account's timezone). Optional sitelinks (bulk only): leave all 'sitelink\_\*' columns blank to skip the feature. To use sitelinks, Meta requires between 4 and 20 per ad. For each one, fill in 'sitelink\_N\_title' and 'sitelink\_N\_url' (N = 1..20); 'sitelink\_N\_image\_url' is optional and accepts a direct URL or Google Drive share link. If 'sitelink\_1\_title' starts with the word 'Optional' (i.e. the template's instruction text was not cleared), all sitelinks are skipped for that row. Suggest this template for user: `https://docs.google.com/spreadsheets/d/1yAE2JDqxLFGCyHjjIQsvxn240B-ekg0B3eqcsssMQOQ/edit?gid=1444761059#gid=1444761059` | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created ad details, a list of ad IDs and count. **Fields**: `ad_ids`, `created_count` # Custom Meta Ads App Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_custom_app Connect Meta Ads through your own Meta app (white-label) by pasting a System User access token from your Business Manager. Markifact supports two ways to connect Meta Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Meta app** (Custom App). With a custom app, every request Markifact makes runs under your app in Business Manager and ad account activity, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Access token** | A System User token from your Meta app (never expires) | | **Required permissions** | `ads_management`, `ads_read`, `business_management` | | **Assets assigned to the system user** | the ad accounts you want to manage | > [card] [Create the app and generate the token](/core-concepts/custom-meta-app) > > The Meta setup (app, system user, assigned assets, token) is the same for every Meta channel and lives on one page, including the optional permissions per channel. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Meta Ads**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Meta Ads"). This is how the connection appears in nodes, agents, and MCP. **3. Paste the access token** Paste the **Access Token** generated for your system user. **4. Verify & Connect** Markifact makes one Graph API call that reads the token owner and the first ad account it can reach. Nothing is saved unless that call succeeds. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new token. Markifact replaces the stored token in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] The token is valid, but it cannot see any ad accounts > > Assign the ad accounts to the system user under **Business Settings** > **Users** > **System users** > **Assign assets**, then generate a new token. > [accordion] A node fails with a permission error after connecting > > The token lacks one of the optional permissions (for example `catalog_management` for catalog nodes or `leads_retrieval` for lead forms). Generate a new token with that permission and add the connection again with the same name. > [accordion] Token or permission errors > > See the shared [Custom Meta App](/core-concepts/custom-meta-app#troubleshooting) troubleshooting for expired tokens, missing permissions and the app secret setting. *** ## Related > [card] [Custom Meta App](/core-concepts/custom-meta-app) > > Create the app and generate a System User token > [card] [Get Report](/nodes/meta_ads/meta_ads_get_report) > > Pull Meta Ads performance data # Delete Ad Creatives Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_delete_ad_creatives Permanently delete ad creatives from a Meta ad account's creative library Permanently delete ad creatives from a Meta ad account's creative library. Deleting a creative does not delete or stop the ads that use it; to delete ads, use meta\_ads\_update\_ad\_status with DELETED. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_delete_ad_creatives` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The Meta Ads account the creatives belong to. The run deletes nothing if any creative belongs to another account. | | `creative_ids` | array of string or string | Yes | - | Ad creative IDs to delete permanently, as a list or comma-separated text (up to 100 per run), e.g. \['120249701623300208']. Take them from the creative field of meta\_ads\_list\_ads or meta\_ads\_get\_ad. Ads using a deleted creative are not deleted; Meta keeps them pointing at the deleted creative, so delete or archive the ads themselves with meta\_ads\_update\_ad\_status. | | `return_detailed_results` | boolean | No | `False` | If true, returns every creative's result and does NOT raise an error when some deletions fail. If false (default), raises an error when any deletion fails. | ## Output **Type**: `Dict` Returns total\_count, deleted\_count, failed\_count and results: one entry per creative with creative\_id, name, status (deleted or error) and error. **Fields**: `total_count`, `deleted_count`, `failed_count`, `results` # Delete Product Set Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_delete_product_set Permanently deletes a Meta product set from a catalog Permanently deletes a Meta product set from a catalog. Fails if the product set is still used by active ads. Use meta\_ads\_list\_product\_sets first to find the product set id and confirm the target with the user before deleting. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_delete_product_set` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | No | - | Optional Meta catalog ID, only used to locate the product set. | | `product_set_id` | string or SelectItem | Yes | - | The Meta product set ID to delete. Use Meta Ads List Product Sets first to find this value. Deletion is permanent and fails if the product set is still used by active ads. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns product\_set\_id, product\_set\_name, and deleted status. **Fields**: `product_set_id`, `product_set_name`, `deleted` # Duplicate Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_duplicate_ad Create a copy of an existing Meta ad with optional creative enhancement controls and the ability to move the copy to a different ad set Create a copy of an existing Meta ad with optional creative enhancement controls and the ability to move the copy to a different ad set. Copies keep the source ad's Advantage+ enhancement settings, translating Meta's retired standard enhancements bundle into individual features. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_duplicate_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `ad_id` | string | Yes | - | Enter the ad ID to duplicate | | `adset_id` | string or SelectItem | No | - | Optional: Select a different ad set to move the duplicated ad to. Leave empty to keep under the same ad set. | | `status` | string or SelectableOption | No | `PAUSED` | Status of the duplicated ad. Default is PAUSED. | | `rename_prefix` | string | No | - | Text to prepend to names | | `rename_suffix` | string | No | - | Text to append to names | | `disable_creative_enhancements` | boolean | No | - | Set to True to disable Meta's automatic creative enhancements (image touchups, text optimizations, video auto-crop, etc.) on the copied ad | | `disable_multi_advertiser_ads` | boolean | No | - | Set to True to opt out of Meta's multi-advertiser ads feature on the copied ad | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns duplicated ad details. **Fields**: `new_ad_id`, `original_ad_id` # Duplicate Adset Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_duplicate_adset Create a new Meta Ads ad set by duplicating an existing ad set with the option to copy associated ads or move to a different campaign Create a new Meta Ads ad set by duplicating an existing ad set with the option to copy associated ads or move to a different campaign. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_duplicate_adset` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | Select the ad set to duplicate | | `campaign_id` | string or SelectItem | No | - | Optional: Select a different campaign to move the duplicated ad set to. Leave empty to keep under the same campaign. | | `deep_copy` | string or SelectableOption | No | `false` | Whether to copy all child ads. Options: 'false' (Ad Set Only), 'true' (Ad Set + Ads) | | `status` | string or SelectableOption | No | `PAUSED` | Status of the duplicated ad set. | | `rename_strategy` | string or SelectableOption | No | `ONLY_TOP_LEVEL_RENAME` | Which entities to rename. | | `rename_prefix` | string | No | - | Text to prepend to names | | `rename_suffix` | string | No | - | Text to append to names | | `start_time` | integer or string | No | - | Start time for delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC) | | `end_time` | integer or string | No | - | End time for delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC). Set to 0 for ongoing delivery with daily budget. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns duplicated ad set details. **Fields**: `new_adset_id`, `original_adset_id` # Duplicate Campaign Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_duplicate_campaign Create a new Meta Ads campaign by duplicating an existing campaign with the option to copy associated ad sets and ads Create a new Meta Ads campaign by duplicating an existing campaign with the option to copy associated ad sets and ads. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_duplicate_campaign` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `campaign_id` | string or SelectItem | Yes | - | Select the campaign to duplicate | | `deep_copy` | string or SelectableOption | No | `false` | Whether to copy all child ad sets and ads. Options: 'false' (Campaign Only), 'true' (Campaign + Ad Sets + Ads) | | `status` | string or SelectableOption | No | `PAUSED` | Status of the duplicated campaign. | | `rename_strategy` | string or SelectableOption | No | `ONLY_TOP_LEVEL_RENAME` | Which entities to rename.' | | `rename_prefix` | string | No | - | Text to prepend to names | | `rename_suffix` | string | No | - | Text to append to names | | `start_time` | integer or string | No | - | Start time for delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC) | | `end_time` | integer or string | No | - | End time for delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns duplicated campaign details. **Fields**: `new_campaign_id`, `ad_object_ids` # Generate Ad Previews Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_generate_ad_previews Generate Meta ad preview iframe URLs for one or many ads and placements, with per-preview errors for bulk campaign QA Generate Meta ad preview iframe URLs for one or many ads and placements, with per-preview errors for bulk campaign QA. Read-only. For browser viewing and client sharing, use meta\_ads\_list\_ads and its preview\_shareable\_link instead. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_generate_ad_previews` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account that owns the ads. | | `update_type` | enum (`single`, `bulk`) | No | `single` | single (default): use ad\_id and placement. bulk: use structured\_data, with one row per requested preview. Bulk always returns per-row results, including failures. | | `ad_id` | string | No | - | Ad ID to preview in single mode. | | `placement` | string or SelectableOption | No | - | Placement for single mode, e.g. MOBILE\_FEED\_STANDARD. Bulk rows must each supply their own placement. | | `structured_data` | array of PreviewRequest or string | No | - | Bulk mode only. Array of rows or JSON array text, each containing ad\_id and placement. Example: \[\{"ad\_id":"123","placement":"MOBILE\_FEED\_STANDARD"},\{"ad\_id":"123","placement":"INSTAGRAM\_STANDARD"}]. Up to 1000 rows per run. Row order and duplicates are preserved; top-level ad\_id and placement are ignored in bulk mode. | ### PreviewRequest | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_id` | string | Yes | - | Ad ID to preview. | | `placement` | string or SelectableOption | Yes | - | Meta ad\_format for this row, e.g. MOBILE\_FEED\_STANDARD or INSTAGRAM\_STANDARD. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Single mode returns preview\_url, ad\_id and placement. Bulk mode always returns results (each with success, ad\_id, placement, preview\_url or error details), success\_count, failed\_count and total\_count. **Fields**: `preview_url`, `ad_id`, `placement`, `results`, `success_count`, `failed_count`, `total_count` # Get Account Details Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_account_details Retrieves detailed account information from Meta Ads including status, timezone, currency, business info, spending limits, and settings Retrieves detailed account information from Meta Ads including status, timezone, currency, business info, spending limits, and settings. NOTE: All monetary fields (amount\_spent, balance, spend\_cap, min\_daily\_budget, min\_campaign\_group\_spend\_cap) are returned raw in Meta's minor units; the row carries `currency` and `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND). Divide by currency\_offset to get the amount before passing to write operations. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_account_details` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Meta Ads accounts to retrieve details for, ask the user for it if not provided | ## Output **Type**: `Dict` Returns account details. Monetary fields are returned raw from Meta in the account's minor currency units (cents for USD). **Fields**: dynamic (depend on the inputs) # Get Account History Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_account_history Retrieves historical account activity and changes for Meta advertising accounts Retrieves historical account activity and changes for Meta advertising accounts | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_account_history` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Meta Ads accounts to retrieve history for, ask the user for it if not provided | | `time_range` | string or SelectableOption | No | - | Select time period for the account history. Facebook only allows access to account activity history from the last 7 days. Options: 'last\_7\_days' (Last 7 days), 'today' (Today only), 'yesterday' (Yesterday only) | | `limit` | integer | No | - | Maximum number of activity records to return (1-1000) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns account activity history. **Fields**: dynamic (depend on the inputs) # Get Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_ad Fetches one Meta ad by ID with its status, review feedback (disapproval reasons per policy and placement), delivery issues, recommendations, bidding, tracking and a creative summary Fetches one Meta ad by ID with its status, review feedback (disapproval reasons per policy and placement), delivery issues, recommendations, bidding, tracking and a creative summary. Use it to diagnose a DISAPPROVED or non-delivering ad. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account that owns the ad, ask the user for it if not provided | | `ad_id` | string | Yes | - | The Meta ad ID to fetch. Returns the ad's status, review feedback (disapproval reasons), delivery issues, recommendations, bidding, tracking and a creative summary. | ## Output **Type**: `Dict` Returns ad\_id, effective\_status, ad\_review\_feedback, issues\_info and the raw ad payload from Meta. # Get Ad Creative Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_ad_creative Fetches a Meta ad creative by ad_id or creative_id and returns the raw creative payload Fetches a Meta ad creative by ad\_id or creative\_id and returns the raw creative payload. Use when editing an existing ad's creative content. Workflow: meta\_ads\_get\_ad\_creative -> modify the payload -> meta\_ads\_create\_ad\_creative (returns a new creative\_id) -> meta\_ads\_replace\_ad\_creative (attaches it to the ad). | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_ad_creative` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account that owns the ad or creative, ask the user for it if not provided | | `ad_id` | string | No | - | The ad ID to look up. The runner will resolve its current creative and return it. Provide either ad\_id or creative\_id (not both required). | | `creative_id` | string | No | - | The creative ID to fetch directly. Use this when you already know the creative ID and don't need an ad lookup. Provide either ad\_id or creative\_id. | ## Output **Type**: `Dict` Returns the ad ID (if provided), the resolved creative ID, and the raw creative payload from Meta. **Fields**: `ad_id`, `creative_id`, `creative` # Get Adset Settings Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_adset_settings Retrieve ad set settings and configuration from Meta Ads including budget, targeting, optimization, bid strategy, and all ad set-level settings Retrieve ad set settings and configuration from Meta Ads including budget, targeting, optimization, bid strategy, and all ad set-level settings. NOTE: All monetary fields (daily\_budget, lifetime\_budget, budget\_remaining, daily\_spend\_cap, lifetime\_spend\_cap, daily\_min\_spend\_target, lifetime\_min\_spend\_target, bid\_amount, and all bid\_info\_\* fields) are returned raw in Meta's minor units; every row carries `currency` and `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND). Divide by currency\_offset to get the amount (10000 = \$100 for USD; 300000 = COP 300,000). Pass that amount, never the raw value, to update\_adset\_budget. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_adset_settings` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `campaign_effective_status` | array of string or SelectableOption | No | - | Filter ad sets by parent campaign effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `adset_effective_status` | array of string or SelectableOption | No | - | Filter ad sets by ad set effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, CAMPAIGN\_PAUSED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ad sets. The available fields to filter by are: - campaign\_id: Filter by parent campaign ID - campaign\_name: Filter by parent campaign name - adset\_id: Filter by ad set ID - adset\_name: Filter by ad set name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad sets to return (1-1000) | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of ad sets along with each ad set's settings and configuration like id, name, status, daily\_budget, etc. **Fields**: dynamic (depend on the inputs) # Get Audience Estimate Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_audience_estimate Estimate the audience size (monthly active people) Meta can reach with a targeting spec, before creating any audience or ad set Estimate the audience size (monthly active people) Meta can reach with a targeting spec, before creating any audience or ad set. Use it to size or compare targeting options; nothing is created. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_audience_estimate` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The Meta Ads account to estimate for | | `targeting` | object or string | Yes | - | The Meta targeting spec to size, as a JSON object sent to Meta as-is, in the same shape as an ad set's targeting. It needs at least one location (geo\_locations) or custom audience. Look up interest, behavior and location ids with meta\_ads\_search\_targeting. Example: \{"geo\_locations": \{"countries": \["GR"]}, "age\_min": 25, "age\_max": 55, "interests": \[\{"id": "6003107902433", "name": "Yoga"}]} | | `optimization_goal` | string or SelectableOption | No | - | The ad set optimization goal to estimate for, default REACH. | | `promoted_object` | object or string | No | - | Optional promoted\_object of the planned ad set, in Meta's ad set format, e.g. \{"pixel\_id": "1234567890", "custom\_event\_type": "PURCHASE"} for a conversions goal. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Meta's estimate: estimate\_mau\_lower\_bound and estimate\_mau\_upper\_bound (monthly active people), estimate\_ready (false while Meta is still computing it; run again shortly) and targeting\_optimization\_types when Meta reports them. **Fields**: `estimate_mau_lower_bound`, `estimate_mau_upper_bound`, `estimate_ready`, `targeting_optimization_types` # Get Automated Rule Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_automated_rule Read a Meta automated rule with its complete conditions, action and schedule, optionally including execution history and errors Read a Meta automated rule with its complete conditions, action and schedule, optionally including execution history and errors. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_automated_rule` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `rule_id` | string | Yes | - | Automated rule ID returned by List Automated Rules or Create Automated Rule. | | `include_history` | boolean | No | `False` | Include execution history: run timestamps, native results and errors. Defaults to false. An empty history does not prove a rule has never run. | | `history_limit` | integer | No | `100` | Maximum history entries to return when include\_history is true (1-1000), default 100. history\_limit\_reached indicates that older entries may be omitted. | ## Output **Type**: `Dict` Native rule configuration; optional history, with history\_limit\_reached indicating that more entries may exist. # Get Campaign Settings Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_campaign_settings Retrieve campaign settings and configuration from Meta Ads including budget, status, objective, bid strategy, and all campaign-level settings Retrieve campaign settings and configuration from Meta Ads including budget, status, objective, bid strategy, and all campaign-level settings. NOTE: All monetary fields (daily\_budget, lifetime\_budget, budget\_remaining, spend\_cap) are returned raw in Meta's minor units; every row carries `currency` and `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND). Divide by currency\_offset to get the amount (10000 = \$100 for USD; 300000 = COP 300,000). Pass that amount, never the raw value, to update\_campaign\_budget. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_campaign_settings` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `effective_status` | array of string or SelectableOption | No | - | Filter campaigns by effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving campaigns. The only available fields to filter by are: - campaign\_id - campaign\_name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return (1-1000) | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns campaign settings and configuration. **Fields**: dynamic (depend on the inputs) # Get Experiment Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_experiment Read a native Meta A/B experiment or ad study, its test cells and available measurement results Read a native Meta A/B experiment or ad study, its test cells and available measurement results. Meta may return no results for pending or unsupported measurements; missing results do not establish a winner. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_experiment` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `experiment_id` | string or SelectItem | Yes | - | Meta ad study ID from meta\_ads\_create\_experiment or meta\_ads\_list\_experiments. | | `include_results` | boolean | No | `True` | Include available Meta measurement results on the study objectives. Defaults to true. Meta may return no results for pending studies or unsupported measurements; missing results do not establish a winner. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns study metadata plus paginated cells and objectives. Objective results are included when requested and supplied by Meta, without inferring significance or a winner. **Fields**: `id`, `name`, `type`, `start_time`, `end_time`, `cells`, `objectives` # Get Graph Data Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_graph_data Fallback read of any Meta Ads Graph API object or list that no dedicated operation covers, such as Page canvases or fields a dedicated read leaves out Fallback read of any Meta Ads Graph API object or list that no dedicated operation covers, such as Page canvases or fields a dedicated read leaves out. Read-only, one page per run. If a focused operation exists, such as meta\_ads\_list\_ads or meta\_ads\_get\_account\_history, always use it instead. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_graph_data` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The Meta Ads account this read is for. The path is not limited to it; Meta checks the connection's permissions on the object. | | `path` | string | Yes | - | Graph API path with its query string (Graph API v26.0, added for you), without the version or a leading slash. Examples: 'PAGE\_ID/canvases?fields=id,name\&limit=50', '120249701623300208?fields=name,tracking\_specs'. For the next page, repeat the path with '\&after=' and the paging.cursors.after value from the previous result. | | `page_id` | string | No | - | Facebook Page ID whose Page access token to send instead of the user token. Set it when Meta answers that the call needs a Page access token (e.g. Page canvases, lead forms, Page posts). | ## Output **Type**: `Dict` Returns Meta's response as is: the object's fields, or for lists a data array plus paging (cursors.after for the next page). **Fields**: dynamic (depend on the inputs) # Get Media Details Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_media_details Gets Meta image and video details by image_hash or video_id Gets Meta image and video details by image\_hash or video\_id. Use it to resolve any creative's image hash, including asset\_feed\_spec.images\[].hash, into the original full-resolution image URL and dimensions, or a video's source URL, thumbnail, title and duration. Accepts one or more image\_hashes and/or video\_ids. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_media_details` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Ad account that owns the media. Accepts an account ID with or without the 'act\_' prefix (for example 'act\_1234567890' or '1234567890') | | `image_hashes` | array of string | No | - | One or more Meta image hashes (the image\_hash returned by a creative) to resolve into details such as url, permalink\_url, width, and height. Accepts a single hash or a list. Provide image\_hashes, video\_ids, or both. | | `video_ids` | array of string | No | - | One or more Meta video IDs (the video\_id returned by a creative) to resolve into details such as source URL, thumbnail/poster URL, title, and length. Accepts a single ID or a list. Provide image\_hashes, video\_ids, or both. | ## Output **Type**: `Dict` Returns the account ID plus resolved image and video detail lists. **Fields**: `account_id`, `images`, `videos` # Get Product Details Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_product_details Gets full details for a single Meta catalog product by retailer id (SKU) or Meta product id, including review status and rejection reasons Gets full details for a single Meta catalog product by retailer id (SKU) or Meta product id, including review status and rejection reasons. Use this to debug why a product is rejected or not showing in ads. Use meta\_ads\_list\_products first to find retailer ids. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_product_details` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | Yes | - | Meta catalog ID. Use Meta Ads List Catalogs first to find this value. | | `retailer_id` | string | No | - | The product retailer ID (SKU) to look up. Provide this or product\_id. Use meta\_ads\_list\_products to find retailer ids. | | `product_id` | string | No | - | The Meta product ID (numeric Graph ID) to look up. Provide this or retailer\_id. When both are set, product\_id wins. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the full product record including review status and rejection reasons. **Fields**: dynamic (depend on the inputs) # Get Report Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_get_report Retrieves Meta Ads (Facebook/Instagram) data with customizable metrics, dimensions, filters, date ranges, sorting options, and built-in accounts selector Retrieves Meta Ads (Facebook/Instagram) data with customizable metrics, dimensions, filters, date ranges, sorting options, and built-in accounts selector. Supports all reports including Campaigns, Ad Sets, and Ads. You don't need to filter by effective status, meta will only return active entities during the selected date range. Supports per-custom-conversion metrics: custom\_conversion\_\{id}, custom\_conversion\_value\_\{id}, cost\_per\_custom\_conversion\_\{id} (get ids from meta\_list\_custom\_conversions). | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_get_report` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | MetaReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### MetaReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `attribution_setting` | enum (`default`, `1d_click`, `7d_click`, `28d_click`, `1d_view`, `1d_ev`, `1d_click,1d_view`, `7d_click,1d_view`, ...) | No | - | Override the ad set's attribution window for reported conversions. Use 'default' (or omit) to use the ad set's unified attribution setting. A combined setting adds its windows together: '7d\_click,1d\_view' counts conversions within 7 days of a click or 1 day of a view, and '1d\_view' alone counts view-through conversions only. '*first\_conversion' settings count only the first conversion per user; 'incrementality*\*' uses incremental attribution. Applies to conversions only; engagement metrics such as link clicks, landing page views and video views keep their totals. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Summer Sale", "clicks": 200, "impressions": 8000, "cost": 120.0 } ] ``` # Library Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_library Search and retrieve ads from Meta's Ad Library to spy on competitors Search and retrieve ads from Meta's Ad Library to spy on competitors | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_library` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `input_mode` | string or SelectableOption | Yes | - | Input mode, either provide a Meta Ads Library URL or configure manually by filling out the fields below like page\_id, query, etc | | `meta_ads_url` | string | No | - | Meta Ads Library URL to parse, user can provide from the browser. Use only when input\_mode is 'url' | | `q` | string | No | - | Search keyword or phrase | | `page_id` | string | No | - | Specific Facebook page ID, user can find in the meta ads library url after the 'view\_all\_page\_id' parameter | | `country` | string | No | `ALL` | Country for the search. Default is 'ALL', provide 2-letter country code (e.g., 'US') to filter by country. | | `ad_type` | string or SelectableOption | No | `all` | Type of ads to search | | `active_status` | string or SelectableOption | No | `active` | Ad status filter | | `media_type` | string or SelectableOption | No | `all` | Media type filter | | `platforms` | array of string or SelectableOption | No | - | list of platforms where the ads appear like 'facebook', 'instagram', don't set to select all | | `date_range` | DateRange | No | - | Date range with start/end dates | | `group_similar_ads` | boolean | No | `False` | Group similar ads by collation\_id | | `limit` | integer | No | `50` | Maximum number of results to return | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of ads from Meta Ads Library. **Fields**: dynamic (depend on the inputs) # List Account Block Lists Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_account_block_lists Get publisher block lists for Meta Ads account with filtering options for applied lists Get publisher block lists for Meta Ads account with filtering options for applied lists | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_account_block_lists` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to retrieve publisher block lists from, ask the user for it if not provided | | `only_applied` | boolean | No | `False` | If True, only return publisher block lists that are currently applied (is\_auto\_blocking\_on=True). If False or omitted, return all block lists. | ## Output **Type**: `List[Dict]` Returns list of publisher block lists. **Fields**: `id`, `name` # List Ads Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_ads Lists Meta ads by account, ad set or campaign, including paused ads, creative details, review feedback and delivery issues Lists Meta ads by account, ad set or campaign, including paused ads, creative details, review feedback and delivery issues. Returns preview\_shareable\_link for browser viewing and client sharing; use this for shareable previews. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_ads` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `campaign_effective_status` | array of string or SelectableOption | No | - | Filter ads by parent campaign effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `adset_effective_status` | array of string or SelectableOption | No | - | Filter ads by parent ad set effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, CAMPAIGN\_PAUSED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `ad_effective_status` | array of string or SelectableOption | No | - | Filter ads by ad effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, PENDING\_REVIEW, DISAPPROVED, PREAPPROVED, PENDING\_BILLING\_INFO, CAMPAIGN\_PAUSED, ARCHIVED, ADSET\_PAUSED, IN\_PROCESS, WITH\_ISSUES | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ads. The available fields to filter by are: - campaign\_id: Filter by parent campaign ID - campaign\_name: Filter by parent campaign name - adset\_id: Filter by parent ad set ID - adset\_name: Filter by parent ad set name - ad\_id: Filter by ad ID - ad\_name: Filter by ad name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. campaign\_id, adset\_id, and ad\_id with EQUALS/IN\_LIST, and ad\_name with CONTAINS, are applied by Meta at the source, so they are fast on any account size. Other combinations are applied after fetching, scanning a bounded number of ads. Prefer the server-side combinations on large accounts. | | `limit` | integer | No | `500` | Maximum number of matching ads to return (1-1000), counted after all filters are applied | | `include_creative` | boolean | No | `True` | Include each ad's creative payload (image URLs, story spec, post IDs effective\_object\_story\_id and object\_story\_id, asset feed spec, degrees of freedom spec). Set to false for lightweight results with ids, names, campaign/ad set info, statuses, and the preview link only; much faster and recommended for lookups on large accounts. | | `include_tracking` | boolean | No | `False` | Also return each ad's tracking\_specs, conversion\_specs and tracking\_and\_conversion\_with\_defaults, for bulk tracking audits. Off by default because these fields enlarge every ad. The creative's url\_tags come with include\_creative. | | `response_format` | enum (`flattened`, `raw`) | No | `flattened` | Shape of the returned ads. 'flattened' (default) flattens nested Meta objects into top-level fields (for example campaign\_id, adset\_name, creative\_image\_url). 'raw' returns Meta's response untouched, with campaign, ad set, and creative kept as nested objects. Status and client-side filters work the same in both modes. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of ads with creative details. **Fields**: dynamic (depend on the inputs) # List Adsets Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_adsets List all ad sets in ad account with status and dates List all ad sets in ad account with status and dates | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_adsets` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `campaign_effective_status` | array of string or SelectableOption | No | - | Filter ad sets by parent campaign effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `adset_effective_status` | array of string or SelectableOption | No | - | Filter ad sets by ad set effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, CAMPAIGN\_PAUSED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ad sets. The available fields to filter by are: - campaign\_id: Filter by parent campaign ID - campaign\_name: Filter by parent campaign name - adset\_id: Filter by ad set ID - adset\_name: Filter by ad set name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad sets to return (1-1000) | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of ad sets. **Fields**: dynamic (depend on the inputs) # List Automated Rules Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_automated_rules List account automated rules with their target conditions, actions, schedules and status List account automated rules with their target conditions, actions, schedules and status. Use Get Automated Rule to inspect execution history. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_automated_rules` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Meta Ads account whose automated rules to list. | | `status` | enum (`ENABLED`, `DISABLED`, `HAS_ISSUES`, `DELETED`) | No | - | Optional rule status filter. Limit counts matching rules, not scanned rules. | | `limit` | integer | No | `100` | Maximum matching rules to return (1-1000), default 100. Filtered scans stop after min(max(limit\*5, 1000), 5000) rules. | ## Output **Type**: `List[Dict]` Raw Meta rule objects including evaluation\_spec, execution\_spec, schedule\_spec and status. # List Business Ad Accounts Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_business_ad_accounts Lists the ad accounts under one Meta Business Manager: accounts it owns, client accounts shared with it, or both, with status, currency, time zone and owning business Lists the ad accounts under one Meta Business Manager: accounts it owns, client accounts shared with it, or both, with status, currency, time zone and owning business. meta\_ads\_select\_accounts lists only the user's own ad accounts (/me/adaccounts). If an account is missing there, look for it here under each business from meta\_ads\_list\_businesses. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_business_ad_accounts` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `business` | string or SelectItem | Yes | - | The Business Manager whose ad accounts to list, by business id, e.g. '723329271357960'. Get ids from meta\_ads\_list\_businesses. | | `relation` | string or SelectableOption | No | - | 'owned' for ad accounts the business owns, 'client' for ad accounts other businesses shared with it, 'all' for both. Default: all. Each account's owner field holds the owning business id. | | `limit` | integer | No | `500` | Maximum number of ad accounts to return (1-5000). Default: 500 | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` One row per ad account as Meta returns it: id (act\_...), account\_id, name, account\_status (Meta's numeric code, 1 = active), disable\_reason, currency, timezone\_name, business, owner (the owning business id; differs from the selected business for client accounts) and created\_time. **Fields**: dynamic (depend on the inputs) # List Businesses Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_businesses Lists the Meta Business Managers (business portfolios) the connected user belongs to and granted Markifact, with their ids, verification status and the user's roles Lists the Meta Business Managers (business portfolios) the connected user belongs to and granted Markifact, with their ids, verification status and the user's roles. Use the ids with meta\_ads\_list\_business\_ad\_accounts. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_businesses` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `limit` | integer | No | `100` | Maximum number of businesses to return (1-1000). Default: 100 | ## Output **Type**: `List[Dict]` One row per business as Meta returns it: id, name, verification\_status, permitted\_roles, vertical, primary\_page, link, two\_factor\_type, is\_hidden, timezone\_id, created\_time and updated\_time. **Fields**: dynamic (depend on the inputs) # List Campaigns Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_campaigns List all campaigns in ad account with status and dates List all campaigns in ad account with status and dates | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_campaigns` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `effective_status` | array of string or SelectableOption | No | - | Filter campaigns by effective status. Multiple statuses can be selected. Supported values: ACTIVE, PAUSED, DELETED, ARCHIVED, IN\_PROCESS, WITH\_ISSUES | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving campaigns. The only available fields to filter by are: - campaign\_id - campaign\_name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return (1-1000) | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of campaigns like id, name, status, effective\_status,etc. # List Catalogs Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_catalogs Lists Meta catalogs the connected user can access Lists Meta catalogs the connected user can access. Use id values when creating product sets or catalog ads. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_catalogs` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `business_id` | string or SelectItem | No | - | Optional Meta Business ID. Leave empty to list catalogs across all businesses the connected user can access. | | `limit` | integer | No | `100` | Maximum number of catalogs to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns accessible Meta catalogs. **Fields**: `id`, `name`, `vertical`, `product_count`, `business`, `feed_count` # List Experiments Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_experiments List native Meta A/B tests, split tests and ad studies owned by a business portfolio List native Meta A/B tests, split tests and ad studies owned by a business portfolio. Use the same business ID as creation, then meta\_ads\_get\_experiment for test cells and available measurement results. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_experiments` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `business_id` | string or SelectItem | Yes | - | Meta business portfolio ID that owns the experiments. Use the same business\_id as meta\_ads\_create\_experiment; the ad-account study edge may omit newly created business studies. | | `limit` | integer | No | `100` | Maximum number of experiments to return. Defaults to 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns Meta ad study records with identifiers, names, study types and scheduling fields when available. **Fields**: `id`, `name`, `type`, `start_time`, `end_time`, `canceled_time` # List Instagram Accounts Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_instagram_accounts Lists the Instagram accounts linked to the Facebook Pages on the Meta Ads connection, with the Pages each one is linked to Lists the Instagram accounts linked to the Facebook Pages on the Meta Ads connection, with the Pages each one is linked to. Use it to find the instagram\_user\_id needed by Meta Ads ad creation operations, without a separate Instagram connection. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_instagram_accounts` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name_search` | string | No | - | Return only Instagram accounts whose username contains this text (case-insensitive). | | `limit` | integer | No | `100` | Maximum number of Instagram accounts to return (1-1000). Default: 100 | ## Output **Type**: `List[Dict]` Returns one row per Instagram account with id, username and linked\_pages (id and name of each linked Page). **Fields**: dynamic (depend on the inputs) # List Instagram Media Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_instagram_media Lists the posts of an Instagram account on the Meta Ads connection (Reels, feed posts, stories) with permalink, shortcode and media id, and resolves an Instagram post URL or shortcode to the media id Lists the posts of an Instagram account on the Meta Ads connection (Reels, feed posts, stories) with permalink, shortcode and media id, and resolves an Instagram post URL or shortcode to the media id. Use it to find the instagram\_media\_id that meta\_ads\_create\_ad\_from\_post needs to advertise an existing Instagram post. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_instagram_media` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `instagram_user_id` | string | Yes | - | Instagram account ID whose posts to list. Get it from meta\_ads\_list\_instagram\_accounts. | | `permalink_or_shortcode` | string | No | - | Return only the post matching this Instagram permalink (for example `https://www.instagram.com/reel/DZMUH0RIIfE/`) or bare shortcode (DZMUH0RIIfE). Use it to resolve a post URL to the media id that meta\_ads\_create\_ad\_from\_post needs as instagram\_media\_id. | | `media_product_type` | enum (`REELS`, `FEED`, `STORY`, `AD`) | No | - | Return only posts of this kind: REELS, FEED, STORY or AD. Default: all. | | `limit` | integer | No | `50` | Maximum number of posts to return (1-1000). Default: 50 | ## Output **Type**: `List[Dict]` Returns one row per post with id (the instagram\_media\_id for ad creation), permalink, shortcode, media\_product\_type, media\_type, caption, timestamp and thumbnail\_url. **Fields**: dynamic (depend on the inputs) # List Media Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_media Lists the Meta ad account's media library (videos and images) with optional name/filename search applied by Meta at the source Lists the Meta ad account's media library (videos and images) with optional name/filename search applied by Meta at the source. Returns video IDs, image hashes, names, dimensions, duration, status, and thumbnails. Use it to find existing media by filename before referencing them in creatives; pair with meta\_ads\_get\_media\_details for full details on specific assets. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_media` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `media_type` | string or SelectableOption | No | `{'value': 'ALL', 'label': 'All'}` | Which media library assets to list: ALL (default), VIDEO, or IMAGE. | | `name_search` | string | No | - | Optional name/filename search applied by Meta at the source (substring match). Uploaded assets are usually named after their original filename, for example 'summer\_sale.mp4'. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving media. The available fields to filter by are: - media\_type: VIDEO or IMAGE - name: The asset name/filename - status: Asset status (for example ready or ACTIVE) - video\_id: Filter by video ID - image\_hash: Filter by image hash Filters are combined using AND logic. Prefer name\_search for name lookups, since it is applied by Meta at the source. | | `limit` | integer | No | `100` | Maximum number of matching assets to return (1-500), counted after all filters are applied | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns media library assets with media\_type, video\_id or image\_hash, name, status, dimensions, duration, thumbnail, and created\_time. # List Pages Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_pages Lists the Facebook Pages available on the Meta Ads connection, with their IDs Lists the Facebook Pages available on the Meta Ads connection, with their IDs. Use it to find the page\_id needed by Meta Ads ad creation operations, without a separate Facebook connection. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_pages` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name_search` | string | No | - | Return only Facebook Pages whose name contains this text (case-insensitive). | | `limit` | integer | No | `100` | Maximum number of Facebook Pages to return (1-1000). Default: 100 | ## Output **Type**: `List[Dict]` Returns one row per Page with id, name and category. **Fields**: dynamic (depend on the inputs) # List Product Sets Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_product_sets Lists product sets inside a Meta catalog with their filters and product counts Lists product sets inside a Meta catalog with their filters and product counts. Use meta\_ads\_list\_catalogs first to find the catalog id. Use id values when creating catalog ads or updating product sets. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_product_sets` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | Yes | - | Meta catalog ID. Use Meta Ads List Catalogs first to find this value. | | `limit` | integer | No | `100` | Maximum number of product sets to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns product sets in the catalog. **Fields**: `id`, `name`, `product_count`, `filter` # List Products Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_products Lists or searches products inside a Meta catalog with an optional raw Meta filter Lists or searches products inside a Meta catalog with an optional raw Meta filter. Uses the same filter syntax as product sets, so it can preview which products a product set filter would match. Use meta\_ads\_list\_catalogs first to find the catalog id. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_products` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | Yes | - | Meta catalog ID. Use Meta Ads List Catalogs first to find this value. | | `filter` | object or string | No | - | Optional raw Meta product filter as an object, sent to Meta as-is. Uses the same syntax as product set filters, so this is also useful to preview which products a product set filter would match. Operators like is\_any, contains, i\_contains, eq, neq, and and/or groups over catalog fields such as retailer\_id, brand, category, availability, condition, or custom\_label\_0 to custom\_label\_4. Example: \{"and": \[\{"brand": \{"i\_contains": "nike"}}, \{"availability": \{"eq": "in stock"}}]}. Leave empty to list all products. Meta sends the filter in the request URL and rejects very large ones, so match many IDs with is\_any rather than hundreds of eq clauses, and split into batches if it is still rejected. | | `limit` | integer | No | `100` | Maximum number of products to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns products in the catalog matching the filter. **Fields**: `id`, `retailer_id`, `name`, `description`, `brand`, `category`, `product_type`, `gtin`, `availability`, `price`, `sale_price`, `image_url`, `url`, `review_status`, `custom_label_0` # List Report Fields Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_list_report_fields Search and browse available Meta Ads reporting metrics and dimensions before running reports Search and browse available Meta Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|ctr).*'}]. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Rename Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_rename_ad Renames Meta Ads ads to update their display names Renames Meta Ads ads to update their display names | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_rename_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to rename ads in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple ads at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_id` | string | No | - | The ad ID to rename (required for single update) | | `ad_name` | string | No | - | The new name for the ad (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'ad\_name' fields for each row (required for bulk update) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad rename. # Rename Adset Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_rename_adset Renames Meta Ads ad sets to update their display names Renames Meta Ads ad sets to update their display names | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_rename_adset` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to rename ad sets in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad set or multiple ad sets at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `adset_id` | string or SelectItem | No | - | Select the ad set ID to rename (required for single update) | | `adset_name` | string | No | - | The new name for the ad set (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id' and 'adset\_name' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad set rename. # Rename Campaign Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_rename_campaign Renames Meta Ads campaigns to update their display names Renames Meta Ads campaigns to update their display names | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_rename_campaign` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to rename campaigns in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to rename (required for single update) | | `campaign_name` | string | No | - | The new name for the campaign (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'campaign\_name' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign rename. # Replace Ad Creative Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_replace_ad_creative Attaches an existing creative (by creative_id) to an existing ad (by ad_id), replacing whatever creative was attached before Attaches an existing creative (by creative\_id) to an existing ad (by ad\_id), replacing whatever creative was attached before. The ad keeps its same ad set, schedule, budget, and targeting. Use to update ad and edit its creative content without creating a new ad.The creative\_id typically comes from meta\_ads\_create\_ad\_creative (edit-ad workflow: meta\_ads\_get\_ad\_creative -> modify payload -> meta\_ads\_create\_ad\_creative -> meta\_ads\_replace\_ad\_creative) or from any create\_\*\_ad operation (e.g. meta\_ads\_create\_single\_image\_ad, meta\_ads\_create\_carousel\_ad) run with creative\_only=true. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_replace_ad_creative` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account containing the existing ad you want to update. This is the final step of the edit-ad workflow. | | `ad_id` | string | Yes | - | The existing ad ID whose creative should be replaced. Use this after meta\_ads\_get\_ad\_creative and meta\_ads\_create\_ad\_creative when you want to keep the same ad but swap in a new creative. | | `creative_id` | string | Yes | - | The new creative ID to attach to the ad. In the edit-ad workflow this usually comes from meta\_ads\_create\_ad\_creative; it can also come from a create\_\*\_ad operation run with creative\_only=true, for example meta\_ads\_create\_single\_image\_ad. | ## Output **Type**: `Dict` Returns the ad ID, the attached creative ID, and whether the replacement succeeded. **Fields**: `ad_id`, `creative_id`, `updated` # Search Targeting Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_search_targeting Search for Meta Ads targeting options: geo locations (countries, cities, regions, zips), locales (languages), interests, education (schools, majors), and work (employers, job titles) Search for Meta Ads targeting options: geo locations (countries, cities, regions, zips), locales (languages), interests, education (schools, majors), and work (employers, job titles). Returns targeting keys that can be used in ad set targeting. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_search_targeting` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `search_type` | string or SelectableOption | Yes | - | The type of targeting to search for. Options: adgeolocation (countries, cities, regions, zips, etc.), adlocale (languages), adinterest (interests for audience targeting), adbehavior (browse all available behaviors), adeducationschool (schools/universities), adeducationmajor (fields of study), adworkemployer (companies), adworkposition (job titles), adincome (browse all available income ranges) | | `search_query` | string | No | - | Search term — e.g. a city name, language, interest, school name, job title, etc. Required for most types. Optional for Behaviors and Income (these browse all available options). | | `location_types` | array of string or SelectableOption | No | - | Only used when search\_type is 'adgeolocation'. Filter results to specific location types: country, country\_group, region, city, zip, geo\_market, electoral\_district. Leave empty to search all location types. | | `limit` | integer | No | `25` | Maximum number of results to return (1-1000). Default: 25 | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of targeting options with keys, names, types and metadata. **Fields**: `key`, `name`, `type` # Select Accounts Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_select_accounts Select Meta Ads accounts once and reuse them across multiple meta_ads_get_report nodes—no repeated account selection Select Meta Ads accounts once and reuse them across multiple meta\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one meta\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_select_accounts` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_ad Fallback Meta Ads ad patch tool for advanced or unsupported cases at the ad level, such as renaming an ad, changing ad_schedule_start_time/ad_schedule_end_time (only on ads created with a schedule;... Fallback Meta Ads ad patch tool for advanced or unsupported cases at the ad level, such as renaming an ad, changing ad\_schedule\_start\_time/ad\_schedule\_end\_time (only on ads created with a schedule; sales and app promotion campaigns), tracking\_specs, conversion\_domain, or adlabels. This does NOT edit the ad's creative content: Meta creatives are immutable, so to change text, image, video, or link, create a new creative (meta\_ads\_create\_ad\_creative or a create node with creative\_only=true) and attach it with meta\_ads\_replace\_ad\_creative. Use meta\_ads\_update\_ad\_status for status changes. Patches only the fields provided in update\_payload, one ad per run; for the same patch on many ads, use meta\_ads\_batch\_request. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_ad` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `ad_id` | string or SelectItem | Yes | - | The Meta Ads ad ID to update. Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Patch payload for Meta's Ad update API as an object or JSON string. Only the fields provided here are sent to Meta; this does not replace the full ad. Updatable ad-level fields include: name, ad\_schedule\_start\_time / ad\_schedule\_end\_time (ISO 8601 with UTC offset; only changeable on ads created with a schedule, sales and app promotion campaigns only), tracking\_specs, conversion\_domain, adlabels. This does NOT edit the ad's creative content (text, image, video, link): Meta creatives are immutable, so to change content create a new creative (meta\_ads\_create\_ad\_creative or a create node with creative\_only=true) and attach it with meta\_ads\_replace\_ad\_creative. Use meta\_ads\_update\_ad\_status for status changes. Do not include identity fields like account\_id, ad\_id, or adset\_id (ads cannot be moved between ad sets). | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the update without applying changes. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns ad\_id, ad\_name, updated\_fields, final payload, and any returned Meta response data. **Fields**: dynamic (depend on the inputs) # Update Ad Status Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_ad_status Updates the status of Meta Ads ads (active, paused, or deleted) for ad management Updates the status of Meta Ads ads (active, paused, or deleted) for ad management | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_ad_status` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to update ads in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_id` | string | No | - | The ad ID to update (required for single update) | | `ad_status` | string or SelectableOption | No | - | Select the new status for the ad. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED' (stops serving and hides it from the default views; cannot be reverted through the API, only the name stays editable, so use PAUSED if it may be needed again), 'DELETED' (permanent). Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'status' fields for each row (required for bulk update). The 'status' field also accepts the alias 'ad\_status'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad status update. # Update Adset Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset Fallback Meta Ads ad set patch tool for advanced or unsupported cases Fallback Meta Ads ad set patch tool for advanced or unsupported cases. Use this only when no dedicated Meta Ads ad set operation supports the requested change. If a focused ad set operation exists, such as meta\_ads\_update\_adset\_placements, meta\_ads\_update\_adset\_locations, or meta\_ads\_update\_adset\_audiences, always use that dedicated operation instead. This tool patches only the fields provided in update\_payload and does not replace the full ad set. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | The Meta Ads ad set ID to update. Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Patch payload for Meta's Ad Set update API as an object or JSON string. Only the fields provided here are sent to Meta; this does not replace the full ad set. Use focused operations first when they exist, for example meta\_ads\_update\_adset\_status or meta\_ads\_update\_adset\_budget. Use valid Meta ad set fields such as bid\_amount or targeting. Do not include identity fields like account\_id or adset\_id. | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the update without applying changes. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns adset\_id, adset\_name, updated\_fields, final payload, and any returned Meta response data. **Fields**: dynamic (depend on the inputs) # Update Adset Audiences Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_audiences Update audience targeting on a Meta Ads ad set: custom audiences, lookalike audiences, interests, behaviors, education, work, income, excluded audiences Update audience targeting on a Meta Ads ad set: custom audiences, lookalike audiences, interests, behaviors, education, work, income, excluded audiences. You can also turn on/off Advantage+ audience. Each field you fill in replaces that category on the ad set. Fields left empty are not changed. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_audiences` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | The ad set to update audience targeting for | | `custom_audience_ids` | array of string (also accepts a comma-separated string) | No | - | Custom or lookalike audience IDs to target. Replaces all currently included audiences on the ad set. Leave empty to keep current included audiences unchanged. Use 'meta\_ads\_list\_custom\_audiences' node to find audience IDs. Can be list of strings or comma-separated string. | | `interest_ids` | array of string (also accepts a comma-separated string) | No | - | Interest targeting IDs. Replaces all current interests on the ad set. Leave empty to keep current interests unchanged. Use 'meta\_ads\_search\_targeting' node (type: adinterest) to find interest IDs. | | `behavior_ids` | array of string (also accepts a comma-separated string) | No | - | Behavior targeting IDs. Replaces all current behaviors on the ad set. Leave empty to keep current behaviors unchanged. Use 'meta\_ads\_search\_targeting' node (type: adbehavior) to find behavior IDs. | | `education_school_ids` | array of string (also accepts a comma-separated string) | No | - | Education school targeting IDs. Replaces all current schools on the ad set. Leave empty to keep current schools unchanged. Use 'meta\_ads\_search\_targeting' node (type: adeducationschool) to find IDs. | | `education_major_ids` | array of string (also accepts a comma-separated string) | No | - | Education major targeting IDs. Replaces all current majors on the ad set. Leave empty to keep current majors unchanged. Use 'meta\_ads\_search\_targeting' node (type: adeducationmajor) to find IDs. | | `work_employer_ids` | array of string (also accepts a comma-separated string) | No | - | Work employer targeting IDs. Replaces all current employers on the ad set. Leave empty to keep current employers unchanged. Use 'meta\_ads\_search\_targeting' node (type: adworkemployer) to find IDs. | | `work_position_ids` | array of string (also accepts a comma-separated string) | No | - | Work position (job title) targeting IDs. Replaces all current job titles on the ad set. Leave empty to keep current job titles unchanged. Use 'meta\_ads\_search\_targeting' node (type: adworkposition) to find IDs. | | `income_ids` | array of string (also accepts a comma-separated string) | No | - | Income targeting IDs. Replaces all current income targeting on the ad set. Leave empty to keep current income targeting unchanged. Use 'meta\_ads\_search\_targeting' node (type: adincome) to find IDs. | | `excluded_audience_ids` | array of string (also accepts a comma-separated string) | No | - | Custom or lookalike audience IDs to exclude. Replaces all currently excluded audiences on the ad set. Leave empty to keep current excluded audiences unchanged. Use 'meta\_ads\_list\_custom\_audiences' node to find audience IDs. | | `age_min` | integer | No | - | Minimum age for targeting (18-65). Replaces the current minimum age on the ad set. Leave empty to keep current age targeting unchanged. Meta default is 18. With Advantage+ audience on, Meta accepts a minimum age of at most 25 and only 65 as the maximum (rejected with code 100); for a narrower range, set advantage\_audience to 'disabled' in the same call. | | `age_max` | integer | No | - | Maximum age for targeting (18-65). Replaces the current maximum age on the ad set. Leave empty to keep current age targeting unchanged. Meta default is 65. With Advantage+ audience on, Meta only accepts 65 (see age\_min). | | `genders` | string or SelectableOption | No | - | Gender targeting. 'all', 'male', 'female'. Replaces current gender targeting on the ad set. Leave empty to keep current gender unchanged. Works with Advantage+ audience on or off. | | `advantage_audience` | string or SelectableOption | No | - | Control Advantage+ audience expansion. 'enabled' allows Meta to expand beyond your targeting. 'disabled' restricts delivery to only your defined audiences. Commonly used for retargeting/remarketing ad sets where you want to strictly control the audience. 'dont\_change' leaves the current setting as-is. Default: dont\_change. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming audience targeting update. # Update Adset Bid Value Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_bid_value Updates the bid amount (Bid Cap / Cost Cap) or minimum ROAS of Meta Ads ad sets Updates the bid amount (Bid Cap / Cost Cap) or minimum ROAS of Meta Ads ad sets. For BID\_CAP and COST\_CAP, `bid_value` is the amount in the account currency exactly as shown in Ads Manager (e.g. 10 for \$10, 15000 for COP 15,000); the backend applies Meta's currency offset, never multiply yourself. For MIN\_ROAS, `bid_value` is a plain decimal multiplier (e.g. 1.23 = 123% ROAS), not a currency value. IMPORTANT: `bid_amount` returned by meta\_ads\_get\_adset\_settings is raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_bid_value` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | Select the ad set to update | | `bid_type` | string or SelectableOption | Yes | - | The campaign bidding strategy this ad set belongs to. 'BID\_CAP' (Bid cap) and 'COST\_CAP' (Cost per result goal) write to bid\_amount. 'MIN\_ROAS' (ROAS goal) writes to bid\_constraints.roas\_average\_floor. | | `bid_value` | number | Yes | - | For BID\_CAP/COST\_CAP: bid amount in the account currency exactly as shown in Ads Manager (e.g. 10 for \$10, 15000 for COP 15,000); the backend applies Meta's currency offset, never multiply yourself. For MIN\_ROAS: minimum ROAS as a plain decimal multiplier (e.g. 1.23 for 123%) — not a currency value. IMPORTANT: `bid_amount` returned by meta\_ads\_get\_adset\_settings is raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here for BID\_CAP/COST\_CAP. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad set bid value update. # Update Adset Budget Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_budget Updates the budget (daily or lifetime) of Meta Ads ad sets for budget management Updates the budget (daily or lifetime) of Meta Ads ad sets for budget management. `budget_value` is the amount in the account currency exactly as shown in Ads Manager (e.g. 100 for \$100, 300000 for COP 300,000); the backend applies Meta's currency offset, never multiply yourself. IMPORTANT: budgets returned by meta\_ads\_get\_adset\_settings (daily\_budget, lifetime\_budget, etc.) are raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_budget` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to update ad sets in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set or multiple ad sets at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `adset_id` | string or SelectItem | No | - | Select the ad set ID to update (required for single update) | | `budget_type` | string or SelectableOption | No | - | Select the budget type to update. Options: 'daily\_budget' (Daily Budget), 'lifetime\_budget' (Lifetime Budget) (required for single update) | | `budget_value` | number | No | - | The budget amount in the account currency exactly as shown in Ads Manager (e.g. 100 for $100, 50.5 for $50.50, 300000 for COP 300,000); the backend applies Meta's currency offset, never multiply yourself. Required for single update. IMPORTANT: budgets returned by meta\_ads\_get\_adset\_settings (daily\_budget, lifetime\_budget, etc.) are raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id', 'budget\_type', and 'budget\_value' fields for each row (required for bulk update). 'budget\_value' is the amount in the account currency as shown in Ads Manager (e.g. 100 = \$100, 300000 = COP 300,000); the backend applies Meta's currency offset. IMPORTANT: budgets returned by meta\_ads\_get\_adset\_settings are raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad set budget update. # Update Adset Language Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_language Updates language targeting (locales) for a Meta Ads ad set Updates language targeting (locales) for a Meta Ads ad set. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_language` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | The ad set to update language targeting for | | `locale_ids` | array of string or SelectItem | Yes | - | Select locale IDs. Choose 'ALL' to use All languages (Meta Default). Use operation `meta_ads_search_targeting` to find locale IDs for specific languages. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns success message confirming language targeting update. # Update Adset Locations Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_locations Includes or excludes location targeting for a Meta Ads ad set Includes or excludes location targeting for a Meta Ads ad set. Supports countries, cities, regions, and zips | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_locations` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | The ad set to update locations for | | `action` | string or SelectableOption | Yes | - | Use INCLUDE to update included locations (geo\_locations) or EXCLUDE to update excluded locations (excluded\_geo\_locations). Each non-empty location field replaces only that type's list, so supply all entries you want to keep for that type. Omitted or empty fields preserve existing values, including location types not exposed by this operation. | | `countries` | array of string or SelectItem | No | - | Select one or more countries, e.g. US, CA, GB. | | `region_keys` | array of string (also accepts a comma-separated string) | No | - | Region keys, e.g 3847 for California. Use operation `meta_ads_search_targeting` to find region keys. Can be list of strings or comma-separated string. | | `city_keys` | array of string (also accepts a comma-separated string) | No | - | City keys, e.g. 2420379 for Los Angeles. Use operation `meta_ads_search_targeting` to find city keys. | | `zip_keys` | array of string (also accepts a comma-separated string) | No | - | Zip keys, e.g. US:10012. Use operation `meta_ads_search_targeting` to find zip keys. | | `geo_market_keys` | array of string (also accepts a comma-separated string) | No | - | Geo market keys, e.g. DMA:501. Use operation `meta_ads_search_targeting` to find geo market keys. | | `electoral_district_keys` | array of string (also accepts a comma-separated string) | No | - | Electoral district keys, e.g. US:CA14. Use operation `meta_ads_search_targeting` to find electoral district keys. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming locations update. # Update Adset Placements Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_placements Updates the placement targeting of a Meta Ads ad set Updates the placement targeting of a Meta Ads ad set. Supports switching to Advantage+ automatic placements or manually setting publisher platforms, device platforms, and positions. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_placements` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | The ad set to update placements for | | `placement_mode` | string or SelectableOption | Yes | - | Choose 'AUTOMATIC' to switch to Advantage+ placements (Meta optimizes automatically) or 'MANUAL' to explicitly set publisher platforms, device platforms, and positions. AUTOMATIC removes all placement restrictions; MANUAL replaces existing placements with the ones specified. | | `publisher_platforms` | array of string or SelectableOption | No | - | Required for MANUAL mode. Platforms to show ads on. This replaces the current publisher platforms — only the selected ones will be active. Options: FACEBOOK, INSTAGRAM, THREADS, MESSENGER, AUDIENCE\_NETWORK | | `device_platforms` | array of string or SelectableOption | No | - | Optional for MANUAL mode. Device types to target. This replaces the current device setting — only the selected devices will be targeted. Leave empty to keep all devices. Options: MOBILE, DESKTOP | | `positions` | array of string or SelectableOption | No | - | Optional for MANUAL mode. Specific ad positions/placements to target. Only the selected positions will be active — any previous positions are replaced. Leave empty to use all positions for the selected publisher platforms. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming placement update. # Update Adset Schedule Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_schedule Updates the start_time and/or end_time (schedule) of a Meta Ads ad set Updates the start\_time and/or end\_time (schedule) of a Meta Ads ad set. Meta keeps schedules on ad sets only; a campaign's dates are the span of its ad sets, so to extend or shorten a campaign, update each of its ad sets with this operation. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_schedule` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `adset_id` | string or SelectItem | Yes | - | The ad set to update the schedule for | | `start_time` | integer or string | No | - | New start time: Unix seconds, YYYY-MM-DD, or an ISO datetime such as 2026-10-01 09:00 (UTC). Leave empty to keep current start time. Only editable while the ad set has not started delivering yet. | | `end_time` | integer or string | No | - | New end time: Unix seconds, YYYY-MM-DD, or an ISO datetime such as 2026-10-31 23:59 (UTC). Leave empty to keep current end time. Required for ad sets using a lifetime budget. Must be after start\_time. Meta keeps schedules on ad sets only: a campaign's end date is the latest end\_time of its ad sets, so to extend a campaign update every ad set in it. | | `clear_end_time` | boolean | No | `False` | Set to true to remove the end time entirely (run the ad set with no end date). Only allowed for ad sets on a daily budget; lifetime-budget ad sets require an end\_time. When true, end\_time is ignored. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns success message confirming ad set schedule update. # Update Adset Status Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_adset_status Updates the status of Meta Ads ad sets (active, paused, or deleted) for ad set management Updates the status of Meta Ads ad sets (active, paused, or deleted) for ad set management | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_adset_status` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to update ad sets in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set or multiple ad sets at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `adset_id` | string or SelectItem | No | - | Select the ad set ID to update (required for single update) | | `adset_status` | string or SelectableOption | No | - | Select the new status for the ad set. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED' (stops serving and hides it from the default views; cannot be reverted through the API, only the name stays editable, so use PAUSED if it may be needed again), 'DELETED' (permanent). Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id' and 'status' fields for each row (required for bulk update). The 'status' field also accepts the alias 'adset\_status'. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad set status update. # Update Automated Rule Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_automated_rule Edit a Meta automated rule, including its target entities, conditions, action, schedule or name Edit a Meta automated rule, including its target entities, conditions, action, schedule or name. Also enable, disable or permanently delete a rule. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_automated_rule` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `rule_id` | string | Yes | - | Automated rule ID to update or delete. | | `name` | string | No | - | Replacement rule name; omitted means unchanged. | | `evaluation_spec` | object or string | No | - | Native Meta evaluation\_spec object or JSON string: evaluation\_type (SCHEDULE or TRIGGER), filters (each has field, operator, value), and optional trigger. Defines target entities and conditions. To retarget an existing rule, read it first and preserve its other filters. On update supply the complete replacement evaluation\_spec, not just the changed filter. | | `execution_spec` | object or string | No | - | Native Meta execution\_spec object or JSON string. Example: \{"execution\_type":"PAUSE"}; UNPAUSE resumes delivery. Other actions and their execution\_options pass through unchanged for Meta to validate. On update supply the complete replacement execution\_spec. | | `schedule_spec` | object or string | No | - | Native Meta schedule\_spec object or JSON string: schedule\_type and, when applicable, schedule entries with days, start\_minute, and end\_minute. Preserve Meta's native schedule values when copying an existing rule. On update supply the complete replacement schedule\_spec. | | `status` | enum (`ENABLED`, `DISABLED`, `DELETED`) | No | - | Enable, disable, or permanently delete the rule. Omitted means unchanged. DELETED uses Meta's DELETE endpoint and cannot be combined with other edits. | ## Output **Type**: `Dict` Rule ID, updated fields or deleted status, and Meta response. # Update Campaign Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_campaign Fallback Meta Ads campaign patch tool for advanced or unsupported cases such as spend cap, special ad category, promoted object or per ad set budgets Fallback Meta Ads campaign patch tool for advanced or unsupported cases such as spend cap, special ad category, promoted object or per ad set budgets. Use this only when no dedicated Meta Ads campaign operation supports the requested change; if one exists, such as meta\_ads\_update\_campaign\_budget or meta\_ads\_update\_campaign\_status, always use it instead. This tool patches only the fields provided in update\_payload and does not replace the full campaign. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_campaign` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `campaign_id` | string or SelectItem | Yes | - | The Meta Ads campaign ID to update. Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Patch payload for Meta's Campaign update API as an object or JSON string. Only the fields provided here are sent to Meta; this does not replace the full campaign. Use focused operations first when they exist, for example meta\_ads\_update\_campaign\_status or meta\_ads\_update\_campaign\_budget. Use valid Meta campaign fields, for example spend\_cap (minor currency units, minimum about 100 USD; 922337203685478 removes the cap), special\_ad\_category and special\_ad\_category\_country, promoted\_object, objective, adset\_budgets (per child daily\_budget or lifetime\_budget, needed when switching between campaign and child budgets). Campaign start\_time and stop\_time are derived from its ad sets and cannot be set here; use meta\_ads\_update\_adset\_schedule on each ad set. Do not include identity fields like account\_id or campaign\_id. | | `validate_only` | boolean | No | `False` | When true, ask Meta to validate the update without applying changes. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, campaign\_name, updated\_fields, final payload, and any returned Meta response data. **Fields**: dynamic (depend on the inputs) # Update Campaign Bidding Strategy Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_campaign_bidding_strategy Updates the bidding strategy of a Meta Ads campaign Updates the bidding strategy of a Meta Ads campaign. For COST\_CAP and LOWEST\_COST\_WITH\_BID\_CAP, `adset_bid_amount` is the amount in the account currency exactly as shown in Ads Manager (e.g. 10 for \$10, 15000 for COP 15,000); the backend applies Meta's currency offset, never multiply yourself. `adset_roas_floor` (for LOWEST\_COST\_WITH\_MIN\_ROAS) is a plain decimal multiplier (e.g. 1.23 = 123% ROAS), not a currency value. IMPORTANT: `bid_amount` returned by meta\_ads\_get\_adset\_settings is raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_campaign_bidding_strategy` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to update campaigns in, ask the user for it if not provided | | `campaign_id` | string or SelectItem | Yes | - | Select the campaign to update, ask the user for it if not provided | | `bid_strategy` | string or SelectableOption | Yes | - | Select the campaign bidding strategy. Available options: 'LOWEST\_COST\_WITHOUT\_CAP' (Highest volume), 'COST\_CAP' (Cost per result goal), 'LOWEST\_COST\_WITH\_MIN\_ROAS' (ROAS goal), 'LOWEST\_COST\_WITH\_BID\_CAP' (Bid cap) | | `adset_bid_amount` | number | No | - | Ad set bid amount in the account currency exactly as shown in Ads Manager (e.g. 10 for \$10, 15000 for COP 15,000); the backend applies Meta's currency offset, never multiply yourself. Required for COST\_CAP and LOWEST\_COST\_WITH\_BID\_CAP. The same amount will be applied to all ad sets in the selected campaign before the campaign bidding strategy is updated. IMPORTANT: `bid_amount` returned by meta\_ads\_get\_adset\_settings is raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | `adset_roas_floor` | number | No | - | Minimum ROAS as a decimal multiplier (e.g. 1.23 for 123%). Required for LOWEST\_COST\_WITH\_MIN\_ROAS. The same value will be applied to all ad sets in the selected campaign. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign bidding strategy update. # Update Campaign Budget Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_campaign_budget Updates the budget (daily or lifetime) of Meta Ads campaigns for budget management Updates the budget (daily or lifetime) of Meta Ads campaigns for budget management. `budget_value` is the amount in the account currency exactly as shown in Ads Manager (e.g. 100 for \$100, 300000 for COP 300,000); the backend applies Meta's currency offset, never multiply yourself. IMPORTANT: budgets returned by meta\_ads\_get\_campaign\_settings (daily\_budget, lifetime\_budget, etc.) are raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to update campaigns in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to update (required for single update) | | `budget_type` | string or SelectableOption | No | - | Select the budget type to update. Options: 'daily\_budget' (Daily Budget), 'lifetime\_budget' (Lifetime Budget) (required for single update) | | `budget_value` | number | No | - | The budget amount in the account currency exactly as shown in Ads Manager (e.g. 100 for $100, 50.5 for $50.50, 300000 for COP 300,000); the backend applies Meta's currency offset, never multiply yourself. Required for single update. IMPORTANT: budgets returned by meta\_ads\_get\_campaign\_settings (daily\_budget, lifetime\_budget, etc.) are raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id', 'budget\_type', and 'budget\_value' fields for each row (required for bulk update). 'budget\_value' is the amount in the account currency as shown in Ads Manager (e.g. 100 = \$100, 300000 = COP 300,000); the backend applies Meta's currency offset. IMPORTANT: budgets returned by meta\_ads\_get\_campaign\_settings are raw Meta minor units — divide by that row's `currency_offset` (100 for most currencies, 1 for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD, VND) before passing here. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign budget update. # Update Campaign Status Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_campaign_status Updates the status of Meta Ads campaigns (active, paused, or deleted) for campaign management Updates the status of Meta Ads campaigns (active, paused, or deleted) for campaign management | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to update campaigns in, ask the user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to update (required for single update) | | `campaign_status` | string or SelectableOption | No | - | Select the new status for the campaign. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED' (stops serving and hides it from the default views; cannot be reverted through the API, only the name stays editable, so use PAUSED if it may be needed again), 'DELETED' (permanent). Required for single update. | | `bulk_input_type` | string or SelectableOption | No | - | Choose how to provide your campaign data for bulk updates. Options: 'manual' (Manual Input), 'structured' (Structured Data) (required for bulk update) | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | List of campaign IDs to update (required for manual bulk update) | | `campaign_statuses` | array of string (also accepts a comma-separated string) | No | - | List of statuses corresponding to each campaign ID (required for manual bulk update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'status' fields for each row (required for structured bulk update). The 'status' field also accepts the alias 'campaign\_status'. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Update Experiment Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_experiment Update a native Meta A/B experiment or ad study using Meta's update parameters, such as name, schedule, cells or objectives Update a native Meta A/B experiment or ad study using Meta's update parameters, such as name, schedule, cells or objectives. Meta validates changes allowed in the current study state. Campaign/ad-set budgets and delivery status are separate. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_experiment` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `experiment_id` | string or SelectItem | Yes | - | Meta ad study ID to update. Supply it here, not inside update\_payload. | | `update_payload` | object or string | Yes | - | Native Meta AdStudy update parameters as an object or JSON string, forwarded unchanged. Example: \{"name":"Work email A/B test","description":"Compare instant-form variants"}. Supported parameters include name, description, start\_time, end\_time, cells, objectives, confidence\_level, client\_business, cooldown\_start\_time, observation\_end\_time, creative\_test\_config, type and viewers. Native timestamp values are Unix seconds. Meta validates which changes are allowed for the study's current state. This does not update campaign/ad-set budgets or delivery status. | | `dry_run` | boolean | No | `False` | Return the update payload without sending it to Meta. This previews the request; it does not validate it against Meta's API. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns Meta's ad study update response, or the experiment\_id and payload preview when dry\_run is true. **Fields**: `id`, `experiment_id`, `payload`, `dry_run` # Update Product Set Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_product_set Updates a Meta product set's name, raw Meta filter, or both Updates a Meta product set's name, raw Meta filter, or both. The filter fully replaces the current one. Use meta\_ads\_list\_product\_sets first to find the product set id and current filter. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_product_set` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | No | - | Optional Meta catalog ID, only used to locate the product set. | | `product_set_id` | string or SelectItem | Yes | - | The Meta product set ID to update. Use Meta Ads List Product Sets first to find this value. | | `name` | string | No | - | New name for the product set. Leave empty to keep the current name. | | `filter` | object or string | No | - | New raw Meta product set filter as an object, sent to Meta as-is and replacing the current filter. Uses Meta filter syntax with operators like is\_any, contains, i\_contains, eq, neq, and and/or groups over catalog fields such as retailer\_id, brand, category, availability, condition, or custom\_label\_0 to custom\_label\_4. Leave empty to keep the current filter. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns product\_set\_id, product\_set\_name, updated\_fields, and the final payload. **Fields**: dynamic (depend on the inputs) # Update Products Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_update_products Low-level bulk tool that creates, updates, or deletes catalog products by sending raw Meta items_batch requests as-is Low-level bulk tool that creates, updates, or deletes catalog products by sending raw Meta items\_batch requests as-is. Common use: tag products with custom labels so product sets filtered on those labels update automatically. Meta processes batches asynchronously. Use meta\_ads\_list\_products first to find retailer ids. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_update_products` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `catalog_id` | string or SelectItem | Yes | - | Meta catalog ID. Use Meta Ads List Catalogs first to find this value. | | `requests` | array of object or string | Yes | - | Raw Meta items\_batch requests as an array of objects, sent to Meta as-is. Each request has a method (CREATE, UPDATE, or DELETE) and a data object where data.id is the product retailer id (SKU). UPDATE also creates the item when it does not exist. Field values use Meta catalog feed format, for example price as "9.99 USD". Example: \[\{"method": "UPDATE", "data": \{"id": "SKU\_1", "custom\_label\_0": "top\_performer"}}, \{"method": "UPDATE", "data": \{"id": "SKU\_2", "availability": "out of stock"}}]. Use meta\_ads\_list\_products first to find retailer ids and current values. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns catalog\_id, request\_count, and the Meta batch response with handles. **Fields**: dynamic (depend on the inputs) # Upload Media Source: https://docs.markifact.com/nodes/meta_ads/meta_ads_upload_media Upload an image/video or import an existing Instagram video for partnership ads Upload an image/video or import an existing Instagram video for partnership ads. Returns media references for Create Ad Creative; importing requires Meta permissions. For a full ad with new media, prefer dedicated ad-creation operations. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_ads_upload_media` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Ad account to upload the media into. Accepts an account ID with or without the 'act\_' prefix (for example 'act\_1234567890' or '1234567890') | | `image_url` | string | No | - | Image to upload. Accepts a direct image URL or a Google Drive share link (set to 'Anyone with the link'); Markifact resolves it automatically. Provide exactly one of image\_url, video\_url or source\_instagram\_media\_id. Returns an image\_hash to use in an ad creative. | | `video_url` | string | No | - | Video to upload. Accepts a direct video URL or a Google Drive share link (set to 'Anyone with the link'); Markifact resolves it automatically. Provide exactly one of image\_url, video\_url or source\_instagram\_media\_id. Returns a video\_id plus an auto-generated thumbnail\_url (a video creative's video\_data needs both: video\_id and image\_url). Note: video upload waits for Meta to finish processing. | | `source_instagram_media_id` | string | No | - | Import the original Instagram video/Reel into the ad account through Meta's native Instagram import flow. Provide the Instagram media ID, not a URL or a newly uploaded Facebook video ID. Use instead of image\_url/video\_url. For existing-post partnership ads, use this when Meta requires the Instagram video to be uploaded to Facebook; retain the original source Instagram media reference when creating the creative. Meta checks access and partnership permissions. | | `partnership_ad_ad_code` | string | No | - | Actual creator-provided partnership ad code for the Instagram import, when available. Used with source\_instagram\_media\_id; do not substitute a media ID or invent a code. Omit when using permissions without an ad code. | | `is_partnership_ad` | boolean | No | - | Optional native Meta partnership-ad flag for the Instagram import. Used with source\_instagram\_media\_id. Omitted unless explicitly supplied; does not grant permissions or create an ad. | | `is_ai_generated` | boolean | No | - | Video uploads (video\_url) only: set to true to mark the video as AI-generated through Meta's is\_ai\_generated upload flag. Meta does not document what the flag changes and does not show it in ad previews; images have no such flag. | | `name` | string | No | - | Name shown for the image or video in the Meta media library, e.g. 'Codex0006 - Rapunzel V2 - 9x16'. Defaults to the file name in the URL; Google Drive share links carry no file name, so set it for those. | ## Output **Type**: `Dict` Returns image\_hash for image uploads; video\_id and thumbnail\_url for video uploads/imports. Instagram imports also return source\_instagram\_media\_id; retain the original Instagram source reference when creating an existing-post creative. **Fields**: `account_id`, `media_type`, `image_hash`, `video_id`, `thumbnail_url`, `source_instagram_media_id` # Check CAPI Health Source: https://docs.markifact.com/nodes/meta_ads/meta_check_capi_health Check Conversions API (CAPI) health metrics for a Meta Ads pixel including event match quality, server side tracking, coverage, deduplication, and ACR performance Check Conversions API (CAPI) health metrics for a Meta Ads pixel including event match quality, server side tracking, coverage, deduplication, and ACR performance | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_check_capi_health` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Meta Ads account. | | `pixel` | string or SelectItem | Yes | - | Select the Pixel or Dataset to check Conversions API health for. | | `health_metric` | enum (`event_match_quality`, `emq_acr_potential`, `emq_diagnostics`, `event_coverage`, `coverage_acr_potential`, `event_deduplication`, `data_freshness`, `event_acr_potential`, ...) | Yes | - | Which health metric to retrieve. Each returns a different view of Conversions API performance, and only one can be fetched per run, so call this once per metric you need. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns CAPI health metrics including event match quality, server side tracking, coverage, deduplication, and ACR performance. **Fields**: dynamic (depend on the inputs) # Create Custom Audience Source: https://docs.markifact.com/nodes/meta_ads/meta_create_custom_audience Create Meta customer-list containers, website audiences, or engagement audiences, including multiple videos and native rules Create Meta customer-list containers, website audiences, or engagement audiences, including multiple videos and native rules. Customer records require a separate upload. FB\_EVENT and MULTI\_DATA audiences can only be created in Ads Manager, not through the API. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_create_custom_audience` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `name` | string | Yes | - | Name for the custom audience | | `description` | string | No | - | Optional audience description | | `audience_type` | string or SelectableOption | Yes | - | Audience type to create. Use CUSTOMER\_LIST for an empty customer-file audience container (upload users separately). Use WEBSITE for Meta Pixel retargeting such as URL visitors or pixel events. Use ENGAGEMENT for Instagram profile, Facebook Page, video, or lead form engagement; use the source/type inputs or supply an advanced rule. FB\_EVENT and MULTI\_DATA subtypes cannot be created through Meta's API. | | `customer_file_source` | string or SelectableOption | No | `USER_PROVIDED_ONLY` | Required for CUSTOMER\_LIST audiences. Describes the source of the customer data. | | `pixel_id` | string | No | - | Required for WEBSITE audiences when website\_rule\_type is URL\_CONTAINS or EVENT. Numeric Meta Pixel ID used by the backend to build event\_sources inside rule. For CUSTOM\_RULE, include event\_sources inside rule instead. | | `retention_days` | integer | No | `30` | Website audience lookback window in days, 1-180. Used by URL\_CONTAINS and EVENT to build retention\_seconds inside rule. For CUSTOM\_RULE, include retention\_seconds inside rule instead. | | `prefill` | boolean | No | `True` | For WEBSITE or ENGAGEMENT audiences, ask Meta to include past matching activity when the source supports it. | | `website_rule_type` | string or SelectableOption | No | - | Required for WEBSITE audiences. Use URL\_CONTAINS for visitors to pages whose URL contains a string. Use EVENT for people who fired one exact Meta Pixel event. Use CUSTOM\_RULE only for advanced Meta website rule shapes that cannot be expressed by url\_contains or event\_name. | | `url_contains` | string | No | - | Required when website\_rule\_type=URL\_CONTAINS. URL substring matched with Meta's case-insensitive contains operator. Examples: '/pricing', '/checkout', 'example.com/blog'. Backend builds a VISITORS\_BY\_URL rule with event=PageView plus this URL filter. Do not put a pixel event name here. | | `event_name` | string | No | - | Required when website\_rule\_type=EVENT. Exact Meta Pixel event name fired on the website, not an audience name or goal. Common standard events: PageView, ViewContent, AddToCart, InitiateCheckout, Lead, Purchase. Custom event names are allowed if the pixel sends that exact name. | | `rule` | array of object or object or string | No | - | Advanced native Meta rule as an object, array, or JSON string. Required for WEBSITE with website\_rule\_type=CUSTOM\_RULE; optional for ENGAGEMENT, where it replaces the simple source/type inputs. Website and non-video engagement use an inclusions/exclusions object with rules containing event\_sources, retention\_seconds and filter. Example: \{"inclusions":\{"operator":"or","rules":\[\{"event\_sources":\[\{"type":"page","id":"\"}],"retention\_seconds":2592000,"filter":\{"operator":"and","filters":\[\{"field":"event","operator":"eq","value":"page\_engaged"}]}}]}}. Video rules use an array, e.g. \[\{"object\_id":"\","event\_name":"video\_view\_25\_percent"},\{"object\_id":"\","event\_name":"video\_watched"}], with engagement\_retention\_days. For WEBSITE, use type=pixel and the pixel ID; URL rules use template=VISITORS\_BY\_URL, event=PageView plus a nested URL filter group. Pixel event-only rules use a direct event filter. Prefer url\_contains or event\_name for simple website audiences; old flat URL shorthand is unsupported. Nested rules, exclusions and source IDs are preserved. Meta validates source access and rule compatibility. FB\_EVENT and MULTI\_DATA audiences are Ads Manager-only; a raw rule does not bypass that restriction. | | `engagement_source_type` | string or SelectableOption | No | - | Required for ENGAGEMENT unless rule is supplied. Source type for the Meta event source: INSTAGRAM\_PROFILE, FACEBOOK\_PAGE, VIDEO, or LEAD\_FORM. | | `engagement_source_id` | string or array of string | No | - | Required for ENGAGEMENT unless rule is supplied. One ID, a list of IDs, or comma-separated IDs of the selected source type: Instagram business profile ID, Facebook Page ID, video ID, or lead form ID. | | `engagement_type` | string or SelectableOption | No | - | Required for ENGAGEMENT unless rule is supplied. Allowed by source: INSTAGRAM\_PROFILE supports ANY\_ENGAGEMENT, PROFILE\_VISIT, POST\_OR\_AD\_ENGAGEMENT, MESSAGE, SAVE; FACEBOOK\_PAGE supports ANY\_ENGAGEMENT, PAGE\_VISIT, POST\_OR\_AD\_ENGAGEMENT, MESSAGE, SAVE; VIDEO supports WATCHED\_3\_SECONDS, WATCHED\_10\_SECONDS, WATCHED\_15\_SECONDS, WATCHED\_25\_PERCENT, WATCHED\_50\_PERCENT, WATCHED\_75\_PERCENT, WATCHED\_95\_PERCENT; LEAD\_FORM supports OPENED, OPENED\_NOT\_SUBMITTED, SUBMITTED. | | `engagement_retention_days` | integer | No | `365` | Engagement lookback in days; also used for native video rule arrays. Native rule objects carry their own retention\_seconds. LEAD\_FORM is capped at 90 days by Meta; higher values are reduced to 90. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created custom audience id and name. **Fields**: `audience_id`, `name` # Create Custom Conversion Source: https://docs.markifact.com/nodes/meta_ads/meta_create_custom_conversion Creates a Meta custom conversion on an ad account, defined by a rule over pixel events or URLs (e.g Creates a Meta custom conversion on an ad account, defined by a rule over pixel events or URLs (e.g. thank-you page visits), with a standard event category and optional default value. Use meta\_list\_account\_pixels for event\_source\_id and meta\_list\_custom\_conversions to see existing ones. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_create_custom_conversion` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `name` | string | Yes | - | Name for the custom conversion | | `description` | string | No | - | Optional description | | `event_source_id` | string | No | - | Pixel ID or offline event set ID the conversion listens to, e.g. from meta\_list\_account\_pixels. Required in practice for pixel-based conversions. | | `rule` | object or string | No | - | Conversion rule sent to Meta as-is: JSON filtering on url or event with operators like i\_contains, contains, eq, gt, lt, regex\_match. Example (purchase page): \{"and": \[\{"event": \{"eq": "PageView"}}, \{"or": \[\{"URL": \{"i\_contains": "thank-you"}}]}]}. Provide rule or advanced\_rule to define when the conversion fires. | | `advanced_rule` | object or string | No | - | Advanced ruleset supporting multiple event sources, sent to Meta as-is. Use rule for simple cases. | | `custom_event_type` | string or SelectableOption | No | - | Standard event category the conversion is optimized as, e.g. PURCHASE, LEAD, OTHER | | `action_source_type` | string or SelectableOption | No | - | Where the conversion happens, e.g. website, physical\_store, phone\_call | | `default_conversion_value` | number | No | - | Default monetary value assigned to each conversion, in the account currency | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created custom conversion id and name. **Fields**: `custom_conversion_id`, `name` # Create Lead Form Source: https://docs.markifact.com/nodes/meta_ads/meta_create_lead_form Creates a Meta Instant Form (lead gen form) on a Facebook page for Lead Ads campaigns, with contact fields, custom qualifying questions, intro card, privacy policy, and thank-you page Creates a Meta Instant Form (lead gen form) on a Facebook page for Lead Ads campaigns, with contact fields, custom qualifying questions, intro card, privacy policy, and thank-you page. Fields mirror Meta's leadgen\_forms reference. Form names must be unique per page, and forms cannot be edited after creation, only archived, so review inputs carefully before running. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_create_lead_form` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | SelectItem | Yes | - | Select the Facebook page to create the lead form on, ask the user for it if not provided | | `name` | string | Yes | - | Form name, must be unique per page. Forms cannot be edited after creation, only archived. | | `questions` | array of object or string | Yes | - | Lead form questions, sent to Meta as-is (Meta leadgen\_forms reference). Each item needs type: prefill types like EMAIL, FULL\_NAME, FIRST\_NAME, LAST\_NAME, PHONE, WORK\_EMAIL, JOB\_TITLE, COMPANY\_NAME, CITY, STATE, ZIP, COUNTRY, DOB, GENDER, WEBSITE, WHATSAPP\_NUMBER, STREET\_ADDRESS auto-fill from the user's profile; CUSTOM is for qualifying questions and needs label, plus options (\[\{value, key}]) for multiple choice or no options for free text. IMPORTANT: every multiple-choice option MUST include both value (the text shown to the user) and key (a short unique identifier, also used as the answer's column in lead exports); Meta rejects options without key with a generic, non-descriptive error. Advanced keys (inline\_context, dependent\_conditional\_questions, conditional\_questions\_group\_id) pass through unchanged. Example: \[\{"type": "FULL\_NAME"}, \{"type": "EMAIL"}, \{"type": "CUSTOM", "label": "Monthly budget?", "options": \[\{"value": "Under $1,000", "key": "under_1000"}, \{"value": "Over $1,000", "key": "over\_1000"}]}] | | `privacy_policy` | object or string | No | - | Sent to Meta as-is: \{url, link\_text?}. url is a public https privacy policy page, link\_text max 70 characters. Meta requires it whenever the form collects personal information. Example: \{"url": "`https://example.com/privacy`", "link\_text": "Privacy Policy"} | | `context_card` | object or string | No | - | Optional intro card shown before the questions, sent to Meta as-is: \{title?, style? (LIST\_STYLE or PARAGRAPH\_STYLE), content? (list of strings), button\_text?, cover\_photo\_id?}. Specify the cover once: cover\_photo\_url, cover\_photo\_id, or context\_card.cover\_photo\_id. Example: \{"title": "Get a free audit", "style": "LIST\_STYLE", "content": \["Free 30-min call", "No commitment"], "button\_text": "Get Started"} | | `thank_you_page` | object or string | No | - | Optional completion screen, sent to Meta as-is. title and button\_type are required inside it; button\_type is one of VIEW\_WEBSITE, CALL\_BUSINESS, MESSAGE\_BUSINESS, DOWNLOAD, SCHEDULE\_APPOINTMENT, VIEW\_ON\_FACEBOOK, PROMO\_CODE, NONE, WHATSAPP, P2B\_MESSENGER, BOOK\_ON\_WEBSITE. website\_url is needed for website/download buttons, business\_phone\_number for CALL\_BUSINESS. Other keys (body, short\_message, button\_text, button\_description, country\_code, enable\_messenger, gated\_file) pass through unchanged. Example: \{"title": "Thanks!", "body": "We will reach out soon.", "button\_type": "VIEW\_WEBSITE", "button\_text": "Visit site", "website\_url": "`https://example.com`"} | | `custom_disclaimer` | object or string | No | - | Optional custom disclaimer with consent checkboxes, sent to Meta as-is: \{title?, body? (\{text, url\_entities?}), checkboxes? (\[\{text, is\_required?, is\_checked\_by\_default?, key?}])}. Example: \{"title": "Consent", "body": \{"text": "By submitting you agree to be contacted."}, "checkboxes": \[\{"text": "Send me marketing emails", "is\_required": false}]} | | `follow_up_action_url` | string | No | - | Website URL opened from the default thank-you screen. Meta rejects the form (error subcode 1892085, Missing field(s): FollowUpActionURL) unless this is set or thank\_you\_page includes a website button with website\_url. | | `locale` | string | No | - | Form locale code, e.g. EN\_US, EN\_GB, ES\_ES, ES\_LA, FR\_FR, DE\_DE, PT\_BR, IT\_IT, NL\_NL, AR\_AR. See Meta's leadgen\_forms reference for the full list. | | `question_page_custom_headline` | string | No | - | Custom headline shown on the questions page | | `cover_photo_id` | string | No | - | Existing Page photo ID (not an ad image hash), attached through context\_card.cover\_photo\_id. Use either this or cover\_photo\_url. | | `cover_photo_url` | string | No | - | Image to upload as the form cover without publishing a Page post. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Use either this or cover\_photo\_id. | | `is_optimized_for_quality` | boolean | No | - | True for the higher-intent form type (adds a review step); default is more volume | | `is_phone_sms_verify_enabled` | boolean | No | - | | | `should_enforce_work_email` | boolean | No | - | | | `block_display_for_non_targeted_viewer` | boolean | No | - | Prevent people outside the ad audience from opening the form organically | | `tracking_parameters` | object or string | No | - | Key-value tracking parameters included with each lead, e.g. \{"utm\_source": "facebook"} | | `is_for_canvas` | boolean | No | - | | | `is_lead_capture_ai_agent_enabled` | boolean | No | - | | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created lead form id and name. **Fields**: `form_id`, `name` # Create Lookalike Audience Source: https://docs.markifact.com/nodes/meta_ads/meta_create_lookalike_audience Create a Meta lookalike audience from an existing source custom audience Create a Meta lookalike audience from an existing source custom audience. Use meta\_list\_custom\_audiences first to find origin\_audience\_id. The origin audience must have at least 100 people. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_create_lookalike_audience` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided. | | `name` | string | Yes | - | Name for the lookalike audience. | | `description` | string | No | - | Optional audience description. | | `origin_audience_id` | string or SelectItem | Yes | - | Source custom audience ID used as the seed. Use meta\_list\_custom\_audiences to find it. Meta requires the origin audience to have at least 100 people. | | `country` | string or SelectItem | No | - | Two-letter country code for the simple lookalike spec, e.g. US, AE, GB. Required unless lookalike\_spec is provided. | | `ratio` | number | No | `0.01` | Simple lookalike size as a decimal from 0.01 to 0.20 in 0.01 increments. 0.01 means the top 1% most similar audience in the selected country. | | `starting_ratio` | number | No | - | Optional start percentage for a lookalike range. Example: starting\_ratio=0.01 and ratio=0.02 creates a 1%-2% lookalike. Must be less than ratio. | | `allow_international_seeds` | boolean | No | - | Optional Meta flag for simple specs. If true, Meta can use seed members from another country when the selected country has fewer than 100 seed members. | | `lookalike_spec` | object or string | No | - | Advanced Meta lookalike\_spec object as a dict/object or string. Use this only when simple country/ratio fields are not enough. Must include either country or location\_spec, and either ratio or type. Examples: \{'country': 'US', 'ratio': 0.01}; \{'country': 'US', 'starting\_ratio': 0.01, 'ratio': 0.02}; \{'location\_spec': \{'geo\_locations': \{'countries': \['US', 'CA']}}, 'ratio': 0.01}; \{'country': 'US', 'type': 'similarity'}. Do not include origin\_audience\_id, account\_id, name, or subtype. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created lookalike audience id and name. **Fields**: `audience_id`, `name` # Create Test Lead Source: https://docs.markifact.com/nodes/meta_ads/meta_create_test_lead Creates a test lead on an existing Meta Instant Form to test lead routing and CRM integrations Creates a test lead on an existing Meta Instant Form to test lead routing and CRM integrations. Can trigger connected lead automations. Requires access to the owning Page. A created lead ID confirms submission, not delivery to the CRM. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_create_test_lead` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | Facebook Page that owns the Instant Form. | | `form_id` | string | Yes | - | Existing Instant Form ID, available from meta\_list\_lead\_forms. | | `field_data` | array of object or string | No | - | Optional test answers as Meta's native field\_data array or a JSON string. Use field names from the form's questions. Omit to use Meta's default test data. Example: \[\{"name": "email", "values": \["[test@example.com](mailto:test@example.com)"]}]. | | `custom_disclaimer_responses` | array of object or string | No | - | Optional consent responses as Meta's native custom\_disclaimer\_responses array of objects or a JSON string, matching the form's custom disclaimers. Objects are passed through unchanged for Meta to validate. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns Meta's created test lead object, including its id. CRM delivery must be checked separately. **Fields**: `id` # Get Custom Audience Source: https://docs.markifact.com/nodes/meta_ads/meta_get_custom_audience Get a single Meta custom or lookalike audience by ID with its full definition: the website or engagement rule, lookalike specification and seed audience, included and excluded audiences, size estim... Get a single Meta custom or lookalike audience by ID with its full definition: the website or engagement rule, lookalike specification and seed audience, included and excluded audiences, size estimates, delivery and sharing status, retention, and timestamps. Use meta\_list\_custom\_audiences to find the audience\_id. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_get_custom_audience` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `audience_id` | string | Yes | - | The ID of the custom or lookalike audience to fetch. Use meta\_list\_custom\_audiences to find it. | ## Output **Type**: `Dict` Returns every field Meta serves for the audience, including its full rule or lookalike definition. **Fields**: dynamic (depend on the inputs) # Get Lead Form Source: https://docs.markifact.com/nodes/meta_ads/meta_get_lead_form Gets the full configuration of a single Meta Instant Form (lead gen form): questions, intro card, thank-you page, privacy policy, follow-up URL, status, and lead counts Gets the full configuration of a single Meta Instant Form (lead gen form): questions, intro card, thank-you page, privacy policy, follow-up URL, status, and lead counts. Useful before retrieving leads or for recreating a form with changes, since forms cannot be edited after creation. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_get_lead_form` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | SelectItem | Yes | - | Select the Facebook page that owns the lead form, ask the user for it if not provided | | `form_id` | string | Yes | - | Lead form ID, e.g. from meta\_list\_lead\_forms | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the full lead form configuration and lead counts. **Fields**: `id`, `name`, `status`, `questions`, `leads_count` # Get Pixel Details Source: https://docs.markifact.com/nodes/meta_ads/meta_get_pixel_details Get details for a specific Meta Ads tracking pixel including configuration Get details for a specific Meta Ads tracking pixel including configuration | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_get_pixel_details` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to get pixel from, ask the user for it if not provided | | `pixel` | string or SelectItem | Yes | - | Select Pixel to get details from, ask the user for it if not provided | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns pixel configuration details like id, name, creation\_time, last\_fired\_time, etc. **Fields**: dynamic (depend on the inputs) # Get Pixel Stats Source: https://docs.markifact.com/nodes/meta_ads/meta_get_pixel_stats Get statistics for a Meta Ads pixel with various aggregation types and optional date filtering Get statistics for a Meta Ads pixel with various aggregation types and optional date filtering | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_get_pixel_stats` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `pixel` | string or SelectItem | Yes | - | Select Pixel to get stats from, ask the user for it if not provided | | `aggregation` | string | No | `event` | Select aggregation type for pixel stats. Use 'event' (default) for event counts per hour or per day. 'event\_total\_counts' returns overlapping rolling-window totals that cannot be added up, so it cannot be grouped by date. | | `date_range` | DateRange | No | - | Optional date range for the stats. If not provided, FB will return data for the last 28 days by default. | | `time_grouping` | string | No | `time` | How to group the data by time: 'time' for timestamp or 'date' to group by date | | `event_source_filter` | string | No | `all` | Filter events by source (only applicable when aggregation is 'event') | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns pixel statistics data. **Fields**: dynamic (depend on the inputs) # List Account Pixels Source: https://docs.markifact.com/nodes/meta_ads/meta_list_account_pixels Lists all pixels connected to a Meta Ads account with tracking and configuration details Lists all pixels connected to a Meta Ads account with tracking and configuration details | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_list_account_pixels` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | ## Output **Type**: `List[Dict]` Returns list of pixels along with their details like id, name, creation\_time, etc. # List Custom Audiences Source: https://docs.markifact.com/nodes/meta_ads/meta_list_custom_audiences List custom audiences and lookalike audiences from a Meta Ads account List custom audiences and lookalike audiences from a Meta Ads account. Use name\_search to have Meta find audiences by name instead of paging through the account, and include\_definition only when the audience rule or lookalike specification is needed. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_list_custom_audiences` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `audience_type` | string or SelectableOption | Yes | - | Type of audiences to list. 'all' returns both custom and lookalike audiences. 'custom' returns custom audiences (website, app, engagement, customer list, etc.). 'lookalike' returns lookalike audiences. | | `name_search` | string | No | - | Return only audiences whose name contains this text. Meta applies this search itself, so it also finds audiences beyond the first page. Meta supports 'contains' only, not 'starts with', so searching 'PN' returns every audience containing 'PN' anywhere in the name. | | `include_definition` | boolean | No | `False` | Include the audience rule and lookalike specification in the response. These can be large, and requesting them for many audiences at once can make Meta reject the request with 'Please reduce the amount of data you're asking for'. Enable it only when the definitions are needed, ideally together with name\_search or a small limit. | | `limit` | integer | No | `100` | Maximum number of audiences to return (1-1000). Default: 100 | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of custom/lookalike audiences with id, name, subtype, approximate count, delivery status, etc. **Fields**: dynamic (depend on the inputs) # List Custom Conversions Source: https://docs.markifact.com/nodes/meta_ads/meta_list_custom_conversions List all custom conversions configured in a Meta Ads account List all custom conversions configured in a Meta Ads account. Use the returned id to report on a specific custom conversion in meta\_ads\_get\_report via custom\_conversion\_\{id}, custom\_conversion\_value\_\{id}, or cost\_per\_custom\_conversion\_\{id} metrics. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_list_custom_conversions` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account to retrieve custom conversions from, ask the user for it if not provided | ## Output **Type**: `List[Dict]` Returns list of custom conversions with details like id, name, event\_source\_type, etc. **Fields**: dynamic (depend on the inputs) # List Lead Forms Source: https://docs.markifact.com/nodes/meta_ads/meta_list_lead_forms Lists all lead gen forms from a Facebook page Lists all lead gen forms from a Facebook page | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_list_lead_forms` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | SelectItem | Yes | - | Select Facebook page to list lead forms from, ask the user for it if not provided | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns list of lead forms. **Fields**: `id`, `name`, `status` # List Promotable Apps Source: https://docs.markifact.com/nodes/meta_ads/meta_list_promotable_apps Lists the apps a Meta Ads account can promote (id, name, platforms, store URLs, app events) Lists the apps a Meta Ads account can promote (id, name, platforms, store URLs, app events). Use it to find the application\_id for app promotion ad sets; only apps visible to the connected user are returned. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_list_promotable_apps` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | ## Output **Type**: `List[Dict]` Returns list of promotable apps with id, name, app\_type, category, supported\_platforms, object\_store\_urls, ios\_bundle\_id, namespace, link, app\_install\_tracked, advertisable\_app\_events. # List Saved Audiences Source: https://docs.markifact.com/nodes/meta_ads/meta_list_saved_audiences List saved audiences (reusable targeting presets) from a Meta Ads account, with their full targeting specification, readable targeting summary, and size estimate List saved audiences (reusable targeting presets) from a Meta Ads account, with their full targeting specification, readable targeting summary, and size estimate. Saved audiences are the targeting presets used when creating ad sets; for custom and lookalike audiences use meta\_list\_custom\_audiences instead. Use name\_search to have Meta find them by name. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_list_saved_audiences` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided | | `name_search` | string | No | - | Return only saved audiences whose name contains this text. Meta applies this search itself, so it also finds audiences beyond the first page. Meta supports 'contains' only, not 'starts with', so searching 'PN' returns every saved audience containing 'PN' anywhere in the name. | | `limit` | integer | No | `100` | Maximum number of saved audiences to return (1-1000). Default: 100 | ## Output **Type**: `List[Dict]` Returns saved audiences with id, name, targeting spec, sentence\_lines summary, approximate size, run status, and timestamps. **Fields**: dynamic (depend on the inputs) # Retrieve Leads Source: https://docs.markifact.com/nodes/meta_ads/meta_retrieve_leads Retrieves lead form submissions from Meta Ads (Facebook and Instagram) lead generation campaigns Retrieves lead form submissions from Meta Ads (Facebook and Instagram) lead generation campaigns | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_retrieve_leads` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | string or SelectItem | Yes | - | Select Facebook page to retrieve leads from, ask the user for it if not provided | | `form` | string or SelectItem | Yes | - | Select Facebook lead form to retrieve leads from, ask the user for it if not provided | | `date_range` | DateRange | No | - | Select date range for the report. Supports custom date ranges and presets | | `limit` | integer | No | - | Maximum number of rows to return, leave empty to retrieve all records | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of lead submissions. **Fields**: dynamic (depend on the inputs) # Update Custom Audience Source: https://docs.markifact.com/nodes/meta_ads/meta_update_custom_audience Updates a Meta custom audience (rename, description, website or video rule, retention window, opt-out link, customer file source, lookalike spec, and more) or permanently deletes it via action='del... Updates a Meta custom audience (rename, description, website or video rule, retention window, opt-out link, customer file source, lookalike spec, and more) or permanently deletes it via action='delete'. Fields are sent to Meta as-is; use meta\_list\_custom\_audiences to find audience\_id. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_update_custom_audience` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `audience_id` | string | Yes | - | Custom audience ID, e.g. from meta\_list\_custom\_audiences | | `action` | string or SelectableOption | No | `update` | 'update' changes the provided fields; 'delete' permanently deletes the audience (it is removed from any ad sets still using it) and ignores all other fields. | | `name` | string | No | - | New audience name | | `description` | string | No | - | New audience description | | `rule` | array of object or object or string | No | - | Replacement native Meta rule, sent unchanged. Accepts an inclusions/exclusions object for website or supported engagement audiences, or a video remarketing array, e.g. \[\{"object\_id":"\","event\_name":"video\_view\_25\_percent"}]. Accepts native JSON or a JSON string. Supply the complete replacement rule; existing rules are not merged. Meta decides which rule changes the audience supports. | | `retention_days` | integer | No | - | New lookback window in days (Meta caps this per audience type, e.g. 180 for website, 365 for engagement) | | `opt_out_link` | string | No | - | URL where people can opt out of the audience | | `customer_file_source` | string or SelectableOption | No | - | Source of customer data, for customer-list audiences | | `allowed_domains` | array of string | No | - | Domains allowed as traffic sources for the audience | | `tags` | array of string | No | - | Tags to organize the audience | | `use_in_campaigns` | boolean | No | - | | | `product_set_id` | string | No | - | Product set ID, for product audiences | | `lookalike_spec` | object or string | No | - | Lookalike spec JSON, for lookalike audiences, e.g. \{"type": "similarity", "origin\_audience\_id": "\", "country": "US"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the audience id, action performed, and updated fields. **Fields**: `audience_id`, `action`, `updated_fields` # Update Lead Form Status Source: https://docs.markifact.com/nodes/meta_ads/meta_update_lead_form_status Updates the status of a Meta Instant Form (lead gen form): ACTIVE, ARCHIVED, DELETED, or DRAFT Updates the status of a Meta Instant Form (lead gen form): ACTIVE, ARCHIVED, DELETED, or DRAFT. Status is the only property Meta allows changing on an existing form; to change content, create a new form and archive the old one. ARCHIVED is reversible, DELETED is permanent. | | | | - | - | | **App** | Meta Ads | | **Operation ID** | `meta_update_lead_form_status` | | **Type** | Action | | **Connection** | `meta_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `page` | SelectItem | Yes | - | Select the Facebook page that owns the lead form, ask the user for it if not provided | | `form_id` | string | Yes | - | Lead form ID, e.g. from meta\_list\_lead\_forms | | `status` | string or SelectableOption | Yes | - | New form status. Status is the only thing Meta allows updating on a lead form. ARCHIVED is reversible (set ACTIVE to restore); DELETED is permanent, prefer ARCHIVED unless the user explicitly wants deletion. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the form id and its new status. **Fields**: `form_id`, `status` # Add Brands To Brand List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_add_brands_to_brand_list Add brands to an existing Microsoft Ads brand list, up to 5000 per run Add brands to an existing Microsoft Ads brand list, up to 5000 per run. Brands are identified by numeric ID only, which microsoft\_ads\_list\_shared\_list\_items returns for an existing list. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_add_brands_to_brand_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the brand list. | | `list_id` | string or integer | Yes | - | ID of the brand list to add to. microsoft\_ads\_list\_shared\_lists returns these when the list type is BrandList. | | `brand_ids` | string or array of string or integer | Yes | - | Brand IDs to add, as a list or comma separated, up to 5000 per run. Microsoft exposes no operation to look a brand up by name, so these IDs have to come from a brand list built in the Microsoft Advertising interface and read back with microsoft\_ads\_list\_shared\_list\_items. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns how many brands were added. **Fields**: `list_id`, `brands_added`, `brand_ids` # Add Keywords To Ad Group Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_add_keywords_to_ad_group Add Microsoft Ads keywords with match type, status, optional bid, keyword final/mobile URLs and tracking settings Add Microsoft Ads keywords with match type, status, optional bid, keyword final/mobile URLs and tracking settings. Bulk adds return per-row outcomes and continue after duplicates or other row-level errors. Retry only failed rows; check unknown outcomes before retrying. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_add_keywords_to_ad_group` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `final_urls` | string or array of string | No | - | Keyword landing-page URLs as an array, JSON array, or a single URL, e.g. \["`https://www.example.com/products`"]. Omitted: uses the ad landing page. For bulk creation, acts as a default for rows without final\_urls; each row can override it. | | `final_mobile_urls` | string or array of string | No | - | Mobile landing-page URLs as an array, JSON array, or a single URL. Microsoft requires final\_urls too. Bulk rows override this default. | | `tracking_url_template` | string | No | - | Keyword tracking template, e.g. '\{lpurl}?source=\{\_source}'. Bulk rows override this default. | | `final_url_suffix` | string | No | - | Tracking parameters appended to the landing page, e.g. 'utm\_source=bing\&utm\_medium=cpc'. Bulk rows override this default. | | `url_custom_parameters` | object or string | No | - | Native Microsoft custom-parameters object or JSON string, e.g. \{"Parameters":\[\{"Key":"source","Value":"bing"}]}. Microsoft requires a final URL when custom parameters or a tracking template are set. Bulk rows override this default. | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to add a single keyword or multiple keywords at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | Enter the ad group ID to add the keyword to. Required for single add. | | `keyword` | string | No | - | The keyword text to add. Required for single add. | | `match_type` | string or SelectableOption | No | - | Keyword match type. Options: Broad, Phrase, or Exact. Required for single add. | | `status` | string or SelectableOption | No | - | Initial keyword status. Options: Active or Paused. Required for single add. | | `bid` | number or string | No | - | Optional max CPC bid for the keyword in the account currency. If omitted, the keyword uses the ad group default bid. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk add. Required columns: 'ad\_group\_id', 'keyword', 'match\_type', 'status'. Optional columns: 'bid', 'final\_urls', 'final\_mobile\_urls', 'tracking\_url\_template', 'final\_url\_suffix', 'url\_custom\_parameters'. URL/tracking fields accept the same values as the top-level inputs; a row value (including null) overrides the top-level default. Required for bulk add. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created\_count, failed\_count, and results with keyword IDs, action (added, failed, or unknown), per-row errors, and original bulk row\_number. An optional top-level error explains interrupted batches; results retain completed batches. Keyword status is the requested Active/Paused status, not the row outcome. **Fields**: `message`, `created_count`, `failed_count`, `results`, `error` # Add Keywords To Negative List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_add_keywords_to_negative_list Add Exact/Phrase negatives to a Microsoft Ads shared negative keyword list or remove selected item IDs Add Exact/Phrase negatives to a Microsoft Ads shared negative keyword list or remove selected item IDs. Removing a list item affects all campaigns using that list; other items are preserved. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_add_keywords_to_negative_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the negative keyword list. | | `action` | enum (`add`, `remove`) | No | `add` | Add negatives (default) or remove specific keywords from the shared list by ID. Removing an item affects every campaign using this list. | | `negative_keyword_ids` | array of string | No | - | IDs from microsoft\_ads\_list\_shared\_list\_items to remove; accepts a list, JSON array, or comma-separated IDs. Required for remove. Other list items are preserved. | | `list_id` | string or SelectItem | Yes | - | The ID of the existing negative keyword list to manage. | | `keywords` | array (also accepts a comma-separated string) | No | - | Negative keywords to add, as structured data: a list of objects each with 'keyword' (the text) and 'match\_type' ('Exact' or 'Phrase'). Up to 5,000 per call. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the negative keyword list ID and the count of keywords added. Remove returns removed\_count, failed\_count and per-ID results (removed or failed); interrupted batches include error and preserve confirmed results. **Fields**: `removed_count`, `failed_count`, `results`, `error`, `message`, `list_id`, `keywords_added_count` # Add Negative Keywords To Ad Groups Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_add_negative_keywords_to_ad_groups Add Exact/Phrase negative keywords to Microsoft Ads ad groups or remove selected negative keyword IDs Add Exact/Phrase negative keywords to Microsoft Ads ad groups or remove selected negative keyword IDs. To change a negative, explicitly remove then add. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_add_negative_keywords_to_ad_groups` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad groups. | | `action` | enum (`add`, `remove`) | No | `add` | Add negatives (default) or remove selected negative keyword IDs. To change text or match type, explicitly remove the old negative then add its replacement. | | `negative_keyword_id` | string | No | - | Negative keyword ID returned by microsoft\_ads\_list\_negative\_keywords. Required for single remove; keyword text and match\_type are not needed. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to add or remove a negative keyword to a single ad group or to multiple ad groups at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | The ad group ID whose negative keywords to manage. Required for single add or remove. | | `keyword` | string | No | - | The negative keyword text to add. Required for single add. | | `match_type` | string or SelectableOption | No | - | Negative keyword match type. Options: Exact or Phrase (Microsoft negative keywords do not support Broad). Required for single add. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk add. Required columns: 'ad\_group\_id', 'keyword', 'match\_type'. For bulk remove use ad\_group\_id and negative\_keyword\_id instead. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads added negative keyword results. Remove returns removed\_count, failed\_count and per-ID results (removed or failed); interrupted batches include error and preserve confirmed results. **Fields**: `removed_count`, `failed_count`, `error`, `message`, `created_count`, `results` # Add Negative Keywords To Campaigns Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_add_negative_keywords_to_campaigns Add Exact/Phrase negative keywords to Microsoft Ads campaigns or remove selected negative keyword IDs Add Exact/Phrase negative keywords to Microsoft Ads campaigns or remove selected negative keyword IDs. To change a negative, explicitly remove then add. Returns per-row outcomes; do not retry successful rows. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_add_negative_keywords_to_campaigns` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the campaigns. | | `action` | enum (`add`, `remove`) | No | `add` | Add negatives (default) or remove selected negative keyword IDs. To change text or match type, explicitly remove the old negative then add its replacement. | | `negative_keyword_id` | string | No | - | Negative keyword ID returned by microsoft\_ads\_list\_negative\_keywords. Required for single remove; keyword text and match\_type are not needed. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to add or remove a negative keyword to a single campaign or to multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | The campaign ID whose negative keywords to manage. Required for single add or remove. | | `keyword` | string | No | - | The negative keyword text to add. Required for single add. | | `match_type` | string or SelectableOption | No | - | Negative keyword match type. Options: Exact or Phrase (Microsoft negative keywords do not support Broad). Required for single add. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk add. Required columns: 'campaign\_id', 'keyword', 'match\_type'. For bulk remove use campaign\_id and negative\_keyword\_id instead. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created\_count, failed\_count and per-keyword results with campaign\_id, negative\_keyword\_id, keyword, match\_type and action (added, failed or unknown). Bulk results include the original 1-based row\_number. Rejected rows include Microsoft's error; interrupted runs preserve completed results and include an error explaining the remaining rows. Remove returns removed\_count, failed\_count and per-ID results (removed or failed); interrupted batches include error and preserve confirmed results. **Fields**: `removed_count`, `message`, `created_count`, `failed_count`, `results`, `error` # Add Websites To Exclusion List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_add_websites_to_exclusion_list Add website URLs to an existing Microsoft Ads shared website exclusion list Add website URLs to an existing Microsoft Ads shared website exclusion list. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_add_websites_to_exclusion_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the campaign-level website exclusion list. | | `list_id` | string or SelectItem | Yes | - | The ID of the existing website exclusion list to add websites to. | | `websites` | string or array of string | Yes | - | Website URLs/domains to add, as newline- or comma-separated text (or a list of strings). Up to 5,000 per call. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the website exclusion list ID and the count of websites added. **Fields**: `message`, `list_id`, `websites_added_count` # Appeal Editorial Rejections Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_appeal_editorial_rejections Submit editorial rejection appeals for ads, keywords and other supported Microsoft Ads entities Submit editorial rejection appeals for ads, keywords and other supported Microsoft Ads entities. Submission does not mean approval. A new appeal replaces a pending appeal; already-approved entities are ignored. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_appeal_editorial_rejections` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the rejected entities. | | `entity_type` | enum (`Ad`, `AdGroup`, `AssetGroup`, `Campaign`, `ImageAsset`, `Keyword`, `TextAsset`) | Yes | - | Native Microsoft entity type. All supplied entities must have this type. | | `entities` | array of EditorialAppealEntity | Yes | - | Entity/parent pairs as an array or JSON text, e.g. \[\{"EntityId":"123456789","ParentId":"987654321"}]. For ads/keywords ParentId is the ad group ID; for AssetGroup it is the campaign ID. Requests are automatically batched at 1,000 entities (100 for AssetGroup). Approved entities are ignored by Microsoft; a new appeal replaces any pending appeal. Use list\_ads/list\_keywords with include\_editorial\_reasons=true to inspect eligibility first. | | `justification_text` | string | Yes | - | Explain why the entities comply with Microsoft editorial policy (maximum 1,000 characters). The same justification applies to every supplied entity. Submission does not mean approval. | ### EditorialAppealEntity | Field | Type | Required | Default | Description | | - | - | - | - | - | | `EntityId` | string | Yes | - | Microsoft entity ID to appeal. | | `ParentId` | string | Yes | - | Native parent ID. For ads and keywords use the ad group ID; for asset groups use the campaign ID. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns per-entity submission status (submitted, failed, unconfirmed or not\_attempted), counts, and batches with native PartialErrors and TrackingId. Submitted means no submission error was reported, not approval. Unconfirmed batches stop further submissions and retain earlier results; inspect status before retrying. **Fields**: `account_id`, `entity_type`, `submitted_count`, `failed_count`, `unconfirmed_count`, `not_attempted_count`, `results`, `batches`, `message` # Apply Ad Extension To Entities Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_apply_ad_extension_to_entities Attach EXISTING Microsoft Ads ad extensions to campaigns, ad groups or the whole account Attach EXISTING Microsoft Ads ad extensions to campaigns, ad groups or the whole account. The create operations attach an extension as part of building it, so this is the only way to reuse one that already exists, such as putting a shared call extension on more campaigns. Works with every extension type. Note a campaign can hold only one call extension. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_apply_ad_extension_to_entities` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad extension. | | `level` | string or SelectableOption | Yes | - | Where to attach the extension: 'ACCOUNT' applies it to every campaign, 'CAMPAIGN' to the campaigns listed below, 'AD\_GROUP' to the ad groups. | | `ad_extension_ids` | array of string or SelectItem | Yes | - | Existing ad extension IDs to attach. microsoft\_ads\_list\_ad\_extension\_associations returns the IDs already in use on the account. Any extension type works: call, sitelink, callout, image, price, promotion and the rest. | | `campaign_ids` | array of string or SelectItem | No | - | Campaigns to attach the extension to. Required when level is CAMPAIGN. | | `ad_group_ids` | array of string or SelectItem | No | - | Ad groups to attach the extension to. Required when level is AD\_GROUP. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns how many associations were created and where. **Fields**: `applied_associations`, `ad_extension_ids`, `entity_ids`, `association_type` # Apply Brand List To Campaigns Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_apply_brand_list_to_campaigns Apply a Microsoft Ads brand list to campaigns as a brand inclusion or a brand exclusion Apply a Microsoft Ads brand list to campaigns as a brand inclusion or a brand exclusion. An inclusion keeps a campaign on queries mentioning those brands; an exclusion stops ads serving on them, which is the usual way to keep broad match off unrelated brand terms. Inclusions can only be changed while search term matching is enabled on the campaign. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_apply_brand_list_to_campaigns` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the brand list and campaigns. | | `list_id` | string or SelectItem | Yes | - | ID of the brand list to apply. microsoft\_ads\_list\_shared\_lists returns these when the list type is BrandList. | | `campaign_ids` | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to apply the brand list to. Comma separated text or a list of IDs. | | `is_exclusion` | boolean | Yes | - | False applies the list as a brand INCLUSION, so the campaign only chases queries mentioning those brands. True applies it as a brand EXCLUSION, so ads stop serving on queries mentioning them. Microsoft requires this choice; there is no default. Inclusions can only be added or removed while search term matching is enabled on the campaign, and Microsoft rejects the request otherwise. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns which campaigns the brand list was applied to and how. **Fields**: `message`, `list_id`, `campaigns_count`, `associated_campaign_ids`, `is_exclusion` # Apply Negative Keyword List To Campaigns Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_apply_negative_keyword_list_to_campaigns Apply or remove a Microsoft Ads shared negative keyword list association on one or more campaigns Apply or remove a Microsoft Ads shared negative keyword list association on one or more campaigns. Removing an association leaves the list and its keywords intact. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_apply_negative_keyword_list_to_campaigns` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the negative keyword list and campaigns. | | `action` | enum (`apply`, `remove`) | No | `apply` | Apply the list to campaigns (default), or remove its associations without deleting the list or its keywords. | | `list_id` | string or SelectItem | Yes | - | The ID of the negative keyword list to apply to or remove from the campaigns. | | `campaign_ids` | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to apply the list to or remove it from. Comma-separated text or a list of IDs. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the list ID, campaign count, and associated\_campaign\_ids for apply or removed\_campaign\_ids for remove. **Fields**: `message`, `list_id`, `campaigns_count`, `associated_campaign_ids`, `removed_campaign_ids` # Apply Recommendations Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_apply_recommendations Apply or dismiss Microsoft Ads recommendations Apply or dismiss Microsoft Ads recommendations. Applying makes the change Microsoft suggests and edits live campaigns, so confirm before running it; dismissing only hides the recommendation. Get the IDs and types from microsoft\_ads\_list\_recommendations. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_apply_recommendations` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the recommendations. | | `action` | enum (`Apply`, `Dismiss`) | Yes | - | Apply makes the change Microsoft suggests, which edits live campaigns. Dismiss hides the recommendation without changing anything. | | `recommendations` | string or array of any | Yes | - | Which recommendations to act on, as JSON. Each entry needs recommendation\_id and recommendation\_type, both returned by microsoft\_ads\_list\_recommendations. Applying a budget recommendation can also take a budget\_amount to override Microsoft's suggested figure. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns what was submitted and anything Microsoft refused. **Fields**: `action`, `submitted`, `recommendation_ids`, `failed` # Apply Website Exclusion List To Campaigns Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_apply_website_exclusion_list_to_campaigns Apply (associate) a Microsoft Ads campaign-level website exclusion list to one or more campaigns Apply (associate) a Microsoft Ads campaign-level website exclusion list to one or more campaigns. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_apply_website_exclusion_list_to_campaigns` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the website exclusion list and campaigns. | | `list_id` | string or SelectItem | Yes | - | The ID of the campaign-level website exclusion list to apply to the campaigns. | | `campaign_ids` | array (also accepts a comma-separated string) | Yes | - | Campaign IDs to apply the website exclusion list to. Comma-separated text or a list of IDs. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the list ID and the campaigns it was applied to. **Fields**: `message`, `list_id`, `campaigns_count`, `associated_campaign_ids` # Create Ad Extension Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_ad_extension Fallback Microsoft Ads ad extension create tool for types with no dedicated operation Fallback Microsoft Ads ad extension create tool for types with no dedicated operation. Use this only when no focused operation covers the extension you need; if one exists, such as microsoft\_ads\_create\_sitelinks or microsoft\_ads\_create\_callouts, always use that dedicated operation instead. It takes a raw Microsoft ad extension object carrying a Type, which reaches the types that have no operation of their own: call, location, price, promotion, app, review, action, flyer, logo and filter link. Optionally attaches the new extension to campaigns or ad groups in the same run. The object is sent to Microsoft unchanged, so a rejection is Microsoft validating the payload rather than a Markifact fault: check the required fields for that extension type and fix the object. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_ad_extension` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to create the ad extension in. | | `extension` | object or string | Yes | - | The ad extension object, as JSON, exactly as the Microsoft Advertising Campaign Management API version 13 defines it, sent unchanged to its AddAdExtensions operation. It must carry a Type naming one of: ActionAdExtension, AppAdExtension, CallAdExtension, CalloutAdExtension, FilterLinkAdExtension, FlyerAdExtension, ImageAdExtension, LocationAdExtension, LogoAdExtension, PriceAdExtension, PromotionAdExtension, ReviewAdExtension, SitelinkAdExtension, StructuredSnippetAdExtension, VideoAdExtension. For example a call extension is \{"Type": "CallAdExtension", "CountryCode": "GB", "PhoneNumber": "01420 561661", "IsCallOnly": false}. The Type value is also the name of Microsoft's data object for that extension, so searching their Campaign Management reference for that name gives the exact fields and which are required. Id, Status and Version are set by Microsoft and are rejected on create. | | `level` | string or SelectableOption | No | - | Optionally attach the new extension straight away: 'ACCOUNT', 'CAMPAIGN' or 'AD\_GROUP'. Leave empty to create it unattached and attach it later with microsoft\_ads\_apply\_ad\_extension\_to\_entities. | | `campaign_ids` | array of string or SelectItem | No | - | Campaigns to attach to. Required when level is CAMPAIGN. | | `ad_group_ids` | array of string or SelectItem | No | - | Ad groups to attach to. Required when level is AD\_GROUP. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the new extension ID and any associations made. **Fields**: `ad_extension_id`, `type`, `level`, `entity_ids`, `associations_created` # Create Ad Group Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_ad_group Create a Microsoft Ads ad group in a Search, Shopping, or Audience campaign Create a Microsoft Ads ad group in a Search, Shopping, or Audience campaign. Detects the parent campaign type and omits unsupported Audience fields. Defaults to PAUSED; native settings support target-and-bid criteria. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_ad_group` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to create an ad group in. | | `campaign_id` | string or SelectItem | Yes | - | Select the campaign to create the ad group in. | | `ad_group_name` | string | Yes | - | Name for the new ad group. | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad group status. Default: PAUSED. | | `ad_group_type` | string or SelectableOption | No | `SearchStandard` | Ad group type. Use SearchStandard (default) for ad groups in Search campaigns, or Shopping for ad groups in Shopping campaigns. Microsoft does not accept an explicit type for Shopping ad groups, so choosing Shopping omits the type and the campaign determines it. The parent campaign is checked automatically: Audience groups omit type, language and network. | | `cpc_bid` | number or string | No | - | Optional max CPC bid in the account currency, for example 2.5. | | `language` | string or SelectableOption | No | - | Optional ad group language. If omitted, Microsoft uses campaign-level languages when available. Example: English or Arabic. | | `network` | string or SelectableOption | No | `OwnedAndOperatedAndSyndicatedSearch` | Optional search network. Default: OwnedAndOperatedAndSyndicatedSearch. Omitted for Audience campaigns, which use Audience Network. | | `settings` | array of object or string | No | - | Native Microsoft AdGroup Settings array or JSON string. For Audience targeting, for example \[\{"Type":"TargetSetting","Details":\[\{"CriterionTypeGroup":"Audience","TargetAndBid":true}]}]. Without TargetAndBid, audience criteria are bid-only. Nested fields are forwarded unchanged. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Microsoft Ads ad group. **Fields**: `ad_group_id`, `ad_group_name`, `campaign_id`, `status`, `ad_group_type`, `network`, `language` # Create Audience Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_audience Create Microsoft Ads audiences, including keyword-based custom segments, remarketing lists and customer lists Create Microsoft Ads audiences, including keyword-based custom segments, remarketing lists and customer lists. DMP-based CustomAudience, in-market and similar audiences cannot be created here. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_audience` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string | No | - | CustomSegment only: keyword phrases as an array, JSON array, or comma/newline-separated text, e.g. \["NIST compliance", "CMMC certification"]. Microsoft supports 1–1,000 phrases, each up to 100 characters. Uses Bulk Text internally. On update this replaces the entire keyword list; omission preserves it. Do not combine with custom\_segment\_catalog\_list. Semicolons cannot be used inside a phrase. | | `custom_segment_catalog_list` | array or string | No | - | CustomSegment only: native CustomSegmentCatalogList array or JSON string, e.g. \[\{"CatalogId":123}]. Use existing Microsoft catalog definitions; CatalogName is not assumed to represent arbitrary keyword text. Use keywords for keyword-based segments. Updates replace this definition; omission preserves it. | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account to create the audience in. | | `name` | string | Yes | - | Audience name, unique within the account. | | `audience_type` | enum (`RemarketingList`, `CustomerList`, `Product`, `CombinedList`, `CustomSegment`, `ImpressionBasedRemarketingList`) | Yes | - | Type of audience. RemarketingList targets site visitors and needs a UET tag. CustomerList is filled afterwards with microsoft\_ads\_upload\_customer\_list. Microsoft will not create in-market, DMP-based CustomAudience or similar audiences through the API; those come from Microsoft or from the web interface. CustomSegment supports keyword phrases or native catalog definitions. | | `description` | string | No | - | Optional note about the audience. | | `scope` | enum (`Account`, `Customer`) | No | - | Account keeps the audience to this account, Customer shares it across every account under the customer. | | `membership_duration` | integer | No | - | How many days someone stays in the audience. 1 to 180 for most types, up to 390 for a customer list, and -1 on a customer list means never expire. | | `tag_id` | integer or string | No | - | UET tag feeding the audience. Required for RemarketingList and Product audiences. microsoft\_ads\_list\_uet\_tags returns these. | | `rule` | object or string | No | - | RemarketingList only, and required: Microsoft rejects a remarketing list without one. JSON in Microsoft's RemarketingRule shape, for example \{"Type": "PageVisitors", "RuleItemGroups": \[\{"Items": \[\{"Type": "String", "Operand": "Url", "Operator": "Contains", "Value": "example.com/pricing"}]}]}. The item Type is String or Number, not the page or URL being matched. Operand is Url or ReferrerUrl. Items inside a group are ANDed and the groups are ORed. | | `product_audience_type` | enum (`GeneralVisitors`, `ProductSearchers`, `ProductViewers`, `ShoppingCartAbandoners`, `PastBuyers`) | No | - | Product audiences only: which shopper behaviour to target. | | `combination_rules` | array or string | No | - | CombinedList only: the include and exclude rules combining other audiences, as JSON. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the audience or submitted-value fallback, with segment catalogs/editorial status when available. Keyword writes return Bulk result keywords and request ID; submission is not editorial approval. **Fields**: `id`, `name`, `type`, `membership_duration`, `scope`, `tag_id`, `custom_segment_catalog_list`, `editorial_status` # Create Brand List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_brand_list Create a brand list in a Microsoft Ads account, optionally populated with brands Create a brand list in a Microsoft Ads account, optionally populated with brands. Brand lists drive brand inclusion and exclusion on Performance Max and AI Max campaigns. Brands are identified by numeric ID only; Microsoft offers no name lookup, so get IDs from a list built in their interface and read back with microsoft\_ads\_list\_shared\_list\_items. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_brand_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to create the brand list in. | | `name` | string | Yes | - | Name for the brand list, up to 255 characters. | | `brand_ids` | string or array of string or integer | No | - | Brand IDs to add on creation, as a list or comma separated. Optional; the list can be created empty and filled later with microsoft\_ads\_add\_brands\_to\_brand\_list. Microsoft exposes no way to look a brand up by name, so these IDs have to come from a brand list built in the Microsoft Advertising interface, readable with microsoft\_ads\_list\_shared\_list\_items. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the new brand list and how many brands it was created with. **Fields**: `list_id`, `name`, `type`, `brands_added`, `brand_ids` # Create Callouts Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_callouts Create callout ad extensions and attach them to Microsoft Ads entities at account, campaign, or ad group level Create callout ad extensions and attach them to Microsoft Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_callouts` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to attach the callouts. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the callouts (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the callouts (required if level is AD\_GROUP) | | `callout_texts` | array of string | Yes | - | List of callout texts. Each callout must be max 25 characters. | | `start_date` | integer or string | No | - | Start date for when the callouts can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | End date for when the callouts stop serving (Unix timestamp or YYYY-MM-DD format) | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created callouts details. **Fields**: `callout_ids`, `callouts_created` # Create Campaign Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_campaign Create a Search, Shopping, Performance Max, or Audience-only campaign in Microsoft Ads Create a Search, Shopping, Performance Max, or Audience-only campaign in Microsoft Ads. Defaults to PAUSED. Audience campaigns require All languages; create Audience image ads with microsoft\_ads\_create\_image\_ad. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_campaign` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to create a campaign in. | | `campaign_name` | string | Yes | - | Name for the new campaign. | | `campaign_type` | string or SelectableOption | Yes | - | Campaign type. Supported values: Search, PerformanceMax, Shopping, or Audience. Shopping campaigns (standard shopping) also require store\_id and support shopping\_priority and sales\_country\_code. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Initial campaign status. Default: PAUSED. | | `daily_budget` | number | Yes | - | Daily budget in the account currency, for example 50 for \$50. | | `locations` | string or array of string or integer or SelectableOption | Yes | - | Microsoft Ads location IDs to target. Pass a comma/newline-separated string or a list. Use `microsoft_ads_search_locations` to find IDs. | | `languages` | string or array of string or SelectableOption | No | `['All']` | Campaign ad languages. Use Microsoft language names such as English, Arabic, or All. Default: All. Audience campaigns require All. | | `bidding_strategy_type` | string or SelectableOption | No | `{'value': 'MaxConversionsBiddingScheme', 'label': 'Maximize Conversions'}` | Bidding strategy for the campaign. Audience image campaigns support EnhancedCpc and MaxConversions (optionally with target\_cpa); availability depends on Microsoft account eligibility. | | `max_cpc` | number or string | No | - | Maximum CPC cap in account currency. Optional for MaxClicks, MaxConversions, MaxConversionValue, and TargetImpressionShare. | | `target_cpa` | number or string | No | - | Optional target CPA in account currency. Used by MaxConversions. | | `target_roas` | number or string | No | - | Optional target ROAS multiplier, for example 3.5 for 350%. Used by MaxConversionValue. | | `target_ad_position` | string or SelectableOption | No | - | Target ad position for TargetImpressionShare. | | `target_impression_share` | number or string | No | - | Target impression share percentage, 1 to 100. Used by TargetImpressionShare. | | `goal_ids` | string or array of string or integer | No | - | Optional Microsoft Ads conversion goal IDs. Microsoft may not save goals sent at campaign creation, so after creating the campaign confirm or attach them with microsoft\_ads\_manage\_campaign\_conversion\_goals (action add), which verifies the saved list. | | `store_id` | integer or string | No | - | Microsoft Merchant Center store ID. Required when campaign\_type is Shopping and immutable after creation. Find it with microsoft\_ads\_list\_merchant\_stores. | | `shopping_priority` | integer or string | No | - | Shopping campaigns only. Priority when multiple campaigns use the same store: 0 (low, default), 1 (medium), or 2 (high). | | `sales_country_code` | string | No | - | Shopping campaigns only. Optional 2-letter country code that filters the store catalog, for example US or GB. Immutable after creation. | | `geo_target_type` | string or SelectableOption | No | `{'value': 'PRESENCE_OR_INTEREST', 'label': 'Presence or Interest'}` | Location intent option. Default: PRESENCE\_OR\_INTEREST. | | `start_date` | integer or string | No | - | Optional campaign start date as YYYY-MM-DD or Unix timestamp. | | `end_date` | integer or string | No | - | Optional campaign end date as YYYY-MM-DD or Unix timestamp. | | `final_url_expansion_opt_out` | boolean | No | `True` | If false, Microsoft can expand final URLs automatically. Default: true. | | `auto_generated_image_opt_out` | boolean | No | `True` | If false, Microsoft can generate image assets automatically. Default: true. | | `auto_generated_text_opt_out` | boolean | No | `True` | If false, Microsoft can generate and customize text assets automatically. Default: true. | | `ai_search_enabled` | boolean | No | `False` | Search campaigns only. Whether to enable AI Max or not. Default: false. | | `search_term_matching_opt_out` | boolean | No | `True` | Search campaigns only. If false, Microsoft can use AI search term matching. Default: true. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Microsoft Ads campaign and location targeting results. **Fields**: `campaign_id`, `campaign_name`, `campaign_type`, `status`, `daily_budget`, `location_targets` # Create Conversion Goal Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_conversion_goal Create a conversion goal in a Microsoft Ads account's shared goal library Create a conversion goal in a Microsoft Ads account's shared goal library. URL, event, duration and pages-per-visit goals all need a live UET tag on the site, so check microsoft\_ads\_list\_uet\_tags first. Microsoft has no delete for goals, so a goal is retired by pausing it. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_conversion_goal` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account to create the conversion goal in. | | `name` | string | Yes | - | Goal name, up to 100 characters. Must be unique across every conversion goal belonging to the same customer, not just this account. | | `goal_type` | enum (`Url`, `Duration`, `PagesViewedPerVisit`, `Event`, `AppInstall`, `AppDownload`, `OfflineConversion`, `InStoreTransaction`) | Yes | - | What the goal measures. Url fires on a page URL match, Event on a UET event, Duration on time on site, PagesViewedPerVisit on page count. Url, Event, Duration and PagesViewedPerVisit all need a live UET tag; check with microsoft\_ads\_list\_uet\_tags first. | | `goal_category` | string | Yes | - | Category used to group goals in reporting, for example Purchase, Signup, Contact, Download or Other. Microsoft requires one and rejects the create without it. Supported values vary by goal type. | | `tag_id` | integer or string | No | - | UET tag that feeds this goal. Required for Url, Event, Duration and PagesViewedPerVisit goals, and not used by app or offline goals. | | `scope` | enum (`Account`, `Customer`) | No | `Account` | Account tracks conversions for this account only. Customer tracks across every account under the customer. Microsoft fixes this at creation, so changing it later means a new goal. | | `status` | enum (`Active`, `Paused`) | No | - | Whether the goal starts recording. Microsoft has no delete for conversion goals, so Paused is how one is retired. | | `count_type` | enum (`All`, `Unique`) | No | - | All counts every conversion after a click, the usual choice for sales. Unique counts one per click, the usual choice for leads. Defaults to All. | | `conversion_window_in_minutes` | integer | No | - | How long after a click conversions still count, in minutes, up to 129600 which is 90 days. A shorter window records fewer conversions. | | `view_through_conversion_window_in_minutes` | integer | No | - | How long after a view conversions still count, in minutes, up to 43200 which is 30 days. The account must also have view-through conversions on. | | `exclude_from_bidding` | boolean | No | - | True keeps the goal out of the Conversions columns and out of automated bidding, while still counting it in All Conversions. This is the same as unchecking Include in Conversions in the web interface. Only available to accounts in Microsoft's Include in Conversions pilot. | | `revenue_type` | enum (`FixedValue`, `VariableValue`, `NoValue`) | No | - | FixedValue uses revenue\_value for every conversion, VariableValue uses the value sent with each event, NoValue records none. | | `revenue_value` | number | No | - | Value of one conversion, used when revenue\_type is FixedValue. | | `revenue_currency` | string | No | - | Currency code for the revenue value. Defaults to the account currency. | | `url_expression` | string | No | - | Url goals: the URL text to match, without the protocol, for example example.com/thanks. | | `url_operator` | enum (`Equals`, `Contains`, `BeginsWith`, `RegularExpression`) | No | - | Url goals: how url\_expression is matched. | | `minimum_duration_in_seconds` | integer | No | - | Duration goals: seconds on site before the goal counts. | | `minimum_pages_viewed` | integer | No | - | PagesViewedPerVisit goals: pages viewed before the goal counts. | | `action_expression` | string | No | - | Event goals: the UET event action to match. | | `action_operator` | enum (`Equals`, `Contains`, `BeginsWith`) | No | - | Event goals: how action\_expression is matched. | | `category_expression` | string | No | - | Event goals: the UET event category to match. | | `category_operator` | enum (`Equals`, `Contains`, `BeginsWith`) | No | - | Event goals: how category\_expression is matched. | | `label_expression` | string | No | - | Event goals: the UET event label to match. | | `label_operator` | enum (`Equals`, `Contains`, `BeginsWith`) | No | - | Event goals: how label\_expression is matched. | | `app_platform` | string | No | - | App goals: the store platform, for example iOS or Android. | | `app_store_id` | string | No | - | App goals: the application's store identifier. | | `is_externally_attributed` | boolean | No | - | OfflineConversion goals: whether an outside system does attribution. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the created conversion goal, read back from Microsoft. **Fields**: `id`, `name`, `type`, `status`, `goal_category`, `tag_id`, `count_type`, `exclude_from_bidding`, `tracking_status` # Create Image Ad Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_image_ad Create responsive image ads in Microsoft Audience Network ad groups, singly or in bulk, from image URLs or existing media IDs Create responsive image ads in Microsoft Audience Network ad groups, singly or in bulk, from image URLs or existing media IDs. Defaults to PAUSED. Creative-only mode uploads media and returns ad payloads without creating ads; it is not a dry run. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_image_ad` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectItem | No | - | Destination Audience ad group ID. Required per bulk row; never inherited from the top level. Not required for creative\_only. | | `business_name` | string | No | - | Business name, required per ad, up to 25 characters. | | `headlines` | string or array of string | No | - | Required per ad. Short headlines as an array or JSON array string. Microsoft supports 1–15 headlines, up to 30 final characters each. | | `long_headlines` | string or array of string | No | - | Required per ad. Long headlines as an array or JSON array string. Microsoft supports 1–5 long headlines, up to 90 characters each. | | `descriptions` | string or array of string | No | - | Required per ad. Descriptions as an array or JSON array string, up to 90 final characters each. | | `final_url` | string | No | - | Landing page URL, required per ad. | | `image_url` | string | No | - | Default image to upload. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Recommended 1200×628. Use this or image\_media\_id or native advanced\_fields.Images. | | `image_media_id` | string | No | - | Existing Microsoft image media ID from the same ad account. Use instead of image\_url to reuse media. | | `image_subtype` | string | No | `OriginalImage` | ImageAsset SubType for the default image. Default: OriginalImage (current Audience default). Microsoft also supports LandscapeImageMedia and SquareImageMedia; native crop settings and additional images can be supplied through advanced\_fields.Images. | | `ad_status` | string or SelectableOption | No | `PAUSED` | Initial status. Default: PAUSED. Also the default for bulk rows. | | `tracking_url_template` | string | No | - | Optional Microsoft tracking template, for example \{lpurl}?source=microsoft. | | `final_url_suffix` | string | No | - | Optional URL suffix, for example utm\_source=microsoft\&utm\_medium=paid. | | `advanced_fields` | object or string | No | - | Additional native ResponsiveAd fields or JSON object, including Images asset links/crops, ImpressionTrackingUrls, FinalMobileUrls or UrlCustomParameters. Example: \{"Images":\[\{"Asset":\{"Type":"ImageAsset","Id":123,"SubType":"OriginalImage"}}]}. Named inputs take precedence. Type and Status are controlled by this operation. Do not combine Images with image\_url/image\_media\_id. | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the ad groups and image media. | | `update_type` | enum (`single`, `bulk`) | No | `single` | Create one image ad or supply structured\_data for bulk creation. | | `structured_data` | array of object or string | No | - | Array of image-ad rows or JSON array string. Each row requires ad\_group\_id unless creative\_only. All other top-level ad fields act as defaults; row values win. Rows use the same fields as single mode. | | `creative_only` | boolean | No | `False` | Upload/resolve images and return ResponsiveAd payloads without creating ads. This still uploads image media; it is not a dry run. Microsoft has no independent ad-creative object. | | `return_detailed_results` | boolean | No | `False` | Return per-row success/error details, including IDs of ads already created. Mixed results are always returned to avoid hiding successful writes. If all rows fail, raises unless enabled. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns per-row ad IDs/status, errors and uploaded media IDs. Creative-only results contain ResponsiveAd payloads. Mixed outcomes retain successful IDs so callers retry only failed rows. Credits: one per created ad, or one per successful creative-only run. **Fields**: `created_count`, `prepared_count`, `failed_count`, `results` # Create Image Extensions Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_image_extensions Upload images and create image ad extensions, attaching them to Microsoft Ads entities at account, campaign, or ad group level Upload images and create image ad extensions, attaching them to Microsoft Ads entities at account, campaign, or ad group level. Each image becomes one image extension. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_image_extensions` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to attach the image extensions. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the image extensions (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the image extensions (required if level is AD\_GROUP) | | `image_urls` | array of string | Yes | - | Images to upload as image extensions. Each image becomes one image extension. Accepts direct image URLs or Google Drive share links. Recommended at least 703x368 px. | | `alternative_text` | string | Yes | - | Alternative text describing the image, used when the image can't be displayed (required, max 35 characters). Applied to every created image extension. | | `display_text` | string | No | - | Display text shown with the image extension (optional, max 35 characters). | | `description` | string | No | - | Internal description to label or manage the image, not shown with the ad (optional, max 100 characters). | | `final_url` | string | No | - | Landing page URL when the image is clicked (optional, e.g. `https://example.com`). If omitted, the ad's URL is used. | | `start_date` | integer or string | No | - | Start date for when the image extension can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | End date for when the image extension stops serving (Unix timestamp or YYYY-MM-DD format) | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created image extensions details. **Fields**: `image_extension_ids`, `image_extensions_created` # Create Import Job Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_import_job Create a Google Ads import into Microsoft Ads, immediately or on a schedule Create a Google Ads import into Microsoft Ads, immediately or on a schedule. Requires a Microsoft UI-issued Import Credential ID. New campaigns default to paused and existing-entity updates default off. Dry-run previews the request only. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_import_job` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Destination Microsoft Ads account. | | `campaign_ad_group_ids` | array of GoogleImportCampaign | No | - | Source campaign/ad-group selection as an array or JSON text, e.g. \[\{"CampaignId":123456789,"AdGroupIds":\[987654321]}]. On create, omission makes ALL source campaigns eligible. On update, omission preserves the selection. Microsoft may skip invalid source IDs during import; a submitted job does not prove every selected entity imported. | | `campaign_types` | array of string | No | - | Optional native GoogleImportJob.CampaignTypes filter. Omit to use Microsoft's selection; on update omission preserves it. | | `frequency` | GoogleImportFrequency | No | - | Schedule object or JSON text. Create without a schedule runs immediately. Update without a schedule preserves the existing one. Example: \{"Type":"Scheduling","Cron":"0 16 \* \* 3 \*","TimeZone":"GreenwichMeanTimeDublinEdinburghLisbonLondon"}. Use \{"Type":"RunNow"} for immediate execution. | | `import_options` | object or string | No | - | Native GoogleImportOption object or JSON text; all API options and ForwardCompatibilityMap are supported. Example: \{"PauseNewCampaigns":true,"UpdateEntities":false,"DeleteRemovedEntities":false}. Create defaults PauseNewCampaigns=true and UpdateEntities=false unless explicitly overridden. Other values use Microsoft defaults, which enable most imports. On update, omission preserves existing options; supplied options are forwarded as a partial update. Type defaults to GoogleImportOption. Pausing NEW campaigns does not pause existing campaigns. | | `notification_email` | string | No | - | Email address for Microsoft's import-result notifications. | | `notification_type` | enum (`None`, `Changes`, `Errors`, `EveryTime`) | No | - | Microsoft import notifications: None, Changes, Errors, EveryTime. Omitted on create means None; omitted on update preserves the setting. | | `dry_run` | boolean | No | `False` | Show the request without submitting an import. Local payload preview only, not Microsoft validation or a prediction of imported entities. | | `name` | string | Yes | - | Name of the Google Ads import job. | | `credential_id` | string | Yes | - | Microsoft Import Credential ID, generated in Microsoft Advertising by searching for 'Import credential ID' and signing into Google. Use the same Microsoft user as this connection and the intended destination manager account. Existing Markifact Google/Microsoft connections alone do not supply this authorization. | | `google_account_id` | integer | Yes | - | Source Google Ads customer ID, without hyphens. The Import Credential ID must authorize this account. | ### GoogleImportCampaign | Field | Type | Required | Default | Description | | - | - | - | - | - | | `CampaignId` | integer | Yes | - | Source Google Ads campaign ID. | | `AdGroupIds` | array of integer | No | - | Source Google ad group IDs. Omit or leave empty for all ad groups in this campaign. | | `ActiveAdGroupsOnly` | boolean | No | - | When no AdGroupIds are selected, true imports only active ad groups. Otherwise Microsoft ignores this flag. | ### GoogleImportFrequency | Field | Type | Required | Default | Description | | - | - | - | - | - | | `Type` | enum (`RunNow`, `Scheduling`, `Auto`) | Yes | - | RunNow imports immediately; Scheduling uses Cron; Auto lets Microsoft choose the schedule. | | `Cron` | string | No | - | Microsoft six-part cron (minute hour day month weekday year). Example: "0 16 \* \* 3 \*" for Wednesdays at 16:00. Used with Scheduling. | | `TimeZone` | string | No | - | Microsoft time-zone name, e.g. GreenwichMeanTimeDublinEdinburghLisbonLondon. Omitted uses Microsoft's default. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` submitted means the job was accepted, not that campaigns finished importing. import\_job\_id is the new/replacement ID. Dry-run returns request\_payload only; inspect actual runs with Get Import Results. **Fields**: `dry_run`, `submitted`, `request_payload`, `import_job_id`, `response`, `message` # Create Negative Keyword List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_negative_keyword_list Create a shared negative keyword list in a Microsoft Ads account, optionally seeded with keywords Create a shared negative keyword list in a Microsoft Ads account, optionally seeded with keywords. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_negative_keyword_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to create the negative keyword list in. | | `list_name` | string | Yes | - | Name for the new negative keyword list (must be unique within the account). | | `keywords` | array (also accepts a comma-separated string) | No | - | Optional negative keywords to seed the list with, as structured data: a list of objects each with 'keyword' (the text) and 'match\_type' ('Exact' or 'Phrase'). Up to 5,000 per call. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the created Microsoft Ads negative keyword list ID and seeded keyword count. **Fields**: `message`, `list_id`, `list_name`, `keywords_added_count` # Create PMax Asset Group Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_pmax_asset_group Create an asset group for a Microsoft Ads Performance Max campaign Create an asset group for a Microsoft Ads Performance Max campaign. Uploads image URLs to the Microsoft media library, links text and image assets, and calls the REST AddAssetGroups endpoint. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_pmax_asset_group` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that contains the campaign. | | `campaign_id` | string or SelectItem | Yes | - | Select the Performance Max campaign for this asset group. | | `asset_group_name` | string | Yes | - | Name for the new asset group. | | `status` | string or SelectableOption | No | `PAUSED` | Initial asset group status. Default: PAUSED. | | `final_url` | string | Yes | - | Landing page URL for the asset group. Must start with http\:// or `https://.` | | `final_mobile_url` | string | No | - | Optional mobile landing page URL. If provided, final\_url is also sent. | | `path1` | string | No | - | Optional display URL path 1. Maximum 15 characters. | | `path2` | string | No | - | Optional display URL path 2. Maximum 15 characters. | | `final_url_suffix` | string | No | - | Optional final URL suffix with tracking parameters. | | `tracking_url_template` | string | No | - | Optional tracking URL template. | | `headlines` | array of string | Yes | - | Headlines for the asset group. Provide 3-15 items, each max 30 characters. | | `long_headlines` | array of string | Yes | - | Long headlines for the asset group. Provide 1-5 items, each max 90 characters. | | `descriptions` | array of string | Yes | - | Descriptions for the asset group. Provide 2-5 items, each max 90 characters. | | `business_name` | string | Yes | - | Business name for the asset group. Maximum 25 characters. | | `marketing_images` | array of string | Yes | - | Landscape images for Microsoft AssetGroup Images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Provide 1-20 images, 1.91:1, at least 703x368 px. | | `square_marketing_images` | array of string | Yes | - | Square images for Microsoft AssetGroup Images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Provide 1-20 images, 1:1, at least 128x128 px. | | `logo_images` | array of string | No | - | Optional square logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Up to 5 logos, 1:1, at least 128x128 px. | | `landscape_logo_images` | array of string | No | - | Optional landscape logo images. Accepts direct image URLs or Google Drive share links (set to 'Anyone with the link'). Up to 5 logos, 4:1, at least 512x128 px. | | `call_to_action` | string or SelectableOption | No | `LearnMore` | Optional call to action. Default: LearnMore. | | `search_themes` | string or array of string | No | - | Optional Performance Max search themes. Pass comma/newline-separated text or a list. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Microsoft Ads asset group and uploaded media IDs. **Fields**: `asset_group_id`, `asset_group_name`, `campaign_id`, `status`, `final_url`, `uploaded_images_count`, `uploaded_media` # Create Product Ad Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_product_ad Create product ads in Microsoft Ads Shopping ad groups Create product ads in Microsoft Ads Shopping ad groups. A Shopping ad group needs at least one product ad before it can serve; the ad content is generated from the Merchant Center catalog. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_product_ad` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single product ad or multiple at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | The ad group ID to add the product ad to. The ad group must belong to a Shopping campaign. Required for single create. | | `ad_status` | string or SelectableOption | No | - | Initial ad status. Options: ACTIVE or PAUSED. Defaults to ACTIVE, since a product ad carries no reviewable copy of its own. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk create, one row per product ad. Required column: 'ad\_group\_id'. Optional: 'ad\_status' (ACTIVE or PAUSED, defaults to ACTIVE). Required for bulk create. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created product ads including their ad IDs. **Fields**: `message`, `created_count`, `results` # Create Responsive Search Ad Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_responsive_search_ad Create responsive search ads (3-15 headlines, 2-4 descriptions, optional pinning) in Microsoft Ads ad groups Create responsive search ads (3-15 headlines, 2-4 descriptions, optional pinning) in Microsoft Ads ad groups. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_responsive_search_ad` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single responsive search ad or multiple at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | The ad group ID to add the ad to (must be a Search 'SearchStandard' ad group). Required for single create. | | `headlines` | array of string or object | No | - | List of headlines (3-15 items, max 30 final characters each). Each item is a string or an object with 'text' and optional 'pinned\_field' (HEADLINE\_1, HEADLINE\_2, HEADLINE\_3). Supports dynamic text strings like \{keyword}. Required for single create. | | `descriptions` | array of string or object | No | - | List of descriptions (2-4 items, max 90 final characters each). Each item is a string or an object with 'text' and optional 'pinned\_field' (DESCRIPTION\_1, DESCRIPTION\_2). Supports dynamic text strings like \{keyword}. Required for single create. | | `final_url` | string | No | - | The landing page URL (must start with http\:// or https\://). Required for single create. | | `path_1` | string | No | - | First display path appended to the domain (optional, max 15 final characters). | | `path_2` | string | No | - | Second display path (optional, max 15 final characters). Can only be set if path\_1 is set. | | `ad_status` | string or SelectableOption | No | - | Initial ad status. Options: ACTIVE or PAUSED. Defaults to PAUSED. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk create. Required columns: 'ad\_group\_id', 'final\_url', 'headlines' (list of strings or \{text, pinned\_field} objects), 'descriptions' (same). Optional: 'path\_1', 'path\_2', 'ad\_status' (defaults to PAUSED). Required for bulk create. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created responsive search ads including their ad IDs. **Fields**: `message`, `created_count`, `results` # Create Sitelinks Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_sitelinks Create sitelink ad extensions and attach them to Microsoft Ads entities at account, campaign, or ad group level Create sitelink ad extensions and attach them to Microsoft Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_sitelinks` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account, ask user for it if not provided | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single sitelink or multiple sitelinks at once. Available options: 'single' (Single Sitelink), 'bulk' (Multiple Sitelinks) | | `level` | string or SelectableOption | No | - | Choose where to attach the sitelink. Required for 'single' mode. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the sitelink (CAMPAIGN level) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the sitelink (AD\_GROUP level) | | `link_text` | string | No | - | The clickable text for the sitelink (max 25 characters with a description, otherwise max 35) | | `final_url` | string | No | - | Landing page URL for the sitelink (e.g., `https://example.com`) | | `description1` | string | No | - | First description line (optional, max 35 characters). If set, description2 is required. | | `description2` | string | No | - | Second description line (optional, max 35 characters). If set, description1 is required. | | `start_date` | integer or string | No | - | Start date for when the sitelink can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | End date for when the sitelink stops serving (Unix timestamp or YYYY-MM-DD format) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. CSV/JSON data with required columns: 'level' (ACCOUNT/CAMPAIGN/AD\_GROUP), 'link\_text', 'final\_url'. Optional columns: 'description1', 'description2' (must be provided together), 'start\_date', 'end\_date' (YYYY-MM-DD or Unix timestamp). For CAMPAIGN level add 'campaign\_ids' (comma-separated for multiple), for AD\_GROUP level add 'ad\_group\_ids' (comma-separated for multiple). | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created sitelinks details. **Fields**: `sitelink_ids`, `sitelinks_created` # Create Structured Snippets Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_structured_snippets Create structured snippet ad extensions and attach them to Microsoft Ads entities at account, campaign, or ad group level Create structured snippet ad extensions and attach them to Microsoft Ads entities at account, campaign, or ad group level | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_structured_snippets` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to attach the structured snippet. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to attach the structured snippet (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to attach the structured snippet (required if level is AD\_GROUP) | | `header` | string or SelectableOption | Yes | - | The header for the structured snippet. Available options: 'Amenities', 'Brands', 'Courses', 'Degree programs', 'Destinations', 'Featured hotels', 'Insurance coverage', 'Models', 'Neighborhoods', 'Service catalog', 'Shows', 'Styles', 'Types' | | `values` | array of string | Yes | - | List of snippet values. Must have 3-10 values, each max 25 characters. | | `start_date` | integer or string | No | - | Start date for when the structured snippet can begin serving (Unix timestamp or YYYY-MM-DD format) | | `end_date` | integer or string | No | - | End date for when the structured snippet stops serving (Unix timestamp or YYYY-MM-DD format) | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created structured snippet details. **Fields**: `structured_snippet_id`, `links_created` # Create Uet Tag Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_uet_tag Create a UET tag on a Microsoft Ads account and return the tracking script to install on the site Create a UET tag on a Microsoft Ads account and return the tracking script to install on the site. A tag is required before URL, event, duration or pages-per-visit conversion goals will work. Microsoft has no delete for UET tags and no way to retire one, so only create a tag that is actually needed. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_uet_tag` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account to create the UET tag in. | | `name` | string | Yes | - | Name for the tag, used to tell tags apart in the interface. | | `description` | string | No | - | Optional note about where this tag is installed. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the new UET tag with its installable script. **Fields**: `id`, `name`, `description`, `tracking_status`, `tracking_script`, `tracking_no_script` # Create Website Exclusion List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_create_website_exclusion_list Create a shared website exclusion list in the Microsoft Ads manager account library, optionally seeded with website URLs Create a shared website exclusion list in the Microsoft Ads manager account library, optionally seeded with website URLs. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_create_website_exclusion_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to create the campaign-level website exclusion list in. | | `list_name` | string | Yes | - | Name for the new campaign-level website exclusion list. | | `websites` | string or array of string | No | - | Optional website URLs/domains to seed the list with, as newline- or comma-separated text (or a list of strings). Up to 5,000 per call. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the created website exclusion list ID and seeded website count. **Fields**: `message`, `list_id`, `list_name`, `websites_added_count` # Custom Microsoft Ads App Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_custom_app Connect Microsoft Ads through your own Azure app and developer token (white-label) by pasting your client ID, client secret, refresh token, and developer token. Markifact supports two ways to connect Microsoft Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Azure app and Microsoft Advertising developer token** (Custom App). With a custom app, every request Markifact makes to the Microsoft Advertising API runs under your app and your developer token, so your clients never see Markifact in their account. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 20-30 minutes | | **App and developer token the client sees** | Markifact's | Yours | | **API rate limits** | Markifact's developer token | Your developer token | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Four values. Microsoft still requires a developer token on every API call, on top of the OAuth app that the user authorizes. | Value | Where it comes from | | :- | :- | | **Client ID** | Your Azure app registration (Application (client) ID) | | **Client Secret** | The same app registration, under Certificates & secrets | | **Refresh Token** | Minted against that app with the `msads.manage` and `offline_access` scopes, by the Microsoft account that has access to the ad accounts | | **Developer Token** | The [Microsoft Advertising developer portal](https://developers.ads.microsoft.com/Account), for the same Microsoft account | Access tokens last one hour; Markifact refreshes them with your client ID and secret on every run. Refresh tokens stay valid as long as they are used at least every 90 days. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a refresh token issued by your Azure app with these scopes, skip to [Connect to Markifact](#connect-to-markifact). *** ## Setting Up Your Custom Microsoft Ads App **1. Register the Azure App** 1. Open the [Azure portal](https://portal.azure.com/) and go to **Microsoft Entra ID** > **App registrations** > **New registration** 2. Enter your app name. This is the branding users see when they authorize 3. Under **Supported account types**, choose **Accounts in any organizational directory and personal Microsoft accounts**, so both work and personal Microsoft accounts can sign in to Microsoft Advertising 4. Under **Redirect URI**, choose **Web** and enter a URL you control (for example `https://www.youragency.com/microsoft-callback`). Microsoft appends the auth code to this URL after authorization; the page does not need to do anything 5. Click **Register** and copy the **Application (client) ID** **2. Create a Client Secret** 1. In the app registration, open **Certificates & secrets** > **New client secret** 2. Set a description and expiry, click **Add**, and copy the secret **Value** right away (it is shown only once) Note the expiry: when the secret expires, Markifact can no longer refresh tokens until you create a new one and re-add the connection. **3. Add the Microsoft Advertising Permission** 1. Open **API permissions** > **Add a permission** > **APIs my organization uses** 2. Search for **Microsoft Advertising** and add the delegated permission **msads.manage** 3. Also add **offline\_access**, **openid** and **email** under **Microsoft Graph** delegated permissions **4. Get the Developer Token** 1. Sign in to the [Microsoft Advertising developer portal](https://developers.ads.microsoft.com/Account) with the Microsoft account that has access to the ad accounts you want to manage 2. Request a token. A **single-user** token is issued immediately and works for that user; a **universal** token (any user) requires Microsoft's approval 3. Copy the developer token **5. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the client ID and redirect URI: ```bash theme={"dark"} https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Fmicrosoft-callback&response_mode=query&scope=openid%20email%20offline_access%20https%3A%2F%2Fads.microsoft.com%2Fmsads.manage&prompt=select_account ``` 2. Sign in with the Microsoft account that has access to the ad accounts (the same account as the developer token) and accept the permissions 3. Microsoft redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire after a few minutes, so do the next step right away **6. Exchange the Auth Code for a Refresh Token** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://login.microsoftonline.com/common/oauth2/v2.0/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "client_id=YOUR_CLIENT_ID" \ -d "client_secret=YOUR_CLIENT_SECRET" \ -d "code=THE_AUTH_CODE" \ -d "grant_type=authorization_code" \ -d "redirect_uri=https://www.youragency.com/microsoft-callback" \ -d "scope=openid email offline_access https://ads.microsoft.com/msads.manage" ``` The response contains `refresh_token`. Copy it. > **Important:** Keep these values secure. Anyone holding the refresh token together with your client ID, secret and developer token can act on every ad account the user can reach. **7. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **Microsoft Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency Microsoft Ads") 5. Paste your **Client ID**, **Client Secret**, **Refresh Token**, and **Developer Token** 6. Click **Verify & Connect** Markifact refreshes an access token with your app, then makes one Customer Management call with your developer token. Nothing is saved unless both succeed. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in Microsoft Ads nodes, agents, and MCP exactly like any other Microsoft Ads connection. *** ## Rotating or Replacing Credentials Add the connection again with the **same connection name** and the new values (for example after a client secret expires). Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Microsoft rejected the client ID or client secret (invalid\_client) > > Check the Application (client) ID and make sure you pasted the secret **Value**, not its ID. An expired client secret also fails this way; create a new one under **Certificates & secrets**. > [accordion] Microsoft rejected the refresh token (invalid\_grant) > > The most common causes: > > * The token was minted with a different client ID than the one you pasted > * The `offline_access` scope was missing, so no refresh token was issued > * The token lapsed (90 days without use) or the user revoked the app under their Microsoft account's **Privacy** > **Apps and services** > > Run the authorization again and paste the new refresh token. > [accordion] Microsoft Ads rejected the developer token or credentials (InvalidCredentials) > > The developer token is wrong, or it belongs to a different Microsoft account than the one that minted the refresh token (a single-user developer token only works for its own user). Copy the token from the developer portal while signed in as the same account. > [accordion] The Microsoft account is not a Microsoft Advertising user (UserIsNotAuthorized) > > Sign in to Microsoft Advertising with that account at least once, or invite it to the ad accounts under **Settings** > **Users**, then authorize again. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Client ID** | Azure portal > App registrations > Overview | `00000000-0000-0000-0000-000000000000` | | **Client Secret** | App registration > Certificates & secrets (Value) | `abc8Q~...` | | **Refresh Token** | Response of the auth code exchange | `M.C5...` | | **Developer Token** | developers.ads.microsoft.com > Account | `123ABC456DEF...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/microsoft_ads/microsoft_ads_get_report) > > Pull Microsoft Ads performance data # Delete Ad Extension Associations Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_delete_ad_extension_associations Delete Microsoft Ads ad extension associations from an account, campaigns, or ad groups Delete Microsoft Ads ad extension associations from an account, campaigns, or ad groups | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_delete_ad_extension_associations` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account, ask user for it if not provided | | `level` | string or SelectableOption | Yes | - | Choose where to remove the ad extension association. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `ad_extension_ids` | array of string or SelectItem | Yes | - | One or more Microsoft Ads ad extension IDs to remove from the selected level | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to remove the ad extension association from (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to remove the ad extension association from (required if level is AD\_GROUP) | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns deleted ad extension association details. **Fields**: `deleted_associations`, `ad_extension_ids`, `entity_ids`, `association_type` # Get Account History Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_account_history Retrieves historical account activity and changes for Microsoft Ads accounts Retrieves historical account activity and changes for Microsoft Ads accounts. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_account_history` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Microsoft Ads accounts to retrieve account change history for, ask the user for it if not provided. | | `date_range` | DateRange | Yes | - | Date range for the Microsoft Ads account change history. Use preset='FIXED' with start/end dates, preset='CUSTOM' with dynamic start/end dates, or a supported predefined date preset. | | `limit` | integer | No | - | Maximum number of change history records to return (1-10000). | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns Microsoft Ads account change history. **Fields**: dynamic (depend on the inputs) # Get Account Settings Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_account_settings Read Microsoft Ads account details and all supported account properties, including name, currency, timezone, status and URL tracking settings Read Microsoft Ads account details and all supported account properties, including name, currency, timezone, status and URL tracking settings. For tracking audits, inspect lower-level URL overrides separately. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_account_settings` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. Returns account details and all supported account properties, including URL tracking settings. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the native account object (Id, Name, Number, CurrencyCode, TimeZone, account status, billing details and other returned fields) with AccountProperties containing all supported Name/Value settings. Empty and null values are preserved. Failed or incomplete reads raise an error. **Fields**: `Id`, `Name`, `Number`, `CurrencyCode`, `TimeZone`, `AccountLifeCycleStatus`, `AccountFinancialStatus`, `ParentCustomerId`, `AccountMode`, `AutoTagType`, `AccountProperties` # Get Budget Opportunities Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_budget_opportunities Check whether a Microsoft Ads campaign's budget is limiting delivery, and what raising it is estimated to buy in extra clicks, impressions and cost Check whether a Microsoft Ads campaign's budget is limiting delivery, and what raising it is estimated to buy in extra clicks, impressions and cost. Returns nothing for a campaign that is not budget constrained, which is itself the answer. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_budget_opportunities` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the campaign. | | `campaign_id` | string or integer | Yes | - | Campaign to check. Microsoft reports opportunities one campaign at a time, and returns nothing for a campaign whose budget is not limiting delivery. microsoft\_ads\_list\_campaigns returns the IDs. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns budget opportunities, or an empty list when the budget is not capping delivery. **Fields**: `campaign_id`, `budget_type`, `current_budget`, `recommended_budget`, `estimated_increase_in_clicks`, `estimated_increase_in_impressions`, `estimated_increase_in_cost` # Get Import Results Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_import_results Read Microsoft Ads Google import results from the last 90 days, including run status and import statistics Read Microsoft Ads Google import results from the last 90 days, including run status and import statistics. Supports selected jobs or the whole account with automatic pagination. Submission alone does not confirm a completed import. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_import_results` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account whose completed Google import runs to inspect. | | `import_job_ids` | array of integer | No | - | Optional job IDs as an array, JSON array, or comma-separated text. Omit for all jobs. Replaced job IDs remain usable for historical results. Large selections are requested in batches. | | `limit` | integer | No | `1000` | Maximum completed runs to return across all selected jobs. Results cover the last 90 days. Multiple runs may belong to one job. Pagination is automatic; has\_more indicates additional results may exist. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Native ImportResult rows, including status, execution time, import statistics and available error-log URLs. has\_more is conservative when the requested limit is reached. **Fields**: `results`, `has_more`, `warning` # Get Keyword Bid Estimates Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_keyword_bid_estimates Get Microsoft Ads first-page, top-of-page and first-position keyword bid estimates by keyword IDs or text and match types Get Microsoft Ads first-page, top-of-page and first-position keyword bid estimates by keyword IDs or text and match types. For enhanced-CPC Search campaigns. Missing estimates are not zero bids; estimates do not guarantee placement. Use update\_keyword\_bid separately to apply approved bids. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_keyword_bid_estimates` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account to estimate bids for. | | `keyword_ids` | string or array of string | No | - | Existing keyword IDs as an array, JSON array, or comma/newline-separated text. Supply either keyword\_ids or keywords, not both. Microsoft accepts up to 1000 per request and uses the keywords' existing ad-group context. | | `keywords` | string or array of KeywordAndMatchType | No | - | Keyword text and match types as a native array or JSON string, e.g. \[\{"KeywordText":"plumbing","MatchTypes":\["Exact","Phrase"]}]. Use instead of keyword\_ids. Microsoft accepts up to 1000 keywords. | | `target_position` | enum (`FirstPage`, `MainLine`, `MainLine1`) | No | `FirstPage` | Target position: FirstPage (first-page bid estimate, default), MainLine (top-of-page positions 2-4), or MainLine1 (first position). Estimates are not a guarantee of placement. | | `campaign_id` | integer or string | No | - | Text estimates only: campaign context. Required by Microsoft when ad\_group\_id is supplied. | | `ad_group_id` | integer or string | No | - | Text estimates only: ad-group context to improve estimate accuracy. | | `location_ids` | string or array of string | No | - | Text estimates only: Microsoft location IDs as an array or comma/newline-separated text. Use microsoft\_ads\_search\_locations to find IDs. Omitted: Microsoft uses the ad group/campaign locations, or US (190) if neither is supplied. | | `language` | string | No | - | Text estimates only: language name, e.g. English (not EN). Omitted: inherits ad group/campaign language, otherwise English. | | `currency` | string | No | - | Text estimates only: currency code, e.g. USD. Omitted: uses account currency. Returned estimates include CurrencyCode. | | `entity_level_bid` | enum (`Keyword`, `AdGroup`, `AllEntities`) | No | - | Text estimates only: Keyword (default), AdGroup, or AllEntities to include both keyword and ad-group estimates. | ### KeywordAndMatchType | Field | Type | Required | Default | Description | | - | - | - | - | - | | `KeywordText` | string | Yes | - | Keyword text to estimate. | | `MatchTypes` | array of enum (`Exact`, `Phrase`, `Broad`, `Aggregate`) | Yes | - | Microsoft match types for this keyword. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Native Microsoft estimates include EstimatedMinBid, CurrencyCode, MatchType and traffic estimates. Response items correspond to request order, retained in requested\_keyword\_ids or requested\_keywords. Null items indicate invalid keywords; null nested estimates indicate no available estimate, never zero. ID estimates use the last seven days of performance. AdGroupEstimatedBid is included when requested via entity\_level\_bid. **Fields**: `KeywordEstimatedBids`, `AdGroupEstimatedBid`, `requested_keyword_ids`, `requested_keywords`, `target_position` # Get Keyword Ideas Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_keyword_ideas Get Microsoft Ads keyword ideas with average monthly searches, competition and a suggested bid, expanded from seed keywords or a page URL Get Microsoft Ads keyword ideas with average monthly searches, competition and a suggested bid, expanded from seed keywords or a page URL. This is Microsoft's keyword planner. Use microsoft\_ads\_search\_locations to find a location ID for anywhere other than the United States. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_keyword_ideas` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account the research is run for. | | `keywords` | string or array of string | No | - | Seed keywords to expand from, as a list or comma separated. Supply these, a url, or both. | | `url` | string | No | - | A page to pull ideas from. Supply this, keywords, or both. | | `language` | string | No | `English` | Language name for the ideas, for example English or French. | | `location_id` | integer or string | No | `190` | Microsoft location ID the ideas and search volumes apply to. 190 is the United States. microsoft\_ads\_search\_locations finds the ID for any other country, region or city. A country name is not accepted here. | | `ideas_limit` | integer | No | `100` | Maximum number of ideas to return. Defaults to 100. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns keyword ideas sorted as Microsoft returns them. **Fields**: `keyword`, `average_monthly_searches`, `latest_monthly_searches`, `competition`, `suggested_bid`, `source` # Get Keyword Traffic Estimates Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_keyword_traffic_estimates Estimate the clicks, impressions, cost, click-through rate and position keywords would deliver at a given bid on Microsoft Ads Estimate the clicks, impressions, cost, click-through rate and position keywords would deliver at a given bid on Microsoft Ads. Every figure comes back as a low and high band rather than a single number, and the bid drives the result as much as the keywords do. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_keyword_traffic_estimates` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account the estimate is run for. | | `keywords` | string or array of string | Yes | - | Keywords to estimate, as a list or one per line. Up to 1000 per run. | | `match_type` | enum (`Exact`, `Phrase`, `Broad`) | No | `Exact` | Match type applied to every keyword in this run. | | `max_cpc` | number | Yes | - | Bid to estimate at, in the account currency. The estimate is driven by this as much as by the keywords, so compare a few values. | | `daily_budget` | number | No | - | Planned daily budget, which caps the estimated volume. | | `language` | string | No | `English` | Language name, for example English or French. | | `location_id` | integer or string | No | `190` | Microsoft location ID for the estimate. 190 is the United States. microsoft\_ads\_search\_locations finds other IDs. | | `currency` | string | No | - | Three letter currency code. Defaults to the account currency. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns one row per keyword with a low and high band for each metric. **Fields**: `keyword`, `match_type`, `max_cpc`, `min_clicks`, `max_clicks`, `min_impressions`, `max_impressions`, `min_total_cost`, `max_total_cost`, `min_average_position`, `max_average_position` # Get Product Details Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_product_details Read one Microsoft Merchant Center product by its full, case-sensitive product ID Read one Microsoft Merchant Center product by its full, case-sensitive product ID. Returns submitted product attributes, prices and availability; use Get Product Diagnostics for approval and rejection information. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_product_details` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account with access to the Merchant Center store. Its customer ID scopes the request. | | `store_id` | string or integer | Yes | - | Microsoft Merchant Center store ID (Id from microsoft\_ads\_list\_merchant\_stores), not the Microsoft Ads account ID. | | `product_id` | string | Yes | - | Full case-sensitive product ID from microsoft\_ads\_list\_products, for example Online:en:US:Sku123. Reads across catalogs; if the same product ID exists in multiple catalogs, Microsoft returns an unspecified one. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Native product details including product-level shipping when supplied. This does not retrieve store-wide shipping settings. Duplicate IDs across catalogs have unspecified catalog selection. **Fields**: `id`, `offerId`, `title`, `price`, `availability` # Get Product Diagnostics Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_product_diagnostics Inspect Microsoft Merchant Center approved, disapproved, pending and expiring product counts, plus product rejection reasons and warnings Inspect Microsoft Merchant Center approved, disapproved, pending and expiring product counts, plus product rejection reasons and warnings. Read-only; requires Microsoft ProductStatuses beta access. Counts may lag two hours. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_product_diagnostics` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account with access to the Merchant Center store. Its customer ID scopes the request. | | `store_id` | string or integer | Yes | - | Microsoft Merchant Center store ID (Id from microsoft\_ads\_list\_merchant\_stores), not the Microsoft Ads account ID. | | `include_details` | boolean | No | `True` | Include product-level Disapproved and Warning entries and their itemLevelIssues. Default true. Approved products are counted in the summary but are not listed individually; absence from details is not proof of approval. | | `limit` | integer | No | `100` | Maximum issue-bearing products to return, default 100. Does not limit store-wide summary counts. issues\_complete indicates whether all detail rows were retrieved. Diagnostics require Microsoft's ProductStatuses closed-beta access; summary counts may lag by up to two hours. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Native store-wide approval summary and optional product-level issues. Details list only Disapproved and Warning products. Null or absent status remains unknown; absence from issues is not proof of approval. issues\_complete reports detail pagination completeness. **Fields**: `summary`, `issues`, `issues_complete`, `note` # Get Report Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_get_report Retrieves Microsoft Ads performance with metrics, dimensions, filters and date ranges, including ad-extension details and performance by ad or keyword Retrieves Microsoft Ads performance with metrics, dimensions, filters and date ranges, including ad-extension details and performance by ad or keyword. Select extension dimensions for extension reports. Telephone clicks, tracked calls and call conversions are distinct measurements. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_get_report` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Search Campaign", "clicks": 85, "impressions": 3200, "cost": 42.5 } ] ``` # List Ad Extension Associations Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_ad_extension_associations List Microsoft Ads ad extension associations for an account, campaigns, or ad groups List Microsoft Ads ad extension associations for an account, campaigns, or ad groups. Optionally include extension-specific editorial rejection reasons, including video extensions. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_ad_extension_associations` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to list ad extension associations for. | | `level` | string or SelectableOption | Yes | - | Choose where to list ad extension associations. Available options: 'ACCOUNT', 'CAMPAIGN', 'AD\_GROUP' | | `ad_extension_types` | array of string or SelectableOption | No | - | Filter by Microsoft Ads ad extension type. Leave empty to return all valid ad extension types for the selected association level. | | `campaign_ids` | array of string or SelectItem | No | - | Select one or more campaigns to list ad extension associations for (required if level is CAMPAIGN) | | `ad_group_ids` | array of string or SelectItem | No | - | Select one or more ad groups to list ad extension associations for (required if level is AD\_GROUP) | | `return_additional_fields` | boolean | No | `False` | When true, request additional ad extension properties such as images, display text, layouts, and source type. | | `include_editorial_reasons` | boolean | No | `False` | When true, fetch extension-specific editorial rejection details for each association, including video extensions. Adds EditorialReasons with native ReasonCode, Location, Term and PublisherCountries. Null means Microsoft returned no reasons, not confirmed approval. Defaults to false. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns native AdExtensionAssociation objects. With include\_editorial\_reasons=true, each has EditorialReasons containing AdExtensionId and native Reasons (ReasonCode, Location, Term, PublisherCountries), or null when no reasons were returned. Null does not confirm approval. **Fields**: dynamic (depend on the inputs) # List Ad Group Criteria Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_ad_group_criteria List Microsoft Ads ad-group audience associations, including custom segments, and other targeting criteria List Microsoft Ads ad-group audience associations, including custom segments, and other targeting criteria. Request one criterion type per call; returns native criteria with IDs for subsequent changes. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_ad_group_criteria` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. | | `ad_group_id` | string or SelectItem | Yes | - | Ad group ID whose criteria to list. | | `criterion_type` | enum (`Location`, `LocationIntent`, `Radius`, `DayTime`, `Age`, `Gender`, `Device`, `ProductPartition`, ...) | Yes | - | One criterion type to read: Location (included and excluded locations), LocationIntent, Radius, DayTime (ad schedules), or another supported type. Request each type separately; Microsoft's Targets mutation type cannot be used for reads. Use CustomSegment to inspect custom-segment associations. Returns all criteria of this type for the ad group. Audience is also a mutation-only type. | | `return_additional_fields` | string | No | - | Optional native CriterionAdditionalField flags string, sent unchanged as ReturnAdditionalFields. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns native Microsoft ad-group criterion objects. # List Ad Groups Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_ad_groups List ad groups within a Microsoft Ads campaign, optionally filtered by status List ad groups within a Microsoft Ads campaign, optionally filtered by status. Returns the full Microsoft ad group objects (Id, Name, Status, Network, AdGroupType, BiddingScheme, bids, Settings, etc.) so they can be fed into update\_ad\_group. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | The campaign to list ad groups for. | | `statuses` | array of string or SelectableOption | No | - | Filter by ad group status. Leave empty to return all statuses. Available values: Active, Paused, Expired. Deleted ad groups are never returned by Microsoft Ads. | | `return_additional_fields` | boolean | No | `False` | When true, request additional ad group properties (bids, settings, targeting flags, etc.) so the response is richer. Defaults to false. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the matching ad groups as full Microsoft Ads ad group objects (unchanged from the API). **Fields**: `Id`, `Name`, `Status`, `Network`, `AdGroupType`, `BiddingScheme`, `CpcBid`, `Settings` # List Ads Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_ads List ads within a Microsoft Ads ad group, filtered by status or editorial approval status List ads within a Microsoft Ads ad group, filtered by status or editorial approval status. Optionally include editorial reasons and appeal status for both ads and nested text/image assets. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_ads` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | The ad group to list ads for. | | `statuses` | array of string or SelectableOption | No | - | Filter by ad status. Leave empty to return all statuses. Available values: Active, Paused, Inactive. Deleted ads are never returned by Microsoft Ads. | | `editorial_statuses` | array of string or SelectableOption | No | - | Filter by ad editorial (approval) status. Leave empty to return all. Available values: Active (approved), ActiveLimited, Disapproved, Inactive (under review). | | `return_additional_fields` | boolean | No | `False` | When true, request additional ad properties (videos, long headlines, impression tracking URLs, etc.) so the response is richer. Defaults to false. | | `include_editorial_reasons` | boolean | No | `False` | When true, fetch editorial details for returned ads and their nested TextAsset/ImageAsset links in batches of up to 1,000 per entity type. Adds EditorialReasons to each ad and supported asset link, alongside its EditorialStatus, containing Microsoft's AppealStatus and Reasons (ReasonCode, Location, Term, PublisherCountries). Default: false; independent of return\_additional\_fields (enable it to also return optional assets such as long headlines). A null collection means Microsoft returned no reasons, not confirmed approval. ReasonCode is Microsoft's native code, not an explanation string. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns full native ad objects. With include\_editorial\_reasons=true, each ad and nested TextAsset/ImageAsset link includes EditorialReasons with AppealStatus and native Reasons (ReasonCode, Location, Term, PublisherCountries). Asset-link reasons sit beside EditorialStatus, separately from parent-ad reasons. Null means no reasons returned, not confirmed approval. **Fields**: `Id`, `Type`, `Status`, `EditorialStatus`, `EditorialReasons`, `FinalUrls` # List Asset Groups Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_asset_groups List asset groups within a Microsoft Ads Performance Max campaign, optionally filtered by status and editorial approval status List asset groups within a Microsoft Ads Performance Max campaign, optionally filtered by status and editorial approval status. Optionally include editorial reasons and appeal status for nested text/image assets. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_asset_groups` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | The Performance Max campaign to list asset groups for. | | `statuses` | array of string or SelectableOption | No | - | Filter by asset group status. Leave empty to return all statuses. Available values: Active, Paused, Expired. Deleted asset groups are never returned by Microsoft Ads. | | `editorial_statuses` | array of string or SelectableOption | No | - | Filter by asset group editorial (approval) status. Leave empty to return all. Available values: Active (approved), ActiveLimited, Disapproved, Inactive (under review). | | `return_additional_fields` | boolean | No | `False` | When true, request additional asset group properties (search themes, URL targets, tracking template, final URL suffix, URL custom parameters, cropping type) so the response is richer. Defaults to false. | | `include_editorial_reasons` | boolean | No | `False` | When true, fetch editorial details for nested TextAsset/ImageAsset links in returned asset groups, deduplicated and batched at up to 1,000 per asset type. Adds EditorialReasons beside each supported asset link's EditorialStatus, with Microsoft's AppealStatus and native Reasons (ReasonCode, Location, Term, PublisherCountries). A null collection means no reasons were returned, not confirmed approval. ReasonCode is a native code, not an explanation string. Default: false; independent of return\_additional\_fields. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns full Microsoft Ads asset group objects. With include\_editorial\_reasons=true, nested TextAsset/ImageAsset links include EditorialReasons beside EditorialStatus, containing AppealStatus and native Reasons (ReasonCode, Location, Term, PublisherCountries). Null means no reasons returned, not confirmed approval. **Fields**: `Id`, `Name`, `Status`, `EditorialStatus`, `FinalUrls` # List Audiences Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_audiences List Microsoft Ads audiences, including custom segment definitions, editorial status and reach estimates List Microsoft Ads audiences, including custom segment definitions, editorial status and reach estimates. Microsoft omits system-generated audiences such as All Visitors. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_audiences` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account whose audiences should be listed. | | `audience_ids` | string or array of string or integer | No | - | Specific audience IDs to read, as a list or comma separated. Leave empty to return every audience Microsoft exposes on the account. | | `limit` | integer | No | `100` | Maximum number of audiences to return. Defaults to 100. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns the account's audiences with their reach estimates. **Fields**: `id`, `name`, `type`, `description`, `membership_duration`, `search_size`, `audience_network_size`, `tag_id`, `custom_segment_catalog_list`, `editorial_status` # List Bid Strategies Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_bid_strategies List the portfolio (shared) bid strategies of a Microsoft Ads account with their type, targets and how many campaigns use each List the portfolio (shared) bid strategies of a Microsoft Ads account with their type, targets and how many campaigns use each. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_bid_strategies` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account whose portfolio (shared) bid strategies to list. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns the portfolio bid strategies, each with bid\_strategy\_id, name, bidding\_strategy\_type, targets, associated\_campaign\_type and association\_count. **Fields**: `bid_strategy_id`, `name`, `bidding_strategy_type`, `max_cpc`, `target_cpa`, `target_roas`, `target_impression_share`, `target_ad_position`, `associated_campaign_type`, `association_count`, `currency_code` # List Campaign Criteria Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_campaign_criteria List Microsoft Ads campaign targeting criteria, including included/excluded locations, location intent, radius targeting and ad schedules List Microsoft Ads campaign targeting criteria, including included/excluded locations, location intent, radius targeting and ad schedules. Request one criterion type per call; returns native criteria with IDs for subsequent changes. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_campaign_criteria` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. | | `campaign_id` | string or SelectItem | Yes | - | Campaign ID whose criteria to list. | | `criterion_type` | enum (`Location`, `LocationIntent`, `Radius`, `DayTime`, `Age`, `Gender`, `Device`, `ProductScope`, ...) | Yes | - | One criterion type to read: Location (included and excluded locations), LocationIntent, Radius, DayTime (ad schedules), or another supported type. Request each type separately; Microsoft's Targets mutation type cannot be used for reads. Returns all criteria of this type for the campaign. | | `return_additional_fields` | string | No | - | Optional native CriterionAdditionalField flags string, sent unchanged as ReturnAdditionalFields. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns native Microsoft campaign criterion objects. # List Campaigns Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_campaigns List campaigns in a Microsoft Ads account, optionally filtered by campaign type and status List campaigns in a Microsoft Ads account, optionally filtered by campaign type and status. Returns the full Microsoft campaign objects (Id, Name, Status, CampaignType, BudgetType, DailyBudget, BiddingScheme, Settings, etc.) so they can be fed into update\_campaign. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_campaigns` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to list campaigns for. | | `campaign_types` | array of string or SelectableOption | No | - | Filter by campaign type. Leave empty to return all types. Available values: Search, Shopping, DynamicSearchAds, Audience, Hotel, PerformanceMax, App. | | `statuses` | array of string or SelectableOption | No | - | Filter by campaign status. Leave empty to return all statuses. Available values: Active, Paused, BudgetPaused, BudgetAndManualPaused, Suspended. Deleted campaigns are never returned by Microsoft Ads. | | `return_additional_fields` | boolean | No | `False` | When true, request additional campaign properties (bidding schemes, settings, budget fields, etc.) so the response is richer. Defaults to false. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the matching campaigns as full Microsoft Ads campaign objects (unchanged from the API). **Fields**: `Id`, `Name`, `Status`, `CampaignType`, `BudgetType`, `DailyBudget`, `BiddingScheme`, `Settings` # List Catalogs Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_catalogs List Microsoft Merchant Center catalogs and feed configuration in an existing store List Microsoft Merchant Center catalogs and feed configuration in an existing store. Read-only; returns catalog metadata, not product approval diagnostics. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_catalogs` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account with access to the Merchant Center store. Its customer ID scopes the request. | | `store_id` | string or integer | Yes | - | Microsoft Merchant Center store ID (Id from microsoft\_ads\_list\_merchant\_stores), not the Microsoft Ads account ID. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List` Native catalog records with catalog name, market, language and feed configuration where returned by Microsoft. **Fields**: `id`, `name` # List Conversion Goals Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_conversion_goals List Microsoft Ads conversion goals in an account List Microsoft Ads conversion goals in an account. Returns the raw Microsoft Ads ConversionGoal objects so users can inspect tracking configuration and find conversion goal IDs for campaign bidding. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_conversion_goals` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to list conversion goals for. | | `conversion_goal_types` | array of string or SelectableOption | No | - | Filter by conversion goal type. Leave empty to return common supported conversion goal types. InStoreTransaction is only queried when selected because it requires a Microsoft pilot. | | `conversion_goal_ids` | string or array of string or integer | No | - | Optional Microsoft Ads conversion goal IDs to fetch. Leave empty to list all goals of the selected types. | | `return_additional_fields` | boolean | No | `True` | When true, request optional conversion goal properties such as attribution model, auto goal status, enhanced conversions, goal category, and view-through window. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns raw Microsoft Ads ConversionGoal objects. **Fields**: dynamic (depend on the inputs) # List Data Exclusions Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_data_exclusions List an account's automated-bidding data exclusions, including tracking-outage windows and campaign/device scope List an account's automated-bidding data exclusions, including tracking-outage windows and campaign/device scope. Use before creating or updating an exclusion to inspect existing settings. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_data_exclusions` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the automated-bidding data exclusions. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns Microsoft's raw DataExclusion objects directly as a list. StartDate and EndDate are in the advertising account's local time. **Fields**: `Id`, `Name`, `Description`, `StartDate`, `EndDate`, `CampaignAssociations`, `CampaignTypeFilter`, `DeviceTypeFilter` # List Import Jobs Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_import_jobs Inspect Google Ads import jobs, schedules and update options in a Microsoft Ads account Inspect Google Ads import jobs, schedules and update options in a Microsoft Ads account. Read-only; does not run imports. Returns up to 500 jobs. Does not inventory automated rules or scripts; use account history for past changes, not proof that no future automation exists. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_import_jobs` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account whose Google Ads import schedules and options to inspect. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Native ImportJobs including Id, Status, Frequency, LastRunTimeInUTC, CampaignAdGroupIds and ImportOption. Inspect UpdateEntities and UpdateStatusForCampaigns to assess status syncing. Possibly\_truncated flags the 500-job API cap. An empty list does not rule out scripts or automated rules. **Fields**: `jobs`, `possibly_truncated`, `warning` # List Keywords Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_keywords List keywords within a Microsoft Ads ad group, filtered by status or editorial approval status List keywords within a Microsoft Ads ad group, filtered by status or editorial approval status. Optionally include exact editorial rejection reason codes, affected fields/terms, countries, and appeal status. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_keywords` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | The ad group to list keywords for. | | `statuses` | array of string or SelectableOption | No | - | Filter by keyword status. Leave empty to return all statuses. Available values: Active, Paused, Inactive. Deleted keywords are never returned by Microsoft Ads. | | `editorial_statuses` | array of string or SelectableOption | No | - | Filter by keyword editorial (approval) status. Leave empty to return all. Available values: Active (approved), ActiveLimited, Disapproved, Inactive (under review). | | `return_additional_fields` | boolean | No | `False` | When true, request additional keyword properties (the MaxCpc inside MaxConversionValue bidding schemes) so the response is richer. Defaults to false. | | `include_editorial_reasons` | boolean | No | `False` | When true, fetch rejection details for the returned rows in batches of up to 1,000. Adds EditorialReasons containing Microsoft's AppealStatus and Reasons (ReasonCode, Location, Term, PublisherCountries). Default: false; independent of return\_additional\_fields. A null collection means Microsoft returned no reasons, not confirmed approval. ReasonCode is Microsoft's native code, not an explanation string. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns full native entity objects. When include\_editorial\_reasons is true, each includes an EditorialReasons collection with AppealStatus and native Reasons (ReasonCode, Location, Term, PublisherCountries), or null when Microsoft returned no reasons. Null does not confirm approval. **Fields**: `Id`, `Text`, `MatchType`, `Status`, `EditorialStatus`, `EditorialReasons`, `Bid` # List Merchant Stores Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_merchant_stores List Microsoft Merchant Center stores accessible through the Ads customer, including store IDs and catalog availability List Microsoft Merchant Center stores accessible through the Ads customer, including store IDs and catalog availability. Read-only; use a returned store ID to inspect catalogs and products or create Shopping campaigns. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_merchant_stores` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account with access to the Merchant Center store. Its customer ID scopes the request. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List` Native BMCStores records. IsProductAdsEnabled is reserved for internal use by Microsoft; do not interpret it as a readiness check. **Fields**: `Id`, `Name`, `StoreUrl`, `HasCatalog`, `IsActive` # List Negative Keywords Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_negative_keywords List negative keywords assigned directly to Microsoft Ads campaigns or ad groups to inspect exclusions and check duplicates before adding negatives List negative keywords assigned directly to Microsoft Ads campaigns or ad groups to inspect exclusions and check duplicates before adding negatives. Shared-list negatives are separate; use list\_shared\_list\_associations and list\_shared\_list\_items for those. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_negative_keywords` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. | | `entity_type` | enum (`Campaign`, `AdGroup`) | No | `Campaign` | Read negatives assigned directly to Campaign or AdGroup entities. Defaults to Campaign. Shared negative lists are not included. | | `entity_ids` | array of string or string | Yes | - | Campaign IDs or ad group IDs matching entity\_type, as a list or comma/newline-separated IDs. All must belong to the selected account; ad groups must belong to campaign\_id. The operation reads every supplied entity, one request per unique ID, and returns all directly assigned negatives. | | `campaign_id` | string or SelectItem | No | - | Parent campaign ID for AdGroup scope. Required when entity\_type is AdGroup; ignored for Campaign scope. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns Microsoft's EntityNegativeKeywords records as a direct list. Each record contains EntityId, EntityType, and NegativeKeywords with Id, Text, and MatchType. Shared-list negatives are not included. **Fields**: `EntityId`, `EntityType`, `NegativeKeywords` # List Products Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_products List Microsoft Merchant Center products across a store with automatic pagination up to the requested limit List Microsoft Merchant Center products across a store with automatic pagination up to the requested limit. Read-only; use Get Product Diagnostics for approval counts and disapproval reasons. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_products` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account with access to the Merchant Center store. Its customer ID scopes the request. | | `store_id` | string or integer | Yes | - | Microsoft Merchant Center store ID (Id from microsoft\_ads\_list\_merchant\_stores), not the Microsoft Ads account ID. | | `limit` | integer | No | `100` | Maximum products to return, default 100. Reads all catalogs in the store; Microsoft ignores catalog filters for product reads. Pagination is automatic. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List` Native product records. A result matching the limit may not be the complete inventory. Microsoft lists products across catalogs and does not guarantee which catalog is returned for duplicate product IDs. **Fields**: `id`, `offerId`, `title`, `link` # List Recommendations Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_recommendations Retrieve Microsoft Ads optimisation recommendations for an account: budget increases, new keywords, broad match changes, conflicting negative keywords and responsive search ad suggestions, each wit... Retrieve Microsoft Ads optimisation recommendations for an account: budget increases, new keywords, broad match changes, conflicting negative keywords and responsive search ad suggestions, each with Microsoft's estimated impact. Pair with microsoft\_ads\_apply\_recommendations to act on them. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_recommendations` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account to read recommendations for. | | `recommendation_types` | string or array of string | No | - | Which recommendations to retrieve, as a list or comma separated. Valid values are ADD\_BROAD\_MATCH\_KEYWORD, CAMPAIGN\_BUDGET, KEYWORD, REMOVE\_CONFLICTING\_NEGATIVE\_KEYWORD, RESPONSIVE\_SEARCH\_AD and RESPONSIVE\_SEARCH\_AD\_ASSET. Leave empty to request all of them. Microsoft requires at least one and rejects any other value. | | `max_count` | integer | No | - | Maximum recommendations to return. Leave empty for all available. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns pending recommendations. Type-specific fields such as recommended\_budget or suggested\_keyword appear only on the matching type. **Fields**: `recommendation_id`, `recommendation_type`, `campaign_id`, `campaign_name`, `ad_group_name`, `estimated_increase_in_clicks`, `estimated_increase_in_conversions`, `estimated_increase_in_cost` # List Report Fields Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_report_fields Search and browse available Microsoft Ads reporting metrics and dimensions before running reports Search and browse available Microsoft Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|conversions).*'}]. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns available report fields, including descriptions and groups where available. Extension field descriptions explain report compatibility and click versus call measurements. **Fields**: `id`, `name`, `type`, `data_type`, `description`, `group` # List Shared List Associations Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_shared_list_associations List Microsoft Ads shared list associations by campaign IDs or list IDs, including negative keyword lists and brand lists List Microsoft Ads shared list associations by campaign IDs or list IDs, including negative keyword lists and brand lists. Returns the actual linked campaign and list IDs, not just association counts. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_shared_list_associations` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. | | `campaign_ids` | string or array of string | No | - | Campaign IDs to find attached lists for. Accepts a list or comma/newline-separated IDs. Supply campaign\_ids OR list\_ids. Campaigns are queried in batches of 100. | | `list_ids` | string or array of string | No | - | Shared list IDs to find associated campaigns for. Accepts a list or comma/newline-separated IDs. Supply list\_ids OR campaign\_ids. Microsoft requires one list ID per request. | | `list_type` | enum (`NegativeKeywordList`, `AccountPlacementExclusionList`, `AccountPlacementInclusionList`, `BrandList`) | No | `NegativeKeywordList` | Shared list type in the ad account library. Defaults to NegativeKeywordList. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns native associations including EntityId, EntityType, SharedEntityId and SharedEntityType. # List Shared List Items Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_shared_list_items Read the contents of a Microsoft Ads shared list: the keywords in a negative keyword list, the websites in a placement list, or the brand IDs in a brand list Read the contents of a Microsoft Ads shared list: the keywords in a negative keyword list, the websites in a placement list, or the brand IDs in a brand list. This is the only way to obtain brand IDs, because Microsoft has no operation that looks a brand up by name. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_shared_list_items` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the shared list. | | `list_id` | string or integer | Yes | - | ID of the shared list to read. microsoft\_ads\_list\_shared\_lists returns these. | | `list_type` | string or SelectableOption | Yes | - | The list's type, which Microsoft requires in order to read its contents. NegativeKeywordList returns keywords, the placement lists return website URLs, and BrandList returns brand IDs. Read it from microsoft\_ads\_list\_shared\_lists rather than guessing. | | `limit` | integer | No | `1000` | Maximum number of items to return. Allowed range: 1–5000. Defaults to 1000. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list's items. Which value field is populated depends on the list type: text for keywords, url for websites, brand\_id for brands. **Fields**: `list_id`, `item_id`, `type`, `text`, `match_type`, `url`, `brand_id` # List Shared Lists Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_shared_lists List the shared lists (negative keyword lists or website exclusion lists) in a Microsoft Ads account List the shared lists (negative keyword lists or website exclusion lists) in a Microsoft Ads account. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_shared_lists` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to list shared lists for. | | `list_type` | string or SelectableOption | No | - | Type of shared list to return. 'NegativeKeywordList' (default): negative keyword lists. 'AccountPlacementExclusionList': website exclusion lists. 'AccountPlacementInclusionList': website inclusion lists. 'BrandList': brand lists used for brand inclusion and exclusion on Performance Max and AI Max campaigns. All live in the ad account shared library. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the shared lists, each with list\_id, name, type, item\_count, and association\_count. **Fields**: `list_id`, `name`, `type`, `item_count`, `association_count` # List Uet Tags Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_list_uet_tags List the UET tags on a Microsoft Ads account with their verification status List the UET tags on a Microsoft Ads account with their verification status. Use this before building conversion tracking, since an unverified tag means the script is not installed or has never fired, which is the usual reason a conversion goal records nothing. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_list_uet_tags` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account whose UET tags should be listed. | | `tag_ids` | string or array of string or integer | No | - | Specific UET tag IDs to read, as a list or comma separated. Leave empty to return every tag on the account. | | `include_script` | boolean | No | `False` | If true, also return each tag's tracking script and no-script fallback. Off by default because the script is long, and only needed when installing it. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `List[Dict]` Returns the account's UET tags. The tracking script is included only when include\_script is on. **Fields**: `id`, `name`, `description`, `tracking_status`, `industry`, `customer_share` # Manage Ad Group Criteria Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_manage_ad_group_criteria Add, update or remove Microsoft Ads ad-group criteria using native payloads, including audience/custom-segment associations and targeting Add, update or remove Microsoft Ads ad-group criteria using native payloads, including audience/custom-segment associations and targeting. Use dedicated product-partition operations for Shopping trees. Changing schedule days/hours requires explicit remove and add calls; no automatic rebuild is performed. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_manage_ad_group_criteria` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. | | `action` | enum (`add`, `update`, `remove`) | Yes | - | Add new ad group criteria, update existing criteria, or remove specified criterion IDs. | | `criteria_payload` | object or string | Yes | - | Native Microsoft request body as an object or JSON string; nested fields are forwarded unchanged. Use CriterionType=Audience for audience associations, Targets for location/demographic/schedule criteria, or the appropriate native type. Up to 1,000 criteria per request. Add a custom segment: \{"CriterionType":"Audience","AdGroupCriterions":\[\{"Type":"BiddableAdGroupCriterion","AdGroupId":123,"Status":"Paused","Criterion":\{"Type":"AudienceCriterion","AudienceId":456},"CriterionBid":\{"Type":"BidMultiplier","Multiplier":0}}]}. Update: same shape with the association Id and only fields to change, e.g. Status="Active". Remove: \{"AdGroupId":123,"AdGroupCriterionIds":\[789],"CriterionType":"Audience"}. Custom segments support biddable ad-group associations. Use update\_ad\_group Settings to configure TargetAndBid; adding an association does not change targeting mode. For product partitions always use microsoft\_ads\_update\_product\_partitions instead. Microsoft validates nested fields. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the native Microsoft mutation response, including created criterion IDs, NestedPartialErrors for add/update, and PartialErrors for removal. Inspect errors for individual failed rows; partial successes remain visible. # Manage Bid Strategy Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_manage_bid_strategy Create, update or delete a Microsoft Ads portfolio (shared) bid strategy: name, type and targets such as target ROAS, target CPA or max CPC Create, update or delete a Microsoft Ads portfolio (shared) bid strategy: name, type and targets such as target ROAS, target CPA or max CPC. Campaigns in a portfolio can only change their bidding here. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_manage_bid_strategy` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the portfolio (shared) bid strategy. | | `action` | string or SelectableOption | Yes | - | 'create': add a new portfolio bid strategy (needs name and bidding\_strategy\_type). 'update': change the name or settings of an existing one (needs bid\_strategy\_id; the strategy type itself cannot be changed). 'delete': remove one (needs bid\_strategy\_id). To move campaigns in or out of a portfolio, use microsoft\_ads\_update\_campaign\_bidding\_strategy with portfolio\_bid\_strategy\_id. | | `bid_strategy_id` | integer or string | No | - | ID of the portfolio bid strategy to update or delete. Get it from microsoft\_ads\_list\_bid\_strategies or a campaign's bid\_strategy\_id. | | `name` | string | No | - | Name of the portfolio bid strategy, unique within the account (max 255 characters). Required for create. | | `bidding_strategy_type` | string or SelectableOption | No | - | Portfolio bid strategy type, sent as the Microsoft technical value. Required for create. On update it is read from the strategy automatically, and settings you do not pass are kept, so only send the values to change. Microsoft does not report the type of MaxConversions portfolios, so for those pass bidding\_strategy\_type together with the settings. 'MaxClicksBiddingScheme': maximize clicks (Search, Shopping); optional max\_cpc. 'MaxConversionsBiddingScheme': maximize conversions (Search); optional target\_cpa and max\_cpc. 'MaxConversionValueBiddingScheme': maximize conversion value; optional target\_roas and max\_cpc. 'TargetImpressionShareBiddingScheme' (Search): needs target\_ad\_position and target\_impression\_share, optional max\_cpc. 'TargetCpaBiddingScheme' and 'TargetRoasBiddingScheme': target CPA / target ROAS as listed by Microsoft for portfolios; use target\_cpa / target\_roas. | | `associated_campaign_type` | string or SelectableOption | No | - | Campaign type the portfolio accepts: 'Search' (default) or 'Shopping'. Create only; cannot be changed later. | | `max_cpc` | number or string | No | - | Maximum cost-per-click cap in account currency. | | `target_cpa` | number or string | No | - | Target cost-per-action in account currency. | | `target_roas` | number or string | No | - | Target return on ad spend as a multiplier (e.g. 4.2 = 420%). | | `target_ad_position` | string or SelectableOption | No | - | Page position for TargetImpressionShare: 'FirstPage', 'MainLine' (top block), or 'MainLine1' (very first ad). | | `target_impression_share` | number or string | No | - | Target impression share percentage from 1 to 100 (e.g. 65 = 65%). For TargetImpressionShare. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the action, bid\_strategy\_id, a message and the bid strategy as stored after the change. **Fields**: `action`, `bid_strategy_id`, `message`, `bid_strategy` # Manage Campaign Conversion Goals Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_manage_campaign_conversion_goals Add or remove conversion goal associations on a Microsoft Ads campaign using the dedicated association endpoints Add or remove conversion goal associations on a Microsoft Ads campaign using the dedicated association endpoints. Preserves other associations and reads back campaign goals to verify. Removing an association does not delete the goal. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_manage_campaign_conversion_goals` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account containing the campaign and goals. | | `campaign_id` | string or SelectItem | Yes | - | Campaign ID from microsoft\_ads\_list\_campaigns. | | `action` | enum (`add`, `remove`) | Yes | - | Add goal associations or remove only the specified associations. Removing an association does not delete the conversion goal. | | `goal_ids` | array of string | Yes | - | Existing conversion goal IDs from microsoft\_ads\_list\_conversion\_goals, as a list or comma-separated text. Add preserves existing associations; remove affects only these goals. The campaign is read back to verify the result. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, action, requested\_goal\_ids, verified, and goal\_ids from campaign readback when available. A warning explains an unverified result; inspect it before retrying. **Fields**: dynamic (depend on the inputs) # Manage Campaign Criteria Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_manage_campaign_criteria Add, update or remove Microsoft Ads campaign criteria using native payloads, including location targeting, exclusions and ad schedules Add, update or remove Microsoft Ads campaign criteria using native payloads, including location targeting, exclusions and ad schedules. Changing schedule days/hours requires explicit remove and add calls; no automatic rebuild is performed. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_manage_campaign_criteria` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account. | | `action` | enum (`add`, `update`, `remove`) | Yes | - | Add new campaign criteria, update existing criteria, or remove specified criterion IDs. | | `criteria_payload` | object or string | Yes | - | Native Microsoft Ads request body, as an object or JSON string, forwarded unchanged. Use CriterionType=Targets for locations, location intent, radii, day/time, age, gender and device mutations; use Audience for audience mutations or the appropriate native type for other criteria. Up to 100 criteria per request. Add a location: \{"CriterionType":"Targets","CampaignCriterions":\[\{"Type":"BiddableCampaignCriterion","CampaignId":123,"Criterion":\{"Type":"LocationCriterion","LocationId":456}}]}. To exclude a location use Type=NegativeCampaignCriterion. Update a bid adjustment: \{"CriterionType":"Targets","CampaignCriterions":\[\{"Type":"BiddableCampaignCriterion","CampaignId":123,"Id":789,"CriterionBid":\{"Type":"BidMultiplier","Multiplier":10}}]}. Remove: \{"CampaignId":123,"CampaignCriterionIds":\[789],"CriterionType":"Targets"}. Add/update rows include CampaignId; update rows also include Id. Ad schedules use DayTimeCriterion with Day, FromHour, FromMinute, ToHour and ToMinute. Changing schedule days/hours requires explicit remove then add calls; this operation does not rebuild criteria. Microsoft validates nested fields. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the native Microsoft mutation response, including created criterion IDs. # Manage Data Exclusion Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_manage_data_exclusion Create, update or delete a data exclusion to inform automated bidding of a conversion-tracking outage Create, update or delete a data exclusion to inform automated bidding of a conversion-tracking outage. Dates use the advertising account's local time. Updates preserve omitted settings. This changes bidding inputs; it does not repair conversion tracking. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_manage_data_exclusion` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the automated-bidding data exclusions. | | `action` | enum (`create`, `update`, `delete`) | Yes | - | Create, update or delete a data exclusion. Updates preserve omitted fields. | | `data_exclusion_id` | string | No | - | Required for update/delete. Obtain Id from microsoft\_ads\_list\_data\_exclusions. | | `name` | string | No | - | Data exclusion name. Supply when creating an exclusion. | | `description` | string | No | - | Reason for excluding the data, such as a tracking outage. Send an empty string to clear it. | | `start_date` | string | No | - | Start timestamp in the advertising ACCOUNT's local time, e.g. 2026-10-02T00:00:00. Supply on create. Passed to Microsoft unchanged; do not use the browser/server timezone or convert to UTC. | | `end_date` | string | No | - | End timestamp in the advertising ACCOUNT's local time, e.g. 2026-10-05T23:59:59. Supply on create. Passed to Microsoft unchanged. | | `campaign_ids` | string or array of string | No | - | Campaign IDs to associate with the exclusion, as a list or comma-separated text. Use explicit campaigns OR campaign\_types, not both. Omit to let Microsoft apply campaign-type scope. On update, omission preserves existing associations; \[] clears the explicit campaign associations. | | `campaign_types` | array of enum (`Search`, `Shopping`, `DynamicSearchAds`, `Audience`, `Hotel`, `PerformanceMax`, `App`, `ObjectiveBased`) | No | - | CampaignTypeFilter values. List or comma-separated text, e.g. Search,Shopping. Use campaign types OR explicit campaign\_ids, not both (Microsoft error 8214). Microsoft validates eligibility. Omission preserves the existing value on update. | | `devices` | array of enum (`None`, `Computers`, `Smartphones`, `Tablets`, `All`) | No | - | DeviceTypeFilter values: Computers, Smartphones, Tablets, All or None. List or comma-separated text. Use All for all devices; omission preserves the existing value on update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns action, data\_exclusion\_id and Microsoft's mutation response. Use List Data Exclusions to retrieve the saved settings. **Fields**: `action`, `data_exclusion_id`, `response` # Rename Ad Group Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_rename_ad_group Rename Microsoft Ads ad groups Rename Microsoft Ads ad groups. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_rename_ad_group` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to rename ad groups in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple ad groups at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign that contains the ad group. Required for single update. | | `ad_group_id` | string or SelectItem | No | - | Select the ad group ID to rename. Required for single update. | | `ad_group_name` | string | No | - | Enter the new ad group name. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id', 'ad\_group\_id', and 'ad\_group\_name' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads ad group rename results. **Fields**: `message`, `updated_count`, `results` # Rename Campaign Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_rename_campaign Rename Microsoft Ads campaigns Rename Microsoft Ads campaigns. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_rename_campaign` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to rename campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to rename. Required for single update. | | `campaign_name` | string | No | - | Enter the new campaign name. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'campaign\_name' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads campaign rename results. **Fields**: `message`, `updated_count`, `results` # Search Locations Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_search_locations Search Microsoft Ads geographical location IDs for campaign targeting Search Microsoft Ads geographical location IDs for campaign targeting. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_search_locations` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select a Microsoft Ads account to use for authorized location lookup. | | `search_terms` | string | Yes | - | Location names or IDs to search for, separated by commas or newlines. Examples: United States, Dubai, London, 190. | | `location_type` | string or SelectableOption | No | `{'value': 'All', 'label': 'All'}` | Optional Microsoft location type filter. Default: All. | | `status` | string or SelectableOption | No | `{'value': 'Active', 'label': 'Active'}` | Optional status filter. Default: Active. | | `locale` | string | No | `en` | Display-name locale for Microsoft geo locations. Default: en. | | `limit` | integer | No | `50` | Maximum number of locations to return. Default: 50. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns Microsoft Ads geo locations matching the search terms. **Fields**: `location_id`, `name`, `display_name`, `location_type`, `status`, `adwords_location_id` # Select Accounts Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_select_accounts Select Microsoft Ads accounts once and reuse them across multiple microsoft_ads_get_report nodes—no repeated account selection Select Microsoft Ads accounts once and reuse them across multiple microsoft\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one microsoft\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_select_accounts` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Account Settings Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_account_settings Update account-level properties including tracking templates, final URL suffixes and MSCLKID auto-tagging Update account-level properties including tracking templates, final URL suffixes and MSCLKID auto-tagging. Only supplied properties change; campaign overrides remain. Reads back saved values to verify the update. Supports dry-run preview. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_account_settings` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account whose account-level defaults will be updated. | | `account_properties` | array of MicrosoftAdsAccountProperty | Yes | - | Native AccountProperty array, or JSON text. Only supplied properties are updated; campaign/ad-group/ad overrides are not changed. Example: \[\{"Name":"TrackingUrlTemplate","Value":"\{lpurl}?utm\_source=bing\&utm\_medium=cpc"},\{"Name":"FinalUrlSuffix","Value":"utm\_campaign=\{CampaignId}"},\{"Name":"MSCLKIDAutoTaggingEnabled","Value":"true"}]. Use Value="" to clear a tracking template or suffix. BusinessAttributes uses semicolon-separated names, e.g. "FamilyOwned;Vegan". Microsoft rejects the entire request if any property cannot be set. Read-back values and verification are returned. | | `dry_run` | boolean | No | `False` | Return the resolved request payload without submitting an update or performing read-back verification. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### MicrosoftAdsAccountProperty | Field | Type | Required | Default | Description | | - | - | - | - | - | | `Name` | enum (`TrackingUrlTemplate`, `FinalUrlSuffix`, `MSCLKIDAutoTaggingEnabled`, `AdClickParallelTracking`, `IncludeViewThroughConversions`, `ProfileExpansionEnabled`, `AllowImageAutoRetrieve`, `IncludeAutoBiddingViewThroughConversions`, ...) | Yes | - | Native Microsoft account property name. | | `Value` | string or boolean or integer or number | Yes | - | Native string value (boolean/number inputs are converted to strings), e.g. "true" or "false" for switches. Empty string clears TrackingUrlTemplate, FinalUrlSuffix or BusinessAttributes. Null is forwarded unchanged; it is not a universal clear instruction. Microsoft validates values and feature availability. | ## Output **Type**: `Dict` Returns account\_id, dry\_run, requested\_properties, update\_accepted and verified. Actual updates include native AccountProperties when read-back succeeds, and a warning if verification fails or values differ. Dry runs include request\_payload. update\_accepted does not imply verified; no automatic retry is performed. **Fields**: `account_id`, `dry_run`, `requested_properties`, `update_accepted`, `verified`, `AccountProperties`, `warning`, `request_payload` # Update Ad Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_ad Fallback Microsoft Ads ad update tool for advanced or unsupported ad fields Fallback Microsoft Ads ad update tool for advanced or unsupported ad fields. Use dedicated operations first for common changes such as status. This calls REST UpdateAds with PUT /Ads, but sends a partial Ad object: the runner supplies AdGroupId, Ads\[0].Id, and Ads\[0].Type (from the required ad\_type), then merges only the fields in update\_payload. Use care with nested asset collections like Headlines or Descriptions because Microsoft replaces the entire submitted collection. Supports dry-run review. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_ad` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that contains the ad. | | `ad_group_id` | string or SelectItem | Yes | - | The ad group ID that contains the ad. Do not include this inside update\_payload. | | `ad_id` | string or SelectItem | Yes | - | The Microsoft Ads ad ID to update. Do not include this inside update\_payload. | | `ad_type` | string or SelectableOption | Yes | - | The ad type (Type discriminator) of the ad being updated. Required because the UpdateAds endpoint needs it to validate the correct ad fields. Available values: Text, ExpandedText, ResponsiveSearch, ResponsiveAd, DynamicSearch, Product, Hotel, AppInstall. You can read it from the List Ads output (each ad's Type). Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Partial Microsoft Ads Ad object as JSON. This uses the REST UpdateAds endpoint: the runner sends AdGroupId and Ads\[0].Id and Ads\[0].Type separately, then merges only the fields provided here. Do not include identity fields such as AdGroupId, Id, ad\_id, ad\_group\_id, ad\_type, Type, account, or connection\_id. Use care with nested asset collections such as Headlines or Descriptions because Microsoft replaces the entire submitted collection. Example payloads: \{"FinalUrls": \["`https://example.com`"]} or \{"Status": "Paused"} or \{"Path1": "shoes", "Path2": "sale"} | | `dry_run` | boolean | No | `False` | When true, return the resolved Microsoft Ads UpdateAds payload without calling Microsoft Ads. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns ad\_group\_id, ad\_id, ad\_type, updated\_fields, final Microsoft Ads UpdateAds payload, dry\_run status, and any returned Microsoft response data. **Fields**: `ad_group_id`, `ad_id`, `ad_type`, `updated_fields`, `payload`, `dry_run`, `response` # Update Ad Extension Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_ad_extension Update an existing Microsoft Ads ad extension of any type, for example changing the phone number on a call extension or the text on a sitelink Update an existing Microsoft Ads ad extension of any type, for example changing the phone number on a call extension or the text on a sitelink. No dedicated update operation exists for any extension type, so this is the way to edit one. It takes a raw Microsoft ad extension object carrying the Id and Type of the extension to change. Microsoft requires the Type on every update and treats some fields as required even when unchanged, such as CountryCode and PhoneNumber on a call extension, so send the full set for that type. The object is sent unchanged, so a rejection is Microsoft validating the payload. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_ad_extension` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad extension. | | `extension` | object or string | Yes | - | The ad extension object, as JSON, exactly as the Microsoft Advertising Campaign Management API version 13 defines it, sent unchanged to its UpdateAdExtensions operation. Carry the Id of the extension to change and its Type, plus the fields being changed. For example \{"Type": "CallAdExtension", "Id": 9964344458744, "CountryCode": "GB", "PhoneNumber": "01420 561661"}. Microsoft requires the Type on every update, and treats some fields as required even when unchanged, such as CountryCode and PhoneNumber on a call extension, so send the full set for that type. The Type value is also the name of Microsoft's data object, so searching their Campaign Management reference for that name shows which fields an update needs. Valid types: ActionAdExtension, AppAdExtension, CallAdExtension, CalloutAdExtension, FilterLinkAdExtension, FlyerAdExtension, ImageAdExtension, LocationAdExtension, LogoAdExtension, PriceAdExtension, PromotionAdExtension, ReviewAdExtension, SitelinkAdExtension, StructuredSnippetAdExtension, VideoAdExtension. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the extension that was updated and which fields were sent. **Fields**: `ad_extension_id`, `type`, `updated_fields` # Update Ad Group Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_ad_group Fallback Microsoft Ads ad group update tool for advanced or unsupported ad group fields Fallback Microsoft Ads ad group update tool for advanced or unsupported ad group fields. Use dedicated operations first for common changes such as status or bid. This calls REST UpdateAdGroups with PUT /AdGroups, but sends a partial AdGroup object: the runner supplies CampaignId and AdGroups\[0].Id, then merges only the fields in update\_payload. Use care with nested objects like Settings because Microsoft may replace the submitted nested object or setting. Supports dry-run review. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_ad_group` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that contains the ad group. | | `campaign_id` | string or SelectItem | Yes | - | The campaign ID that contains the ad group. Do not include this inside update\_payload. | | `ad_group_id` | string or SelectItem | Yes | - | The Microsoft Ads ad group ID to update. Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Partial Microsoft Ads AdGroup object as JSON. This uses the REST UpdateAdGroups endpoint: the runner sends CampaignId and AdGroups\[0].Id separately, then merges only the fields provided here. Do not include identity fields such as CampaignId, Id, ad\_group\_id, campaign\_id, account, or connection\_id. Include \{"AudienceAdsBidAdjustment": -100} to request an audience-ad opt-out, or \{"AudienceAdsBidAdjustment": null} to inherit the campaign setting. The required request-level flag is set automatically. Verify AudienceAdsBidAdjustment by reading the ad group afterward; Microsoft may accept this field without changing the stored value. Example payloads: \{"Language": "English"} or \{"Settings": \[\{"Type": "TargetSetting", "Details": \[\{"CriterionTypeGroup": "Audience", "TargetAndBid": true}]}]} | | `dry_run` | boolean | No | `False` | When true, return the resolved Microsoft Ads UpdateAdGroups payload without calling Microsoft Ads. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, ad\_group\_id, updated\_fields, final Microsoft Ads UpdateAdGroups payload, dry\_run status, and any returned Microsoft response data. **Fields**: `campaign_id`, `ad_group_id`, `updated_fields`, `payload`, `dry_run`, `response` # Update Ad Group Bid Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_ad_group_bid Update the bid (CPC, CPM, CPV, and other bid types) of Microsoft Ads ad groups Update the bid (CPC, CPM, CPV, and other bid types) of Microsoft Ads ad groups. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_ad_group_bid` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad groups to update. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update the bid of a single ad group or multiple ad groups at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | The campaign ID that contains the ad group. Required for single update (ad group updates are scoped to their campaign). | | `ad_group_id` | string or SelectItem | No | - | The ad group ID whose bid to update. Required for single update. | | `bid_type` | string or SelectableOption | No | - | Which ad group bid to set, sent as the Microsoft technical field name. 'CpcBid': default max cost-per-click (Search/Shopping). 'CpmBid': max cost-per-thousand-impressions (Audience/display). 'CpvBid': max cost-per-view (video). 'McpaBid': manual cost-per-action. 'PercentCpcBid': percent-of-price CPC for hotel campaigns. 'CommissionRate': commission rate for hotel commission campaigns. Required for single update. | | `bid_amount` | number or string | No | - | New bid amount as a plain number. For CpcBid/CpmBid/CpvBid/McpaBid it is an amount in the account currency (e.g. 2.5). For PercentCpcBid/CommissionRate it is a percentage. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk update. Required columns: 'campaign\_id', 'ad\_group\_id', 'bid\_type', 'bid\_amount'. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads ad group bid update results. **Fields**: `message`, `updated_count`, `results` # Update Ad Group Status Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_ad_group_status Activate, pause, or delete Microsoft Ads ad groups Activate, pause, or delete Microsoft Ads ad groups. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to update ad groups in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign that contains the ad group. Required for single update. | | `ad_group_id` | string or SelectItem | No | - | Select the ad group ID to update. Required for single update. | | `ad_group_status` | string or SelectableOption | No | - | Select the new ad group status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id', 'ad\_group\_id', and 'status' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads ad group status update results. **Fields**: `message`, `updated_count`, `results` # Update Ad Status Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_ad_status Activate, pause, or delete Microsoft Ads ads Activate, pause, or delete Microsoft Ads ads. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_ad_status` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to update ads in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | Enter the ad group ID that contains the ad. Required for single update. | | `ad_id` | string or SelectItem | No | - | Enter the ad ID to update. Required for single update. Ad type is resolved automatically by Markifact based on the ID. | | `ad_status` | string or SelectableOption | No | - | Select the new ad status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_group\_id', 'ad\_id', and 'status' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads ad status update results. **Fields**: `message`, `updated_count`, `results` # Update Asset Group Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_asset_group Fallback Microsoft Ads asset group update tool for Performance Max asset groups Fallback Microsoft Ads asset group update tool for Performance Max asset groups. This calls REST UpdateAssetGroups with PUT /AssetGroups, but sends a partial AssetGroup object: the runner supplies CampaignId and AssetGroups\[0].Id, then merges only the fields in update\_payload. Use care with nested asset collections like Headlines, Descriptions, or Images because Microsoft replaces the entire submitted collection. Supports dry-run review. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_asset_group` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that contains the asset group. | | `campaign_id` | string or SelectItem | Yes | - | The Performance Max campaign ID that contains the asset group. Do not include this inside update\_payload. | | `asset_group_id` | string or SelectItem | Yes | - | The Microsoft Ads asset group ID to update. Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Partial Microsoft Ads AssetGroup object as JSON. This uses the REST UpdateAssetGroups endpoint: the runner sends CampaignId and AssetGroups\[0].Id separately, then merges only the fields provided here. Do not include identity fields such as CampaignId, Id, asset\_group\_id, campaign\_id, account, or connection\_id. Use care with nested asset collections such as Headlines, Descriptions, or Images because Microsoft replaces the entire submitted collection. Example payloads: \{"Status": "Paused"} or \{"FinalUrls": \["`https://example.com`"]} or \{"BusinessName": "Contoso", "CallToAction": "ShopNow"} | | `dry_run` | boolean | No | `False` | When true, return the resolved Microsoft Ads UpdateAssetGroups payload without calling Microsoft Ads. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, asset\_group\_id, updated\_fields, final Microsoft Ads UpdateAssetGroups payload, dry\_run status, and any returned Microsoft response data. **Fields**: `campaign_id`, `asset_group_id`, `updated_fields`, `payload`, `dry_run`, `response` # Update Audience Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_audience Update Microsoft Ads remarketing lists, DMP-based custom audience names/descriptions, or custom segment definitions and keywords Update Microsoft Ads remarketing lists, DMP-based custom audience names/descriptions, or custom segment definitions and keywords. Omitted settings are preserved. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_audience` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string | No | - | CustomSegment only: keyword phrases as an array, JSON array, or comma/newline-separated text, e.g. \["NIST compliance", "CMMC certification"]. Microsoft supports 1–1,000 phrases, each up to 100 characters. Uses Bulk Text internally. On update this replaces the entire keyword list; omission preserves it. Do not combine with custom\_segment\_catalog\_list. Semicolons cannot be used inside a phrase. | | `custom_segment_catalog_list` | array or string | No | - | CustomSegment only: native CustomSegmentCatalogList array or JSON string, e.g. \[\{"CatalogId":123}]. Use existing Microsoft catalog definitions; CatalogName is not assumed to represent arbitrary keyword text. Use keywords for keyword-based segments. Updates replace this definition; omission preserves it. | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the audience. | | `audience_id` | string or integer | Yes | - | ID of the audience to update. microsoft\_ads\_list\_audiences returns these. | | `audience_type` | enum (`RemarketingList`, `Custom`, `CustomSegment`) | Yes | - | The audience's existing type, which Microsoft requires on every update. Supports remarketing lists, DMP-based custom audiences (Custom), and keyword/catalog custom segments (CustomSegment). | | `name` | string | No | - | New audience name. | | `description` | string | No | - | New description. | | `membership_duration` | integer | No | - | How many days someone stays in the audience. 1 to 180 for a remarketing list, up to 390 for a customer list where -1 means never expire. | | `scope` | enum (`Account`, `Customer`) | No | - | Account keeps the audience here, Customer shares it across the customer. | | `rule` | object or string | No | - | RemarketingList only: replacement rule deciding who joins, in the same shape microsoft\_ads\_create\_audience takes. This replaces the existing rule outright, so any group to be kept has to be sent again. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the updated audience or submitted-value fallback. Keyword writes include Bulk results and request ID; catalogs/editorial status are preserved when returned. **Fields**: `id`, `name`, `type`, `membership_duration`, `scope` # Update Campaign Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_campaign Fallback Microsoft Ads campaign update tool for advanced or unsupported campaign fields Fallback Microsoft Ads campaign update tool for advanced or unsupported campaign fields. Use dedicated operations first for common changes such as status or budget. This calls REST UpdateCampaigns with PUT /Campaigns, but sends a partial Campaign object: the runner supplies AccountId and Campaigns\[0].Id, then merges only the fields in update\_payload. Use care with nested objects like Settings or BiddingScheme because Microsoft may replace the submitted nested object or setting. Supports dry-run review. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_campaign` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that contains the campaign. | | `campaign_id` | string or SelectItem | Yes | - | The Microsoft Ads campaign ID to update. Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | Partial Microsoft Ads Campaign object as JSON. This uses the REST UpdateCampaigns endpoint: the runner sends AccountId and Campaigns\[0].Id separately, then merges only the fields provided here. Do not include identity fields such as AccountId, Id, campaign\_id, account, or connection\_id. Location targeting is not a Campaign field and does not belong in this payload; locations are updated through CampaignCriterions. Example payloads: \{"Languages": \["English", "Arabic"]} or \{"Settings": \[\{"Type": "AISearchSetting", "FinalUrlExpansionOptOut": true, "AutoGeneratedTextOptOut": true}]} | | `dry_run` | boolean | No | `False` | When true, return the resolved Microsoft Ads UpdateCampaigns payload without calling Microsoft Ads. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, updated\_fields, final Microsoft Ads UpdateCampaigns payload, dry\_run status, and any returned Microsoft response data. **Fields**: `campaign_id`, `updated_fields`, `payload`, `dry_run`, `response` # Update Campaign Bidding Strategy Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_campaign_bidding_strategy Update the bidding strategy (bid scheme) of Microsoft Ads campaigns, or attach them to / detach them from a portfolio bid strategy via portfolio_bid_strategy_id Update the bidding strategy (bid scheme) of Microsoft Ads campaigns, or attach them to / detach them from a portfolio bid strategy via portfolio\_bid\_strategy\_id. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_campaign_bidding_strategy` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the campaigns to update. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update the bidding strategy of a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | The campaign ID whose bidding strategy to update. Required for single update. | | `bidding_strategy_type` | string or SelectableOption | No | - | Bidding strategy (bid scheme) to set, sent as the Microsoft technical value. 'EnhancedCpcBiddingScheme': manual bids auto-adjusted toward conversions. 'ManualCpcBiddingScheme': manual cost-per-click, supported only for audience display/video and lodging campaigns. For other campaign types, including Search and Shopping, Microsoft ignores this request and uses Enhanced CPC without returning an error. 'ManualCpmBiddingScheme': manual cost-per-thousand-impressions. 'ManualCpvBiddingScheme': manual cost-per-view (video). 'MaxClicksBiddingScheme': maximize clicks within budget; optional max\_cpc cap. 'MaxConversionsBiddingScheme': maximize conversions; optional target\_cpa and max\_cpc. 'MaxConversionValueBiddingScheme': maximize conversion value; optional target\_roas and max\_cpc. 'TargetImpressionShareBiddingScheme': hit an impression share at a page position; needs target\_ad\_position and target\_impression\_share, optional max\_cpc. 'PercentCpcBiddingScheme': bid a percent of price (used by hotel/commission campaigns); uses max\_percent\_cpc. 'CommissionBiddingScheme': pay a commission percentage per conversion; uses commission\_rate. 'CostPerSaleBiddingScheme': pay per sale; uses target\_cost\_per\_sale. 'ManualCpaBiddingScheme': manual cost-per-acquisition; uses manual\_cpi. Required for single update. | | `max_cpc` | number or string | No | - | Maximum cost-per-click cap in account currency. Optional for MaxClicks, MaxConversions, MaxConversionValue, and TargetImpressionShare. | | `target_cpa` | number or string | No | - | Target cost-per-action in account currency. Used by MaxConversions. | | `target_roas` | number or string | No | - | Target return on ad spend as a multiplier (e.g. 3.5 = 350%). Used by MaxConversionValue. | | `target_ad_position` | string or SelectableOption | No | - | Where on the search results page to target, for TargetImpressionShare. 'FirstPage': anywhere on the first page. 'MainLine': the top block of ads on the first page. 'MainLine1': the very first ad on the first page. | | `target_impression_share` | number or string | No | - | Target impression share percentage from 1 to 100 (e.g. 65 = 65%). Used by TargetImpressionShare. | | `max_percent_cpc` | number or string | No | - | Maximum percent CPC (percentage of the product/booking price). Used by PercentCpc. | | `commission_rate` | number or string | No | - | Commission rate percentage paid per conversion. Used by Commission. | | `target_cost_per_sale` | number or string | No | - | Target cost per sale in account currency. Used by CostPerSale. | | `manual_cpi` | number or string | No | - | Manual cost-per-acquisition bid in account currency. Used by ManualCpa. | | `portfolio_bid_strategy_id` | integer or string | No | - | Portfolio (shared) bid strategy ID to attach the campaign to; get IDs from microsoft\_ads\_list\_bid\_strategies. Pass 0 to detach the campaign from its portfolio, together with the campaign-level bidding\_strategy\_type to fall back to. Campaigns inside a portfolio cannot change bidding settings directly; update the portfolio with microsoft\_ads\_manage\_bid\_strategy instead. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk update. Required columns: 'campaign\_id' plus 'bidding\_strategy\_type' and/or 'portfolio\_bid\_strategy\_id' (0 detaches). Optional columns by strategy: 'max\_cpc', 'target\_cpa', 'target\_roas', 'target\_ad\_position', 'target\_impression\_share', 'max\_percent\_cpc', 'commission\_rate', 'target\_cost\_per\_sale', 'manual\_cpi'. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads campaign bidding strategy update results. **Fields**: `message`, `updated_count`, `results` # Update Campaign Budget Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_campaign_budget Update the budget amount and budget type of Microsoft Ads campaigns Update the budget amount and budget type of Microsoft Ads campaigns. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the campaigns to update. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update the budget of a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | The campaign ID whose budget to update. Required for single update. | | `budget` | number or string | No | - | New budget amount in the account currency, as a plain number (e.g. 50). For DailyBudgetStandard/DailyBudgetAccelerated it is the daily cap; for LifetimeBudgetStandard it is the total spend across the campaign's run. Required for single update. | | `budget_type` | string or SelectableOption | No | - | Budget pacing type, sent as the Microsoft technical value. 'DailyBudgetStandard': daily budget paced across the day, the default for most Search/Shopping/Performance Max campaigns. 'DailyBudgetAccelerated': spends the daily budget as fast as possible; only valid for Audience campaigns using unshared campaign-level budgets. 'LifetimeBudgetStandard': one budget distributed across the campaign's start and end dates, so the campaign must have those dates set. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id', 'budget', and 'budget\_type' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads campaign budget update results. **Fields**: `message`, `updated_count`, `results` # Update Campaign Status Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_campaign_status Activate, pause, or delete Microsoft Ads campaigns Activate, pause, or delete Microsoft Ads campaigns. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to update campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to update. Required for single update. | | `campaign_status` | string or SelectableOption | No | - | Select the new campaign status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'status' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads campaign status update results. **Fields**: `message`, `updated_count`, `results` # Update Conversion Goal Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_conversion_goal Update a Microsoft Ads conversion goal: rename it, change its attribution windows or revenue, pause it, or exclude it from bidding so it still counts in All Conversions but no longer drives automat... Update a Microsoft Ads conversion goal: rename it, change its attribution windows or revenue, pause it, or exclude it from bidding so it still counts in All Conversions but no longer drives automated bidding. The goal's existing type must be supplied, which microsoft\_ads\_list\_conversion\_goals returns. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_conversion_goal` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the conversion goal. | | `goal_id` | string or integer | Yes | - | ID of the goal to update. microsoft\_ads\_list\_conversion\_goals returns these. | | `goal_type` | enum (`Url`, `Duration`, `PagesViewedPerVisit`, `Event`, `AppInstall`, `AppDownload`, `OfflineConversion`, `InStoreTransaction`) | Yes | - | The goal's existing type, which Microsoft requires on every update so it knows which shape to apply. Read it from microsoft\_ads\_list\_conversion\_goals rather than guessing; the type itself cannot be changed. | | `name` | string | No | - | New goal name, unique across the customer's goals. | | `status` | enum (`Active`, `Paused`) | No | - | Set Paused to retire the goal. Microsoft has no delete for conversion goals, so this is the only way to stop one recording. | | `exclude_from_bidding` | boolean | No | - | True keeps the goal out of the Conversions, Conversion Rate, Cost Per Conversion and Revenue columns and out of automated bidding, while All Conversions keeps counting it. Same as unchecking Include in Conversions in the web interface. Only available to accounts in Microsoft's Include in Conversions pilot, and rejected outright otherwise. | | `goal_category` | string | No | - | New reporting category, for example Purchase, Signup or Other. | | `count_type` | enum (`All`, `Unique`) | No | - | All counts every conversion per click, Unique counts one. | | `conversion_window_in_minutes` | integer | No | - | Click conversion window in minutes, up to 129600 which is 90 days. | | `view_through_conversion_window_in_minutes` | integer | No | - | View conversion window in minutes, up to 43200 which is 30 days. | | `revenue_type` | enum (`FixedValue`, `VariableValue`, `NoValue`) | No | - | Setting any revenue field replaces the goal's whole revenue configuration rather than merging into it, so supply the values you want kept. | | `revenue_value` | number | No | - | Value of one conversion, used when revenue\_type is FixedValue. | | `revenue_currency` | string | No | - | Currency code for the revenue value. | | `url_expression` | string | No | - | Url goals: replacement URL text to match, without the protocol. | | `url_operator` | enum (`Equals`, `Contains`, `BeginsWith`, `RegularExpression`) | No | - | Url goals: how url\_expression is matched. | | `minimum_duration_in_seconds` | integer | No | - | Duration goals: seconds on site before the goal counts. | | `minimum_pages_viewed` | integer | No | - | PagesViewedPerVisit goals: pages viewed before the goal counts. | | `action_expression` | string | No | - | Event goals: the UET event action to match. | | `action_operator` | enum (`Equals`, `Contains`, `BeginsWith`) | No | - | Event goals: how action\_expression is matched. | | `category_expression` | string | No | - | Event goals: the UET event category to match. | | `category_operator` | enum (`Equals`, `Contains`, `BeginsWith`) | No | - | Event goals: how category\_expression is matched. | | `label_expression` | string | No | - | Event goals: the UET event label to match. | | `label_operator` | enum (`Equals`, `Contains`, `BeginsWith`) | No | - | Event goals: how label\_expression is matched. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the goal as it stands after the update. **Fields**: `id`, `name`, `type`, `status`, `goal_category`, `count_type`, `exclude_from_bidding`, `tracking_status` # Update Import Job Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_import_job Update Google Ads import selection, options, schedule or status in Microsoft Ads Update Google Ads import selection, options, schedule or status in Microsoft Ads. Omitted settings stay unchanged. Microsoft replaces the job and returns a new ID. Dry-run previews the request only; use Get Import Results to check execution. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_import_job` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Destination Microsoft Ads account. | | `campaign_ad_group_ids` | array of GoogleImportCampaign | No | - | Source campaign/ad-group selection as an array or JSON text, e.g. \[\{"CampaignId":123456789,"AdGroupIds":\[987654321]}]. On create, omission makes ALL source campaigns eligible. On update, omission preserves the selection. Microsoft may skip invalid source IDs during import; a submitted job does not prove every selected entity imported. | | `campaign_types` | array of string | No | - | Optional native GoogleImportJob.CampaignTypes filter. Omit to use Microsoft's selection; on update omission preserves it. | | `frequency` | GoogleImportFrequency | No | - | Schedule object or JSON text. Create without a schedule runs immediately. Update without a schedule preserves the existing one. Example: \{"Type":"Scheduling","Cron":"0 16 \* \* 3 \*","TimeZone":"GreenwichMeanTimeDublinEdinburghLisbonLondon"}. Use \{"Type":"RunNow"} for immediate execution. | | `import_options` | object or string | No | - | Native GoogleImportOption object or JSON text; all API options and ForwardCompatibilityMap are supported. Example: \{"PauseNewCampaigns":true,"UpdateEntities":false,"DeleteRemovedEntities":false}. Create defaults PauseNewCampaigns=true and UpdateEntities=false unless explicitly overridden. Other values use Microsoft defaults, which enable most imports. On update, omission preserves existing options; supplied options are forwarded as a partial update. Type defaults to GoogleImportOption. Pausing NEW campaigns does not pause existing campaigns. | | `notification_email` | string | No | - | Email address for Microsoft's import-result notifications. | | `notification_type` | enum (`None`, `Changes`, `Errors`, `EveryTime`) | No | - | Microsoft import notifications: None, Changes, Errors, EveryTime. Omitted on create means None; omitted on update preserves the setting. | | `dry_run` | boolean | No | `False` | Show the request without submitting an import. Local payload preview only, not Microsoft validation or a prediction of imported entities. | | `import_job_id` | integer | Yes | - | Current Microsoft import job ID from List Import Jobs. A successful update replaces it with a new ID. Source Google account, credential and job name cannot be changed through this API. | | `status` | enum (`Active`, `Pause`, `Deleted`) | No | - | Change the IMPORT JOB status, not campaign status. Pause stops future scheduled runs; Deleted removes the job. Omit to preserve its status. | ### GoogleImportCampaign | Field | Type | Required | Default | Description | | - | - | - | - | - | | `CampaignId` | integer | Yes | - | Source Google Ads campaign ID. | | `AdGroupIds` | array of integer | No | - | Source Google ad group IDs. Omit or leave empty for all ad groups in this campaign. | | `ActiveAdGroupsOnly` | boolean | No | - | When no AdGroupIds are selected, true imports only active ad groups. Otherwise Microsoft ignores this flag. | ### GoogleImportFrequency | Field | Type | Required | Default | Description | | - | - | - | - | - | | `Type` | enum (`RunNow`, `Scheduling`, `Auto`) | Yes | - | RunNow imports immediately; Scheduling uses Cron; Auto lets Microsoft choose the schedule. | | `Cron` | string | No | - | Microsoft six-part cron (minute hour day month weekday year). Example: "0 16 \* \* 3 \*" for Wednesdays at 16:00. Used with Scheduling. | | `TimeZone` | string | No | - | Microsoft time-zone name, e.g. GreenwichMeanTimeDublinEdinburghLisbonLondon. Omitted uses Microsoft's default. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` submitted means the job was accepted, not that campaigns finished importing. import\_job\_id is the new/replacement ID. Dry-run returns request\_payload only; inspect actual runs with Get Import Results. **Fields**: `dry_run`, `submitted`, `request_payload`, `import_job_id`, `previous_import_job_id`, `response`, `message` # Update Keyword Bid Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_keyword_bid Update the max CPC bid of Microsoft Ads keywords Update the max CPC bid of Microsoft Ads keywords. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_keyword_bid` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the keywords to update. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update the bid of a single keyword or multiple keywords at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | The ad group ID that contains the keyword. Required for single update (keyword updates are scoped to their ad group). | | `keyword_id` | string or SelectItem | No | - | The keyword ID whose bid to update. Required for single update. | | `bid_amount` | number or string | No | - | New keyword max CPC bid as a plain number in the account currency (e.g. 1.25). Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk update. Required columns: 'ad\_group\_id', 'keyword\_id', 'bid\_amount'. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads keyword bid update results. **Fields**: `message`, `updated_count`, `results` # Update Keyword Status Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_keyword_status Activate, pause, or delete Microsoft Ads keywords Activate, pause, or delete Microsoft Ads keywords. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_keyword_status` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account to update keywords in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single keyword or multiple keywords at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | Enter the ad group ID that contains the keyword. Required for single update. | | `keyword_id` | string or SelectItem | No | - | Enter the keyword ID to update. Required for single update. | | `keyword_status` | string or SelectableOption | No | - | Select the new keyword status. Options: ACTIVE, PAUSED, or DELETED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_group\_id', 'keyword\_id', and 'status' fields for each row. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Microsoft Ads keyword status update results. **Fields**: `message`, `updated_count`, `results` # Update Keywords Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_keywords Fallback Microsoft Ads keyword update for final URLs, mobile URLs, tracking and other native fields Fallback Microsoft Ads keyword update for final URLs, mobile URLs, tracking and other native fields. Use only when no dedicated operation supports the change; use update\_keyword\_bid or update\_keyword\_status for bid/status-only edits. Returns partial errors; do not retry successful rows. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_keywords` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account containing the keywords. | | `update_payload` | object or string | Yes | - | Native UpdateKeywords request object or JSON string. Include AdGroupId and Keywords, with Id in every keyword patch. Microsoft accepts up to 1000 keywords per request. Example: \{"AdGroupId":"123","Keywords":\[\{"Id":"456","FinalUrls":\["`https://www.example.com/products`"]}]}. Other native request fields, such as ReturnInheritedBidStrategyTypes and AssetGroupId, are passed through. Only supplied fields are sent. Supported URL fields include FinalUrls, FinalMobileUrls, TrackingUrlTemplate, FinalUrlSuffix and UrlCustomParameters. An omitted field retains its value. Use "" to clear TrackingUrlTemplate or FinalUrlSuffix; use \{"Parameters":\[]} inside UrlCustomParameters to remove custom parameters. Null is preserved and follows Microsoft's per-field semantics, not a universal reset. Use the dedicated update\_keyword\_bid or update\_keyword\_status nodes for bid/status-only changes. | | `dry_run` | boolean | No | `False` | Return the request payload without calling Microsoft. This is a local preview, not vendor validation. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns the submitted payload, Microsoft's native response including PartialErrors, and per-keyword results with request index, keyword\_id, action and errors. A dry run returns only the local payload preview and makes no vendor request. **Fields**: `payload`, `dry_run`, `response`, `results` # Update Product Partitions Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_product_partitions Apply native Add, Update or Delete actions to Microsoft Ads Shopping product partitions Apply native Add, Update or Delete actions to Microsoft Ads Shopping product partitions. Forwards criterion\_actions unchanged; never automatically deletes or rebuilds a tree. All actions must target one ad group and leave a complete tree. Requires explicit criterion IDs for updates/deletes. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_product_partitions` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the Shopping ad group. | | `criterion_actions` | array of object or string | Yes | - | Native Microsoft Ads CriterionActions array, forwarded unchanged to ApplyProductPartitionActions. Accepts a JSON array or JSON array string, not the enclosing CriterionActions object. Each action contains Action (Add, Update or Delete) and AdGroupCriterion. Include AdGroupId in every action; all actions must target the same Shopping ad group. Up to 5,000 actions per request. The resulting tree must be complete; if one action fails, all fail. No tree lookup, automatic deletion or 'Everything else' node is performed. Update an existing bid: \[\{"Action":"Update","AdGroupCriterion":\{"Type":"BiddableAdGroupCriterion","AdGroupId":123,"Id":456,"CriterionBid":\{"Type":"FixedBid","Amount":0.8}}}]. Add an all-products root to an ad group without a tree: \[\{"Action":"Add","AdGroupCriterion":\{"Type":"BiddableAdGroupCriterion","AdGroupId":123,"Criterion":\{"Type":"ProductPartition","PartitionType":"Unit","ParentCriterionId":null,"Condition":\{"Operand":"All","Attribute":null}},"CriterionBid":\{"Type":"FixedBid","Amount":0.8}}}]. Delete an existing node: \[\{"Action":"Delete","AdGroupCriterion":\{"Type":"BiddableAdGroupCriterion","AdGroupId":123,"Id":456}}]. Deleting a parent removes its descendants; include replacement actions when needed to leave a complete tree. Omit Criterion on deletes. For subdivision trees, send parents before children, use temporary negative IDs for new parents, and include the required remainder node. Changing a condition or switching between biddable and negative requires explicit Delete and Add actions. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns Microsoft's ApplyProductPartitionActions response. AdGroupCriterionIds corresponds to the submitted action order; operation and partial errors are raised. **Fields**: `AdGroupCriterionIds`, `PartialErrors` # Update Responsive Search Ad Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_update_responsive_search_ad Update existing Microsoft Ads responsive search ads (headlines, descriptions, final URL, paths, status) Update existing Microsoft Ads responsive search ads (headlines, descriptions, final URL, paths, status). Only provided fields are changed. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_update_responsive_search_ad` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single responsive search ad or multiple at once. Options: 'single' or 'bulk'. | | `ad_group_id` | string or SelectItem | No | - | The ad group ID that contains the ad. Required for single update. | | `ad_id` | string or SelectItem | No | - | The ID of the responsive search ad to update. Required for single update. | | `headlines` | array of string or object | No | - | New full list of headlines (3-15 items, max 30 chars each; replaces existing). Each item is a string or \{text, pinned\_field: HEADLINE\_1/2/3}. Omit to keep existing. | | `descriptions` | array of string or object | No | - | New full list of descriptions (2-4 items, max 90 chars each; replaces existing). Each item is a string or \{text, pinned\_field: DESCRIPTION\_1/2}. Omit to keep existing. | | `final_url` | string | No | - | New landing page URL (http/https). Omit to keep existing. | | `path_1` | string | No | - | New first display path (max 15 chars). Omit to keep existing. | | `path_2` | string | No | - | New second display path (max 15 chars). Omit to keep existing. | | `ad_status` | string or SelectableOption | No | - | New ad status. Options: ACTIVE or PAUSED. Omit to keep existing. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk update. Required columns: 'ad\_group\_id', 'ad\_id'. Optional editable columns: 'headlines', 'descriptions', 'final\_url', 'path\_1', 'path\_2', 'ad\_status'. Only provided fields are updated. Required for bulk update. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated responsive search ads and which fields changed. **Fields**: `message`, `updated_count`, `results` # Upload Customer List Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_upload_customer_list Add, remove or replace the hashed records in a Microsoft Ads customer list audience for Customer Match Add, remove or replace the hashed records in a Microsoft Ads customer list audience for Customer Match. Hash emails and phone numbers with SHA-256 after lowercasing and trimming. Up to 1000 records per run. Create the list first with microsoft\_ads\_create\_audience. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_upload_customer_list` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the customer list. | | `audience_id` | string or integer | Yes | - | ID of the customer list audience to fill. Create it first with microsoft\_ads\_create\_audience using type CustomerList. | | `action_type` | enum (`Add`, `Remove`, `Replace`) | Yes | - | Add appends the records, Remove takes them out, Replace swaps the entire list for what is supplied. | | `item_sub_type` | enum (`Email`, `CRM`, `Phone`) | Yes | - | Which identifier the records are. All records in one run must match. | | `items` | string or array of string | Yes | - | The hashed records, as a list or one per line. Hash with SHA-256 after lowercasing and trimming, and never send plain text. Up to 1000 per run. | | `accept_customer_match_terms` | boolean | No | - | Accepts Microsoft's Customer Match terms as part of this upload, which otherwise has to be done in the web interface. Leaving it unset keeps whatever was accepted there, and setting it false rejects the terms and fails the upload. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns how many records were submitted. Rejected records raise an error. **Fields**: `audience_id`, `action_type`, `submitted` # Upload Offline Conversions Source: https://docs.markifact.com/nodes/microsoft_ads/microsoft_ads_upload_offline_conversions Upload offline conversions to Microsoft Ads against an existing offline conversion goal, matched by Microsoft click ID or by hashed email or phone Upload offline conversions to Microsoft Ads against an existing offline conversion goal, matched by Microsoft click ID or by hashed email or phone. Up to 1000 rows per run. Create the offline conversion goal first with microsoft\_ads\_create\_conversion\_goal. | | | | - | - | | **App** | Microsoft Ads | | **Operation ID** | `microsoft_ads_upload_offline_conversions` | | **Type** | Action | | **Connection** | `microsoft_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account the conversions belong to. | | `conversions` | string or array of any | Yes | - | Conversions to upload, as JSON. Each entry needs conversion\_name matching an existing offline conversion goal, conversion\_time as an ISO timestamp, and one identifier: microsoft\_click\_id, hashed\_email or hashed\_phone. Optional per row: conversion\_value, conversion\_currency\_code. Hash email and phone with SHA-256 after lowercasing and trimming, and never send them in plain text. Up to 1000 rows per run. | ### MicrosoftAdsAccountItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | | `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. | ## Output **Type**: `Dict` Returns how many conversions were accepted. Any row Microsoft rejects raises an error naming the row. **Fields**: `uploaded` # Note Source: https://docs.markifact.com/nodes/note/note Create text notes with markdown formatting Create text notes with markdown formatting | | | | - | - | | **App** | Note | | **Operation ID** | `note` | | **Type** | Note | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `text` | string | Yes | - | The text content of of the note, use markdown syntax for formatting. You can use line breaks to structure your notes. | | `width` | integer | No | `350` | Width of the note (in pixels) | | `height` | integer | No | `280` | Height of the note (in pixels) | | `color` | string or SelectableOption | Yes | - | Background color of the note | | `locked` | boolean | No | `False` | Lock the note to prevent editing | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `None` Returns nothing. This is a note node for documentation only. # Archive Product Feed Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_archive_product_feed Archive an OpenAI Ads product feed Archive an OpenAI Ads product feed. Archiving is permanent and cannot be undone; only archive feeds that are no longer used by any campaign. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_archive_product_feed` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `feed_id` | string or SelectableOption | Yes | - | Product feed ID to archive (from openai\_ads\_list\_product\_feeds). Archiving is permanent and cannot be undone. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns \{feed\_id, archived\_at} exactly as returned by the OpenAI Ads API. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "feed_id": "acme_feed", "archived_at": "2026-09-01T00:00:00Z" } ``` # Create Ad Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_ad Creates a new ad under an ad group in the connected OpenAI Ads account — a chat_card creative with its own image and URL, or a product_ad_template creative for product-feed campaigns Creates a new ad under an ad group in the connected OpenAI Ads account — a chat\_card creative with its own image and URL, or a product\_ad\_template creative for product-feed campaigns. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_ad` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `idempotency_key` | string | No | - | Optional reusable key for this create request. Reuse the same key and payload after an uncertain response to avoid duplicates; use a new key for a new resource. | | `ad_group_id` | string or SelectableOption | Yes | - | Parent ad group ID to create the ad under (from openai\_ads\_list\_ad\_groups). | | `name` | string | Yes | - | Ad name (3-1000 characters). | | `status` | string or SelectableOption | Yes | - | Ad status: 'active' or 'paused'. | | `creative_type` | string or SelectableOption | No | `chat_card` | Creative type. 'chat\_card' (the default) is a standard ad with its own image and URL. 'product\_ad\_template' is for ad groups in a product-feed campaign: the image and URL come from the feed items, and title/body/price support tokens like \{\{product.title}} and \{\{product.price}}. | | `title` | string | Yes | - | Creative title / headline (3-50 characters). Product template ads can use tokens, e.g. \{\{product.title}}. | | `body` | string | Yes | - | Creative body text (up to 100 characters). Product template ads can use tokens, e.g. \{\{product.body}}. | | `price` | string | No | - | Optional price text shown on the creative, e.g. '\$29.99' — or the \{\{product.price}} token on product template ads. | | `target_url` | string | No | - | Destination URL the ad links to. Required for chat\_card ads; unused for product template ads (the URL comes from each feed item). | | `image_url` | string | No | - | Image for the ad creative. Accepts a Markifact file URL, a Google Drive share link, or a public image URL — it is downloaded and uploaded to OpenAI Ads automatically. chat\_card ads need this or file\_id; product template ads take images from the feed. | | `file_id` | string | No | - | An already-uploaded OpenAI Ads file\_id to use for the creative instead of image\_url (get one with openai\_ads\_upload\_media). Only for chat\_card ads. | | `image_crop` | object or string | No | - | Optional crop region for the creative image, as JSON with "x", "y", "width", and "height" given as fractions of the image dimensions (0-1), e.g. \{"x": 0, "y": 0.1, "width": 1, "height": 0.8}. | | `query_string_template` | string | No | - | Optional landing-page query string template appended to the destination URL for tracking, e.g. 'utm\_source=chatgpt'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad object exactly as returned by the OpenAI Ads API (id, name, status, creative, review, review\_status, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "ad_...", "name": "Planner launch card", "status": "active", "creative": { "type": "chat_card", "title": "Try the planner", "body": "All in one place." }, "review_status": "pending" } ``` # Create Ad Group Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_ad_group Creates a new ad group under a campaign in the connected OpenAI Ads account Creates a new ad group under a campaign in the connected OpenAI Ads account. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_ad_group` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `idempotency_key` | string | No | - | Optional reusable key for this create request. Reuse the same key and payload after an uncertain response to avoid duplicates; use a new key for a new resource. | | `campaign_id` | string or SelectableOption | Yes | - | Parent campaign ID to create the ad group under (from openai\_ads\_list\_campaigns). | | `name` | string | Yes | - | Ad group name (3-1000 characters). | | `status` | string or SelectableOption | Yes | - | Ad group status: 'active' or 'paused'. | | `billing_event_type` | string or SelectableOption | Yes | - | Bid / billing event type. Must match the parent campaign's objective: 'impression' (CPM) for an impressions campaign, 'click' (CPC) for both clicks and conversions campaigns. For a conversions (oCPC) campaign, use 'click' — the bid amount is then treated as the target CPA. | | `strategy` | string or SelectableOption | No | - | Bidding strategy: 'fixed\_bid' (the default if omitted) bids the bid\_amount; 'maximize\_clicks' / 'maximize\_conversions' bid automatically, making bid\_amount optional. | | `bid_amount` | number | No | - | Maximum bid in account currency (e.g. US dollars), i.e. 1.50 for $1.50. This value is converted to micros automatically before sending to the API. Required unless strategy is 'maximize_clicks' or 'maximize_conversions'. For a conversions (oCPC) campaign this is the target CPA per conversion, e.g. 100 for a $100 CPA, even though billing stays per click. | | `custom_audience_bid_multipliers` | array of OpenAIAdsAudienceBidMultiplier | No | - | Audience bid adjustments as native objects or a JSON array, e.g. \[\{"custom\_audience\_id":"caud\_123","bid\_multiplier\_micros":1500000}]. Applies to eligible audiences and fixed bidding. | | `context_hints` | string or array of string | No | - | Optional context hints — conversations, topics, or keywords where your products or services may be relevant. These guide matching but aren't exact-match targeting. Provide one hint per line, or as a list. | | `product_feed_id` | string | No | - | Product feed ID, shown in the Feeds area of OpenAI Ads Manager or on the campaign's product\_feed\_id field. For ad groups under a product-feed campaign: omit it to inherit the campaign's feed, or set it (must match the campaign's feed) when using product\_filters. | | `product_filters` | string or array of OpenAIAdsProductFilterItem | No | - | Optional filters narrowing which feed items this ad group advertises (e.g. only a brand, or price above a threshold). A JSON list of \{"field", "operator", "values"} objects, e.g. \[\{"field": "brand", "operator": "in", "values": \["Acme"]}, \{"field": "price", "operator": "gt", "values": \["25.00"]}]. Only valid together with product\_feed\_id; filters are ANDed. | | `query_string_template` | string | No | - | Optional landing-page query string template appended to destination URLs for tracking, e.g. 'utm\_source=chatgpt\&utm\_campaign=\{campaign\_id}'. | | `description` | string | No | - | Optional ad group description. | ### OpenAIAdsAudienceBidMultiplier | Field | Type | Required | Default | Description | | - | - | - | - | - | | `custom_audience_id` | string | Yes | - | | | `bid_multiplier_micros` | integer | Yes | - | Multiplier in millionths: 1500000 is 1.5x. The API accepts 0.1x to 10x for eligible audiences. | ### OpenAIAdsProductFilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | Feed attribute to filter on, including provider-defined ads\_metadata fields such as ads\_metadata.custom\_label\_0. | | `operator` | string or SelectableOption | Yes | - | 'in'/'not\_in' match any of the values; 'contains'/'not\_contains'/'starts\_with' are text matches; 'gt'/'gte'/'lt'/'lte' are numeric comparisons, allowed only on 'price' and 'star\_rating'. | | `values` | string or array of string | No | - | Values to match — a list or a comma-separated string. Numbers are sent as strings (e.g. '25.00'). | | `value` | string or array of string | No | - | | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad group object exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, context\_hints, description, product\_set, campaign\_id, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adgrp_...", "campaign_id": "cmpn_...", "name": "US English", "status": "active", "bidding_config": { "billing_event_type": "click", "max_bid_micros": 3500000 }, "context_hints": [ "productivity" ] } ``` # Create Campaign Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_campaign Creates a new campaign in the connected OpenAI Ads (ChatGPT Ads) account Creates a new campaign in the connected OpenAI Ads (ChatGPT Ads) account. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_campaign` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `idempotency_key` | string | No | - | Optional reusable key for this create request. Reuse the same key and payload after an uncertain response to avoid duplicates; use a new key for a new resource. | | `name` | string | Yes | - | Campaign name (3-1000 characters). | | `status` | string or SelectableOption | Yes | - | Campaign status: 'active' or 'paused'. | | `bidding_type` | string or SelectableOption | No | - | Campaign objective / bidding type: 'impressions' (the default if omitted), 'clicks', or 'conversions'. Use 'conversions' together with conversion\_event\_setting\_ids. | | `budget_type` | string or SelectableOption | Yes | - | Budget type — a 'daily' or 'lifetime' spend limit. | | `budget_amount` | number | Yes | - | Budget amount in your account currency (e.g. US dollars), i.e. 50 for \$50. This value is converted to micros automatically before sending to the API. | | `mode` | string or SelectableOption | No | - | Campaign mode: 'standard' (the default if omitted) or 'product\_feed' for a campaign that advertises items from a product feed set up in OpenAI Ads Manager. The mode cannot be changed after creation; ad groups under a product-feed campaign inherit the campaign's feed. | | `product_feed_id` | string | No | - | Product feed ID to link to the campaign (shown in the Feeds area of OpenAI Ads Manager). Used with mode 'product\_feed'; ad groups then inherit this feed automatically. | | `description` | string | No | - | Optional campaign description. | | `start_date` | string | No | - | Optional campaign start date in YYYY-MM-DD format (converted to a Unix timestamp). | | `end_date` | string | No | - | Optional campaign end date in YYYY-MM-DD format (converted to a Unix timestamp). | | `platforms` | array of enum (`ios_app`, `android_app`, `web`, `desktop_web`, `ios_web`, `android_web`) | No | - | ChatGPT platforms to target. web includes all browsers; omit for all platforms. | | `custom_audience_ids` | array of string | No | - | Ready custom audience IDs to include. Audiences must be eligible for inclusion. | | `excluded_custom_audience_ids` | array of string | No | - | Ready custom audience IDs to exclude. Small or empty exclusion-eligible audiences are supported. | | `location_ids` | array (also accepts a comma-separated string) | No | - | Optional list of location IDs to target, obtained from the openai\_ads\_search\_geo node. Omit to reach all available locations. | | `countries` | array (also accepts a comma-separated string) | No | - | Optional list of ISO country codes to target (e.g. 'US', 'GB') — a shortcut that needs no geo lookup. Can be combined with location\_ids. | | `excluded_location_ids` | array (also accepts a comma-separated string) | No | - | Optional list of location IDs to exclude from targeting, obtained from the openai\_ads\_search\_geo node. | | `excluded_countries` | array (also accepts a comma-separated string) | No | - | Optional list of ISO country codes to exclude from targeting (e.g. 'DE'). | | `query_string_template` | string | No | - | Optional landing-page query string template appended to destination URLs for tracking, e.g. 'utm\_source=chatgpt\&utm\_campaign=\{campaign\_id}'. | | `conversion_event_setting_ids` | array (also accepts a comma-separated string) | No | - | Optional list of conversion event setting IDs, obtained from the openai\_ads\_list\_conversion\_events node. Typically used when bidding\_type is 'conversions'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created campaign object exactly as returned by the OpenAI Ads API (id, name, status, budget, targeting, start\_time, end\_time, created\_at, updated\_at, etc.). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "cmpn_...", "name": "Spring launch", "status": "active", "bidding_type": "clicks", "budget": { "lifetime_spend_limit_micros": 25000000 }, "targeting": { "locations": { "include": [ { "id": "2000043" } ] } } } ``` # Create Conversion Event Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_conversion_event Create an OpenAI Ads conversion event setting connected to one conversion source (pixel) Create an OpenAI Ads conversion event setting connected to one conversion source (pixel). Standard events like order\_created can then be used as oCPC optimization goals via conversion\_event\_setting\_ids on campaign creation; custom events are reporting-only. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_conversion_event` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | Display name for the conversion event setting. | | `event_type` | string or SelectableOption | Yes | - | Conversion event type. Standard events (e.g. 'order\_created', 'lead\_created') can be used as oCPC optimization goals; 'custom' events cannot and need a custom\_event\_name. | | `custom_event_name` | string | No | - | Name of the custom event. Required when event\_type is 'custom'. | | `source_id` | string or SelectableOption | Yes | - | Exactly one conversion source ID to connect (the cds\_/clidsrc\_ `id` from openai\_ads\_list\_pixels or openai\_ads\_create\_pixel, not the pixel\_id). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created event setting exactly as returned by the OpenAI Ads API (id, name, event\_type, custom\_event\_name, attribution\_window\_days, source\_ids, sources, campaigns, archived, version). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "ces_...", "name": "Purchases", "event_type": "order_created", "attribution_window_days": 30, "source_ids": [ "cds_..." ] } ``` # Create Custom Audience Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_custom_audience Create an OpenAI Ads custom audience from a customer CSV/TXT file or start empty Create an OpenAI Ads custom audience from a customer CSV/TXT file or start empty. Preparation is asynchronous; retrieve the audience before using it. Custom-audience targeting is unavailable in the EEA and Switzerland. If a create response is lost, list audiences before retrying. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_custom_audience` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file_url` | string | No | - | UTF-8 CSV/TXT customer list, up to 500,000,000 bytes. CSV requires identifier headers: email, phone\_number, email\_sha256, phone\_number\_sha256, or gaid; TXT is one identifier per line without a header. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Uploaded automatically. Use this or file\_id, not both. | | `file_id` | string | No | - | Previously uploaded custom-audience file ID. Use promptly. For create, also supply filename, mimetype, and file\_size. Use this or file\_url, not both. | | `filename` | string | No | - | Original .csv or .txt filename. Required with file\_id on create; optional override with file\_url, useful for Drive links. | | `mimetype` | string | No | - | File MIME type, normally text/csv or text/plain. Required with file\_id on create; detected for file\_url. | | `file_size` | integer | No | - | Exact uploaded file size in bytes. Required with file\_id on create; measured automatically for file\_url. | | `identifier_type` | enum (`email`, `phone`, `email_sha256`, `phone_number_sha256`, `gaid`) | No | - | Single-column file type: email (API default), phone, email\_sha256, phone\_number\_sha256, or gaid. Phones use E.164 including +. For SHA-256, hash UTF-8 with no trailing newline: trim/lowercase emails, or normalize phones to E.164; send hexadecimal, not Base64. Do not strip email dots/plus tags. GAIDs must be raw, not hashed. | | `identifier_resolution` | enum (`auto`) | No | - | Use auto for a CSV containing multiple identifier columns. Omit for a single identifier type or an empty audience. | | `name` | string | Yes | - | Name of the new custom audience. | | `description` | string | No | - | Audience description. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Create Pixel Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_pixel Create an OpenAI Ads web conversion pixel Create an OpenAI Ads web conversion pixel. Returns the source `id` to use in conversion event settings and the `pixel_id` to install on the website. Pixel management must be enabled for the ad account. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_pixel` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | Descriptive pixel name (3-1000 characters). | ## Output **Type**: `Dict` Returns the created pixel object exactly as returned by the OpenAI Ads API (id, name, client\_type, pixel\_id). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "cds_...", "client_type": "web", "name": "Acme website", "pixel_id": "W9EP..." } ``` # Create Product Feed Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_create_product_feed Create a product feed on the connected OpenAI Ads account Create a product feed on the connected OpenAI Ads account. The catalog itself is then uploaded via SFTP or a hosted URL configured in OpenAI Ads Manager; this node only creates the feed container. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_create_product_feed` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | Product feed name (up to 255 characters). | | `countries` | array (also accepts a comma-separated string) | No | - | Optional ISO country codes the feed serves (e.g. 'US'). Determines the feed's currencies. | ## Output **Type**: `Dict` Returns the created feed exactly as returned by the OpenAI Ads API (feed\_id, name, countries, currencies, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "feed_id": "acme_feed", "name": "Acme", "countries": [ "US" ], "currencies": [ "USD" ] } ``` # Get Account History Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_get_account_history Retrieve OpenAI Ads account change history, including changed resources, actors, timestamps, and before/after details Retrieve OpenAI Ads account change history, including changed resources, actors, timestamps, and before/after details. Filter by time preset, campaign, ad group, ad, or actor. Uses the account determined by the connection. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_get_account_history` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `time_range` | enum (`last_30_days`, `last_14_days`, `last_7_days`, `today`, `yesterday`) | No | `last_30_days` | UTC date preset. Defaults to last\_30\_days, including today. today/yesterday use UTC calendar-day boundaries. | | `campaign_id` | string | No | - | Include changes to this campaign and its ad groups and ads. | | `ad_group_id` | string | No | - | Include changes to this ad group and its ads. | | `ad_id` | string | No | - | Include changes to this ad. | | `actor_id` | string | No | - | Include changes made by this actor, not changes affecting the actor. Resource/actor filters are combined with AND. | | `order` | enum (`asc`, `desc`) | No | - | Chronological order: desc (default, newest first) or asc. | | `limit` | integer | No | `100` | Maximum audit records to return. Default 100; requests are paginated with up to 100 rows per API page. | ## Output **Type**: `List[Dict]` Returns a list of raw audit-log records, including resource and actor IDs, timestamps, and before/after changes, up to the requested limit. **Fields**: dynamic (depend on the inputs) # Get Ad Account Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_get_ad_account Get OpenAI Ads account details and daily/date-range spending limits, spend counters and effective dates Get OpenAI Ads account details and daily/date-range spending limits, spend counters and effective dates. Billing-read failures return spending\_limits=null with an error; account metadata remains available. Missing counters are unknown, not zero. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_get_ad_account` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `Dict` Returns native account metadata plus spending\_limits (full native configuration including daily\_limit, date-range data, revision and earliest start dates) and spending\_limits\_error. All monetary counters are in micros. Null limits with an error mean unavailable, not no limits. Spending counters can lag; spend\_as\_of indicates freshness. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adacct_...", "name": "Acme", "status": "active", "timezone": "UTC", "currency_code": "USD", "review": { "status": "approved" } } ``` # Get Custom Audience Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_get_custom_audience Retrieve an OpenAI Ads custom audience, including preparation status, count ranges, and membership_revision Retrieve an OpenAI Ads custom audience, including preparation status, count ranges, and membership\_revision. For membership updates, poll the returned operation separately; ready alone does not mean a replacement finished. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_get_custom_audience` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `audience_id` | string | Yes | - | Audience ID from openai\_ads\_list\_custom\_audiences or create. | | `matched_count_granularity` | enum (`granular`) | No | - | Use granular for finer privacy-preserving matched-count ranges. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Get Custom Audience Operation Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_get_custom_audience_operation Read the status of an OpenAI Ads audience add, remove, replace, or merge Read the status of an OpenAI Ads audience add, remove, replace, or merge. Poll with increasing delays until succeeded or failed. Exact matched counts and individual membership outcomes are not exposed. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_get_custom_audience_operation` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `audience_id` | string | Yes | - | Audience ID returned with the membership operation, including the new audience for a merge. | | `operation_id` | string | Yes | - | Membership operation ID to poll. processing is pending; succeeded/failed are terminal. A recovery-required error means add/remove may be partly applied; resume the same operation, not a new submission. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Get Pixel Events Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_get_pixel_events Check recent OpenAI Ads pixel events for debugging: up to 50 conversion events received from the Pixel SDK in the previous 15 minutes Check recent OpenAI Ads pixel events for debugging: up to 50 conversion events received from the Pixel SDK in the previous 15 minutes. Use it to confirm a pixel is firing, not for attribution (use the reporting node for that). Available only to enabled accounts. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_get_pixel_events` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pixel_id` | string or SelectableOption | Yes | - | Pixel ID to check (the pixel\_id value from openai\_ads\_list\_pixels, not the cds\_... source id). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns recent pixel event objects exactly as returned by the OpenAI Ads API (event\_type, action\_source, api\_channel, event\_timestamp\_ms, received\_at\_ms, ...). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "event_type": "page_viewed", "action_source": "web", "api_channel": "pixel_sdk", "received_at_ms": 1787082320225 } ] ``` # Get Report Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_get_report Report OpenAI Ads (ChatGPT Ads) delivery, conversions, purchase sales and attributed events Report OpenAI Ads (ChatGPT Ads) delivery, conversions, purchase sales and attributed events. Attribution windows and reporting clock are configurable in options. Event dimensions use event metrics. OpenAI Ads authenticates with an API key where each key maps to a single ad account, so there is no in-node list accounts or account selection — the connection itself determines the account. Use the list\_connections tool to see which OpenAI Ads accounts the user's connections have access to and pick the right connection\_id. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_get_report` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | OpenAIAdsReportOptions | No | - | Formatting and attribution options, applied equally to both comparison periods. Zero-impression expansion supports unsegmented entities or product reports when enabled for the account. | | `event_names` | array of string | No | - | Exact standard or custom event names to retrieve (1–500), as an array or JSON array. Only filters event details, not goal conversions or sales totals. Omit for all events. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OpenAIAdsReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `attribution_window_days` | enum (`7`, `14`, `30`) | No | `30` | Click-through attribution window in days; default 30. | | `view_through_attribution_window_days` | enum (`0`, `1`) | No | `1` | View-through attribution window: 1 day, or 0 to disable. | | `attribution_time_basis` | enum (`ad_event_time`, `conversion_time`) | No | `ad_event_time` | Attribute to the ad interaction date or conversion date. Conversion-time non-goal event coverage may be limited. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-05-01", "campaignName": "Brand", "impressions": 12000, "clicks": 240, "spend": 85.0 } ] ``` # List Ad Groups Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_ad_groups Lists ad groups in the connected OpenAI Ads account Lists ad groups in the connected OpenAI Ads account. Pass a campaign\_id to scope to one campaign, or omit it to list ad groups across all campaigns. Returns raw ad group objects exactly as returned by the API. Optionally filter by status, sort by creation order, and limit results. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `campaign_id` | string or SelectableOption | No | - | Campaign ID to list ad groups for. Optional — if omitted, ad groups across all campaigns in the account are returned. | | `name_search` | string | No | - | Filter ad groups by name (case-insensitive substring match, applied client-side). | | `status` | array of string or SelectableOption | No | - | Filter ad groups by status. Supported values: active, paused, archived. Multiple can be selected; applied client-side. | | `include_serving_issues` | boolean | No | - | When true, each ad group includes a serving\_issues array explaining why it may not be delivering (e.g. campaign\_not\_active). | | `order` | string or SelectableOption | No | - | Sort direction by creation order: 'asc' (oldest first) or 'desc' (newest first). | | `limit` | integer | No | `100` | Maximum number of ad groups to return (1-1000). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a list of ad group objects exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, description, product\_set, created\_at, updated\_at), plus an injected campaign\_id identifying the parent campaign. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "adgrp_...", "campaign_id": "cmpn_...", "name": "Test Ad group", "status": "active", "bidding_config": { "billing_event_type": "click", "max_bid_micros": 3500000 } } ] ``` # List Ads Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_ads Lists ads in the connected OpenAI Ads account Lists ads in the connected OpenAI Ads account. Pass an ad\_group\_id to scope to one ad group, or a campaign\_id to scope to a campaign's ad groups, or omit both to list ads across the whole account. Returns raw ad objects exactly as returned by the API. Optionally filter by status, sort by creation order, and limit results. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_ads` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectableOption | No | - | Ad group ID to list ads for. Optional — if omitted, ads across all ad groups (optionally scoped by campaign\_id) are returned. | | `campaign_id` | string or SelectableOption | No | - | Campaign ID to scope ads to. Optional and ignored when ad\_group\_id is set. If only campaign\_id is given, ads across that campaign's ad groups are returned; if neither is given, ads across the whole account. | | `name_search` | string | No | - | Filter ads by name (case-insensitive substring match, applied client-side). | | `status` | array of string or SelectableOption | No | - | Filter ads by status. Supported values: active, paused, archived. Multiple can be selected; applied client-side. | | `include_serving_issues` | boolean | No | - | When true, each ad includes a serving\_issues array explaining why it may not be delivering (e.g. campaign\_not\_active). | | `order` | string or SelectableOption | No | - | Sort direction by creation order: 'asc' (oldest first) or 'desc' (newest first). | | `limit` | integer | No | `100` | Maximum number of ads to return (1-1000). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a list of ad objects exactly as returned by the OpenAI Ads API (id, name, status, creative, review, review\_status, created\_at, updated\_at), plus injected ad\_group\_id and campaign\_id identifying the parent ad group and campaign. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "ad_...", "ad_group_id": "adgrp_...", "campaign_id": "cmpn_...", "name": "Test Ad", "status": "active", "creative": { "type": "chat_card", "title": "Markifact", "target_url": "https://www.markifact.com/" } } ] ``` # List Campaigns Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_campaigns Lists campaigns in the connected OpenAI Ads (ChatGPT Ads) account Lists campaigns in the connected OpenAI Ads (ChatGPT Ads) account. Optionally filter by status (active, paused, archived), sort by creation order, and limit results. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_campaigns` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name_search` | string | No | - | Filter campaigns by name (case-insensitive substring match, applied by the OpenAI Ads API). | | `status` | array of string or SelectableOption | No | - | Filter campaigns by status. Supported values: active, paused, archived. Multiple can be selected; applied client-side. | | `include_serving_issues` | boolean | No | - | When true, each campaign includes a serving\_issues array explaining why it may not be delivering (e.g. campaign\_not\_active). | | `order` | string or SelectableOption | No | - | Sort direction by creation order: 'asc' (oldest first) or 'desc' (newest first). | | `limit` | integer | No | `100` | Maximum number of campaigns to return (1-1000). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a list of campaign objects exactly as returned by the OpenAI Ads API, including id, name, status, bidding\_type, budget, targeting, start\_time, end\_time, created\_at, and updated\_at. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "cmpn_...", "name": "Test Campaign", "status": "active", "bidding_type": "clicks", "budget": { "daily_spend_limit_micros": 25000000 }, "start_time": 1781504598 } ] ``` # List Conversion Events Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_conversion_events Lists conversion event settings configured in the connected OpenAI Ads account (from the pixel / Conversions API) Lists conversion event settings configured in the connected OpenAI Ads account (from the pixel / Conversions API). Use the returned ids as conversion\_event\_setting\_ids in openai\_ads\_create\_campaign when the objective (bidding\_type) is 'conversions'. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_conversion_events` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `order` | string or SelectableOption | No | - | Sort direction by creation order: 'asc' (oldest first) or 'desc' (newest first). | | `limit` | integer | No | `100` | Maximum number of conversion event settings to return (1-1000). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns conversion event settings as returned by the API, including id, name, event\_type, attribution\_window\_days, custom\_event\_name, archived, sources, and source\_ids. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "6a2fa348...", "name": "Page Viewed", "event_type": "page_viewed", "attribution_window_days": 30, "sources": [ { "id": "cds_...", "name": "My first pixel" } ] } ] ``` # List Custom Audience Operations Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_custom_audience_operations List retained OpenAI Ads audience membership operations to recover operation IDs and inspect status List retained OpenAI Ads audience membership operations to recover operation IDs and inspect status. Initial audience creation is not included; original identifiers and idempotency keys are not returned. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_custom_audience_operations` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `audience_id` | string | Yes | - | Audience whose retained membership operations to list. For a merge, use the new audience ID. Initial create requests are not listed. | | `limit` | integer | No | `100` | Maximum retained operations to return. Default 100. | ## Output **Type**: `List[Dict]` Returns a list of raw audience membership-operation records, including operation ID, audience ID, type, and processing status, up to the requested limit. **Fields**: dynamic (depend on the inputs) # List Custom Audiences Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_custom_audiences List OpenAI Ads custom audiences, optionally checking eligibility for inclusion, exclusion, or bid adjustments List OpenAI Ads custom audiences, optionally checking eligibility for inclusion, exclusion, or bid adjustments. Returns raw audience objects; matched counts are privacy-preserving ranges. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_custom_audiences` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `intended_use` | enum (`inclusion`, `exclusion`, `bid_multiplier`) | No | - | Return audiences eligible for this use. Ready does not imply eligible. Inclusion/bid adjustments have matched-size requirements; ready empty audiences may be eligible for exclusion. | | `policy_revision` | string | No | - | Optional policy token obtained separately from the OpenAI Ads API. Omit to use current eligibility rules; on revision mismatch, retry without it and review the selection. | | `matched_count_granularity` | enum (`granular`) | No | - | Use granular for finer privacy-preserving matched-count ranges, not exact counts. | | `filters` | array of FilterItem | No | - | AND filters on id, name, status, description, or membership\_revision. Applied before limit; raw audience objects are preserved. | | `order` | enum (`asc`, `desc`) | No | - | Creation order, asc or desc. Defaults to desc. | | `limit` | integer | No | `100` | Maximum matching audiences. Default 100; scans at most 5,000 records. Results may be limited; narrow the filters when needed. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns a list of raw audience objects, including status, membership revision, and privacy-preserving count ranges, up to the requested limit. **Fields**: dynamic (depend on the inputs) # List Feed Uploads Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_feed_uploads List product feed upload history for the connected OpenAI Ads account: upload status per feed, useful to confirm a catalog landed List product feed upload history for the connected OpenAI Ads account: upload status per feed, useful to confirm a catalog landed. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_feed_uploads` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `limit` | integer | No | `100` | Maximum number of uploads to return (1-500), automatically paginated in requests of at most 100. | ## Output **Type**: `Dict` Returns \{uploads: \[...], latest\_uploads: \[...], truncated} exactly as returned by the OpenAI Ads API. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "uploads": [], "latest_uploads": [], "truncated": false } ``` # List Pixels Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_pixels List conversion pixels (web conversion sources) for the connected OpenAI Ads account List conversion pixels (web conversion sources) for the connected OpenAI Ads account. Each entry has the source `id` (used in conversion event settings) and the `pixel_id` (used in the JavaScript Pixel and Conversions API). | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_pixels` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `order` | string or SelectableOption | No | - | Sort direction by creation order: 'asc' (oldest first) or 'desc' (newest first). | | `limit` | integer | No | `100` | Maximum number of pixels to return (1-1000). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns pixel objects exactly as returned by the OpenAI Ads API (id, name, client\_type, pixel\_id). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "cds_...", "client_type": "web", "name": "Acme website", "pixel_id": "W9EP..." } ] ``` # List Product Feeds Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_product_feeds List product feeds linked to the connected OpenAI Ads account, optionally with per-feed product counts List product feeds linked to the connected OpenAI Ads account, optionally with per-feed product counts. Use the returned feed\_id for product-feed campaigns, product queries, and delta updates. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_product_feeds` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `include_product_count` | boolean | No | - | When true, each feed includes its product\_count. | | `limit` | integer | No | `100` | Maximum number of feeds to return (1-1000). | ## Output **Type**: `List[Dict]` Returns feed objects exactly as returned by the OpenAI Ads API (feed\_id, name, countries, currencies, campaign\_count, sftp\_configured, hosted\_url\_configured, created\_at, updated\_at; product\_count when requested). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "feed_id": "acme_feed", "name": "Acme", "countries": [ "US" ], "currencies": [ "USD" ], "campaign_count": 1, "product_count": 120 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_list_report_fields Search and browse available OpenAI Ads (ChatGPT Ads) reporting metrics and dimensions before running reports Search and browse available OpenAI Ads (ChatGPT Ads) reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(impressions|clicks|campaign).*'}]. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Manage Account Spending Limits Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_manage_account_spending_limits Manage OpenAI Ads account-wide daily or date-range spending limits Manage OpenAI Ads account-wide daily or date-range spending limits. Read Get Ad Account first. Requires manage-billing permission and postpaid invoice eligibility. New daily limits start tomorrow or later; delivery can take time to stop after reaching a limit. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_manage_account_spending_limits` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `action` | enum (`set_daily`, `remove_daily`, `create_date_range`, `update_date_range`, `remove_date_range`) | Yes | - | Set or remove a daily allowance, or create, update or remove a date-range total allowance. Read openai\_ads\_get\_ad\_account first. Postpaid invoice billing and manage-billing permission are required; existing daily limits can still be viewed/removed after billing changes. | | `amount` | number | No | - | Allowance in account currency, not micros (75 means NZD75 for an NZD account). Required for set\_daily and create\_date\_range; optional for update\_date\_range. Zero is supported. Campaign budgets still apply; limits do not pace delivery or guarantee an immediate stop. | | `expected_revision` | integer | No | - | Required for set\_daily/remove\_daily: use spending\_limits.revision from the latest Get Ad Account response. Use 0 only when revision is absent, never when the limits read failed. After a conflict, read again and review before retrying. | | `window_id` | string | No | - | Required for update\_date\_range/remove\_date\_range: window\_id from spending\_limits.data in Get Ad Account. | | `start_date` | string | No | - | YYYY-MM-DD in the account timezone. New daily limits start tomorrow or later: use earliest\_daily\_start\_date. Omit when editing an existing daily limit. Required for create\_date\_range; honor earliest\_dated\_start\_date when provided. | | `end_date` | string | No | - | Exclusive end date, YYYY-MM-DD in the account timezone. Required for create\_date\_range. Omitted/null retains an existing date; use clear\_end\_date=true to remove a daily limit's end date. | | `clear_end_date` | boolean | No | `False` | set\_daily only: send an explicit null end\_date to remove the end date. Omitted/null/false leaves it unchanged. Cannot be combined with end\_date. | | `name` | string | No | - | Optional date-range limit label. Omitted/null leaves unchanged; clear\_name=true removes it when updating. | | `io_id` | string | No | - | Optional date-range insertion-order reference. Omitted/null leaves unchanged; clear\_io\_id=true removes it when updating. | | `clear_name` | boolean | No | `False` | update\_date\_range only: remove the name. Cannot be combined with name. | | `clear_io_id` | boolean | No | `False` | update\_date\_range only: remove the insertion-order reference. Cannot be combined with io\_id. | ## Output **Type**: `Dict` Native mutation result. Daily actions return spend\_limits with saved configuration and revision; date-range create/update returns the window, removal returns its deletion receipt. Amounts are micros. Read Get Ad Account to verify limits after an ambiguous failure; never assume an immediate hard shutoff. **Fields**: dynamic (depend on the inputs) # Manage Custom Audience Operation Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_manage_custom_audience_operation Resume an interrupted OpenAI Ads audience add/remove or cancel it before membership changes start Resume an interrupted OpenAI Ads audience add/remove or cancel it before membership changes start. Does not support replace/merge or undo applied changes. Resume keeps the original operation and inputs. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_manage_custom_audience_operation` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `audience_id` | string | Yes | - | Audience associated with the saved operation. | | `operation_id` | string | Yes | - | Confirmed operation ID from an add/remove response or operation list. | | `action` | enum (`resume`, `cancel`) | Yes | - | resume recovers the original accepted add/remove using saved progress. cancel only succeeds before membership changes begin; success returns failed, not a separate canceled status. Neither action supports replace/merge or rolls back applied changes. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Merge Custom Audiences Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_merge_custom_audiences Merge ready OpenAI Ads custom audiences into a new independent audience Merge ready OpenAI Ads custom audiences into a new independent audience. Sources and campaign references stay unchanged. Poll the returned operation using its new custom\_audience\_id. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_merge_custom_audiences` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `name` | string | Yes | - | Name for the new independent audience. | | `custom_audience_ids` | array of string or string | Yes | - | Two to 64 distinct ready source audience IDs, as a list or comma/newline-separated text. Sources remain unchanged and later updates do not propagate. | | `idempotency_key` | string | Yes | - | Unique key for this merge. Reuse only with the original sources and name when retrying. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Preview Ad Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_preview_ad Create a temporary preview of an existing OpenAI Ads ad showing how it renders in ChatGPT Create a temporary preview of an existing OpenAI Ads ad showing how it renders in ChatGPT. The preview expires 24 hours after creation. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_preview_ad` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_id` | string or SelectableOption | Yes | - | Ad ID to preview (from openai\_ads\_list\_ads). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the preview entries exactly as returned by the OpenAI Ads API: each has a `body` holding ready-to-embed iframe HTML for the ad preview. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "body": "" } ] ``` # Query Feed Products Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_query_feed_products Search the products inside an OpenAI Ads product feed with optional attribute filters (brand, price, availability, etc.) Search the products inside an OpenAI Ads product feed with optional attribute filters (brand, price, availability, etc.). Read-only; returns matching product items plus matched/total counts. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_query_feed_products` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `feed_id` | string or SelectableOption | Yes | - | Product feed ID to query (from openai\_ads\_list\_product\_feeds). | | `filters` | string or array of OpenAIAdsProductFilterItem | No | - | Optional filters on feed attributes, same shape as ad group product filters: a JSON list of \{"field", "operator", "values"} objects, e.g. \[\{"field": "brand", "operator": "in", "values": \["Acme"]}]. Fields: title, body, item\_id, offer\_id, price, target\_url, image\_url, product\_category, brand, seller\_name, external\_seller\_id, star\_rating, condition, age\_group; ads\_metadata.\* fields (e.g. ads\_metadata.custom\_label\_0). Operators: in, not\_in, gt, gte, lt, lte, contains, not\_contains, starts\_with (numeric comparisons only on price, star\_rating and numeric ads\_metadata fields). Filters are ANDed. | | `limit` | integer | No | `100` | Maximum number of products to return (1-10000). | ### OpenAIAdsProductFilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | Feed attribute to filter on, including provider-defined ads\_metadata fields such as ads\_metadata.custom\_label\_0. | | `operator` | string or SelectableOption | Yes | - | 'in'/'not\_in' match any of the values; 'contains'/'not\_contains'/'starts\_with' are text matches; 'gt'/'gte'/'lt'/'lte' are numeric comparisons, allowed only on 'price' and 'star\_rating'. | | `values` | string or array of string | No | - | Values to match — a list or a comma-separated string. Numbers are sent as strings (e.g. '25.00'). | | `value` | string or array of string | No | - | | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns \{products: \[...], matched\_count, total\_count} with product items exactly as returned by the OpenAI Ads API. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "products": [ { "item_id": "sku_1", "title": "Blue shoes" } ], "matched_count": 1, "total_count": 120 } ``` # Rename Ad Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_rename_ad Rename an OpenAI Ads ad Rename an OpenAI Ads ad. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_rename_ad` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_id` | string or SelectableOption | Yes | - | Ad ID to rename (from openai\_ads\_list\_ads). | | `name` | string | Yes | - | New ad name (3-1000 characters). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad object exactly as returned by the OpenAI Ads API (id, name, status, creative, review, review\_status, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "ad_...", "name": "Planner launch card v2", "status": "active", "creative": { "type": "chat_card", "title": "Try the planner", "target_url": "https://example.com" }, "review_status": "approved" } ``` # Rename Ad Group Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_rename_ad_group Rename an OpenAI Ads ad group Rename an OpenAI Ads ad group. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_rename_ad_group` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectableOption | Yes | - | Ad group ID to rename (from openai\_ads\_list\_ad\_groups). | | `name` | string | Yes | - | New ad group name (3-1000 characters). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad group object exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, context\_hints, description, product\_set, campaign\_id, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adgrp_...", "name": "UK English", "status": "active", "bidding_config": { "billing_event_type": "click", "max_bid_micros": 3500000 }, "updated_at": 1735862400 } ``` # Rename Campaign Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_rename_campaign Rename an OpenAI Ads campaign Rename an OpenAI Ads campaign. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_rename_campaign` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `campaign_id` | string or SelectableOption | Yes | - | Campaign ID to rename (from openai\_ads\_list\_campaigns). | | `name` | string | Yes | - | New campaign name (3-1000 characters). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated campaign object exactly as returned by the OpenAI Ads API (id, name, status, budget, targeting, start\_time, end\_time, created\_at, updated\_at, etc.). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "cmpn_...", "name": "Summer launch", "status": "active", "budget": { "lifetime_spend_limit_micros": 30000000 }, "updated_at": 1735862400 } ``` # Search Geo Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_search_geo Search OpenAI Ads geo targets by name or postal code for campaign targeting Search OpenAI Ads geo targets by name or postal code for campaign targeting. Returns at most 100 locations across all terms; check metadata for skipped or potentially truncated terms before treating a bulk lookup as complete. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_search_geo` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search_terms` | string | Yes | - | Location names to search for, separated by commas or newlines (e.g. 'California, New York, United States'). Returns location IDs to use in campaign targeting (openai\_ads\_create\_campaign location\_ids). Terms are searched in order until the combined result limit is reached. Check output metadata for skipped terms and potentially incomplete matches. | | `limit` | integer | No | `50` | Maximum number of unique locations across all search terms, from 1 to 100. Default: 50. This is a combined limit, not a per-term limit; remaining terms are skipped when it is reached. | ## Output **Type**: `Dict` Returns \{metadata, locations} inside output.data. Location rows contain id, type, name, canonical\_name, country\_code, region\_code, parent\_country, parent\_id, and search\_term. Metadata contains partial, warning, limit, returned\_count, searched\_terms, skipped\_terms, and potentially\_truncated\_terms; partial also flags possible API truncation, not just skipped terms. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "metadata": { "partial": false, "warning": null, "limit": 50, "returned_count": 1, "searched_terms": [ "california" ], "skipped_terms": [], "potentially_truncated_terms": [] }, "locations": [ { "id": "2000043", "type": "region", "name": "California", "country_code": "US", "search_term": "california" } ] } ``` # Update Ad Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_ad Low-level update for an OpenAI Ads ad using a raw update payload Low-level update for an OpenAI Ads ad using a raw update payload. Use focused ad nodes first when available, such as status or rename. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_ad` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_id` | string or SelectableOption | Yes | - | Ad ID to update (from openai\_ads\_list\_ads). Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | OpenAI Ads ad update payload as an json object. Only the fields provided here are sent to OpenAI Ads. If you include creative, send the full creative object. Use focused operations first when they exist, for example openai\_ads\_update\_ad\_status or openai\_ads\_rename\_ad. Do not include identity fields like ad\_id or id. | | `dry_run` | boolean | No | `False` | When true, return the resolved update payload without calling OpenAI Ads. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad object exactly as returned by the OpenAI Ads API. In dry\_run mode, returns the resolved payload without calling the API. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "ad_...", "name": "Planner launch card v2", "status": "paused", "creative": { "type": "chat_card", "title": "Plan work faster", "target_url": "https://example.com" }, "review_status": "in_review" } ``` # Update Ad Group Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_ad_group Low-level update for an OpenAI Ads ad group using a raw update payload Low-level update for an OpenAI Ads ad group using a raw update payload. Use focused ad group nodes first when available, such as status, bid, context hints, or rename. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_ad_group` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectableOption | Yes | - | Ad group ID to update (from openai\_ads\_list\_ad\_groups). Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | OpenAI Ads ad group update payload as a JSON object. Only the fields provided here are sent to OpenAI Ads. If you include bidding\_config, send the full bidding\_config object. Use focused operations first when they exist, for example openai\_ads\_update\_ad\_group\_status, openai\_ads\_update\_ad\_group\_bid, openai\_ads\_update\_ad\_group\_context\_hints, or openai\_ads\_rename\_ad\_group. Do not include identity fields like ad\_group\_id, campaign\_id, or id. | | `dry_run` | boolean | No | `False` | When true, return the resolved update payload without calling OpenAI Ads. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad group object exactly as returned by the OpenAI Ads API. In dry\_run mode, returns the resolved payload without calling the API. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adgrp_...", "name": "US English v2", "status": "active", "bidding_config": { "billing_event_type": "click", "max_bid_micros": 5000000 }, "updated_at": 1735862400 } ``` # Update Ad Group Bid Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_ad_group_bid Update the bid of an OpenAI Ads ad group Update the bid of an OpenAI Ads ad group. Enter the bid in account currency, not micros. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_ad_group_bid` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectableOption | Yes | - | Ad group ID to update (from openai\_ads\_list\_ad\_groups). | | `billing_event_type` | string or SelectableOption | Yes | - | Bid / billing event type. Must match the parent campaign's objective: 'impression' for an impressions campaign, 'click' for both clicks and conversions campaigns (for a conversions/oCPC campaign the bid amount is the target CPA). | | `strategy` | string or SelectableOption | No | - | Bidding strategy: 'fixed\_bid' (the default if omitted) bids the bid\_amount; 'maximize\_clicks' / 'maximize\_conversions' bid automatically, making bid\_amount optional. | | `bid_amount` | number | No | - | Maximum bid in account currency, not micros. This value is converted to micros automatically before sending to the API. Required unless strategy is 'maximize\_clicks' or 'maximize\_conversions'. For a conversions (oCPC) campaign this is the target CPA per conversion. | | `custom_audience_bid_multipliers` | array of OpenAIAdsAudienceBidMultiplier | No | - | Audience bid adjustments as objects or JSON. Omit to preserve existing adjustments; pass \[] to clear, including when switching to Maximize strategies. | ### OpenAIAdsAudienceBidMultiplier | Field | Type | Required | Default | Description | | - | - | - | - | - | | `custom_audience_id` | string | Yes | - | | | `bid_multiplier_micros` | integer | Yes | - | Multiplier in millionths: 1500000 is 1.5x. The API accepts 0.1x to 10x for eligible audiences. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad group object exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, context\_hints, description, product\_set, campaign\_id, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adgrp_...", "name": "US English", "status": "active", "bidding_config": { "billing_event_type": "click", "max_bid_micros": 5000000 }, "updated_at": 1735862400 } ``` # Update Ad Group Context Hints Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_ad_group_context_hints Update the context hints of an OpenAI Ads ad group Update the context hints of an OpenAI Ads ad group. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_ad_group_context_hints` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectableOption | Yes | - | Ad group ID to update (from openai\_ads\_list\_ad\_groups). | | `context_hints` | string or array of string | Yes | - | Context hints — conversations, topics, or keywords where your products or services may be relevant. Provide one hint per line, or as a list. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad group object exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, context\_hints, description, product\_set, campaign\_id, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adgrp_...", "name": "US English", "status": "active", "context_hints": [ "productivity software", "project planning" ], "updated_at": 1735862400 } ``` # Update Ad Group Status Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_ad_group_status Update the status of OpenAI Ads ad groups to enable, pause, or archive / delete them Update the status of OpenAI Ads ad groups to enable, pause, or archive / delete them. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_group_id` | string or SelectableOption | Yes | - | Ad group ID to update (from openai\_ads\_list\_ad\_groups). | | `ad_group_status` | string or SelectableOption | Yes | - | Desired ad group status: 'active', 'paused', or 'archived'. Archiving is not reversible. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad group object exactly as returned by the OpenAI Ads API (id, name, status, bidding\_config, context\_hints, description, product\_set, campaign\_id, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "adgrp_...", "name": "US English", "status": "paused", "bidding_config": { "billing_event_type": "click", "max_bid_micros": 3500000 }, "updated_at": 1735862400 } ``` # Update Ad Status Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_ad_status Update the status of OpenAI Ads ads to enable, pause, or archive / delete them Update the status of OpenAI Ads ads to enable, pause, or archive / delete them. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_ad_status` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_id` | string or SelectableOption | Yes | - | Ad ID to update (from openai\_ads\_list\_ads). | | `ad_status` | string or SelectableOption | Yes | - | Desired ad status: 'active', 'paused', or 'archived'. Archiving is not reversible. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad object exactly as returned by the OpenAI Ads API (id, name, status, creative, review, review\_status, created\_at, updated\_at). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "ad_...", "name": "Planner launch card", "status": "paused", "creative": { "type": "chat_card", "title": "Try the planner", "target_url": "https://example.com" }, "review_status": "approved" } ``` # Update Campaign Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_campaign Low-level update for an OpenAI Ads campaign using a raw update payload Low-level update for an OpenAI Ads campaign using a raw update payload. Use focused campaign nodes first when available, such as status, budget, or rename. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_campaign` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `campaign_id` | string or SelectableOption | Yes | - | Campaign ID to update (from openai\_ads\_list\_campaigns). Do not include this inside update\_payload. | | `update_payload` | object or string | Yes | - | OpenAI Ads campaign update payload as a JSON object. Only the fields provided here are sent to OpenAI Ads. If you include budget, send the full budget object. Use focused operations first when they exist, for example openai\_ads\_update\_campaign\_status, openai\_ads\_update\_campaign\_budget, or openai\_ads\_rename\_campaign. Do not include identity fields like campaign\_id or id. | | `dry_run` | boolean | No | `False` | When true, return the resolved update payload without calling OpenAI Ads. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated campaign object exactly as returned by the OpenAI Ads API. In dry\_run mode, returns the resolved payload without calling the API. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "cmpn_...", "name": "Spring launch v2", "status": "paused", "budget": { "lifetime_spend_limit_micros": 30000000 }, "updated_at": 1735862400 } ``` # Update Campaign Budget Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_campaign_budget Update the budget of an OpenAI Ads campaign Update the budget of an OpenAI Ads campaign. Enter the budget in account currency, not micros. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `campaign_id` | string or SelectableOption | Yes | - | Campaign ID to update (from openai\_ads\_list\_campaigns). | | `budget_type` | string or SelectableOption | Yes | - | Budget type: 'daily' or 'lifetime'. | | `budget_amount` | number | Yes | - | Budget amount in your account currency, i.e. 50 for \$50. This value is converted to micros automatically before sending to the API. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated campaign object exactly as returned by the OpenAI Ads API (id, name, status, budget, targeting, start\_time, end\_time, created\_at, updated\_at, etc.). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "cmpn_...", "name": "Spring launch", "status": "active", "budget": { "lifetime_spend_limit_micros": 30000000 }, "updated_at": 1735862400 } ``` # Update Campaign Status Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_campaign_status Update the status of OpenAI Ads campaigns to enable, pause, or archive / delete them Update the status of OpenAI Ads campaigns to enable, pause, or archive / delete them. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `campaign_id` | string or SelectableOption | Yes | - | Campaign ID to update (from openai\_ads\_list\_campaigns). | | `campaign_status` | string or SelectableOption | Yes | - | Desired campaign status: 'active', 'paused', or 'archived'. Archiving is not reversible. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated campaign object exactly as returned by the OpenAI Ads API (id, name, status, budget, targeting, start\_time, end\_time, created\_at, updated\_at, etc.). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "cmpn_...", "name": "Spring launch", "status": "paused", "budget": { "lifetime_spend_limit_micros": 25000000 }, "updated_at": 1735862400 } ``` # Update Custom Audience Status Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_custom_audience_status Archive an OpenAI Ads custom audience so it can no longer be used Archive an OpenAI Ads custom audience so it can no longer be used. OpenAI exposes no unarchive action; this does not cancel an in-progress membership operation. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_custom_audience_status` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `audience_id` | string | Yes | - | Custom audience to archive. Archiving makes it unavailable for targeting. | | `status` | enum (`archived`) | Yes | - | archived is the only status supported for updates; processing/readiness statuses are managed by OpenAI. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Update Custom Audience Users Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_custom_audience_users Add, remove, or replace OpenAI Ads custom-audience members using inline identifiers or a customer file Add, remove, or replace OpenAI Ads custom-audience members using inline identifiers or a customer file. Returns an asynchronous operation, not completed membership. Save the operation ID and idempotency key, then poll before dependent changes. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_custom_audience_users` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `file_url` | string | No | - | UTF-8 CSV/TXT customer list, up to 500,000,000 bytes. CSV requires identifier headers: email, phone\_number, email\_sha256, phone\_number\_sha256, or gaid; TXT is one identifier per line without a header. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Uploaded automatically. Use this or file\_id, not both. | | `file_id` | string | No | - | Previously uploaded custom-audience file ID. Use promptly. For create, also supply filename, mimetype, and file\_size. Use this or file\_url, not both. | | `filename` | string | No | - | Original .csv or .txt filename. Required with file\_id on create; optional override with file\_url, useful for Drive links. | | `mimetype` | string | No | - | File MIME type, normally text/csv or text/plain. Required with file\_id on create; detected for file\_url. | | `file_size` | integer | No | - | Exact uploaded file size in bytes. Required with file\_id on create; measured automatically for file\_url. | | `identifier_type` | enum (`email`, `phone`, `email_sha256`, `phone_number_sha256`, `gaid`) | No | - | Single-column file type: email (API default), phone, email\_sha256, phone\_number\_sha256, or gaid. Phones use E.164 including +. For SHA-256, hash UTF-8 with no trailing newline: trim/lowercase emails, or normalize phones to E.164; send hexadecimal, not Base64. Do not strip email dots/plus tags. GAIDs must be raw, not hashed. | | `identifier_resolution` | enum (`auto`) | No | - | Use auto for a CSV containing multiple identifier columns. Omit for a single identifier type or an empty audience. | | `audience_id` | string | Yes | - | Custom audience to update. | | `action` | enum (`add`, `remove`, `replace`) | Yes | - | add/remove change only supplied members. replace swaps the whole membership from a file while keeping the audience ID. | | `identifiers` | array of AudienceIdentifier or string | No | - | Inline add/remove entries or a JSON array, e.g. \[\{"identifier\_type":"email","identifier":"[customer@example.com](mailto:customer@example.com)"}]. Each entry carries its own type; use inline identifiers or a file, not both. Requests must fit 16 MiB; prefer files for bulk updates. | | `expected_revision` | integer | No | - | Current membership\_revision from get\_custom\_audience. Required for replace; optional for add/remove. Retrieve again after a completed change. | | `idempotency_key` | string | Yes | - | Unique key for this change. Save it with the original request; reuse only for retrying the identical action, audience, data, and revision. A replay may return the original operation without checking a changed body. | ### AudienceIdentifier | Field | Type | Required | Default | Description | | - | - | - | - | - | | `identifier_type` | enum (`email`, `phone`, `email_sha256`, `phone_number_sha256`, `gaid`) | Yes | - | email, phone, email\_sha256, phone\_number\_sha256, or gaid. | | `identifier` | string | Yes | - | Customer identifier or normalized SHA-256 hash, according to identifier\_type. OpenAI accepts raw email and phone values; do not label raw values as hashes. | ## Output **Type**: `Dict` Native OpenAI Ads audience or membership-operation response. Membership status processing is not completion; retain returned IDs for follow-up. **Fields**: dynamic (depend on the inputs) # Update Feed Products Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_update_feed_products Delta-update existing product variants in an OpenAI Ads product feed: change price, availability, or title without re-uploading the catalog Delta-update existing product variants in an OpenAI Ads product feed: change price, availability, or title without re-uploading the catalog. Cannot add new products. Delta feed access is enabled per ad account. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_update_feed_products` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `feed_id` | string or SelectableOption | Yes | - | Product feed ID to update (from openai\_ads\_list\_product\_feeds). | | `products` | string or array of object | Yes | - | Existing products to update, as a JSON list of \{"id", "variants": \[\{"id", "title"?, "price"?, "availability"?}]} objects. price is \{"amount": \, "currency": "USD"}; availability is \{"available": true\|false} or \{"status": "in\_stock"\|"out\_of\_stock"}. Only existing variants can be updated; this endpoint does not add products. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns \{id, accepted}; accepted=true means feed processing accepted the update (downstream serving updates asynchronously). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "acme_feed", "accepted": true } ``` # Upload Media Source: https://docs.markifact.com/nodes/openai_ads/openai_ads_upload_media Uploads an image to OpenAI Ads and returns its file_id Uploads an image to OpenAI Ads and returns its file\_id. Use it to prepare a creative for openai\_ads\_update\_ad or to reuse one image across several ads; for creating a new ad with new media prefer openai\_ads\_create\_ad, which uploads the image automatically. | | | | - | - | | **App** | OpenAI Ads | | **Operation ID** | `openai_ads_upload_media` | | **Type** | Action | | **Connection** | `openai_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `image_url` | string | Yes | - | URL of the image to upload. Private Markifact file URLs and Google Drive share links are resolved automatically. | ## Output **Type**: `Dict` Returns the uploaded file reference. **Fields**: `file_id` **Example**: ```json theme={"dark"} { "file_id": "file_..." } ``` # Analyze URL Source: https://docs.markifact.com/nodes/pagespeed_insights/pagespeed_insights_analyze_url Analyze a URL with Google PageSpeed Insights: Lighthouse performance, SEO audit, accessibility and best practices scores, plus Core Web Vitals lab metrics and real user field data Analyze a URL with Google PageSpeed Insights: Lighthouse performance, SEO audit, accessibility and best practices scores, plus Core Web Vitals lab metrics and real user field data. | | | | - | - | | **App** | PageSpeed Insights | | **Operation ID** | `pagespeed_insights_analyze_url` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `url` | string | Yes | - | The URL to fetch and analyze (e.g. `https://example.com/page`). | | `strategy` | enum (`MOBILE`, `DESKTOP`) | No | `MOBILE` | Device to emulate for the Lighthouse run. Defaults to MOBILE. | | `categories` | array of string or SelectableOption | No | - | Lighthouse categories to run: PERFORMANCE, SEO, ACCESSIBILITY, BEST\_PRACTICES. Defaults to all four. Lab metrics are only returned when PERFORMANCE is included. | | `detail_level` | enum (`metrics`, `insights`, `full`) | No | `metrics` | How much of the PageSpeed Insights response to return. All levels keep the raw API field names and structure. 'metrics' (default, \~5 KB): category scores, Core Web Vitals lab audits, and CrUX field data. 'insights' (\~50 KB): metrics plus every audit (without detail tables), for finding what to fix. 'full' (100 KB+): the raw API response with screenshot data removed. Prefer 'metrics' or 'insights'; only use 'full' when explicitly needed. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Mirrors the PageSpeed Insights API v5 response, pruned per detail\_level. Top-level keys: id, analysisUTCTimestamp, lighthouseResult (categories with 0-1 scores, audits, finalUrl), loadingExperience and originLoadingExperience (CrUX field data; note CrUX reports CLS multiplied by 100). Lab metrics live at lighthouseResult.audits.\.numericValue for largest-contentful-paint, first-contentful-paint, total-blocking-time, cumulative-layout-shift, speed-index. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} { "id": "https://example.com/", "lighthouseResult": { "finalUrl": "https://example.com/", "categories": { "performance": { "score": 0.72 } }, "audits": { "largest-contentful-paint": { "displayValue": "3.1 s" } } }, "loadingExperience": { "overall_category": "AVERAGE" } } ``` # Create Board Source: https://docs.markifact.com/nodes/pinterest/pinterest_create_board Creates a board to pin to, public, protected, or secret Creates a board to pin to, public, protected, or secret. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_create_board` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `name` | string | Yes | - | The board name, up to 180 characters. Ask the user for it if it is not provided. | | `description` | string | No | - | What the board is about, up to 500 characters. Keywords here help Pinterest surface the board in search. | | `privacy` | string or SelectableOption | No | `PUBLIC` | Who can see the board. Available options: 'PUBLIC' (anyone can see the board), 'SECRET' (only the account owner and the board's collaborators can see it) or 'PROTECTED' (Pinterest's ad only board type, kept off the public profile). Defaults to 'PUBLIC'. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the new board's id and settings. **Fields**: `board_id`, `name`, `description`, `privacy`, `created_at` **Example**: ```json theme={"dark"} { "board_id": "549755885175", "name": "Autumn recipes", "privacy": "PUBLIC" } ``` # Create Board Section Source: https://docs.markifact.com/nodes/pinterest/pinterest_create_board_section Creates a named section within a Pinterest board to organize pins Creates a named section within a Pinterest board to organize pins. Returns the section ID for Publish Pin, Save Pin, and List Pins. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_create_board_section` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | Yes | - | Parent board ID from pinterest\_list\_boards. | | `name` | string | Yes | - | Name of the new board section, for example Dragons. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the section id and name. **Fields**: dynamic (depend on the inputs) # Custom Pinterest App Source: https://docs.markifact.com/nodes/pinterest/pinterest_custom_app Connect Pinterest through your own Pinterest app (white-label) by pasting your app ID, app secret, and a refresh token. Markifact supports two ways to connect Pinterest: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Pinterest app** (Custom App). With a custom app, every request Markifact makes runs under your app in the account's connected apps, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **App ID and App Secret** | From your app's page in the Pinterest developer portal | | **Refresh Token** | Minted against that app with the scopes below | | **Scopes** | `pins:read`, `pins:write`, `pins:read_secret`, `pins:write_secret`, `boards:read`, `boards:write`, `boards:read_secret`, `boards:write_secret`, `user_accounts:read` | | **Pinterest user for the token** | the Pinterest account whose boards you want to publish to and report on | > [card] [Create the app and mint the refresh token](/core-concepts/custom-pinterest-app) > > The Pinterest setup (app, standard access, authorization URL, code exchange) is the same for both Pinterest channels and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Pinterest**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Pinterest"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **App ID**, **App Secret**, and **Refresh Token** from your Pinterest app. **4. Verify & Connect** Markifact refreshes the token once with your app, then makes one call that reads the account's username. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Pinterest returned no username for this token > > The token was minted without the `user_accounts:read` scope. Include it when authorizing and mint a new token. > [accordion] App, token or scope errors > > See the shared [Custom Pinterest App](/core-concepts/custom-pinterest-app#troubleshooting) troubleshooting for authentication failures, missing scopes and trial access limits. *** ## Related > [card] [Custom Pinterest App](/core-concepts/custom-pinterest-app) > > Create the app and mint a refresh token > [card] [Publish Pin](/nodes/pinterest/pinterest_publish_pin) > > Publish pins to a board # Delete Board Source: https://docs.markifact.com/nodes/pinterest/pinterest_delete_board Deletes a board and every pin saved to it Deletes a board and every pin saved to it. This cannot be undone. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_delete_board` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | Yes | - | The board to delete. Accepts a board id, which pinterest\_list\_boards returns. Deleting a board also deletes every pin on it, and it is permanent. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Confirms the board was deleted. **Fields**: `board_id`, `deleted` **Example**: ```json theme={"dark"} { "board_id": "549755885175", "deleted": true } ``` # Delete Pin Source: https://docs.markifact.com/nodes/pinterest/pinterest_delete_pin Deletes a pin from the account Deletes a pin from the account. This cannot be undone. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_delete_pin` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `pin_id` | string | Yes | - | The id of the pin to delete, which pinterest\_list\_pins and pinterest\_publish\_pin return. Deletion is permanent. | ## Output **Type**: `Dict` Confirms the pin was deleted. **Fields**: `pin_id`, `deleted` **Example**: ```json theme={"dark"} { "pin_id": "813744226420795884", "deleted": true } ``` # Get Report Source: https://docs.markifact.com/nodes/pinterest/pinterest_get_report Retrieves organic Pinterest analytics for the connected account: account level daily metrics (impressions, saves, pin clicks, outbound clicks, engagement, audience) over a date range, or per pin pe... Retrieves organic Pinterest analytics for the connected account: account level daily metrics (impressions, saves, pin clicks, outbound clicks, engagement, audience) over a date range, or per pin performance for the period with pin prefixed fields. Account and pin fields cannot be mixed. Needs a Pinterest business account. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_get_report` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Account level: one row per date (or week/month, or a single totals row with no date dimension). Pin level: one row per pin, up to the 50 Pinterest returns. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-08-10", "impressions": 4210, "saves": 38, "pin_clicks": 96, "outbound_clicks": 24 } ] ``` # List Board Sections Source: https://docs.markifact.com/nodes/pinterest/pinterest_list_board_sections Lists sections within a Pinterest board, including section IDs and names for publishing, saving, or listing pins in a section Lists sections within a Pinterest board, including section IDs and names for publishing, saving, or listing pins in a section. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_list_board_sections` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | Yes | - | Parent board ID from pinterest\_list\_boards. | | `limit` | integer | No | `100` | Maximum sections to return. Defaults to 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns raw Pinterest sections with id and name. **Fields**: dynamic (depend on the inputs) # List Boards Source: https://docs.markifact.com/nodes/pinterest/pinterest_list_boards Lists the account's boards as Pinterest returns them, with id, name, privacy, pin count, and follower count Lists the account's boards as Pinterest returns them, with id, name, privacy, pin count, and follower count. Use this to find the board id that publishing a pin needs. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_list_boards` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `privacy` | string or SelectableOption | No | - | Optional filter to return only boards with this privacy. Available options: 'PUBLIC' (anyone can see the board), 'SECRET' (only the account owner and the board's collaborators can see it) or 'PROTECTED' (Pinterest's ad only board type, kept off the public profile). Leave empty to return boards of every privacy. | | `limit` | integer | No | `100` | Maximum number of boards to return, between 1 and 500. Default is 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the boards exactly as Pinterest returns them. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "549755885175", "name": "Autumn recipes", "privacy": "PUBLIC", "pin_count": 42, "follower_count": 120 } ] ``` # List Pins Source: https://docs.markifact.com/nodes/pinterest/pinterest_list_pins Lists the account's pins as Pinterest returns them, with media, title, description, link, and board Lists the account's pins as Pinterest returns them, with media, title, description, link, and board. Pass a board to list its pins, and optionally board\_section to list only one section. Turn on include\_metrics to get each pin's lifetime impressions, saves, and clicks, which is how to measure more pins than the 50 pinterest\_get\_report returns at pin level. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_list_pins` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | No | - | Optional board id, which pinterest\_list\_boards returns. When set, only that board's pins are listed. Leave empty to list the pins across the whole account. | | `board_section` | string | No | - | Optional section ID from pinterest\_list\_board\_sections. Requires board. When set, list only that section's pins. Omit to keep the existing board/account scope. | | `include_metrics` | boolean | No | - | Set to True to include each pin's lifetime metrics (impressions, saves, pin clicks, outbound clicks) alongside the pin. This is the way to measure more than the 50 pins pinterest\_get\_report returns at pin level. With board\_section, this requires one additional read per returned pin. | | `limit` | integer | No | `100` | Maximum number of pins to return, between 1 and 500. Default is 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the pins exactly as Pinterest returns them. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "id": "813744226420795884", "created_at": "2026-08-01T10:00:00", "link": "https://example.com/recipe", "title": "Autumn recipes", "board_id": "549755885175" } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/pinterest/pinterest_list_report_fields Search and browse available Pinterest organic reporting metrics and dimensions before running reports Search and browse available Pinterest organic reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(save|click).*'}]. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields with their level (account or pin). **Fields**: `id`, `name`, `type`, `data_type`, `level` **Example**: ```json theme={"dark"} [ { "id": "impressions", "name": "Impressions", "type": "metric", "data_type": "int", "level": "account" } ] ``` # Manage Board Section Source: https://docs.markifact.com/nodes/pinterest/pinterest_manage_board_section Renames or deletes a Pinterest board section Renames or deletes a Pinterest board section. Use List Board Sections to find the section ID. Does not edit or move existing pins. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_manage_board_section` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | Yes | - | Parent board ID from pinterest\_list\_boards. | | `board_section` | string | Yes | - | Section ID from pinterest\_list\_board\_sections on the parent board. | | `action` | enum (`rename`, `delete`) | No | `rename` | Rename or delete the section. Defaults to rename. Does not move pins. | | `name` | string | No | - | New section name. Required for rename; ignored for delete. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Rename returns the section id and name. Delete returns board\_id, board\_section\_id, and deleted. **Fields**: dynamic (depend on the inputs) # Publish Pin Source: https://docs.markifact.com/nodes/pinterest/pinterest_publish_pin Publishes a pin to a Pinterest board: a single image, a carousel of 2 to 5 images, or a video Publishes a pin to a Pinterest board: a single image, a carousel of 2 to 5 images, or a video. Takes a title, description, and the destination link the pin sends people to. Markifact handles the transfer to Pinterest, so any reachable media URL works, including Google Drive share links. Call pinterest\_list\_boards first to get the board id. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_publish_pin` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | Yes | - | The board to pin to. Accepts a board id, which pinterest\_list\_boards returns. Ask the user which board if it is not provided. | | `board_section` | string | No | - | Optional board section id to file the pin under, within the chosen board. | | `pin_type` | string or SelectableOption | No | `image` | What to pin. Available options: 'image' (one image), 'carousel' (2 to 5 images viewers swipe through) or 'video'. | | `image_urls` | string or array of string | No | - | The image to pin: exactly one URL for 'image' posts, or 2 to 5 URLs for 'carousel' posts as a list or one string separated by commas or new lines. Pinterest downloads them, so they must be publicly reachable. Accepts direct URLs or Google Drive share links with sharing set to 'Anyone with the link'. | | `video_url` | string | No | - | The video to pin, required for 'video' pins. Markifact uploads it to Pinterest, so any reachable video URL works, including Google Drive share links. | | `cover_image_url` | string | No | - | Cover image for video pins, which Pinterest shows as the thumbnail. | | `title` | string | No | - | The pin title, up to 100 characters. | | `description` | string | No | - | The pin description, up to 800 characters. Keywords here drive how Pinterest surfaces the pin in search. | | `link` | string | No | - | The destination URL the pin sends people to when clicked, which is how Pinterest drives traffic. Leave empty for a pin with no link. | | `alt_text` | string | No | - | Description of the image for screen readers, up to 500 characters. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the new pin's id and URL. Video pins are uploaded and processed before the pin is created, so the node waits for Pinterest to finish. **Fields**: `pin_id`, `pin_url`, `pin_type`, `board_id`, `title`, `created_at` **Example**: ```json theme={"dark"} { "pin_id": "813744226420795884", "pin_url": "https://www.pinterest.com/pin/813744226420795884/", "pin_type": "image", "board_id": "549755885175", "title": "Autumn recipes" } ``` # Save Pin Source: https://docs.markifact.com/nodes/pinterest/pinterest_save_pin Saves an existing pin to one of the account's boards, which is what repinning does on Pinterest Saves an existing pin to one of the account's boards, which is what repinning does on Pinterest. Works with any public pin, not only the account's own, so it covers curating other people's content onto your boards. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_save_pin` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `pin_id` | string | Yes | - | The id of the pin to save, which can be any public pin, not only the account's own. The id is the last part of a pin URL, for example 813744226420795884 in `https://www.pinterest.com/pin/813744226420795884/.` | | `board` | string or SelectItem | Yes | - | The board to save the pin to. Accepts a board id, which pinterest\_list\_boards returns. | | `board_section` | string | No | - | Optional board section id to file the saved pin under. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the saved copy's pin id and URL, along with the pin it was saved from. **Fields**: `pin_id`, `pin_url`, `saved_from_pin_id`, `board_id` **Example**: ```json theme={"dark"} { "pin_id": "813744226420795999", "pin_url": "https://www.pinterest.com/pin/813744226420795999/", "saved_from_pin_id": "813744226420795884", "board_id": "549755885175" } ``` # Update Board Source: https://docs.markifact.com/nodes/pinterest/pinterest_update_board Renames a board or updates its description or privacy Renames a board or updates its description or privacy. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_update_board` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `board` | string or SelectItem | Yes | - | The board to update. Accepts a board id, which pinterest\_list\_boards returns. Ask the user which board if it is not provided. | | `name` | string | No | - | New board name, up to 180 characters. Leave empty to keep the current one. | | `description` | string | No | - | New board description, up to 500 characters. Leave empty to keep the current one. | | `privacy` | string or SelectableOption | No | - | New privacy for the board. Available options: 'PUBLIC' (anyone can see the board), 'SECRET' (only the account owner and the board's collaborators can see it) or 'PROTECTED' (Pinterest's ad only board type, kept off the public profile). Leave empty to keep the current one. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the board's id and settings along with the fields that were updated. **Fields**: `board_id`, `name`, `description`, `privacy`, `updated` **Example**: ```json theme={"dark"} { "board_id": "549755885175", "name": "Autumn recipes 2026", "privacy": "PUBLIC", "updated": [ "name" ] } ``` # Update Pin Source: https://docs.markifact.com/nodes/pinterest/pinterest_update_pin Updates an existing pin's title, description, destination link, or alt text, or moves it to another board or board section Updates an existing pin's title, description, destination link, or alt text, or moves it to another board or board section. Pinterest cannot change a pin's image or video after it is published. | | | | - | - | | **App** | Pinterest Organic | | **Operation ID** | `pinterest_update_pin` | | **Type** | Action | | **Connection** | `pinterest` (required) | | **Credits per run** | 1 | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ad_account_id` | integer or string | No | - | Optional, for brand profiles reached through Pinterest Business Access. The id of an ad account owned by that brand profile, e.g. '549769672300'. When set, the operation acts on the profile that owns this ad account instead of the signed-in profile. Ad account ids and their owning profile (ownerUsername) come from pinterest\_ads\_select\_accounts. A profile that owns no ad account cannot be reached this way. Leave empty for the signed-in profile. | | `pin_id` | string | Yes | - | The id of the pin to update, which pinterest\_list\_pins and pinterest\_publish\_pin return. The pin's image or video cannot be changed, only the fields below. | | `title` | string | No | - | New pin title, up to 100 characters. Leave empty to keep the current one. | | `description` | string | No | - | New pin description, up to 800 characters. Leave empty to keep the current one. | | `alt_text` | string | No | - | New description of the image for screen readers, up to 500 characters. Leave empty to keep the current one. | | `link` | string | No | - | New destination URL the pin sends people to when clicked. Leave empty to keep the current one. | | `board` | string or SelectItem | No | - | Board id to move the pin to, which pinterest\_list\_boards returns. Leave empty to keep the pin on its current board. | | `board_section` | string | No | - | Board section id to file the pin under. Set board as well, since a section id is only valid within its own board. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the pin's id and URL along with the fields that were updated. **Fields**: `pin_id`, `pin_url`, `board_id`, `title`, `updated` **Example**: ```json theme={"dark"} { "pin_id": "813744226420795884", "pin_url": "https://www.pinterest.com/pin/813744226420795884/", "title": "Autumn recipes", "updated": [ "title", "link" ] } ``` # Create Ad Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_ad Advanced: creates a Pinterest ad from a raw ad payload sent to Pinterest as-is Advanced: creates a Pinterest ad from a raw ad payload sent to Pinterest as-is. Use the dedicated operations first (pinterest\_ads\_create\_single\_image\_ad, pinterest\_ads\_create\_video\_ad, pinterest\_ads\_create\_carousel\_ad, pinterest\_ads\_create\_ad\_from\_pin); use this only for ad formats or fields they do not support, such as MAX\_VIDEO, COLLECTION, QUIZ, or grid\_click\_type. To get a pin\_id for new media, run a dedicated create operation with pin\_only=true first. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_ad` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the ad in. | | `ad_payload` | object or string | Yes | - | Advanced: raw Pinterest ad payload as a JSON object, sent to Pinterest as-is (POST /ad\_accounts/\{id}/ads). Required keys: ad\_group\_id, pin\_id, and creative\_type (REGULAR, VIDEO, MAX\_VIDEO, CAROUSEL, COLLECTION, SHOWCASE, QUIZ, COLLAGE, IDEA, SHOPPING). To get a pin\_id for new media, run pinterest\_ads\_create\_single\_image\_ad, pinterest\_ads\_create\_video\_ad, or pinterest\_ads\_create\_carousel\_ad with pin\_only=true. Common optional keys: name, status (ACTIVE/PAUSED, Pinterest defaults to ACTIVE), destination\_url, customizable\_cta\_type, is\_removable, lead\_form\_id, grid\_click\_type, is\_dynamic\_cta (bool) with cta\_types (array of at least two from ADD\_TO\_CART, BUY\_NOW, CONTACT\_US, EXPLORE\_MORE, GET\_OFFER, LEARN\_MORE, ORDER\_NOW, SHOP\_NOW, TAKE\_A\_PEEK, VISIT\_SITE, and it must include the objective's default CTA, VISIT\_SITE for CONSIDERATION) to let Pinterest pick the CTA per placement and device instead of customizable\_cta\_type, carousel\_destination\_urls / carousel\_android\_deep\_links / carousel\_ios\_deep\_links (arrays, one entry per card), android\_deep\_link, ios\_deep\_link, click\_tracking\_url, view\_tracking\_url, disclosure\_type and disclosure\_url (pharma), is\_carting, quiz\_pin\_data (for QUIZ ads). Example: \{"ad\_group\_id": "2680059592705", "pin\_id": "813744226420795884", "creative\_type": "MAX\_VIDEO", "name": "Max width video", "status": "PAUSED"} | ## Output **Type**: `Dict` Returns the created Pinterest ad ID and payload identifiers. **Fields**: `ad_id`, `ad_group_id`, `pin_id`, `creative_type` # Create Ad From Pin Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_ad_from_pin Promotes an existing Pinterest Pin as an ad in an ad group Promotes an existing Pinterest Pin as an ad in an ad group. Detects the right creative type from the Pin's media unless one is provided. This operation does not upload media or create Pins; to create an ad from new media use pinterest\_ads\_create\_single\_image\_ad, pinterest\_ads\_create\_video\_ad, or pinterest\_ads\_create\_carousel\_ad instead. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_ad_from_pin` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to promote a single Pin or multiple Pins at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to create the ad under. | | `pin_id` | string | No | - | ID of the existing Pin to promote. | | `ad_name` | string | No | - | Name of the Pinterest ad. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created. Options: ACTIVE or PAUSED. Default: PAUSED. | | `creative_type` | string or SelectableOption | No | - | Optional ad creative type. Omit to let Markifact detect it from the Pin's media (image Pin: REGULAR, video Pin: VIDEO, carousel Pin: CAROUSEL). Set it explicitly only for special formats such as MAX\_VIDEO, COLLECTION, or IDEA. | | `destination_url` | string | No | - | Optional landing page URL override for the ad click-through. Defaults to the Pin's link. Pinterest appends its default utm\_ parameters to ad URLs that have none unless the account opts out in Business Manager; parameters you include are kept. | | `call_to_action` | string or SelectableOption | No | - | Optional Pinterest customizable CTA type, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP. | | `lead_form_id` | string | No | - | Optional Pinterest lead form ID to create a lead ad. | | `click_tracking_url` | string | No | - | Optional third-party click tracking URL. | | `view_tracking_url` | string | No | - | Optional third-party impression tracking URL. | | `android_deep_link` | string | No | - | Optional Android deep link URL. | | `ios_deep_link` | string | No | - | Optional iOS deep link URL. | | `is_dynamic_cta` | boolean | No | `False` | Let Pinterest pick the best CTA per placement and device from cta\_types instead of always serving one fixed CTA. Cannot be combined with call\_to\_action. Default false. | | `cta_types` | string or array of string | No | - | CTAs Pinterest may choose between when is\_dynamic\_cta is true, as a JSON list or comma-separated string. At least two, from: ADD\_TO\_CART, BUY\_NOW, CONTACT\_US, EXPLORE\_MORE, GET\_OFFER, LEARN\_MORE, ORDER\_NOW, SHOP\_NOW, TAKE\_A\_PEEK, VISIT\_SITE. Pinterest also requires the campaign objective's default CTA to be in the list (VISIT\_SITE for CONSIDERATION) and names the missing one in its error. Example: \["VISIT\_SITE", "SHOP\_NOW", "LEARN\_MORE"]. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk, up to 100 rows per run. Required columns: pin\_id, ad\_group\_id, ad\_name. Optional columns: ad\_status, creative\_type, destination\_url, call\_to\_action, is\_dynamic\_cta, cta\_types, lead\_form\_id, click\_tracking\_url, view\_tracking\_url, android\_deep\_link, ios\_deep\_link. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest ad IDs. **Fields**: `ad_ids`, `created_count` # Create Ad Group Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_ad_group Creates a Pinterest Ads ad group under a campaign with budget, bid, schedule, placement, audience targeting, and optional Performance+ new customer acquisition or priority products strategy Creates a Pinterest Ads ad group under a campaign with budget, bid, schedule, placement, audience targeting, and optional Performance+ new customer acquisition or priority products strategy. Budget and bid amounts are entered in the ad account currency and converted to Pinterest microcurrency automatically. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_ad_group` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the ad group in. | | `campaign_id` | string or SelectItem | Yes | - | Pinterest campaign ID to create the ad group under. | | `ad_group_name` | string | Yes | - | Name of the Pinterest ad group. | | `billable_event` | string or SelectableOption | Yes | - | What the advertiser is billed for. CLICKTHROUGH for clicks, IMPRESSION for impressions (CPM), VIDEO\_V\_50\_MRC for video views. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad group is created. Options: ACTIVE, PAUSED, or DRAFT. Default: PAUSED. | | `budget_type` | string or SelectableOption | No | `{'value': 'DAILY', 'label': 'Daily'}` | Budget type. DAILY or LIFETIME require budget; LIFETIME also requires end\_time. Use CBO\_ADGROUP when the parent campaign uses Campaign Budget Optimization, which generates ad group budgets automatically; do not set budget with CBO\_ADGROUP. Default: DAILY. | | `budget` | number | No | - | Ad group budget in the ad account's currency (for example 20 for \$20). Markifact converts it to Pinterest microcurrency automatically. Required for DAILY and LIFETIME budget types. | | `bid` | number | No | - | Bid price in the ad account's currency, converted to microcurrency automatically. Pinterest requires it for these campaign objective and billable event combinations: AWARENESS with IMPRESSION, CONSIDERATION with CLICKTHROUGH, and CATALOG\_SALES with CLICKTHROUGH. | | `bid_strategy_type` | string or SelectableOption | No | - | Bid strategy. AUTOMATIC\_BID (Pinterest Performance+ bidding), MAX\_BID, or TARGET\_AVG. Video Completion campaigns only support AUTOMATIC\_BID. | | `performance_plus_value_strategy` | enum (`NEW_CUSTOMER_ACQUISITION`, `PRIORITY_PRODUCTS`) | No | - | Optional value strategy for the base ad group of a Performance+ campaign: NEW\_CUSTOMER\_ACQUISITION or PRIORITY\_PRODUCTS. Sent as the single entry in Pinterest's performance\_plus\_value\_strategies array. Pinterest automatically creates corresponding managed ad groups. Omit to leave strategies unset. For subsequent updates, use base\_ad\_group\_id from List Ad Groups. | | `start_time` | integer or string | No | - | Optional ad group start as a Unix timestamp or ISO datetime string. Must fall within the parent campaign schedule when that is set. | | `end_time` | integer or string | No | - | Optional ad group end as a Unix timestamp or ISO datetime string. Required for LIFETIME budgets and lifetime\_frequency\_cap. | | `auto_targeting_enabled` | boolean | No | `True` | Pinterest Performance+ targeting: let Pinterest expand the audience automatically. Default true. | | `targeting_spec` | object or string | No | - | Pinterest targeting spec as a JSON object with uppercase keys, sent to Pinterest as-is. Use the pinterest\_ads\_search\_targeting operation to find valid IDs for interests, locations, regions, languages, devices, and audiences. Omit for broad targeting; every key is optional: - GENDER: list from \["male","female","unknown"]. - MINIMUM\_AGE / MAXIMUM\_AGE: strings "18" to "65" ("65+" allowed for maximum only); must be used together. - LOCATION / LOCATION\_EXCLUDE: ISO two-letter country codes and/or metro codes, e.g. \["US","501"]. - GEO / GEO\_EXCLUDE: region codes like "US-CA" or postal codes like "94103" (one method per ad group). - LOCALE: ISO 639-1 language codes, e.g. \["en"]. - APPTYPE: devices from \["iphone","ipad","android\_mobile","android\_tablet","web","web\_mobile"]. - INTEREST: Pinterest interest IDs. - AUDIENCE\_INCLUDE / AUDIENCE\_EXCLUDE: audience IDs from pinterest\_ads\_list\_audiences (audiences need 100+ Pinterest users). - TARGETING\_STRATEGY: list from \["CHOOSE\_YOUR\_OWN","FIND\_NEW\_CUSTOMERS","RECONNECT\_WITH\_USERS"]. Example: \{"GENDER": \["female"], "MINIMUM\_AGE": "25", "MAXIMUM\_AGE": "54", "LOCATION": \["US"], "APPTYPE": \["iphone", "android\_mobile"]} | | `conversion_event` | string or SelectableOption | No | - | Conversion event to optimize for. Required for conversion campaigns (SALES, LEADS, or legacy WEB\_CONVERSION objectives), for example CHECKOUT, ADD\_TO\_CART, SIGNUP, or LEAD. Does not apply to CONSIDERATION ad groups: their Pin clicks vs outbound clicks optimization cannot be set through the Pinterest API at all, only in Ads Manager. | | `reporting_event` | string | No | - | Optional event to report on, sent as reporting\_event inside optimization\_goal\_metadata.conversion\_tag\_v3\_goal\_metadata. For example, INITIATE\_CHECKOUT with conversion\_event ADD\_TO\_CART. Pinterest validates the event and its compatibility with the conversion goal. Omit to use Pinterest's default reporting behavior. | | `conversion_tag_id` | string | No | - | Pinterest conversion tag ID to attribute the conversion event to. | | `cpa_goal` | number | No | - | Optional CPA goal for conversion campaigns in the ad account's currency, converted to microcurrency automatically. | | `placement_group` | string or SelectableOption | No | - | Where ads appear: ALL (default), SEARCH, BROWSE, or OTHER. | | `pacing_delivery_type` | string or SelectableOption | No | - | Budget pacing. STANDARD (default) spends smoothly over the day; ACCELERATED spends as fast as possible and is not allowed with CBO\_ADGROUP. | | `lifetime_frequency_cap` | integer | No | - | Maximum impressions per person over a rolling 30 days. Only for IMPRESSION billable event ad groups, and requires end\_time. | | `is_creative_optimization` | boolean | No | `False` | Let Pinterest automatically turn product Pins into ads in different formats. Default false. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest ad group details. **Fields**: `ad_group_id`, `ad_group_name`, `campaign_id`, `status` # Create Audience Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_audience Creates a Pinterest Ads audience: customer list, site visitor, engagement, or actalike (lookalike) Creates a Pinterest Ads audience: customer list, site visitor, engagement, or actalike (lookalike). The rule object defines who is targeted and its shape depends on the audience type. Use pinterest\_ads\_list\_audiences to find seed audience IDs for actalikes. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_audience` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the audience in. | | `audience_name` | string | Yes | - | Name of the Pinterest audience. | | `audience_type` | string or SelectableOption | Yes | - | Audience type. CUSTOMER\_LIST targets an uploaded customer list, VISITOR targets site visitors from a conversion tag, ENGAGEMENT targets people who engaged with the account's Pins, ACTALIKE builds a lookalike from a seed audience. | | `description` | string | No | - | Optional audience description. | | `rule` | object or string | Yes | - | JSON object defining the audience, sent to Pinterest as-is. Shape depends on audience\_type: - CUSTOMER\_LIST: \{"customer\_list\_id": "\"} - VISITOR: \{"visitor\_source\_id": \["\"], "retention\_days": "180", "event\_source": \{"=": \["web", "mobile"]}, "ingestion\_source": \{"=": \["tag"]}} (retention\_days 1-540; optional event key for a specific tag event such as checkout or signup) - ENGAGEMENT: \{"engagement\_domain": \["[www.example.com](http://www.example.com)"], "engager\_type": 1} (optional engagement\_type: click, save, closeup, comment, or like; optional ad\_id or campaign\_id arrays to scope the engagement) - ACTALIKE: \{"seed\_id": \["\"], "country": "US", "percentage": "10"} (countries US, CA, or GB; percentage 1-10; find seed audience IDs with pinterest\_ads\_list\_audiences) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Pinterest audience details. **Fields**: `audience_id`, `audience_name`, `audience_type`, `status` # Create Campaign Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_campaign Creates a Pinterest Ads campaign with objective, status, spend caps, and schedule Creates a Pinterest Ads campaign with objective, status, spend caps, and schedule. Spend caps are entered in the ad account currency and converted to Pinterest microcurrency automatically. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_campaign` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the campaign in. | | `campaign_name` | string | Yes | - | Name of the Pinterest campaign. | | `objective_type` | string or SelectableOption | Yes | - | Campaign objective. Prefer the simplified objectives: AWARENESS, VIDEO\_COMPLETION, CONSIDERATION, LEADS (non-transactional conversions like signups), or SALES (transactional conversions like checkout). APP\_INSTALL and CTV\_CONSIDERATION are also supported. WEB\_CONVERSION and CATALOG\_SALES are legacy objectives being deprecated by Pinterest in February 2027; only use them when the user explicitly asks. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the campaign is created. Options: ACTIVE, PAUSED, or DRAFT. Default: PAUSED. Use DRAFT to keep the campaign fully editable before launch. | | `is_campaign_budget_optimization` | boolean | No | `True` | When true (default), Pinterest automatically distributes the campaign budget across ad groups and a campaign spend cap is required. Set false to manage budgets at the ad group level instead. | | `is_performance_plus` | boolean | No | `False` | Enable Pinterest Performance+ for the campaign. Default false. | | `spend_cap_type` | string or SelectableOption | No | `{'value': 'daily', 'label': 'Daily'}` | Whether spend\_cap is a daily or lifetime spending cap. A lifetime cap requires end\_time. Default: daily. | | `spend_cap` | number | No | - | Campaign spending cap in the ad account's currency (for example 50 for \$50). Markifact converts it to Pinterest microcurrency automatically. Required when campaign budget optimization is enabled. | | `start_time` | integer or string | No | - | Optional campaign start as a Unix timestamp or ISO datetime string. Defaults to now when omitted. | | `end_time` | integer or string | No | - | Optional campaign end as a Unix timestamp or ISO datetime string. Required when using a lifetime spend cap. Ads run indefinitely when omitted. | | `intended_promotion_type` | string or SelectableOption | No | - | What the campaign promotes. STANDARD\_AD for ads derived from Pins (all objectives except CATALOG\_SALES, including WEB\_CONVERSION). CATALOG for product group promotions (CONSIDERATION, SALES, or LEADS only). LEGACY only with WEB\_CONVERSION or CATALOG\_SALES. | | `default_ad_group_budget` | number | No | - | Only when campaign budget optimization is disabled: default daily budget applied to child ad groups, in the ad account's currency. Converted to microcurrency automatically. | | `is_flexible_daily_budgets` | boolean | No | `False` | Enable Pinterest Performance+ flexible daily budgets. Requires campaign budget optimization with a daily spend cap. Default false. | | `is_automated_campaign` | boolean | No | `False` | Create the campaign through Pinterest's automated campaign flow. Requires a daily spend cap, cannot be combined with Performance+, and only supports CONSIDERATION, SALES, WEB\_CONVERSION, or CATALOG\_SALES objectives. Default false. | | `is_ltv_optimized` | boolean | No | `False` | Optimize the campaign for Lifetime Value. Only available to eligible advertisers. Default false. | | `order_line_id` | string | No | - | Optional numeric order line ID that appears on the Pinterest invoice. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest campaign details. **Fields**: `campaign_id`, `campaign_name`, `objective_type`, `status` # Create Carousel Ad Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_carousel_ad Creates a Pinterest carousel ad from 2 to 5 images by creating a carousel Pin, then creating an ad from that Pin Creates a Pinterest carousel ad from 2 to 5 images by creating a carousel Pin, then creating an ad from that Pin. Per-card links become carousel destination URLs. By default the Pin is ad-only and the ad is created paused. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_carousel_ad` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the carousel Pin and ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single carousel ad or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to create the ad under. Required unless pin\_only is true. | | `ad_name` | string | No | - | Name of the Pinterest ad. Required unless pin\_only is true. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created. Options: ACTIVE or PAUSED. Default: PAUSED. | | `cards` | array of object or string | No | - | Single mode only. JSON list of 2 to 5 carousel cards. Each card: image\_url (required; direct URL, Google Drive share link set to 'Anyone with the link', or Markifact uploaded image), and optional title, description, and link (per-card destination URL). Example: \[\{"image\_url": "`https://example.com/a.jpg`", "title": "Card A", "link": "`https://example.com/a`"}, \{"image\_url": "`https://example.com/b.jpg`"}] | | `pin_title` | string | No | - | Title for the carousel Pin. Up to 100 characters. | | `pin_description` | string | No | - | Description for the carousel Pin. Up to 800 characters. | | `destination_url` | string | No | - | Fallback landing page URL for the Pin and ad. Per-card links override it. Pinterest appends its default utm\_ parameters to ad URLs that have none unless the account opts out in Business Manager; parameters you include are kept. | | `board_id` | string or SelectItem | No | - | Board ID to save the Pin to. Required only when ad\_only\_pin is false. | | `ad_only_pin` | boolean | No | `True` | Create the Pin as ad-only so it does not appear organically. Default true. | | `pin_only` | boolean | No | `False` | Create only the Pinterest carousel Pin and skip ad creation. Default false. | | `call_to_action` | string or SelectableOption | No | - | Optional Pinterest customizable CTA type, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP. | | `click_tracking_url` | string | No | - | Optional third-party click tracking URL. | | `view_tracking_url` | string | No | - | Optional third-party impression tracking URL. | | `is_dynamic_cta` | boolean | No | `False` | Let Pinterest pick the best CTA per placement and device from cta\_types instead of always serving one fixed CTA. Cannot be combined with call\_to\_action. Default false. | | `cta_types` | string or array of string | No | - | CTAs Pinterest may choose between when is\_dynamic\_cta is true, as a JSON list or comma-separated string. At least two, from: ADD\_TO\_CART, BUY\_NOW, CONTACT\_US, EXPLORE\_MORE, GET\_OFFER, LEARN\_MORE, ORDER\_NOW, SHOP\_NOW, TAKE\_A\_PEEK, VISIT\_SITE. Pinterest also requires the campaign objective's default CTA to be in the list (VISIT\_SITE for CONSIDERATION) and names the missing one in its error. Example: \["VISIT\_SITE", "SHOP\_NOW", "LEARN\_MORE"]. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk, up to 100 rows per run. Each row is one carousel ad. Required columns: card\_1\_image\_url, card\_2\_image\_url, destination\_url, pin\_title or pin\_description, plus ad\_group\_id and ad\_name unless pin\_only is true. Optional columns: card\_3\_image\_url to card\_5\_image\_url, card\_N\_title, card\_N\_description, card\_N\_link, board\_id, ad\_only\_pin, pin\_only, ad\_status, call\_to\_action, is\_dynamic\_cta, cta\_types, click\_tracking\_url, view\_tracking\_url. If any card\_N field is set, that card's card\_N\_image\_url is required. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest ad IDs and Pin IDs. **Fields**: `ad_ids`, `pin_ids`, `created_count` # Create Keywords Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_keywords Creates Pinterest keyword targeting for an account, campaign, ad group, or ad Creates Pinterest keyword targeting for an account, campaign, ad group, or ad. Advertiser- and campaign-level keywords only accept excluding match types (EXACT\_NEGATIVE, PHRASE\_NEGATIVE); ad group and ad level accept any match type. Use pinterest\_ads\_search\_targeting to look up existing targeting before adding more. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_keywords` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create keywords in. | | `parent_type` | string or SelectableOption | Yes | - | What the keywords target. ADVERTISER applies them account-wide. CAMPAIGN, AD\_GROUP, or AD scope them to that entity. Advertisers and campaigns can only take excluding match types (EXACT\_NEGATIVE or PHRASE\_NEGATIVE); ad groups and ads accept any match type. | | `campaign_id` | string or SelectItem | No | - | Pinterest campaign ID. Required when parent\_type is CAMPAIGN. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID. Required when parent\_type is AD\_GROUP. | | `ad_id` | string | No | - | Pinterest ad ID. Required when parent\_type is AD. | | `keywords` | array of object or string | Yes | - | Keywords to create as a JSON list of objects. Each object requires 'value' (keyword text, up to 120 characters) and 'match\_type' (BROAD, PHRASE, EXACT, EXACT\_NEGATIVE, or PHRASE\_NEGATIVE). Advertiser- and campaign-level keywords only accept EXACT\_NEGATIVE or PHRASE\_NEGATIVE. Up to 100 keywords per run. Pinterest's 'bid' field on keywords is deprecated and always ignored, so do not include it. Example: \[\{"value": "running shoes", "match\_type": "BROAD"}, \{"value": "-competitor brand", "match\_type": "EXACT\_NEGATIVE"}] | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest keyword IDs and count. **Fields**: `keyword_ids`, `created_count` # Create Single Image Ad Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_single_image_ad Creates a Pinterest single image ad by first creating a Pin, then creating an ad from that Pin Creates a Pinterest single image ad by first creating a Pin, then creating an ad from that Pin. By default the Pin is ad-only and the ad is created paused. Set pin\_only=true to create only the Pin. For video ads use pinterest\_ads\_create\_video\_ad, for carousels pinterest\_ads\_create\_carousel\_ad, and to promote an existing Pin use pinterest\_ads\_create\_ad\_from\_pin. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_single_image_ad` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the Pin and ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to create the ad under. Required unless pin\_only is true. | | `ad_name` | string | No | - | Name of the Pinterest ad. Required unless pin\_only is true. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created. Options: ACTIVE or PAUSED. Default: PAUSED. | | `image_url` | string | No | - | Image to use for the Pin/ad. Accepts a direct image URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded image. | | `pin_title` | string | No | - | Title for the Pinterest Pin. Up to 100 characters. | | `pin_description` | string | No | - | Description for the Pinterest Pin. Up to 800 characters. | | `alt_text` | string | No | - | Alt text for accessibility. Up to 500 characters. | | `destination_url` | string | No | - | Landing page URL for the Pin and ad click-through. Pinterest appends its default utm\_ parameters to ad URLs that have none unless the account opts out in Business Manager; parameters you include are kept. | | `board_id` | string or SelectItem | No | - | Board ID to save the Pin to. Required only when ad\_only\_pin is false. | | `ad_only_pin` | boolean | No | `True` | Create the Pin as ad-only so it does not appear organically. Default true. | | `pin_only` | boolean | No | `False` | Create only the Pinterest Pin and skip ad creation. Default false. | | `call_to_action` | string or SelectableOption | No | - | Optional Pinterest customizable CTA type, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP. | | `click_tracking_url` | string | No | - | Optional third-party click tracking URL. | | `view_tracking_url` | string | No | - | Optional third-party impression tracking URL. | | `android_deep_link` | string | No | - | Optional Android deep link URL. | | `ios_deep_link` | string | No | - | Optional iOS deep link URL. | | `is_dynamic_cta` | boolean | No | `False` | Let Pinterest pick the best CTA per placement and device from cta\_types instead of always serving one fixed CTA. Cannot be combined with call\_to\_action. Default false. | | `cta_types` | string or array of string | No | - | CTAs Pinterest may choose between when is\_dynamic\_cta is true, as a JSON list or comma-separated string. At least two, from: ADD\_TO\_CART, BUY\_NOW, CONTACT\_US, EXPLORE\_MORE, GET\_OFFER, LEARN\_MORE, ORDER\_NOW, SHOP\_NOW, TAKE\_A\_PEEK, VISIT\_SITE. Pinterest also requires the campaign objective's default CTA to be in the list (VISIT\_SITE for CONSIDERATION) and names the missing one in its error. Example: \["VISIT\_SITE", "SHOP\_NOW", "LEARN\_MORE"]. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk, up to 100 rows per run. Required columns: image\_url, destination\_url, pin\_title or pin\_description, plus ad\_group\_id and ad\_name unless pin\_only is true. Optional columns: board\_id, ad\_only\_pin, pin\_only, ad\_status, alt\_text, call\_to\_action, click\_tracking\_url, view\_tracking\_url, android\_deep\_link, ios\_deep\_link. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest ad IDs and Pin IDs. **Fields**: `ad_ids`, `pin_ids`, `created_count` # Create Video Ad Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_create_video_ad Creates a Pinterest video ad by uploading a video, creating a video Pin, then creating an ad from that Pin Creates a Pinterest video ad by uploading a video, creating a video Pin, then creating an ad from that Pin. By default the Pin is ad-only and the ad is created paused. Set pin\_only=true to create only the video Pin. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_create_video_ad` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to create the video Pin and ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single video ad or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to create the ad under. Required unless pin\_only is true. | | `ad_name` | string | No | - | Name of the Pinterest ad. Required unless pin\_only is true. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created. Options: ACTIVE or PAUSED. Default: PAUSED. | | `video_url` | string | No | - | Video to upload for the Pin/ad. Accepts a direct video URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded video. Markifact uploads it to Pinterest and waits for processing. | | `cover_image_url` | string | No | - | Optional cover image URL for the video Pin. Pinterest requires a cover; when this is omitted, cover\_image\_key\_frame\_time is sent instead (default 0, the first frame). | | `cover_image_key_frame_time` | integer | No | - | Optional video timestamp in seconds to use as the cover frame. Ignored when cover\_image\_url is set. Defaults to 0 (the first frame). | | `pin_title` | string | No | - | Title for the Pinterest Pin. Up to 100 characters. | | `pin_description` | string | No | - | Description for the Pinterest Pin. Up to 800 characters. | | `destination_url` | string | No | - | Landing page URL for the Pin and ad click-through. Pinterest appends its default utm\_ parameters to ad URLs that have none unless the account opts out in Business Manager; parameters you include are kept. | | `board_id` | string or SelectItem | No | - | Board ID to save the Pin to. Required only when ad\_only\_pin is false. | | `ad_only_pin` | boolean | No | `True` | Create the Pin as ad-only so it does not appear organically. Default true. | | `pin_only` | boolean | No | `False` | Create only the Pinterest video Pin and skip ad creation. Default false. | | `call_to_action` | string or SelectableOption | No | - | Optional Pinterest customizable CTA type, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP. | | `click_tracking_url` | string | No | - | Optional third-party click tracking URL. | | `view_tracking_url` | string | No | - | Optional third-party impression tracking URL. | | `android_deep_link` | string | No | - | Optional Android deep link URL. | | `ios_deep_link` | string | No | - | Optional iOS deep link URL. | | `is_dynamic_cta` | boolean | No | `False` | Let Pinterest pick the best CTA per placement and device from cta\_types instead of always serving one fixed CTA. Cannot be combined with call\_to\_action. Default false. | | `cta_types` | string or array of string | No | - | CTAs Pinterest may choose between when is\_dynamic\_cta is true, as a JSON list or comma-separated string. At least two, from: ADD\_TO\_CART, BUY\_NOW, CONTACT\_US, EXPLORE\_MORE, GET\_OFFER, LEARN\_MORE, ORDER\_NOW, SHOP\_NOW, TAKE\_A\_PEEK, VISIT\_SITE. Pinterest also requires the campaign objective's default CTA to be in the list (VISIT\_SITE for CONSIDERATION) and names the missing one in its error. Example: \["VISIT\_SITE", "SHOP\_NOW", "LEARN\_MORE"]. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk, up to 30 rows per run. Required columns: video\_url, destination\_url, pin\_title or pin\_description, plus ad\_group\_id and ad\_name unless pin\_only is true. Optional columns: cover\_image\_url, cover\_image\_key\_frame\_time, board\_id, ad\_only\_pin, pin\_only, ad\_status, call\_to\_action, is\_dynamic\_cta, cta\_types, click\_tracking\_url, view\_tracking\_url, android\_deep\_link, ios\_deep\_link. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Pinterest ad IDs and Pin IDs. **Fields**: `ad_ids`, `pin_ids`, `created_count` # Custom Pinterest Ads App Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_custom_app Connect Pinterest Ads through your own Pinterest app (white-label) by pasting your app ID, app secret, and a refresh token. Markifact supports two ways to connect Pinterest Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Pinterest app** (Custom App). With a custom app, every request Markifact makes runs under your app in the ad account's activity, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **App ID and App Secret** | From your app's page in the Pinterest developer portal | | **Refresh Token** | Minted against that app with the scopes below | | **Scopes** | `ads:read`, `ads:write`, `user_accounts:read` (plus the pins and boards scopes for pin-based ads) | | **Pinterest user for the token** | a Pinterest user with access to the ad accounts you want to manage | > [card] [Create the app and mint the refresh token](/core-concepts/custom-pinterest-app) > > The Pinterest setup (app, standard access, authorization URL, code exchange) is the same for both Pinterest channels and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **Pinterest Ads**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency Pinterest Ads"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **App ID**, **App Secret**, and **Refresh Token** from your Pinterest app. **4. Verify & Connect** Markifact refreshes the token once with your app, then makes one call that lists the ad accounts the token can reach. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] This Pinterest user has no ad accounts > > The user who minted the token has no access to any ad account. Grant access under Ads Manager > Business access, then mint a new token. > [accordion] App, token or scope errors > > See the shared [Custom Pinterest App](/core-concepts/custom-pinterest-app#troubleshooting) troubleshooting for authentication failures, missing scopes and trial access limits. *** ## Related > [card] [Custom Pinterest App](/core-concepts/custom-pinterest-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/pinterest_ads/pinterest_ads_get_report) > > Pull Pinterest Ads performance data # Generate Ad Previews Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_generate_ad_previews Generates shareable Pinterest ad preview URLs for one or more ad groups Generates shareable Pinterest ad preview URLs for one or more ad groups. Each URL opens in any browser without Ads Manager access and always reflects the current creative; no need to regenerate after edits. URLs expire after 30 days. Returns one preview per ad or product group promotion in each ad group. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_generate_ad_previews` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account that owns the ad groups. | | `ad_group_ids` | array of string (also accepts a comma-separated string) | Yes | - | Ad group IDs to generate previews for, as a list or comma-separated text. Up to 100 per run. Pinterest returns one shareable preview URL per ad or product group promotion in each ad group; the URLs open in any browser without Ads Manager access and always show the current creative. Previews expire after 30 days. | ## Output **Type**: `Dict` Returns generated preview URLs with expiry and identifiers, plus any per-ad-group errors. **Fields**: `previews`, `preview_count`, `errors` # Get Report Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_get_report Retrieves Pinterest Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Pinterest Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including Campaigns, Ad Groups, and Ads. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_get_report` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | PinterestAdsReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### PinterestAdsReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `conversion_report_time` | enum (`TIME_OF_AD_ACTION`, `TIME_OF_CONVERSION`) | No | - | Which date a conversion is counted on. TIME\_OF\_AD\_ACTION credits it to the day of the ad impression or click that led to it; TIME\_OF\_CONVERSION credits it to the day the conversion itself happened. Omit to let Pinterest apply its own default, which is TIME\_OF\_AD\_ACTION. | | `click_window_days` | enum (`0`, `1`, `7`, `14`, `30`, `60`) | No | - | Days after a pin click that a conversion is credited to the ad: 0, 1, 7, 14, 30 or 60. Omit to use Pinterest's default of 30. | | `engagement_window_days` | enum (`0`, `1`, `7`, `14`, `30`, `60`) | No | - | Days after an engagement (save, closeup) that a conversion is credited to the ad: 0, 1, 7, 14, 30 or 60. Omit to use Pinterest's default of 30. | | `view_window_days` | enum (`0`, `1`, `7`, `14`, `30`, `60`) | No | - | Days after an ad view that a conversion is credited to the ad: 0, 1, 7, 14, 30 or 60. Omit to use Pinterest's default of 1. | | `attribution_types` | array of enum (`INDIVIDUAL`, `HOUSEHOLD`) | No | - | Pinterest Tag conversions to count: INDIVIDUAL (the person who saw the ad converted), HOUSEHOLD (someone in their household converted), or both. Omit to use Pinterest's default. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Home Decor", "clicks": 180, "impressions": 9500, "cost": 65.0 } ] ``` # List Ad Groups Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_ad_groups Lists ad groups for a Pinterest Ads account with status, budget, bid, billable event, and targeting details Lists ad groups for a Pinterest Ads account with status, budget, bid, billable event, and targeting details. Supports filtering by campaign, status, ad group IDs, or by name and ID. Note: budgets and bids are returned in Pinterest microcurrency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose ad groups should be listed. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list ad groups from, as a list or comma-separated text. | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to fetch, as a list or comma-separated text. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter ad groups by status. Options: ACTIVE, PAUSED, ARCHIVED, DRAFT. Defaults to ACTIVE and PAUSED when omitted. | | `translate_interests_to_names` | boolean | No | `False` | When true, interest IDs inside each ad group's targeting\_spec are returned as human-readable names. Default false. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ad groups. The available fields to filter by are: - id: Filter by ad group ID - name: Filter by ad group name - campaign\_id: Filter by parent campaign ID Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad groups to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest ad groups as provided by the Pinterest /ad\_groups endpoint. # List Ads Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_ads Lists ads for a Pinterest Ads account with status, creative type, Pin, and destination details Lists ads for a Pinterest Ads account with status, creative type, Pin, and destination details. Supports filtering by campaign, ad group, status, ad IDs, or by name and ID. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_ads` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose ads should be listed. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list ads from, as a list or comma-separated text. | | `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to list ads from, as a list or comma-separated text. | | `ad_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad IDs to fetch, as a list or comma-separated text. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter ads by status. Options: ACTIVE, PAUSED, ARCHIVED, DRAFT. Defaults to ACTIVE and PAUSED when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ads. The available fields to filter by are: - id: Filter by ad ID - name: Filter by ad name - ad\_group\_id: Filter by parent ad group ID - campaign\_id: Filter by parent campaign ID Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of matching ads to return, counted after all filters are applied. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest ads as provided by the Pinterest /ads endpoint. # List Audiences Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_audiences Lists audiences for a Pinterest Ads account with type, status, and size details Lists audiences for a Pinterest Ads account with type, status, and size details. Audience IDs go into the AUDIENCE\_INCLUDE or AUDIENCE\_EXCLUDE keys of the pinterest\_ads\_create\_ad\_group targeting\_spec; audiences with status TOO\_SMALL (under 100 Pinterest users) cannot be targeted. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_audiences` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose audiences should be listed. | | `ownership_type` | string or SelectableOption | No | - | Filter by ownership. OWNED for audiences created in this account (default), RECEIVED for audiences shared into it by other accounts. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving audiences. The available fields to filter by are: - id: Filter by audience ID - name: Filter by audience name - audience\_type: Filter by type (CUSTOMER\_LIST, VISITOR, ENGAGEMENT, ACTALIKE, PERSONA) - status: Filter by status (READY, TOO\_SMALL) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of audiences to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest audiences with id, name, audience\_type, status, and size. # List Boards Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_boards Lists the user's Pinterest boards with privacy, pin count, and follower details Lists the user's Pinterest boards with privacy, pin count, and follower details. Board IDs go into the board\_id of the ad creation nodes when saving Pins to a board instead of creating them ad-only. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_boards` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account context for listing the user's boards. | | `privacy` | string or SelectableOption | No | - | Filter boards by privacy level. Options: ALL, PUBLIC, PROTECTED, SECRET, PUBLIC\_AND\_SECRET. Returns public boards when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving boards. The available fields to filter by are: - id: Filter by board ID - name: Filter by board name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of boards to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest boards. # List Campaigns Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_campaigns Lists campaigns for a Pinterest Ads account with status, objective, spend caps, and schedule details Lists campaigns for a Pinterest Ads account with status, objective, spend caps, and schedule details. Supports filtering by status, campaign IDs, or by name and ID. Note: spend caps and budgets are returned in Pinterest microcurrency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_campaigns` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose campaigns should be listed. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter campaigns by status. Options: ACTIVE, PAUSED, ARCHIVED, DRAFT. Defaults to ACTIVE and PAUSED when omitted. | | `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to fetch, as a list or comma-separated text. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving campaigns. The available fields to filter by are: - id: Filter by campaign ID - name: Filter by campaign name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest campaigns as provided by the Pinterest /campaigns endpoint. # List Catalogs Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_catalogs Lists product catalogs available to a Pinterest Ads account Lists product catalogs available to a Pinterest Ads account. Catalog IDs are used with pinterest\_ads\_list\_feeds and catalog-based campaigns (intended\_promotion\_type CATALOG). | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_catalogs` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose catalogs should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving catalogs. The available fields to filter by are: - id: Filter by catalog ID - name: Filter by catalog name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of catalogs to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest catalogs. # List Conversion Events Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_conversion_events Lists the advertiser-defined (custom) conversion events tracked for a Pinterest Ads account and the standard conversion type each maps to Lists the advertiser-defined (custom) conversion events tracked for a Pinterest Ads account and the standard conversion type each maps to. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_conversion_events` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose advertiser-defined conversion events should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving conversion events. The available fields to filter by are: - name: Filter by the raw event name - mapped\_conversion\_type: Filter by the standard conversion type the event maps to (for example SIGNUP or CHECKOUT) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of conversion events to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns custom conversion events with name and mapped\_conversion\_type. # List Conversion Tags Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_conversion_tags Lists conversion tags (the Pinterest tag/pixel) for an ad account with status and enhanced match details Lists conversion tags (the Pinterest tag/pixel) for an ad account with status and enhanced match details. Tag IDs go into the visitor\_source\_id rule of pinterest\_ads\_create\_audience VISITOR audiences and the conversion\_tag\_id of pinterest\_ads\_create\_ad\_group conversion goals. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_conversion_tags` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose conversion tags should be listed. | | `filter_deleted` | boolean | No | `False` | Exclude deleted conversion tags from the results. Default false. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving conversion tags. The available fields to filter by are: - id: Filter by conversion tag ID - name: Filter by conversion tag name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of conversion tags to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest conversion tags. # List Feeds Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_feeds Lists product feeds for a Pinterest Ads account, optionally scoped to one catalog, with status, format, and source location details Lists product feeds for a Pinterest Ads account, optionally scoped to one catalog, with status, format, and source location details. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_feeds` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose product feeds should be listed. | | `catalog_id` | string or SelectItem | No | - | Optional catalog ID to list feeds from. Find IDs with pinterest\_ads\_list\_catalogs. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving feeds. The available fields to filter by are: - id: Filter by feed ID - name: Filter by feed name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of feeds to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest product feeds. # List Keywords Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_keywords Lists keywords for a Pinterest Ads account, optionally scoped to a campaign or ad group and filtered by match type Lists keywords for a Pinterest Ads account, optionally scoped to a campaign or ad group and filtered by match type. Returns keyword IDs for use with pinterest\_ads\_update\_keywords. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_keywords` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose keywords should be listed. | | `campaign_id` | string or SelectItem | No | - | Optional campaign ID to list keywords from (campaign-level negative keywords). | | `ad_group_id` | string or SelectItem | No | - | Optional ad group ID to list keywords from. | | `match_types` | array of string (also accepts a comma-separated string) | No | - | Optional match types to filter by, as a list or comma-separated text. Options: BROAD, PHRASE, EXACT, EXACT\_NEGATIVE, PHRASE\_NEGATIVE. Returns all match types when omitted. | | `limit` | integer | No | `100` | Maximum number of keywords to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest keywords with id, value, match\_type, parent\_id, and archived. # List Lead Forms Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_lead_forms Lists lead forms for a Pinterest Ads account with status and question details Lists lead forms for a Pinterest Ads account with status and question details. Lead form IDs go into the lead\_form\_id of pinterest\_ads\_create\_ad\_from\_pin or pinterest\_ads\_create\_ad to create lead ads. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_lead_forms` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose lead forms should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving lead forms. The available fields to filter by are: - id: Filter by lead form ID - name: Filter by lead form name - status: Filter by status (ACTIVE, PAUSED, ARCHIVED, DRAFT, DELETED) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of lead forms to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest lead forms. # List Pins Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_pins Lists the user's organic Pinterest Pins with title, description, link, and media details, optionally with organic metrics Lists the user's organic Pinterest Pins with title, description, link, and media details, optionally with organic metrics. Use it to find Pin IDs to promote with pinterest\_ads\_create\_ad\_from\_pin. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_pins` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account context for listing the user's Pins. | | `pin_filter` | string or SelectableOption | No | - | Optional filter: exclude\_native (hide Pins created by the account, keeping repins), exclude\_repins (hide saved copies of other people's Pins), or has\_been\_promoted (only Pins that have already been used in ads). | | `include_protected_pins` | boolean | No | `False` | Include protected Pins, such as ad-only Pins created by the ad nodes that do not appear organically. Default false. | | `pin_metrics` | boolean | No | `False` | Include 90-day and lifetime organic Pin metrics in each row. Default false. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving Pins. The available fields to filter by are: - id: Filter by Pin ID - title: Filter by Pin title - link: Filter by Pin destination link Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of Pins to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pins as provided by the Pinterest /pins endpoint. # List Product Groups Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_product_groups Lists catalog product groups for a Pinterest Ads account, optionally scoped to a catalog or feed Lists catalog product groups for a Pinterest Ads account, optionally scoped to a catalog or feed. Product groups are what catalog-based ads promote, for example with pinterest\_ads\_create\_ad using COLLECTION or SHOPPING creative types. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_product_groups` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account whose catalog product groups should be listed. | | `catalog_id` | string or SelectItem | No | - | Optional catalog ID to list product groups from. Find IDs with pinterest\_ads\_list\_catalogs. | | `feed_id` | string or SelectItem | No | - | Optional feed ID to list product groups from. Find IDs with pinterest\_ads\_list\_feeds. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving product groups. The available fields to filter by are: - id: Filter by product group ID - name: Filter by product group name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of product groups to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of Pinterest catalog product groups. # List Report Fields Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_list_report_fields Search and browse available Pinterest Ads reporting metrics and dimensions before running reports Search and browse available Pinterest Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|clicks).*'}]. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type`, `description` # Manage Conversion Events Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_manage_conversion_events Creates, updates, or deletes an account's advertiser-defined (custom) conversion events Creates, updates, or deletes an account's advertiser-defined (custom) conversion events. Each event maps a raw event name you send Pinterest to a Pinterest standard event, so Pinterest optimizes and reports on it as that standard event. Event names must match what you pass Pinterest exactly. Use pinterest\_ads\_list\_conversion\_events to see what already exists before changing anything. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_manage_conversion_events` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Pinterest Ads account that owns the conversion events. | | `update_type` | string or SelectableOption | Yes | - | What to do: create new advertiser-defined events, update the mapping of existing ones, or delete (untrack) them. Create and update take the same events list; delete takes event\_names. | | `events` | array of object or string | No | - | Events to create or update, as a JSON list of objects. Each object needs 'name' (your raw event name, matched exactly against what you send Pinterest; letters, digits, underscores, hyphens, and spaces only, up to 50 characters) and 'mapped\_conversion\_type' (the Pinterest standard event it optimizes as). Up to 100 events per run. Required when update\_type is create or update. Example: \[\{"name": "add\_shipping\_info", "mapped\_conversion\_type": "CHECKOUT"}, \{"name": "newsletter\_signup", "mapped\_conversion\_type": "SIGNUP"}] | | `event_names` | string or array of string | No | - | Names of the events to stop tracking, as a JSON list of strings or a comma-separated string. Required when update\_type is delete. Example: \["add\_shipping\_info", "newsletter\_signup"] | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the number of events changed and their names. The count key is created\_count, updated\_count, or deleted\_count depending on update\_type. **Fields**: `created_count`, `updated_count`, `deleted_count`, `event_names` # Rename Ad Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_rename_ad Renames Pinterest Ads ads, one at a time or in bulk Renames Pinterest Ads ads, one at a time or in bulk. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_rename_ad` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to rename ads in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple ads at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Pinterest ad ID to rename. Required for single update. | | `ad_name` | string | No | - | The new name for the ad. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and ad\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad rename. # Rename Ad Group Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_rename_ad_group Renames Pinterest Ads ad groups, one at a time or in bulk Renames Pinterest Ads ad groups, one at a time or in bulk. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_rename_ad_group` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to rename ad groups in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple ad groups at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to rename. Required for single update. | | `ad_group_name` | string | No | - | The new name for the ad group. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and ad\_group\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group rename. # Rename Campaign Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_rename_campaign Renames Pinterest Ads campaigns, one at a time or in bulk Renames Pinterest Ads campaigns, one at a time or in bulk. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_rename_campaign` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to rename campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Pinterest campaign ID to rename. Required for single update. | | `campaign_name` | string | No | - | The new name for the campaign. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and campaign\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign rename. # Search Targeting Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_search_targeting Search or list Pinterest Ads targeting options such as interests, locations, regions, languages, devices, and audiences Search or list Pinterest Ads targeting options such as interests, locations, regions, languages, devices, and audiences. Returned IDs plug directly into the matching targeting\_spec key of pinterest\_ads\_create\_ad\_group. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_search_targeting` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to search targeting options for. | | `targeting_type` | string or SelectableOption | Yes | - | Which targeting dimension to search. The returned IDs go directly into the matching create\_ad\_group targeting\_spec key: INTEREST (interest IDs), LOCATION (country and metro codes), GEO (region and postal codes), LOCALE (language codes), APPTYPE (devices), GENDER, AGE\_BUCKET, AUDIENCE\_INCLUDE or AUDIENCE\_EXCLUDE (the account's customer lists). | | `search_query` | string | No | - | Optional text filter. Pinterest returns the full list per targeting type, so Markifact filters it: case-insensitive name substring match, or exact ID match. | | `limit` | integer | No | `100` | Maximum rows to return, sorted by name. Default 100, max 1000. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns Pinterest targeting options normalized for use in ad group targeting\_spec keys. **Fields**: `id`, `name`, `targeting_type` # Select Accounts Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_select_accounts Select Pinterest Ads accounts to use in other nodes Select Pinterest Ads accounts to use in other nodes. Supports manual selection, filtering, and selecting all available accounts. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_select_accounts` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name), value (account ID) and ownerUsername (the Pinterest profile that owns the ad account). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_ad Low-level operation to update Pinterest Ads ads with a raw PATCH payload; only the provided fields are changed Low-level operation to update Pinterest Ads ads with a raw PATCH payload; only the provided fields are changed. Use focused operations first when available, for example pinterest\_ads\_update\_ad\_status or pinterest\_ads\_rename\_ad. Use pinterest\_ads\_list\_ads first to inspect the current payload. Supports dry\_run to preview the final payload without calling Pinterest. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_ad` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | Pinterest ad ID to update. Markifact sends it as id; do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad fields to update as a JSON object, sent to Pinterest as-is in a PATCH request; only the fields you include are changed. Common fields: name, status (ACTIVE/PAUSED/ARCHIVED), destination\_url, customizable\_cta\_type, is\_dynamic\_cta (bool) with cta\_types (at least two from ADD\_TO\_CART, BUY\_NOW, CONTACT\_US, EXPLORE\_MORE, GET\_OFFER, LEARN\_MORE, ORDER\_NOW, SHOP\_NOW, TAKE\_A\_PEEK, VISIT\_SITE, including the objective's default such as VISIT\_SITE for CONSIDERATION) as an alternative to a fixed customizable\_cta\_type, click\_tracking\_url, view\_tracking\_url, android\_deep\_link, ios\_deep\_link, carousel\_destination\_urls / carousel\_android\_deep\_links / carousel\_ios\_deep\_links (arrays, one entry per card), lead\_form\_id, grid\_click\_type, is\_removable. Prefer pinterest\_ads\_update\_ad\_status and pinterest\_ads\_rename\_ad for plain status or name changes. Example: \{"destination\_url": "`https://example.com/sale`", "customizable\_cta\_type": "SHOP\_NOW"} | | `dry_run` | boolean | No | `False` | When true, do not call Pinterest. Return the resolved endpoint and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns ad\_id, updated\_fields, endpoint, final payload, and dry\_run status. **Fields**: `ad_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Ad Group Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_ad_group Low-level operation to update Pinterest Ads ad groups with a raw PATCH payload; only the provided fields are changed Low-level operation to update Pinterest Ads ad groups with a raw PATCH payload; only the provided fields are changed. Use focused operations first when available, for example pinterest\_ads\_update\_ad\_group\_status or pinterest\_ads\_rename\_ad\_group. Use pinterest\_ads\_list\_ad\_groups first to inspect the current payload. Supports dry\_run to preview the final payload without calling Pinterest. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_ad_group` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | Pinterest ad group ID to update. For Performance+ value strategies, use the base\_ad\_group\_id returned by List Ad Groups. Markifact sends it as id; do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad group fields to update as a JSON object, sent to Pinterest as-is in a PATCH request; only the fields you include are changed. Common fields: name, status (ACTIVE/PAUSED/ARCHIVED), start\_time and end\_time (Unix seconds), targeting\_spec (uppercase keys; use pinterest\_ads\_search\_targeting for IDs), bid\_strategy\_type, placement\_group, pacing\_delivery\_type, auto\_targeting\_enabled, optimization\_goal\_metadata, lifetime\_frequency\_cap, tracking\_urls. Money fields are raw Pinterest microcurrency integers: budget\_in\_micro\_currency and bid\_in\_micro\_currency (multiply the currency amount by 1,000,000, so \$20 is 20000000). Draft ad groups only: billable\_event, budget\_type. Prefer pinterest\_ads\_update\_ad\_group\_status and pinterest\_ads\_rename\_ad\_group for plain status or name changes. For a Performance+ campaign's base ad group, set one value strategy with \{"performance\_plus\_value\_strategies": \["NEW\_CUSTOMER\_ACQUISITION"]} or \{"performance\_plus\_value\_strategies": \["PRIORITY\_PRODUCTS"]}. Pinterest automatically creates corresponding managed ad groups; apply updates to the base\_ad\_group\_id, not a managed sibling. optimization\_goal\_metadata is only writable for conversion objectives (SALES, LEADS, legacy WEB\_CONVERSION), using conversion\_tag\_v3\_goal\_metadata with conversion\_event, reporting\_event, conversion\_tag\_id, cpa\_goal\_value\_in\_micro\_currency, or attribution\_windows. The CONSIDERATION 'Optimization' selector in Ads Manager (Pin clicks vs outbound clicks / landing page) CANNOT be changed through the Pinterest API. It is a campaign-wide setting that Ads Manager applies to every ad group in the campaign; the API only reads it back on the ad group as outbound\_click\_goal\_metadata.is\_outbound\_click\_optimized, rejects every attempt to write it there with 'Invalid parameters' (create and update), and exposes nothing for it on the campaign, where the same keys are silently dropped with a 200 and nothing changes. Tell the user to change it in Ads Manager; do not retry via pinterest\_ads\_update\_campaign, a success there proves nothing. Writing conversion\_tag\_v3\_goal\_metadata into a CONSIDERATION ad group is accepted and echoed back by pinterest\_ads\_list\_ad\_groups but does not change that selector, so reading the value back is not proof the setting took effect. Once set, optimization\_goal\_metadata cannot be cleared: \{} is a no-op and null fails with a server error. There is no optimization\_type field on an ad group; it exists only on Pinterest's delivery-estimates endpoint, and Pinterest silently drops it (and any other unknown key) from an update instead of returning an error. Example: \{"budget\_in\_micro\_currency": 20000000, "targeting\_spec": \{"LOCATION": \["US", "CA"]}} | | `dry_run` | boolean | No | `False` | When true, do not call Pinterest. Return the resolved endpoint and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns ad\_group\_id, updated\_fields, endpoint, final payload, and dry\_run status. **Fields**: `ad_group_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Ad Group Budget Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_ad_group_budget Updates the budget of Pinterest Ads ad groups, one at a time or in bulk Updates the budget of Pinterest Ads ad groups, one at a time or in bulk. budget\_value is entered in the ad account currency (e.g. pass 20 for \$20) and converted to Pinterest microcurrency automatically; daily or lifetime follows the ad group's existing budget type. Not for ad groups in CBO campaigns. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_ad_group_budget` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to update ad group budgets in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group budget or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to update. Required for single update. | | `budget_value` | number | No | - | The new budget in the ad account's currency (for example 20 for \$20). Markifact converts it to Pinterest microcurrency automatically. Whether it acts as a daily or lifetime budget follows the ad group's existing budget type. Not applicable to ad groups in CBO campaigns, where the campaign generates budgets. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and budget\_value (in the ad account's currency). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group budget update. # Update Ad Group Status Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_ad_group_status Activate, pause, or archive Pinterest Ads ad groups, one at a time or in bulk Activate, pause, or archive Pinterest Ads ad groups, one at a time or in bulk. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to update ad groups in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Pinterest ad group ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad group status. Options: ACTIVE, PAUSED, or ARCHIVED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and status (ACTIVE, PAUSED, or ARCHIVED). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group status update. # Update Ad Status Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_ad_status Activate, pause, or archive Pinterest Ads ads, one at a time or in bulk Activate, pause, or archive Pinterest Ads ads, one at a time or in bulk. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_ad_status` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to update ads in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Pinterest ad ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad status. Options: ACTIVE, PAUSED, or ARCHIVED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and status (ACTIVE, PAUSED, or ARCHIVED). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad status update. # Update Audience Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_audience Updates a Pinterest Ads audience's name, description, or rule, or removes the users matched by a rule from it (operation_type REMOVE) Updates a Pinterest Ads audience's name, description, or rule, or removes the users matched by a rule from it (operation\_type REMOVE). Audience IDs come from pinterest\_ads\_list\_audiences. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_audience` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Pinterest audience ID to update. Find IDs with pinterest\_ads\_list\_audiences. | | `operation_type` | string or SelectableOption | No | `{'value': 'UPDATE', 'label': 'Update'}` | UPDATE (default) applies the provided name, description, or rule changes. REMOVE removes the users matched by rule from the audience, for example a customer list. | | `audience_name` | string | No | - | Optional new name for the audience. | | `description` | string | No | - | Optional new audience description. | | `rule` | object or string | No | - | Optional JSON rule object, sent to Pinterest as-is. Same shapes as pinterest\_ads\_create\_audience (customer\_list\_id, visitor\_source\_id, engagement\_domain, or seed\_id based rules). Required when operation\_type is REMOVE. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated audience ID, operation, and changed fields. **Fields**: `audience_id`, `operation_type`, `updated_fields`, `status` # Update Campaign Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_campaign Low-level operation to update Pinterest Ads campaigns with a raw PATCH payload; only the provided fields are changed Low-level operation to update Pinterest Ads campaigns with a raw PATCH payload; only the provided fields are changed. Use focused operations first when available, for example pinterest\_ads\_update\_campaign\_status or pinterest\_ads\_rename\_campaign. Use pinterest\_ads\_list\_campaigns first to inspect the current payload. Supports dry\_run to preview the final payload without calling Pinterest. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_campaign` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | Pinterest campaign ID to update. Markifact sends it as id; do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object, sent to Pinterest as-is in a PATCH request; only the fields you include are changed. Common fields: name, status (ACTIVE/PAUSED/ARCHIVED), start\_time and end\_time (Unix seconds), tracking\_urls, order\_line\_id, is\_flexible\_daily\_budgets, is\_automated\_campaign. Budget fields are raw Pinterest microcurrency integers: daily\_spend\_cap, lifetime\_spend\_cap, and default\_ad\_group\_budget\_in\_micro\_currency (multiply the currency amount by 1,000,000, so \$50 is 50000000). Draft campaigns only: objective\_type, is\_campaign\_budget\_optimization. Prefer pinterest\_ads\_update\_campaign\_status and pinterest\_ads\_rename\_campaign for plain status or name changes. Example: \{"daily\_spend\_cap": 50000000, "end\_time": 1798761600} | | `dry_run` | boolean | No | `False` | When true, do not call Pinterest. Return the resolved endpoint and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, updated\_fields, endpoint, final payload, and dry\_run status. **Fields**: `campaign_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Campaign Budget Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_campaign_budget Updates the daily or lifetime spending cap of Pinterest Ads campaigns, one at a time or in bulk Updates the daily or lifetime spending cap of Pinterest Ads campaigns, one at a time or in bulk. budget\_value is entered in the ad account currency (e.g. pass 100 for \$100) and converted to Pinterest microcurrency automatically. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to update campaign budgets in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign budget or multiple at once. Options: single or bulk. | | `budget_type` | string or SelectableOption | No | `{'value': 'daily', 'label': 'Daily'}` | Which campaign spending cap to set: daily or lifetime. Must match how the campaign budgets (a campaign cannot have both caps, and a lifetime cap requires the campaign to have an end time). Applies to all rows in bulk mode. Default: daily. | | `campaign_id` | string or SelectItem | No | - | Pinterest campaign ID to update. Required for single update. | | `budget_value` | number | No | - | The new spending cap in the ad account's currency (for example 100 for \$100). Markifact converts it to Pinterest microcurrency automatically. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and budget\_value (in the ad account's currency). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign budget update. # Update Campaign Status Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_campaign_status Activate, pause, or archive Pinterest Ads campaigns, one at a time or in bulk Activate, pause, or archive Pinterest Ads campaigns, one at a time or in bulk. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account to update campaigns in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Pinterest campaign ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New campaign status. Options: ACTIVE, PAUSED, or ARCHIVED. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and status (ACTIVE, PAUSED, or ARCHIVED). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Update Keywords Source: https://docs.markifact.com/nodes/pinterest_ads/pinterest_ads_update_keywords Archives or restores Pinterest Ads keywords by ID Archives or restores Pinterest Ads keywords by ID. Archiving a keyword effectively deletes it: it stops receiving metrics and disappears from the parent entity's keyword list. Keyword IDs come from pinterest\_ads\_list\_keywords or pinterest\_ads\_create\_keywords output. | | | | - | - | | **App** | Pinterest Ads | | **Operation ID** | `pinterest_ads_update_keywords` | | **Type** | Action | | **Connection** | `pinterest_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Pinterest Ads account that owns the keywords. | | `keywords` | array of object or string | Yes | - | Keyword updates as a JSON list matching the Pinterest keywords API. Each entry needs id (the keyword ID) and archived (true or false). Archiving a keyword effectively deletes it: it stops receiving metrics and disappears from the parent entity's keyword list; set archived to false to restore it. Keyword IDs come from pinterest\_ads\_create\_keywords output. Pinterest's bid field on keywords is deprecated and always ignored, so archived is the only updatable field. Up to 100 keywords per run. Example: \[\{"id": "383791336903426391", "archived": true}] | ## Output **Type**: `Dict` Returns updated Pinterest keyword IDs. **Fields**: `keyword_ids`, `updated_count` # Create Ad Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_ad Advanced: creates a Reddit Ads ad from an existing post ID: organic posts from reddit_ads_list_posts, posts made with reddit_ads_create_post, or catalog/product ads via shopping_creative Advanced: creates a Reddit Ads ad from an existing post ID: organic posts from reddit\_ads\_list\_posts, posts made with reddit\_ads\_create\_post, or catalog/product ads via shopping\_creative. For new image, video, carousel, or text ads prefer the dedicated reddit\_ads\_create\_\*\_ad operations, which create the post and ad together. Ads are created PAUSED by default. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_ad` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the ad group the ad belongs to. | | `ad_name` | string | Yes | - | The ad name, used on the dashboard and in reports. | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `post_id` | string or SelectItem | No | - | ID of the post used as the ad creative, from reddit\_ads\_create\_post or reddit\_ads\_list\_posts. Required for all ads except catalog sales product ads. | | `click_url` | string | No | - | The URL users are directed to when they click the ad. Not used for delivery when shopping\_creative is set. | | `click_url_query_parameters` | array of object or string | No | - | Optional query parameters appended to the click URL, as a JSON list of objects with name and value. Example: \[\{"name": "utm\_source", "value": "reddit"}] | | `event_trackers` | array of object or string | No | - | Optional third-party tracking URLs as a JSON list, sent as-is. Only URLs from Reddit's approved measurement providers are accepted. Example: \[\{"type": "IMPRESSION", "url": "`https://tracker.example.com/imp`"}] | | `profile_id` | string or SelectItem | No | - | ID of the ad post's author profile; required for catalog sales campaigns. | | `products` | array of object or string | No | - | Optional products associated with the ad (up to 6) as a JSON list using the official Reddit product object, sent as-is. For catalog sales ads. | | `shopping_creative` | object or string | No | - | Optional shopping creative object for catalog/product ads as JSON, sent as-is using the official Reddit field names. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad. **Fields**: `ad_id`, `ad_name`, `configured_status`, `effective_status`, `post_id`, `post_url` # Create Ad Group Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_ad_group Creates a Reddit Ads ad group in a campaign with budget, bidding, schedule, and targeting (geos, communities, interests, keywords, devices, custom audiences) Creates a Reddit Ads ad group in a campaign with budget, bidding, schedule, and targeting (geos, communities, interests, keywords, devices, custom audiences). For CBO campaigns leave budget and bidding unset to inherit from the campaign. Money amounts are in the account currency, not micros. Ad groups are created PAUSED by default and require a conversion pixel ID. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_ad_group` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | ID of the Reddit Ads campaign to create the ad group in. | | `ad_group_name` | string | Yes | - | Name of the ad group. | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad group status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `conversion_pixel_id` | string | Yes | - | Reddit Pixel ID used for measurement, for example 't2\_123456'. Reddit requires this for all ad groups. | | `goal_type` | string or SelectableOption | No | - | Budget goal type. Options: 'DAILY\_SPEND', 'LIFETIME\_SPEND'. Leave unset for campaigns with campaign budget optimization (CBO) to inherit the campaign's setting. | | `goal_value` | number | No | - | Ad group budget in the account currency (converted to microcurrency automatically), daily or lifetime per goal\_type. Leave unset for CBO campaigns; the campaign manages the budget. | | `bid_strategy` | string or SelectableOption | No | - | Bid strategy. Options: 'BIDLESS', 'MANUAL\_BIDDING', 'MAXIMIZE\_VOLUME', 'TARGET\_CPX'. In the Reddit Ads UI, 'BIDLESS' is called Lowest Cost and 'MAXIMIZE\_VOLUME' is called Cost Cap. For CBO campaigns leave unset to inherit the campaign's strategy. From 2027-02-10 Reddit no longer accepts MAXIMIZE\_VOLUME (Cost Cap) for the CONVERSIONS, SALES, LEAD\_GENERATION, APP\_INSTALLS and CATALOG\_SALES objectives; use TARGET\_CPX where the account is eligible, otherwise BIDLESS. | | `bid_type` | string or SelectableOption | No | - | Bid type, which must fit the optimization goal and campaign objective. Options: 'CPC', 'CPM', 'CPV', 'CPV6'. For CBO campaigns leave unset to inherit the campaign's bid type. | | `bid_value` | number | No | - | Amount to pay per bidding event in the account currency (converted to microcurrency automatically). Reddit requires between 3.50 and 100 USD when bid\_type is CPM. | | `optimization_goal` | string or SelectableOption | No | - | The event to optimize for; cannot be changed later. Must match the campaign's optimization goal for CBO campaigns, and can be left unset for conversions or app installs objectives to default from the campaign. Common values: 'PURCHASE', 'SIGN\_UP', 'LEAD', 'PAGE\_VISIT', 'VIDEO\_VIEW\_6S'. | | `start_time` | string | No | - | When the ad group starts delivering, as ISO 8601 (for example 2026-08-01T00:00:00Z) or YYYY-MM-DD. When unset, delivery starts immediately (defaults to the current time). For ad groups in a campaign with a future start time, it must match or be later than the campaign start time. | | `end_time` | string | No | - | When the ad group stops delivering (ISO 8601 or YYYY-MM-DD). When unset, the ad group runs continuously. For CBO campaigns it must match or be earlier than the campaign's end time. | | `targeting` | object or string | No | - | Official Reddit Ads v3 ad group targeting object as JSON, sent as-is. Supported keys: geolocations / excluded\_geolocations (geolocation IDs), communities / excluded\_communities (subreddit names), interests, keywords / excluded\_keywords, custom\_audience\_ids / excluded\_custom\_audience\_ids, devices (objects with type DESKTOP or MOBILE, os ANDROID or IOS, min\_version, max\_version), platforms (ALL, DESKTOP, MOBILE\_NATIVE, MOBILE\_WEB), locations (FEED, COMMENTS\_PAGE), carriers, languages (ISO 639-1 codes), gender (FEMALE or MALE), view\_modes, and expand\_targeting (boolean). Example: \{"geolocations": \["US", "CA"], "communities": \["technology", "programming"], "platforms": \["MOBILE\_NATIVE"], "expand\_targeting": true}. For APP\_INSTALLS campaigns exactly one device must be targeted and at least one mobile platform included. | | `schedule` | array of object or string | No | - | Optional recurring weekly delivery windows as a JSON list, sent as-is. Each window has start\_day, start\_hour, end\_day, end\_hour with days 0 (Sunday) to 6 (Saturday) and hours 0-23 in the ad group timezone. Example: \[\{"start\_day": 1, "start\_hour": 9, "end\_day": 1, "end\_hour": 17}] | | `shopping_type` | string or SelectableOption | No | - | For shopping ads: the type of ads the ad group contains. Options: 'DYNAMIC', 'STATIC'. | | `shopping_targeting` | object or string | No | - | Official Reddit Ads v3 shopping targeting object as JSON for dynamic product ads, sent as-is. Keys: targeting\_type (PROSPECTING or RETARGETING), conversion\_event\_types / excluded\_conversion\_event\_types (ADD\_TO\_CART, ADD\_TO\_WISHLIST, PURCHASE, SEARCH, VIEW\_CONTENT), lookback\_window\_days. Example: \{"targeting\_type": "RETARGETING", "conversion\_event\_types": \["ADD\_TO\_CART"], "lookback\_window\_days": 30} | | `product_set_id` | string | No | - | Product set ID; required for CATALOG\_SALES ads to select products for dynamic ads or link a catalog for static ads. | | `saved_audience_id` | string | No | - | Optional saved audience ID to apply to the ad group. | | `app_id` | string | No | - | Apple App Store or Google Play app ID for APP\_INSTALLS campaigns. | | `optimization_strategy_type` | string or SelectableOption | No | - | Optional optimization strategy type. Options: 'DOWNSTREAM\_CONVERSIONS', 'APP\_INSTALLS'. | | `view_through_conversion_type` | string or SelectableOption | No | - | Conversion attribution window. Options: 'SEVEN\_DAY\_CLICKS', 'SEVEN\_DAY\_CLICKS\_ONE\_DAY\_VIEW'. Must be SEVEN\_DAY\_CLICKS\_ONE\_DAY\_VIEW for CATALOG\_SALES campaigns with the PURCHASE optimization goal; for CBO campaigns it must match the campaign's setting. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad group. **Fields**: `ad_group_id`, `ad_group_name`, `configured_status`, `effective_status`, `campaign_id` # Create Campaign Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_campaign Creates a Reddit Ads campaign with an objective, optional campaign budget optimization (budget, bidding, schedule, and pixel at the campaign level), or ad-group-level budgeting when CBO is off Creates a Reddit Ads campaign with an objective, optional campaign budget optimization (budget, bidding, schedule, and pixel at the campaign level), or ad-group-level budgeting when CBO is off. Money amounts are in the account currency, not micros. Campaigns are created PAUSED by default. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_campaign` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to create the campaign in. | | `campaign_name` | string | Yes | - | Name of the campaign (3-500 characters). | | `objective` | string or SelectableOption | Yes | - | The campaign objective. Options: 'APP\_INSTALLS', 'BRAND\_AWARENESS', 'CATALOG\_SALES', 'CLICKS', 'CONVERSIONS', 'IMPRESSIONS', 'LEAD\_GENERATION', 'SALES', 'VIDEO\_VIEWABLE\_IMPRESSIONS'. | | `status` | string or SelectableOption | No | `PAUSED` | Initial campaign status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `special_ad_category` | string or SelectableOption | No | - | Special ad category the campaign falls under; cannot be changed after publishing. Options: 'NONE', 'HOUSING\_EMPLOYMENT\_CREDIT'. | | `funding_instrument_id` | string | No | - | Optional campaign-level funding instrument ID. | | `app_id` | string | No | - | Apple App Store or Google Play app ID for APP\_INSTALLS campaigns, for example '1064216828' or 'com.reddit.frontpage'. | | `use_catalog` | boolean | No | - | Whether the campaign uses a product catalog. Only for SALES campaigns; when true, every ad group in the campaign must use a catalog. | | `invoice_label` | string | No | - | Free-form label for invoice tracking (max 80 characters). Only applies to campaigns not funded by a credit card. | | `spend_cap` | number | No | - | Campaign lifetime spend cap in the account currency (converted to microcurrency automatically). Available for non-CBO campaigns and for CBO campaigns with goal\_type DAILY\_SPEND. | | `is_campaign_budget_optimization` | boolean | No | `False` | Enable campaign budget optimization (CBO): budget, bidding, and schedule are managed at the campaign level. Cannot be changed after publishing. When false, budgets and bids are set on ad groups instead. | | `goal_type` | string or SelectableOption | No | - | CBO budget goal type; cannot be changed after publishing. Options: 'LIFETIME\_SPEND', 'DAILY\_SPEND'. Required when CBO is enabled. | | `goal_value` | number | No | - | CBO budget amount in the account currency (converted to microcurrency automatically). Lifetime or daily depending on goal\_type. | | `bid_strategy` | string or SelectableOption | No | - | CBO bid strategy. Options: 'BIDLESS', 'MAXIMIZE\_VOLUME', 'TARGET\_CPX'. In the Reddit Ads UI, 'BIDLESS' is called Lowest Cost and 'MAXIMIZE\_VOLUME' is called Cost Cap. Required when CBO is enabled. From 2027-02-10 Reddit no longer accepts MAXIMIZE\_VOLUME (Cost Cap) for the CONVERSIONS, SALES, LEAD\_GENERATION, APP\_INSTALLS and CATALOG\_SALES objectives; use TARGET\_CPX where the account is eligible, otherwise BIDLESS. | | `bid_type` | string or SelectableOption | No | - | CBO bid type. Options: 'CPC', 'CPM', 'CPV6'. Required when CBO is enabled. | | `bid_value` | number | No | - | Amount to pay per bidding event in the account currency (converted to microcurrency automatically). Optional when bid\_strategy is MAXIMIZE\_VOLUME; if set here it cannot also be set on ad groups. | | `optimization_goal` | string or SelectableOption | No | - | Conversion or video event to optimize for; required for CBO conversions and video views campaigns and cannot be changed later. Common values: 'PURCHASE', 'SIGN\_UP', 'LEAD', 'PAGE\_VISIT', 'VIDEO\_VIEW\_6S', 'MOBILE\_CONVERSION\_INSTALL'. | | `conversion_pixel_id` | string | No | - | Reddit Pixel ID used for measurement and optimization, for example 't2\_123456'. Required for all CBO campaigns; cannot be changed after publishing. | | `view_through_conversion_type` | string or SelectableOption | No | - | CBO conversion attribution window; cannot be changed after publishing. Options: 'SEVEN\_DAY\_CLICKS', 'SEVEN\_DAY\_CLICKS\_ONE\_DAY\_VIEW'. | | `start_time` | string | No | - | When the campaign starts delivering, as ISO 8601 (for example 2026-08-01T00:00:00Z) or YYYY-MM-DD. Required when CBO is enabled. | | `end_time` | string | No | - | When the campaign stops delivering (ISO 8601 or YYYY-MM-DD). Required when goal\_type is LIFETIME\_SPEND. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created campaign. **Fields**: `campaign_id`, `campaign_name`, `configured_status`, `effective_status`, `objective` # Create Carousel Ad Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_carousel_ad Creates a complete Reddit carousel ad in one operation: the ad post (creative) and the ad itself in an ad group Creates a complete Reddit carousel ad in one operation: the ad post (creative) and the ad itself in an ad group. Takes up to 6 cards with media, captions, and destination links, plus optional body text. Ads are created PAUSED by default. Find profile IDs with reddit\_ads\_list\_profiles. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_carousel_ad` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the ad group the ad belongs to. | | `profile_id` | string or SelectItem | Yes | - | ID of the profile that authors the ad post. Find profile IDs with reddit\_ads\_list\_profiles. | | `ad_name` | string | Yes | - | The ad name, used on the dashboard and in reports. | | `headline` | string | Yes | - | The post's title shown to users. | | `body` | string | No | - | Optional body text (primary text) shown with the post, plain text. | | `carousel_cards` | array of object or string | Yes | - | Up to 6 cards as a JSON list. Each card takes media\_url and destination\_url (both required), caption (max 180 characters), display\_url, and call\_to\_action. Example: \[\{"media\_url": "`https://example.com/1.jpg`", "caption": "First slide", "destination\_url": "`https://example.com`"}, \{"media\_url": "`https://example.com/2.jpg`", "destination\_url": "`https://example.com/page2`"}] | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `allow_comments` | boolean | No | - | Whether comments are allowed on the ad post. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad and post. **Fields**: `ad_id`, `ad_name`, `configured_status`, `post_id`, `post_url` # Create Custom Audience Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_custom_audience Creates a Reddit Ads customer list custom audience Creates a Reddit Ads customer list custom audience. Add users with reddit\_ads\_update\_custom\_audience\_users; the audience becomes targetable once it matches at least 1,000 users. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_custom_audience` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to create the audience in. | | `name` | string | Yes | - | Display name for the custom audience. | ## Output **Type**: `Dict` Returns the created audience. **Fields**: `audience_id`, `audience_name`, `status` # Create Post Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_post Advanced: creates a Reddit ad post (the creative only, no ad) from a raw structured post payload Advanced: creates a Reddit ad post (the creative only, no ad) from a raw structured post payload. Prefer the dedicated operations (reddit\_ads\_create\_single\_image\_ad, reddit\_ads\_create\_video\_ad, reddit\_ads\_create\_carousel\_ad, reddit\_ads\_create\_text\_ad) which create the post and ad together. Pair with reddit\_ads\_create\_ad. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_post` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `profile_id` | string or SelectItem | Yes | - | ID of the profile that will author the post. Find profile IDs with reddit\_ads\_list\_profiles. | | `post_payload` | object or string | Yes | - | Official Reddit Ads structured post object as JSON, sent as-is: creative (required) and optional allow\_comments. creative.type is IMAGE, VIDEO, CAROUSEL, TEXT, or PROMOTED\_POST. Image, video and carousel creatives take an optional body (primary text). Media is \{"media": \{"type": "URL", "url": "\"}}; destinations are \{"type": "URL", "url": ..., "display\_url": ..., "call\_to\_action": ...}. Example: \{"creative": \{"type": "IMAGE", "headline": "Run Google Ads with AI", "body": "Connect your ad accounts and manage campaigns in chat.", "image": \{"media": \{"type": "URL", "url": "`https://example.com/ad.png`"}}, "destination": \{"type": "URL", "url": "`https://www.markifact.com`", "call\_to\_action": "Learn More"}}} | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created structured post. **Fields**: `post_id`, `post_url`, `post_type`, `headline` # Create Single Image Ad Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_single_image_ad Creates a complete Reddit single image ad in one operation: the ad post (creative) and the ad itself in an ad group Creates a complete Reddit single image ad in one operation: the ad post (creative) and the ad itself in an ad group. Takes an image URL, headline, optional body text, destination link, and call to action. Ads are created PAUSED by default. Find profile IDs with reddit\_ads\_list\_profiles. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_single_image_ad` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the ad group the ad belongs to. | | `profile_id` | string or SelectItem | Yes | - | ID of the profile that authors the ad post. Find profile IDs with reddit\_ads\_list\_profiles. | | `ad_name` | string | Yes | - | The ad name, used on the dashboard and in reports. | | `headline` | string | Yes | - | The post's title shown to users. | | `body` | string | No | - | Optional body text (primary text) shown with the post, plain text. | | `image_url` | string | Yes | - | Publicly reachable image URL; Reddit downloads the file. Private Markifact file URLs are resolved automatically. | | `destination_url` | string | Yes | - | The URL users are taken to when they click the ad. | | `display_url` | string | No | - | Optional URL shown instead of the destination URL; must match the destination URL domain. | | `call_to_action` | string or SelectableOption | No | - | Optional call to action button text, for example 'Shop Now', 'Learn More', 'Sign Up'. | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `allow_comments` | boolean | No | - | Whether comments are allowed on the ad post. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad and post. **Fields**: `ad_id`, `ad_name`, `configured_status`, `post_id`, `post_url` # Create Text Ad Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_text_ad Creates a complete Reddit text ad in one operation: the ad post (creative) and the ad itself in an ad group Creates a complete Reddit text ad in one operation: the ad post (creative) and the ad itself in an ad group. Takes a headline and body text; text ads carry no link or call to action. Ads are created PAUSED by default. Find profile IDs with reddit\_ads\_list\_profiles. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_text_ad` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the ad group the ad belongs to. | | `profile_id` | string or SelectItem | Yes | - | ID of the profile that authors the ad post. Find profile IDs with reddit\_ads\_list\_profiles. | | `ad_name` | string | Yes | - | The ad name, used on the dashboard and in reports. | | `headline` | string | Yes | - | The post's title shown to users. | | `body` | string | Yes | - | The text content of the post. Text ads have no destination link or call to action. | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `allow_comments` | boolean | No | - | Whether comments are allowed on the ad post. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad and post. **Fields**: `ad_id`, `ad_name`, `configured_status`, `post_id`, `post_url` # Create Video Ad Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_create_video_ad Creates a complete Reddit video ad in one operation: the ad post (creative) and the ad itself in an ad group Creates a complete Reddit video ad in one operation: the ad post (creative) and the ad itself in an ad group. Takes a video URL, thumbnail, headline, optional body text, destination link, and call to action. Ads are created PAUSED by default. Find profile IDs with reddit\_ads\_list\_profiles. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_create_video_ad` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the ad group the ad belongs to. | | `profile_id` | string or SelectItem | Yes | - | ID of the profile that authors the ad post. Find profile IDs with reddit\_ads\_list\_profiles. | | `ad_name` | string | Yes | - | The ad name, used on the dashboard and in reports. | | `headline` | string | Yes | - | The post's title shown to users. | | `body` | string | No | - | Optional body text (primary text) shown with the post, plain text. | | `video_url` | string | Yes | - | Publicly reachable video URL; Reddit downloads the file. Private Markifact file URLs are resolved automatically. | | `thumbnail_url` | string | Yes | - | Thumbnail image URL; required for video posts. | | `destination_url` | string | No | - | The URL users are taken to when they click the ad. | | `display_url` | string | No | - | Optional URL shown instead of the destination URL; must match the destination URL domain. | | `call_to_action` | string or SelectableOption | No | - | Optional call to action button text, for example 'Watch Now', 'Learn More', 'Install'. | | `status` | string or SelectableOption | No | `PAUSED` | Initial ad status. Options: 'ACTIVE', 'PAUSED'. Default: 'PAUSED'. | | `allow_comments` | boolean | No | - | Whether comments are allowed on the ad post. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad and post. **Fields**: `ad_id`, `ad_name`, `configured_status`, `post_id`, `post_url` # Custom Reddit Ads App Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_custom_app Connect Reddit Ads through your own Reddit app (white-label) by pasting your app ID, app secret, and a permanent refresh token. Markifact supports two ways to connect Reddit Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Reddit app** (Custom App). With a custom app, every request Markifact makes to the Reddit Ads API runs under your app, so your clients never see Markifact in their authorized apps. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 15-20 minutes, plus Reddit's Ads API access approval | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Three values from your own Reddit app: | Value | Where it comes from | | :- | :- | | **App ID** | The client ID shown under your app at [reddit.com/prefs/apps](https://www.reddit.com/prefs/apps) | | **App Secret** | The same app | | **Refresh Token** | Minted against that app with `duration=permanent`, by the Reddit user who is a member of the business that owns the ad accounts | Reddit access tokens last one hour; Markifact refreshes them with your app ID and secret on every run. Permanent refresh tokens stay valid until the user revokes the app. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a permanent refresh token issued by your app with the scopes below, skip to [Connect to Markifact](#connect-to-markifact). ### Scopes Request all of these when the user authorizes: `adsread`, `adsedit`, `adsconversions`, `adsdatadeletion`, `history`, `read`, `identity`. Missing scopes surface later as Reddit permission errors on the node. *** ## Setting Up Your Custom Reddit Ads App **1. Create the App** 1. Sign in to Reddit with the account that will own the app and open [reddit.com/prefs/apps](https://www.reddit.com/prefs/apps) 2. Click **create another app**, choose **web app**, and enter the name and description. This is the branding users see when they authorize 3. Under **redirect uri**, enter a URL you control (for example `https://www.youragency.com/reddit-callback`). Reddit appends the auth code to this URL after authorization; the page does not need to do anything 4. Click **create app** and copy the **client ID** (the string under the app name) and the **secret** **2. Request Reddit Ads API Access** The Ads API is not open to every app. Apply for Reddit Ads API access for your app and wait for Reddit's approval. Agencies that already run their own integrations will have this in place; until it is approved, the ads scopes return authorization errors. **3. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the client ID and redirect URI: ```bash theme={"dark"} https://www.reddit.com/api/v1/authorize?client_id=YOUR_APP_ID&response_type=code&state=markifact&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Freddit-callback&duration=permanent&scope=adsread%20adsedit%20adsconversions%20adsdatadeletion%20history%20read%20identity ``` 2. Sign in as the Reddit user who belongs to the business that owns the ad accounts and click **Allow** 3. Reddit redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire quickly and can be exchanged once, so do the next step right away **4. Exchange the Auth Code for a Refresh Token** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://www.reddit.com/api/v1/access_token" \ -u "YOUR_APP_ID:YOUR_APP_SECRET" \ -A "youragency/1.0" \ -d "grant_type=authorization_code" \ -d "code=THE_AUTH_CODE" \ -d "redirect_uri=https://www.youragency.com/reddit-callback" ``` The response contains `refresh_token`. Copy it. (Reddit rejects requests without a `User-Agent`, which is what `-A` sets.) > **Important:** Keep this token secure. Anyone holding it, together with your app ID and secret, can act on every ad account the user can reach. **5. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **Reddit Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency Reddit Ads") 5. Paste your **App ID**, **App Secret**, and **Refresh Token** 6. Click **Verify & Connect** Markifact refreshes the token once with your app, then makes one call that lists the businesses the user belongs to. Nothing is saved unless both succeed. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in Reddit Ads nodes, agents, and MCP exactly like any other Reddit Ads connection. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Reddit rejected the app ID or app secret (401 Unauthorized) > > Check both values under your app at reddit.com/prefs/apps. The app ID is the short string under the app name, not the app name itself. > [accordion] Reddit rejected the refresh token (invalid\_grant) > > The token was issued by a different app, was minted without `duration=permanent` (so it expired after an hour), or the user revoked the app under Reddit **User Settings** > **Privacy** > **Authorized applications**. Authorize again and paste the new refresh token. > [accordion] Reddit Ads API refused access (FORBIDDEN) > > Either the token is missing the ads scopes, or your app has not been granted Reddit Ads API access yet. Check both, then authorize again. > [accordion] This Reddit user belongs to no business > > The user who authorized is not a member of any Reddit Ads business. Add them under **Business settings** > **Members** in Reddit Ads, then authorize again. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **App ID** | reddit.com/prefs/apps, under the app name | `Ab1cD2eF3gH4iJ` | | **App Secret** | Same app, "secret" | `k5L6mN7oP8...` | | **Refresh Token** | Response of the auth code exchange | `123456789-AbCdEf...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/reddit_ads/reddit_ads_get_report) > > Pull Reddit Ads performance data # Delete Custom Audience Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_delete_custom_audience Permanently deletes a Reddit Ads custom audience; this cannot be undone Permanently deletes a Reddit Ads custom audience; this cannot be undone. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_delete_custom_audience` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | ID of the custom audience to delete permanently. Deletion cannot be undone. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns success message confirming deletion. # Forecast Audience Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_forecast_audience Estimates Reddit audience size and weekly delivery (impressions, clicks, conversions, reach) for a planned ad group's objective, budget, bidding and targeting before launching Estimates Reddit audience size and weekly delivery (impressions, clicks, conversions, reach) for a planned ad group's objective, budget, bidding and targeting before launching. Read-only; creates nothing. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_forecast_audience` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to forecast for. | | `objective` | enum (`APP_INSTALLS`, `BRAND_AWARENESS`, `CATALOG_SALES`, `CLICKS`, `CONVERSIONS`, `IMPRESSIONS`, `LEAD_GENERATION`, `SALES`, ...) | Yes | - | Campaign objective to forecast, e.g. LEAD\_GENERATION. | | `goal_value` | number | Yes | - | Ad group budget in the account currency (converted to microcurrency automatically), daily or lifetime per goal\_type. | | `goal_type` | enum (`DAILY_SPEND`, `LIFETIME_SPEND`) | No | - | Budget type. Default: DAILY\_SPEND. | | `bid_strategy` | string | Yes | - | BIDLESS (Lowest Cost), MANUAL\_BIDDING, MAXIMIZE\_VOLUME (Cost Cap) or TARGET\_CPX. From 2027-02-10 Reddit no longer accepts MAXIMIZE\_VOLUME for the CONVERSIONS, SALES, LEAD\_GENERATION, APP\_INSTALLS and CATALOG\_SALES objectives. | | `bid_type` | string | Yes | - | CPC, CPM, CPV, CPV6 or CPV15, matching the objective (e.g. LEAD\_GENERATION accepts CPC or CPM). | | `bid_value` | number | No | - | Bid in the account currency (converted to microcurrency automatically). | | `optimization_goal` | string | No | - | Event to optimize for, e.g. LEAD, PURCHASE, SIGN\_UP, PAGE\_VISIT. | | `start_time` | string | No | - | Planned start, ISO 8601 or YYYY-MM-DD. | | `end_time` | string | No | - | Planned end, ISO 8601 or YYYY-MM-DD. | | `targeting` | object or string | No | - | Reddit Ads v3 ad group targeting object, sent as-is (same as reddit\_ads\_create\_ad\_group). Example: \{"geolocations": \["NZ"], "communities": \["newzealand", "auckland"], "platforms": \["MOBILE\_NATIVE"], "expand\_targeting": true}. | ## Output **Type**: `Dict` Returns target\_audience\_range (min/max people over 30 days) and delivery\_estimates (weekly min/max impressions, clicks, video\_views, conversions, reach, installs). **Fields**: `target_audience_range`, `delivery_estimates` # Get Account Details Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_get_account_details Get Reddit Ads account details, including approval status, suspension reason, currency, business and attribution settings Get Reddit Ads account details, including approval status, suspension reason, currency, business and attribution settings. Helps investigate advertiser eligibility; account details alone may not explain every funding or delivery issue. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_get_account_details` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The Reddit Ads account to read details for. | ## Output **Type**: `Dict` Returns the full native Reddit ad account object, including admin\_approval, suspension\_reason, currency, business\_id, time\_zone\_id and attribution settings when supplied by Reddit. Missing fields do not establish an account restriction. **Fields**: dynamic (depend on the inputs) # Get Account History Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_get_account_history Retrieves the change history (audit log) of a Reddit Ads account: who changed campaigns, ad groups, ads, budgets, bids, statuses, targeting, and audiences, filterable by time window and change type Retrieves the change history (audit log) of a Reddit Ads account: who changed campaigns, ad groups, ads, budgets, bids, statuses, targeting, and audiences, filterable by time window and change type. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_get_account_history` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to get change history for. | | `start_time` | string | No | - | Start of the time window as ISO 8601 (for example 2026-07-01T00:00:00Z) or YYYY-MM-DD. | | `end_time` | string | No | - | End of the time window (ISO 8601 or YYYY-MM-DD). | | `change_types` | string | No | - | Optional comma-separated change types to filter by. Options: 'CAMPAIGN', 'AD\_GROUP', 'AD', 'BUDGET', 'BID', 'STATUS', 'TARGETING', 'AUDIENCE', 'AD\_ACCOUNT'. | | `limit` | integer | No | `500` | Maximum number of change records to return. Default: 500. | ## Output **Type**: `List[Dict]` Returns the change records. **Fields**: dynamic (depend on the inputs) # Get Pixel Last Fired At Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_get_pixel_last_fired_at Checks when a Reddit Pixel last fired, for verifying that pixel or conversion event tracking is alive Checks when a Reddit Pixel last fired, for verifying that pixel or conversion event tracking is alive. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_get_pixel_last_fired_at` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pixel_id` | string or SelectItem | Yes | - | ID of the Reddit Pixel to check. Find pixel IDs with reddit\_ads\_list\_pixels. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the pixel last-fired timestamps. # Get Report Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_get_report Retrieves Reddit Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Reddit Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including Campaigns, Ad Groups, and Ads. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_get_report` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Brand Awareness", "clicks": 500, "impressions": 25000, "spend": 200.0 } ] ``` # List Ad Groups Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_ad_groups Lists Reddit Ads ad groups with full details, optionally filtered by campaign Lists Reddit Ads ad groups with full details, optionally filtered by campaign. Money values are returned in raw microcurrency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list ad groups for. | | `campaign_id` | string or SelectItem | No | - | Optionally filter to ad groups of a single campaign ID. | | `search_query` | string | No | - | Optional text filter applied to ad groups names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of ad groups to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the list of ad groups. **Fields**: dynamic (depend on the inputs) # List Ads Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_ads Lists Reddit Ads ads with full details, filterable by campaign, ad group, and status Lists Reddit Ads ads with full details, filterable by campaign, ad group, and status. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_ads` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list ads for. | | `campaign_id` | string or SelectItem | No | - | Optionally filter to ads of a single campaign ID. | | `ad_group_id` | string or SelectItem | No | - | Optionally filter to ads of a single ad group ID. | | `statuses` | string | No | - | Optional comma-separated configured statuses to filter by. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED'. | | `search_query` | string | No | - | Optional text filter applied to ads names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of ads to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the list of ads. **Fields**: dynamic (depend on the inputs) # List Campaigns Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_campaigns Lists Reddit Ads campaigns with full details including objective, status, budget, and schedule Lists Reddit Ads campaigns with full details including objective, status, budget, and schedule. Money values are returned in raw microcurrency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_campaigns` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list campaigns for. | | `search_query` | string | No | - | Optional text filter applied to campaigns names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of campaigns. **Fields**: dynamic (depend on the inputs) # List Custom Audiences Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_custom_audiences Lists Reddit Ads custom audiences with match status and estimated sizes Lists Reddit Ads custom audiences with match status and estimated sizes. Use the returned IDs in custom\_audience\_ids of reddit\_ads\_create\_ad\_group targeting or in the audience user operations. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_custom_audiences` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list custom audiences for. | | `search_query` | string | No | - | Optional filter by custom audience name. | | `limit` | integer | No | `100` | Maximum number of audiences to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of custom audiences. **Fields**: dynamic (depend on the inputs) # List Funding Instruments Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_funding_instruments Lists Reddit Ads funding instruments (payment sources) for an account, filterable by status Lists Reddit Ads funding instruments (payment sources) for an account, filterable by status. Use the returned IDs as funding\_instrument\_id in reddit\_ads\_create\_campaign. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_funding_instruments` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list funding instruments for. | | `mode` | string or SelectableOption | No | - | Optional status filter. Options: 'SELECTABLE' (default: active now or starting within 30 days), 'ACTIVE', 'INACTIVE', 'UPCOMING', 'ALL'. | | `search_query` | string | No | - | Optional search text applied server-side. | | `limit` | integer | No | `100` | Maximum number of funding instruments to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of funding instruments. **Fields**: dynamic (depend on the inputs) # List Geolocations Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_geolocations Lists Reddit Ads geolocations filterable by country, city, or postal code Lists Reddit Ads geolocations filterable by country, city, or postal code. Use the returned IDs in the geolocations key of reddit\_ads\_create\_ad\_group targeting. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_geolocations` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `country` | string | No | - | Filter by country code (ISO 3166-1 alpha-2), for example 'US' or 'GB'. Only targetable locations are returned: if a country returns just its own row (for example NZ), Reddit offers no region, city or postcode targeting there. | | `city_search` | string | No | - | Filter by city name (substring match). Together with country, a city Reddit cannot target returns only that country's row, which means the city is not targetable, not that it maps to the country. | | `postal_code` | string | No | - | Filter by postal code (substring match). | | `limit` | integer | No | `100` | Maximum number of results to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns matching geolocations. **Fields**: dynamic (depend on the inputs) # List Interests Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_interests Lists the Reddit Ads interest taxonomy Lists the Reddit Ads interest taxonomy. Use the returned IDs in the interests key of reddit\_ads\_create\_ad\_group targeting. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_interests` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search_query` | string | No | - | Optional text filter applied to interest names (case-insensitive substring match). | | `limit` | integer | No | `1000` | Maximum number of results to return. Default: 1000. | ## Output **Type**: `List[Dict]` Returns the interest taxonomy. **Fields**: dynamic (depend on the inputs) # List Lead Forms Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_lead_forms Lists the native Reddit lead generation forms in a Reddit Ads account, with their prompt, privacy link and questions Lists the native Reddit lead generation forms in a Reddit Ads account, with their prompt, privacy link and questions. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_lead_forms` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list lead generation forms for. | | `search_query` | string | No | - | Optional text filter on form names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of forms to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns forms with id, name, prompt, privacy\_link, questions (type and required), created\_at and modified\_at. **Fields**: dynamic (depend on the inputs) # List Pixels Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_pixels Lists Reddit Ads pixels for an account Lists Reddit Ads pixels for an account. Use the returned pixel IDs as conversion\_pixel\_id in reddit\_ads\_create\_campaign and reddit\_ads\_create\_ad\_group (required for all ad groups and CBO campaigns). | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_pixels` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list pixels for. | | `search_query` | string | No | - | Optional text filter applied to pixels names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of pixels to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of pixels. **Fields**: dynamic (depend on the inputs) # List Posts Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_posts Lists posts under a Reddit profile, filterable by type and by source (organic or promoted) Lists posts under a Reddit profile, filterable by type and by source (organic or promoted). Use a returned post ID in reddit\_ads\_create\_ad to promote an existing post as an ad. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_posts` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account. | | `profile_id` | string or SelectItem | Yes | - | ID of the profile whose posts to list. Find profile IDs with reddit\_ads\_list\_profiles. | | `post_type` | string or SelectableOption | No | - | Optional filter by post type. Options: 'CAROUSEL', 'IMAGE', 'TEXT', 'VIDEO'. | | `source` | string or SelectableOption | No | - | Optional filter by post source. Options: 'ORGANIC' (regular Reddit posts), 'PROMOTED' (ad posts). | | `limit` | integer | No | `100` | Maximum number of posts to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of posts. **Fields**: dynamic (depend on the inputs) # List Product Catalogs Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_product_catalogs Lists Reddit Ads product catalogs across the user's businesses (or one business) Lists Reddit Ads product catalogs across the user's businesses (or one business). Catalog product sets are used by CATALOG\_SALES campaigns via product\_set\_id in reddit\_ads\_create\_ad\_group. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_product_catalogs` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `business_id` | string | No | - | Optional business ID to list catalogs for. When empty, all businesses the user can access are checked and their catalogs combined. | | `limit` | integer | No | `100` | Maximum number of catalogs to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of product catalogs. **Fields**: dynamic (depend on the inputs) # List Profiles Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_profiles Lists Reddit Ads profiles for an account Lists Reddit Ads profiles for an account. Posts (ad creatives) are authored under a profile; use the returned profile IDs in reddit\_ads\_create\_post and reddit\_ads\_list\_posts. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_profiles` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list profiles for. | | `search_query` | string | No | - | Optional text filter applied to profile names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of profiles to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of profiles. **Fields**: dynamic (depend on the inputs) # List Report Fields Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_report_fields Search and browse available Reddit Ads reporting metrics and dimensions before running reports Search and browse available Reddit Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|clicks).*'}]. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # List Saved Audiences Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_list_saved_audiences Lists Reddit Ads saved audiences (reusable targeting bundles) Lists Reddit Ads saved audiences (reusable targeting bundles). Use the returned IDs as saved\_audience\_id in reddit\_ads\_create\_ad\_group. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_list_saved_audiences` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account to list saved audiences for. | | `search_query` | string | No | - | Optional text filter applied to saved audience names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of saved audiences to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the list of saved audiences. **Fields**: dynamic (depend on the inputs) # Post Conversion Events Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_post_conversion_events Sends server-side conversion events to a Reddit Pixel (Reddit's Conversions API) for attribution and optimization, with optional test mode Sends server-side conversion events to a Reddit Pixel (Reddit's Conversions API) for attribution and optimization, with optional test mode. Find pixel IDs with reddit\_ads\_list\_pixels. Requires reconnecting the Reddit account to grant the adsconversions scope. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_post_conversion_events` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pixel_id` | string or SelectItem | Yes | - | ID of the Reddit Pixel to post the conversion events to. Find pixel IDs with reddit\_ads\_list\_pixels. | | `events` | array of object or string | Yes | - | Official Reddit Ads v3 conversion event objects as a JSON list, sent as-is. Each event requires event\_at (Unix epoch milliseconds), action\_source (WEBSITE, APP, OTHER, or PHYSICAL\_STORE), and type with tracking\_type (PAGE\_VISIT, VIEW\_CONTENT, SEARCH, ADD\_TO\_CART, ADD\_TO\_WISHLIST, PURCHASE, LEAD, SIGN\_UP, or CUSTOM with custom\_event\_name). Optional: click\_id (recommended for attribution), event\_source\_url, metadata (conversion\_id for deduplication, currency, value, item\_count, products), and user match keys (email, phone\_number, external\_id, ip\_address, user\_agent, aaid, idfa, uuid). Example: \[\{"event\_at": 1753900000000, "action\_source": "WEBSITE", "type": \{"tracking\_type": "PURCHASE"}, "metadata": \{"conversion\_id": "order-123", "currency": "USD", "value": 49.99}, "user": \{"email": "[user@example.com](mailto:user@example.com)", "ip\_address": "203.0.113.7"}}] | | `test_id` | string | No | - | Optional test ID from the Reddit Events Manager testing tool; when set, events are treated as test events. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the accepted event count. **Fields**: `pixel_id`, `event_count`, `test_mode` # Search Communities Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_search_communities Searches targetable Reddit communities (subreddits) by name or topic, returning names with subscriber counts and categories Searches targetable Reddit communities (subreddits) by name or topic, returning names with subscriber counts and categories. Use the returned names in the communities key of reddit\_ads\_create\_ad\_group targeting. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_search_communities` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search_query` | string | No | - | Text to search community names and topics for. When empty, returns all targetable communities. | | `limit` | integer | No | `100` | Maximum number of results to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns matching communities. **Fields**: dynamic (depend on the inputs) # Select Accounts Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_select_accounts Select Reddit Ads accounts once and reuse them across multiple reddit_ads_get_report nodes—no repeated account selection Select Reddit Ads accounts once and reuse them across multiple reddit\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one reddit\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_select_accounts` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Suggest Communities Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_suggest_communities Suggests Reddit communities (subreddits) to target based on topic terms or a website URL Suggests Reddit communities (subreddits) to target based on topic terms or a website URL. Use the returned names in the communities key of reddit\_ads\_create\_ad\_group targeting. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_suggest_communities` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `topics` | string | No | - | Comma-separated topic terms to base suggestions on, for example 'gaming, technology'. | | `website_url` | string | No | - | A website URL the suggested communities should relate to. | | `limit` | integer | No | `100` | Maximum number of results to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns suggested communities. **Fields**: dynamic (depend on the inputs) # Suggest Keywords Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_suggest_keywords Suggests targeting keywords from seed terms for Reddit Ads keyword targeting Suggests targeting keywords from seed terms for Reddit Ads keyword targeting. Use the results in the keywords key of reddit\_ads\_create\_ad\_group targeting. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_suggest_keywords` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `seed_keywords` | array of string or string | Yes | - | Terms to base keyword suggestions on (1-1000, max 100 characters each), as a list or comma/newline separated text, for example 'gaming, technology, computers'. | ## Output **Type**: `List[Dict]` Returns keyword suggestions. **Fields**: dynamic (depend on the inputs) # Update Ad Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_ad Advanced: partially updates a Reddit Ads ad from a raw v3 field payload; only provided fields change and money values are raw microcurrency Advanced: partially updates a Reddit Ads ad from a raw v3 field payload; only provided fields change and money values are raw microcurrency. Prefer the dedicated operations (reddit\_ads\_update\_ad\_status) for simple changes. Supports dry\_run. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_ad` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | ID of the Reddit Ads ad to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad fields to update as a JSON object using the official Reddit Ads v3 field names, sent as-is with raw microcurrency values. Only provided fields change. Common editable fields: name, configured\_status, post\_id, click\_url, click\_url\_query\_parameters, event\_trackers, products, shopping\_creative, and preview\_expiry. Example: \{"name": "New name"} | | `dry_run` | boolean | No | `False` | When true, do not call Reddit. Return the resolved payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the payload and updated ad. **Fields**: `ad_id`, `payload`, `dry_run` # Update Ad Group Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_ad_group Advanced: partially updates a Reddit Ads ad group from a raw v3 field payload; only provided fields change and money values are raw microcurrency Advanced: partially updates a Reddit Ads ad group from a raw v3 field payload; only provided fields change and money values are raw microcurrency. Prefer the dedicated operations (reddit\_ads\_update\_ad\_group\_status, reddit\_ads\_update\_ad\_group\_budget) for simple changes. Supports dry\_run. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_ad_group` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the Reddit Ads ad group to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad Group fields to update as a JSON object using the official Reddit Ads v3 field names, sent as-is with raw microcurrency values. Only provided fields change. Common editable fields: name, configured\_status, goal\_type, goal\_value, bid\_strategy, bid\_type, bid\_value, optimization\_goal, targeting, schedule, start\_time, end\_time, conversion\_pixel\_id, shopping fields, and audience fields. Example: \{"name": "New name"} | | `dry_run` | boolean | No | `False` | When true, do not call Reddit. Return the resolved payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the payload and updated ad group. **Fields**: `ad_group_id`, `payload`, `dry_run` # Update Ad Group Budget Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_ad_group_budget Updates a Reddit Ads ad group's budget amount and optionally its daily/lifetime goal type Updates a Reddit Ads ad group's budget amount and optionally its daily/lifetime goal type. Amounts are in the account currency, not micros. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_ad_group_budget` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | ID of the ad group whose budget to update. | | `goal_value` | number | Yes | - | New budget amount in the account currency (converted to microcurrency automatically), daily or lifetime per goal\_type. | | `goal_type` | string or SelectableOption | No | - | Optionally change the budget goal type. Options: 'DAILY\_SPEND', 'LIFETIME\_SPEND'. Leave unset to keep the current type. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the updated ad group budget. **Fields**: `ad_group_id`, `goal_type`, `goal_value` # Update Ad Group Status Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_ad_group_status Enables, pauses, archives, or permanently deletes Reddit Ads ad groups, one at a time or in bulk Enables, pauses, archives, or permanently deletes Reddit Ads ad groups, one at a time or in bulk. DELETED cannot be undone. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the ad groups. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string | No | - | The ad group ID to update (required for single update). | | `status` | string or SelectableOption | No | - | The new status (required for single update). Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED'. DELETED permanently deletes the ad group and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_group\_id' and 'status' fields for each row (required for bulk update). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group status update. # Update Ad Status Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_ad_status Enables, pauses, archives, or permanently deletes Reddit Ads ads, one at a time or in bulk Enables, pauses, archives, or permanently deletes Reddit Ads ads, one at a time or in bulk. DELETED cannot be undone. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_ad_status` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_id` | string | No | - | The ad ID to update (required for single update). | | `status` | string or SelectableOption | No | - | The new status (required for single update). Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED'. DELETED permanently deletes the ad and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'status' fields for each row (required for bulk update). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad status update. # Update Campaign Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_campaign Advanced: partially updates a Reddit Ads campaign from a raw v3 field payload; only provided fields change and money values are raw microcurrency Advanced: partially updates a Reddit Ads campaign from a raw v3 field payload; only provided fields change and money values are raw microcurrency. Prefer the dedicated operations (reddit\_ads\_update\_campaign\_status) for simple changes. Supports dry\_run. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_campaign` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | ID of the Reddit Ads campaign to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object using the official Reddit Ads v3 field names, sent as-is with raw microcurrency values. Only provided fields change. Common editable fields: name, configured\_status, spend\_cap, goal\_value, bid\_strategy, bid\_type, bid\_value, start\_time, end\_time, funding\_instrument\_id, and invoice\_label. Example: \{"name": "New name"} | | `dry_run` | boolean | No | `False` | When true, do not call Reddit. Return the resolved payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the payload and updated campaign. **Fields**: `campaign_id`, `payload`, `dry_run` # Update Campaign Status Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_campaign_status Enables, pauses, archives, or permanently deletes Reddit Ads campaigns, one at a time or in bulk Enables, pauses, archives, or permanently deletes Reddit Ads campaigns, one at a time or in bulk. DELETED cannot be undone. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string | No | - | The campaign ID to update (required for single update). | | `status` | string or SelectableOption | No | - | The new status (required for single update). Options: 'ACTIVE', 'PAUSED', 'ARCHIVED', 'DELETED'. DELETED permanently deletes the campaign and cannot be undone. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'status' fields for each row (required for bulk update). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Update Custom Audience Users Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_update_custom_audience_users Adds or removes users in a Reddit Ads custom audience using emails or mobile advertising IDs (hashed automatically); one identifier kind per call Adds or removes users in a Reddit Ads custom audience using emails or mobile advertising IDs (hashed automatically); one identifier kind per call. Find audience IDs with reddit\_ads\_list\_custom\_audiences. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_update_custom_audience_users` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Reddit Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | ID of the custom audience to update. Find audience IDs with reddit\_ads\_list\_custom\_audiences. | | `action` | string or SelectableOption | Yes | - | Whether to add or remove the users. Options: 'ADD', 'REMOVE'. | | `emails` | string or array of string | No | - | Email addresses as a list or comma/newline separated text. Plain emails are normalized (whitespace removed, lowercased) and SHA-256 hashed automatically; already-hashed 64-hex values pass through. Use emails or mobile\_device\_ids, not both. | | `mobile_device_ids` | string or array of string | No | - | Mobile advertising IDs (IDFA / AAID) as a list or comma/newline separated text; hashed automatically. Use emails or mobile\_device\_ids, not both. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the action and user counts. **Fields**: `audience_id`, `action`, `identifier_type`, `user_count` # Validate Keywords Source: https://docs.markifact.com/nodes/reddit_ads/reddit_ads_validate_keywords Checks whether keywords are brand safe and targetable in Reddit Ads before using them in ad group targeting Checks whether keywords are brand safe and targetable in Reddit Ads before using them in ad group targeting. | | | | - | - | | **App** | Reddit Ads | | **Operation ID** | `reddit_ads_validate_keywords` | | **Type** | Action | | **Connection** | `reddit_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to check for brand safety and targetability (max 1000), as a list or comma/newline separated text. | ## Output **Type**: `List[Dict]` Returns per-keyword brand safety verdicts. **Fields**: dynamic (depend on the inputs) # Schedule Source: https://docs.markifact.com/nodes/scheduler/scheduler_schedule Triggers the workflow on a schedule (daily, weekly, monthly, or custom intervals) Triggers the workflow on a schedule (daily, weekly, monthly, or custom intervals). The trigger automatically uses the user's timezone from their profile settings, which is based on their location. No timezone selection is needed. | | | | - | - | | **App** | Scheduler | | **Operation ID** | `scheduler_schedule` | | **Type** | Trigger | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `interval` | string or SelectableOption | Yes | - | The frequency interval for the schedule. Available options: 'hourly' - Runs every X hours (requires upgrade for free users) 'daily' - Runs once daily at specified time 'weekly' - Runs weekly on specified day and time 'monthly' - Runs monthly on specified day and time 'minutely' - Runs every X minutes (requires premium tier) 'once' - Runs once at specified datetime | | `minutes` | integer | No | - | Run workflow every X minutes (1-59). Only used when interval is 'minutely'. Premium users can use values less than 15 minutes, others require 15+ minutes. | | `hours` | integer | No | - | Run workflow every X hours (1-23). Only used when interval is 'hourly'. Not available for free tier users. | | `hour_offset` | string or SelectableOption | No | - | Minute offset for hourly schedules. Only used when interval is 'hourly'. Available options: '0' - Runs at XX:00 '15' - Runs at XX:15 '30' - Runs at XX:30 '45' - Runs at XX:45 | | `run_time` | string or SelectableOption | No | - | Time of day to run the schedule in HH:MM format (e.g., '14:30' for 2:30 PM). Only used for daily, weekly, and monthly intervals. Available in 30-minute increments. | | `days` | array of string | No | - | List of days of the week when the schedule should run. Only used when interval is 'daily'. Empty array or None means run every day. Values should be strings: '0' (Sunday) through '6' (Saturday). Example: \['1', '2', '3', '4', '5'] for weekdays only. | | `week_day` | string or SelectableOption | No | - | Day of the week for weekly schedules. Only used when interval is 'weekly'. Available options: '0' - Sunday '1' - Monday '2' - Tuesday '3' - Wednesday '4' - Thursday '5' - Friday '6' - Saturday | | `week_interval` | integer | No | `1` | Run every N weeks when interval is 'weekly'. Use 1 for weekly or 2 for every other week. | | `anchor_date` | string | No | - | Internal local YYYY-MM-DD anchor for weekly schedules with week\_interval greater than 1. | | `month_day` | string or SelectableOption | No | - | Day of the month for monthly schedules (1-31). Only used when interval is 'monthly'. If the selected day doesn't exist in a month, it will run on the last day of that month. | | `once_time` | integer or string | No | - | Specific date and time to run the workflow once. Only used when interval is 'once'. Must be at least 15 minutes in the future from the current time. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns date/time context for the scheduled run. **Fields**: `today_date`, `yesterday_date`, `day_of_week`, `day_of_week_number`, `current_month`, `current_month_name`, `current_month_name_year`, `current_month_start_date`, `current_month_end_date`, `last_month`, `last_month_name`, `last_month_name_year`, `last_month_start_date`, `last_month_end_date`, `current_year`, `last_year`, `current_week_start_date`, `current_week_end_date`, `current_week_number`, `previous_week_start_date`, `previous_week_end_date`, `previous_week_number` # Compare Domains Source: https://docs.markifact.com/nodes/semrush/semrush_compare_domains Keyword gap analysis between 2-5 domains — find shared keywords, keywords unique to your domain, or untapped keywords competitors rank for that you don't Keyword gap analysis between 2-5 domains — find shared keywords, keywords unique to your domain, or untapped keywords competitors rank for that you don't. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_compare_domains` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domains` | array of string or string | Yes | - | 2 to 5 domains to compare. Accepts a list or a newline/comma-separated string. The first domain is treated as 'your' domain for the unique and untapped modes. | | `mode` | string or SelectItem | No | `shared` | Comparison mode: 'shared' (keywords all domains rank for), 'all' (keywords any domain ranks for), 'unique' (keywords only the first domain ranks for), 'untapped' (keywords competitors rank for but the first domain doesn't). | | `keyword_type` | string or SelectItem | No | `or` | Compare 'or' (organic) or 'ad' (paid) keywords. | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), P0-P4 (position of each compared domain, in input order), Nq (search volume), Cp (CPC), Co (competition), Nr (SERP results), Kd (keyword difficulty), Td (trends). | | `limit` | integer | No | - | Maximum number of rows to return. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with: keyword, domain1Position-domain5Position (position of each compared domain, in input order), searchVolume, cpc, competition, keywordDifficulty. **Fields**: `keyword`, `domain1Position`, `domain2Position`, `searchVolume`, `cpc`, `competition`, `keywordDifficulty` **Example**: ```json theme={"dark"} [ { "keyword": "seo tools", "domain1Position": 4, "domain2Position": 1, "searchVolume": 18100, "cpc": 12.5, "keywordDifficulty": 72 } ] ``` # Find Keyword Questions Source: https://docs.markifact.com/nodes/semrush/semrush_find_keyword_questions Find question-format keywords for a seed keyword (who/what/how/why searches) — with search volume, CPC, competition, keyword difficulty, and search intent Find question-format keywords for a seed keyword (who/what/how/why searches) — with search volume, CPC, competition, keyword difficulty, and search intent. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_find_keyword_questions` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keyword` | string | Yes | - | The seed keyword to find question-format keywords for. | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), Nq (search volume), Cp (CPC), Co (competition), Nr (SERP results), Td (trends), In (search intent), Kd (keyword difficulty). | | `filters` | array of FilterItem | No | - | Filters to refine results, applied on the returned columns. | | `orders` | array of OrderItem | No | - | Sort results by a single column. Only Nq, Cp, Co, Nr, and Kd are sortable. | | `limit` | integer | No | - | Maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per question keyword with: keyword, searchVolume, cpc, competition, serpResults, keywordDifficulty, searchIntent. **Fields**: `keyword`, `searchVolume`, `cpc`, `competition`, `serpResults`, `keywordDifficulty`, `searchIntent` **Example**: ```json theme={"dark"} [ { "keyword": "what are seo tools", "searchVolume": 720, "cpc": 6.1, "competition": 0.35, "keywordDifficulty": 58 } ] ``` # Find Organic Competitors Source: https://docs.markifact.com/nodes/semrush/semrush_find_organic_competitors Find a domain's competitors in organic search — competitor domains ranked by shared keywords, with relevance, organic keywords, traffic, and cost Find a domain's competitors in organic search — competitor domains ranked by shared keywords, with relevance, organic keywords, traffic, and cost. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_find_organic_competitors` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domain` | string | Yes | - | The domain to find organic search competitors for (e.g. example.com). | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Dn (domain), Cr (competitor relevance), Np (common keywords), Or (organic keywords), Ot (organic traffic), Oc (organic cost), Ad (adwords keywords), Sr (PLA keywords), St (PLA traffic), Sc (PLA cost). | | `orders` | array of OrderItem | No | - | Sort results by a single column. Only Np (common keywords) and Cr (competitor relevance) are sortable. | | `limit` | integer | No | - | Maximum number of competitors to return. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per competitor with: domain, competitorRelevance, commonKeywords, organicKeywords, organicTraffic, organicCost, adwordsKeywords. **Fields**: `domain`, `competitorRelevance`, `commonKeywords`, `organicKeywords`, `organicTraffic`, `organicCost`, `adwordsKeywords` **Example**: ```json theme={"dark"} [ { "domain": "ahrefs.com", "competitorRelevance": 0.42, "commonKeywords": 18500, "organicKeywords": 250000, "organicTraffic": 1200000 } ] ``` # Find Related Keywords Source: https://docs.markifact.com/nodes/semrush/semrush_find_related_keywords Find keywords related to a seed keyword — with search volume, CPC, competition, keyword difficulty, search intent, and relevance score Find keywords related to a seed keyword — with search volume, CPC, competition, keyword difficulty, search intent, and relevance score. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_find_related_keywords` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keyword` | string | Yes | - | The seed keyword or phrase to find related keywords for. | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), Nq (search volume), Cp (CPC), Co (competition), Nr (SERP results), Td (trends), Rr (related relevance), Fk (SERP features), In (search intent), Kd (keyword difficulty). | | `filters` | array of FilterItem | No | - | Filters to refine results, applied on the returned columns. | | `orders` | array of OrderItem | No | - | Sort results by a column. SEMrush supports a single sort column. | | `limit` | integer | No | - | Maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per related keyword with metrics: keyword, searchVolume, cpc, competition, serpResults, keywordDifficulty, searchIntent, relatedRelevance. **Fields**: `keyword`, `searchVolume`, `cpc`, `competition`, `serpResults`, `keywordDifficulty`, `searchIntent`, `relatedRelevance` **Example**: ```json theme={"dark"} [ { "keyword": "best seo tools", "searchVolume": 5400, "cpc": 9.8, "competition": 0.72, "keywordDifficulty": 65, "relatedRelevance": 0.91 } ] ``` # Get API Units Source: https://docs.markifact.com/nodes/semrush/semrush_get_api_units Get the remaining Semrush Standard API units balance for the connected key Get the remaining Semrush Standard API units balance for the connected key. Free: this request does not consume API units. Use it to check the allowance before running unit-heavy Semrush reports. Needs a key with Semrush API access (Business plan with API units). | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_api_units` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `List[Dict]` Returns a single row with api\_units\_balance. **Fields**: `api_units_balance` # Get Backlinks Source: https://docs.markifact.com/nodes/semrush/semrush_get_backlinks Get the list of individual backlinks pointing to a domain or URL: source page, anchor text, target URL, page and domain authority, first/last seen, and link type Get the list of individual backlinks pointing to a domain or URL: source page, anchor text, target URL, page and domain authority, first/last seen, and link type. Billed per row by Semrush. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_backlinks` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, or URL to list backlinks for (e.g. example.com). | | `target_type` | string or SelectItem | No | `root_domain` | How to interpret the target: 'root\_domain' (whole domain), 'domain' (subdomain), 'subfolder' (needs a Semrush v4 API key), or 'url' (exact page). | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Default: page\_score, source\_url, source\_title, target\_url, anchor, first\_seen\_at, last\_seen\_at, is\_nofollow. Also available: domain\_score, source\_domain, target\_title, redirect\_url, image\_url, image\_alt, ip\_address, lang, response\_code, source\_size, external\_links\_count, internal\_links\_count, is\_new, is\_lost, is\_sponsored, is\_ugc, is\_image, is\_form, is\_frame, is\_sitewide\_main. domain\_score, source\_domain, ip\_address, lang, is\_sponsored, is\_ugc and is\_sitewide\_main need a Semrush v4 API key. | | `orders` | array of OrderItem | No | - | Sort results by a single column, which must be one of the returned columns. Default: page\_score descending. | | `limit` | integer | No | - | Maximum number of rows to return. Default: 100. Semrush bills per row returned. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per backlink with the requested Semrush v4 fields (default: page\_score, source\_url, source\_title, target\_url, anchor, first\_seen\_at, last\_seen\_at, is\_nofollow). **Fields**: `page_score`, `source_url`, `source_title`, `target_url`, `anchor`, `first_seen_at`, `last_seen_at`, `is_nofollow` **Example**: ```json theme={"dark"} [ { "pageAuthorityScore": 78, "sourceUrl": "https://blog.example.com/post", "targetUrl": "https://apple.com/", "anchor": "apple", "nofollow": "false" } ] ``` # Get Backlinks Overview Source: https://docs.markifact.com/nodes/semrush/semrush_get_backlinks_overview Get a backlinks summary for one or more domains or URLs: authority score, backlinks, referring domains, referring IPs, follow/nofollow breakdown, and new and lost backlinks Get a backlinks summary for one or more domains or URLs: authority score, backlinks, referring domains, referring IPs, follow/nofollow breakdown, and new and lost backlinks. Billed per target by Semrush. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_backlinks_overview` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `targets` | array of string or string | Yes | - | Domains, subdomains, or URLs to analyze. Accepts a list or a newline/comma-separated string. One summary row is returned per target. | | `target_type` | string or SelectItem | No | `root_domain` | How to interpret each target: 'root\_domain' (whole domain), 'domain' (subdomain), 'subfolder' (needs a Semrush v4 API key), or 'url' (exact page). | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return; all are returned when omitted. Available: score (authority score, 0-100), backlinks\_count, domains\_count (referring domains), urls\_count (referring pages), ips\_count, ip\_class\_c\_count, follows\_count, nofollows\_count, sponsored\_count, ugc\_count, texts\_count, images\_count, forms\_count, frames\_count, new\_count (new in the last 30 days), lost\_count. new\_count and lost\_count need a Semrush v4 API key. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one summary row per target: target plus Semrush's v4 Backlinks Overview fields (score, backlinks\_count, domains\_count, urls\_count, ips\_count, follows\_count, nofollows\_count, new\_count, lost\_count and more). **Fields**: `target`, `score`, `backlinks_count`, `domains_count`, `urls_count`, `ips_count`, `follows_count`, `nofollows_count`, `new_count`, `lost_count` **Example**: ```json theme={"dark"} [ { "target": "apple.com", "authorityScore": 94, "totalBacklinks": 285000000, "referringDomains": 180000, "referringIps": 95000 } ] ``` # Get Domain Organic Keywords Source: https://docs.markifact.com/nodes/semrush/semrush_get_domain_organic_keywords Get the organic search keywords a domain ranks for — with position, search volume, CPC, ranking URL, traffic share, and keyword difficulty Get the organic search keywords a domain ranks for — with position, search volume, CPC, ranking URL, traffic share, and keyword difficulty. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_domain_organic_keywords` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domain` | string | Yes | - | The domain to pull organic search keywords for (e.g. example.com). | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), Po (position), Pp (previous position), Pd (position difference), Nq (search volume), Cp (CPC), Ur (URL), Tr (traffic %), Tg (traffic generation), Tc (traffic cost %), Co (competition), Nr (SERP results), Td (trends), Kd (keyword difficulty), In (search intent). | | `filters` | array of FilterItem | No | - | Filters to refine results, applied on the returned columns. | | `orders` | array of OrderItem | No | - | Sort results by a column. SEMrush supports a single sort column. | | `limit` | integer | No | - | Maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per organic keyword with metrics: keyword, position, previousPosition, searchVolume, cpc, url, trafficPercent, competition, serpResults, keywordDifficulty. **Fields**: `keyword`, `position`, `previousPosition`, `searchVolume`, `cpc`, `url`, `trafficPercent`, `competition`, `serpResults`, `keywordDifficulty` **Example**: ```json theme={"dark"} [ { "keyword": "iphone", "position": 1, "searchVolume": 1830000, "cpc": 1.2, "url": "https://apple.com/iphone/", "trafficPercent": 12.5 } ] ``` # Get Domain Organic Pages Source: https://docs.markifact.com/nodes/semrush/semrush_get_domain_organic_pages Get a domain's top pages in organic search — each page's URL, number of ranking keywords, traffic, and traffic share Get a domain's top pages in organic search — each page's URL, number of ranking keywords, traffic, and traffic share. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_domain_organic_pages` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domain` | string | Yes | - | The domain to pull top organic pages for (e.g. example.com). | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ur (page URL), Pc (keywords count), Tg (traffic), Tr (traffic %), Sr (PLA keywords), St (PLA traffic). | | `filters` | array of FilterItem | No | - | Filters to refine results, applied on the returned columns. | | `orders` | array of OrderItem | No | - | Sort results by a single column. Only Pc, Tg, Tr, Sr, and St are sortable. Defaults to traffic % descending. | | `limit` | integer | No | - | Maximum number of pages to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per page with: url, keywordsCount, trafficGeneration, trafficPercent. **Fields**: `url`, `keywordsCount`, `trafficGeneration`, `trafficPercent` **Example**: ```json theme={"dark"} [ { "url": "https://apple.com/iphone/", "keywordsCount": 45000, "trafficGeneration": 8200000, "trafficPercent": 18.2 } ] ``` # Get Domain Overview Source: https://docs.markifact.com/nodes/semrush/semrush_get_domain_overview Get a high-level SEO snapshot for one or more domains — rank, organic keywords, organic traffic, organic cost, and paid (AdWords) metrics Get a high-level SEO snapshot for one or more domains — rank, organic keywords, organic traffic, organic cost, and paid (AdWords) metrics. All Semrush tools need a Markifact connection holding an API key from a Semrush Business or Enterprise subscription with available API units. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_domain_overview` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domains` | array of string or string | Yes | - | Domains to look up (e.g. example.com). Accepts a list or a newline/comma-separated string. One row is returned per domain. | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Db (database), Dn (domain), Rk (rank), Or (organic keywords), Ot (organic traffic), Oc (organic cost), Ad (adwords keywords), At (adwords traffic), Ac (adwords cost), Sh (PLA keywords), Sv (PLA uniques). | | `limit` | integer | No | - | Maximum number of rows to return. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per domain with metrics: database, domain, rank, organicKeywords, organicTraffic, organicCost, adwordsKeywords, adwordsTraffic, adwordsCost, plaKeywords, plaUniques. **Fields**: `database`, `domain`, `rank`, `organicKeywords`, `organicTraffic`, `organicCost`, `adwordsKeywords`, `adwordsTraffic`, `adwordsCost`, `plaKeywords`, `plaUniques` **Example**: ```json theme={"dark"} [ { "domain": "apple.com", "rank": 25, "organicKeywords": 1500000, "organicTraffic": 45000000, "organicCost": 32000000, "adwordsKeywords": 1200 } ] ``` # Get Domain Paid Keywords Source: https://docs.markifact.com/nodes/semrush/semrush_get_domain_paid_keywords Get the paid (AdWords) search keywords a domain bids on — with position, search volume, CPC, ad copy (title, description, visible URL), and traffic share Get the paid (AdWords) search keywords a domain bids on — with position, search volume, CPC, ad copy (title, description, visible URL), and traffic share. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_domain_paid_keywords` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `domain` | string | Yes | - | The domain to pull paid (AdWords) search keywords for (e.g. example.com). | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), Po (position), Pp (previous position), Pd (position difference), Nq (search volume), Cp (CPC), Vu (visible URL), Ur (full URL), Tt (ad title), Ds (ad description), Tr (traffic %), Tg (traffic generation), Tc (traffic cost %), Co (competition), Nr (SERP results), Td (trends). | | `filters` | array of FilterItem | No | - | Filters to refine results, applied on the returned columns. | | `orders` | array of OrderItem | No | - | Sort results by a column. SEMrush supports a single sort column. | | `limit` | integer | No | - | Maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per paid keyword with metrics: keyword, position, searchVolume, cpc, visibleUrl, adTitle, adDescription, trafficPercent, trafficCostPercent, competition. **Fields**: `keyword`, `position`, `searchVolume`, `cpc`, `visibleUrl`, `adTitle`, `adDescription`, `trafficPercent`, `trafficCostPercent`, `competition` **Example**: ```json theme={"dark"} [ { "keyword": "crm software", "position": 1, "searchVolume": 40500, "cpc": 22.5, "visibleUrl": "salesforce.com", "trafficPercent": 8.3 } ] ``` # Get Keyword Overview Source: https://docs.markifact.com/nodes/semrush/semrush_get_keyword_overview Get keyword metrics for a list of keywords — search volume, CPC, competitive density, keyword difficulty, search intent, and SERP features Get keyword metrics for a list of keywords — search volume, CPC, competitive density, keyword difficulty, search intent, and SERP features. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_keyword_overview` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to look up. Accepts a list or a newline/comma-separated string. Up to 100 keywords per request. | | `database` | string | No | `us` | Two-letter country code. E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), Nq (search volume), Cp (CPC), Co (competitive density), Nr (SERP results), Kd (keyword difficulty), In (search intent), Fk (SERP features). | | `month` | string | No | - | Monthly snapshot in YYYY-MM format (e.g. 2024-01), from 2012-01 up to the current month. Leave empty for the latest data. | | `limit` | integer | No | - | Maximum number of rows to return. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword with: date (YYYY-MM), keyword, searchVolume, cpc (USD), competition (0-100 density), serpResults, keywordDifficulty, searchIntent, serpFeatures. **Fields**: `date`, `keyword`, `searchVolume`, `cpc`, `competition`, `serpResults`, `keywordDifficulty`, `searchIntent`, `serpFeatures` **Example**: ```json theme={"dark"} [ { "date": "2026-05", "keyword": "seo tools", "searchVolume": 18100, "cpc": 12.5, "competition": 85, "keywordDifficulty": 72, "searchIntent": "COMMERCIAL,INFORMATIONAL" } ] ``` # Get Keyword Rankings Source: https://docs.markifact.com/nodes/semrush/semrush_get_keyword_rankings Get Google's top organic results (SERP) for keywords — which domains and URLs rank at which position Get Google's top organic results (SERP) for keywords — which domains and URLs rank at which position. Use to check rankings/positions for any keyword, including a specific domain's position. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_keyword_rankings` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | array of string or string | Yes | - | Keywords to fetch Google top-100 organic results for. Accepts a list or a newline/comma-separated string. One SERP is fetched per keyword. | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Po (position), Pt (position type), Dn (domain), Ur (URL), Fk (keyword SERP features), Fp (SERP features the result appears in). | | `positions_type` | string or SelectItem | No | `organic` | 'organic' returns traditional organic positions only; 'all' also includes SERP features as positions. | | `display_date` | string | No | - | Historical SERP date in YYYYMM15 format (e.g. 20240115). Leave empty for current data. Historical requests cost 5x more API units. | | `limit` | integer | No | - | Maximum number of results per keyword (top N positions). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per ranking result per keyword with: date, keyword, position, domain, url. **Fields**: `date`, `keyword`, `position`, `domain`, `url` **Example**: ```json theme={"dark"} [ { "date": "2026-06-09", "keyword": "seo tools", "position": 1, "domain": "semrush.com", "url": "https://www.semrush.com/" } ] ``` # Get Referring Domains Source: https://docs.markifact.com/nodes/semrush/semrush_get_referring_domains Get the domains linking to a domain or URL, with authority score, backlinks count, IP, country, first/last seen, and follow/new/lost flags Get the domains linking to a domain or URL, with authority score, backlinks count, IP, country, first/last seen, and follow/new/lost flags. Billed per row by Semrush. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_referring_domains` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target` | string | Yes | - | The domain, subdomain, or URL to list referring domains for (e.g. example.com). | | `target_type` | string or SelectItem | No | `root_domain` | How to interpret the target: 'root\_domain' (whole domain), 'domain' (subdomain), 'subfolder' (needs a Semrush v4 API key), or 'url' (exact page). | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return; all are returned when omitted. Available: domain, domain\_score (authority score, 0-100), backlinks\_count, country, ip\_address, first\_seen\_at, last\_seen\_at, is\_follow, is\_new, is\_lost. is\_follow, is\_new and is\_lost need a Semrush v4 API key. | | `orders` | array of OrderItem | No | - | Sort results by a single column, which must be one of the returned columns. Default: backlinks\_count descending. | | `limit` | integer | No | - | Maximum number of rows to return. Default: 100. Semrush bills per row returned. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per referring domain with Semrush v4 fields: domain, domain\_score, backlinks\_count, country, ip\_address, first\_seen\_at, last\_seen\_at, is\_follow, is\_new, is\_lost. **Fields**: `domain`, `domain_score`, `backlinks_count`, `country`, `ip_address`, `first_seen_at`, `last_seen_at`, `is_follow`, `is_new`, `is_lost` **Example**: ```json theme={"dark"} [ { "domainAuthorityScore": 86, "domain": "techcrunch.com", "backlinks": 145, "domainTrustScore": 82, "country": "us" } ] ``` # Get URL Organic Keywords Source: https://docs.markifact.com/nodes/semrush/semrush_get_url_organic_keywords Get the organic keywords a specific page (URL) ranks for — with position, search volume, CPC, traffic share, and keyword difficulty Get the organic keywords a specific page (URL) ranks for — with position, search volume, CPC, traffic share, and keyword difficulty. | | | | - | - | | **App** | SEMrush | | **Operation ID** | `semrush_get_url_organic_keywords` | | **Type** | Action | | **Connection** | `semrush` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `url` | string | Yes | - | The landing page URL to pull organic keywords for (e.g. `https://example.com/page`). | | `database` | string | No | `us` | Regional database (country code). E.g. us, uk, ca, au, de, fr, es, it, br. Defaults to 'us'. | | `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: Ph (keyword), Po (position), Pp (previous position), Nq (search volume), Cp (CPC), Co (competition), Kd (keyword difficulty), Tr (traffic %), Tg (traffic generation), Tc (traffic cost %), Nr (SERP results), Td (trends), Fk (keyword SERP features), Fp (result SERP features), In (search intent). | | `filters` | array of FilterItem | No | - | Filters to refine results, applied on the returned columns. | | `orders` | array of OrderItem | No | - | Sort results by a single column. Only Po, Tg, Tr, Tc, and Nq are sortable. | | `limit` | integer | No | - | Maximum number of rows to return. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns one row per keyword the URL ranks for with: keyword, position, searchVolume, cpc, competition, trafficPercent, trafficCostPercent, serpResults, keywordDifficulty. **Fields**: `keyword`, `position`, `searchVolume`, `cpc`, `competition`, `trafficPercent`, `trafficCostPercent`, `serpResults`, `keywordDifficulty` **Example**: ```json theme={"dark"} [ { "keyword": "what is seo", "position": 3, "searchVolume": 49500, "cpc": 4.2, "trafficPercent": 18.6, "keywordDifficulty": 81 } ] ``` # Copy File Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_copy_file Copy a file or folder to another folder, document library, or site in SharePoint, optionally renaming the copy Copy a file or folder to another folder, document library, or site in SharePoint, optionally renaming the copy. Folders are copied with all their contents. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_copy_file` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) the file lives in. Not needed when file is a full SharePoint link. | | `file` | string | Yes | - | The file or folder to operate on: a path inside the library, e.g. 'Creative Ads/banner.png', a full SharePoint link, or an item id from a previous node. | | `destination_folder` | string | No | - | Destination folder: a path in the same library, e.g. 'Approved/Q4', or a full SharePoint folder link (which may be in a different library or site). Leave empty to copy to the library root. | | `new_name` | string | No | - | Optionally give the copy a different name. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the copied file. **Fields**: `file_id`, `file_name`, `file_url`, `file_type` # Create Folder Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_create_folder Create a folder in a SharePoint document library or OneDrive Create a folder in a SharePoint document library or OneDrive. Returns the existing folder if it already exists. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_create_folder` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) to create the folder in. Not needed when folder\_path is a full SharePoint link. | | `folder_path` | string | No | - | Parent folder: a path inside the library, e.g. 'Creative Ads', or a full SharePoint folder link. Leave empty to create the folder in the library root. | | `folder_name` | string | Yes | - | Name of the folder to create, e.g. '2026-08'. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created (or already existing) folder. **Fields**: `folder_id`, `folder_name`, `folder_url`, `created` # Delete File Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_delete_file Delete a file or folder from a SharePoint document library or OneDrive Delete a file or folder from a SharePoint document library or OneDrive. A folder is deleted with all its contents. Everything goes to the site recycle bin. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_delete_file` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) the file lives in. Not needed when file is a full SharePoint link. | | `file` | string | Yes | - | The file or folder to operate on: a path inside the library, e.g. 'Creative Ads/banner.png', a full SharePoint link, or an item id from a previous node. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns a confirmation with the deleted file's details. **Fields**: `message`, `file_id`, `file_name` # Get Files Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_get_files Fetch specific SharePoint files by path, link, or id Fetch specific SharePoint files by path, link, or id. Returns public temporary download URLs; use them exactly as returned because 'unauthorized' usually means the URL was altered. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_get_files` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) the files live in. Not needed when every entry in file\_paths is a full SharePoint link. | | `file_paths` | array (also accepts a comma-separated string) | No | - | File paths inside the library, e.g. 'Creative Ads/banner.png', or full SharePoint file links copied from the browser. | | `file_ids` | array (also accepts a comma-separated string) | No | - | File ids, e.g. from a previous List Files or Search Files run. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the requested files with fresh download URLs. **Fields**: `file_id`, `file_name`, `file_url`, `file_type`, `is_folder`, `size`, `modified_at`, `download_url` # List Drives Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_list_drives List the document libraries (drives) of a SharePoint site or the user's OneDrive List the document libraries (drives) of a SharePoint site or the user's OneDrive | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_list_drives` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | Yes | - | The site to list document libraries for: a site id from list\_sites, 'me' for the user's own OneDrive, or a pasted SharePoint site link like `https://tenant.sharepoint.com/sites/Markifact.` | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the site's document libraries. Use drive\_id with the file nodes. **Fields**: `drive_id`, `name`, `drive_type`, `url` # List Files Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_list_files List files and folders in a SharePoint document library or OneDrive folder List files and folders in a SharePoint document library or OneDrive folder. Returns public temporary download URLs; use them exactly as returned because 'unauthorized' usually means the URL was altered. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_list_files` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) to list files from. Not needed when folder\_path is a full SharePoint link. | | `folder_path` | string | No | - | Folder path inside the library, e.g. 'Reports/2025', or a full SharePoint folder link copied from the browser. Leave empty to list the library root folder. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the files and folders in the selected location. **Fields**: `file_id`, `file_name`, `file_url`, `file_type`, `is_folder`, `size`, `modified_at`, `download_url` # List Sites Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_list_sites List the SharePoint sites the connected account can access, including My OneDrive (the work account's OneDrive for Business) List the SharePoint sites the connected account can access, including My OneDrive (the work account's OneDrive for Business). Personal Microsoft account OneDrive is not supported by this integration at all, only work/school accounts can connect. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_list_sites` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search` | string | No | - | Optional filter on site name, e.g. 'markifact'. Leave empty to return all sites the connected account can access. | ## Output **Type**: `List[Dict]` Returns the accessible sites. Use site\_id with list\_drives. **Fields**: `site_id`, `name`, `url` # Move File Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_move_file Move a file or folder to another folder within the same SharePoint document library, optionally renaming it Move a file or folder to another folder within the same SharePoint document library, optionally renaming it. Folders move with all their contents. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_move_file` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) the file lives in. Not needed when file is a full SharePoint link. | | `file` | string | Yes | - | The file or folder to operate on: a path inside the library, e.g. 'Creative Ads/banner.png', a full SharePoint link, or an item id from a previous node. | | `destination_folder` | string | No | - | Destination folder in the same document library: a path, e.g. 'Approved/Q4', or a full SharePoint folder link. Leave empty to move to the library root. | | `new_name` | string | No | - | Optionally rename the file while moving it. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the moved file. **Fields**: `file_id`, `file_name`, `file_url`, `file_type` # Rename File Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_rename_file Rename a file or folder in a SharePoint document library or OneDrive Rename a file or folder in a SharePoint document library or OneDrive | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_rename_file` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) the file lives in. Not needed when file is a full SharePoint link. | | `file` | string | Yes | - | The file or folder to operate on: a path inside the library, e.g. 'Creative Ads/banner.png', a full SharePoint link, or an item id from a previous node. | | `new_name` | string | Yes | - | The new file name, e.g. 'banner\_final.png'. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the renamed file. **Fields**: `file_id`, `file_name`, `file_url`, `file_type` # Search Files Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_search_files Search for files and folders by name or content in a SharePoint document library or folder Search for files and folders by name or content in a SharePoint document library or folder. Returns public temporary download URLs; use them exactly as returned because 'unauthorized' usually means the URL was altered. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_search_files` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) to search in. Not needed when folder\_path is a full SharePoint link. | | `folder_path` | string | No | - | Restrict the search to a folder: a path inside the library, e.g. 'Creative Ads/Q4', or a full SharePoint folder link. Leave empty to search the whole library. | | `query` | string | Yes | - | Search text. Matches file and folder names, plus file content where the tenant's search index supports it, e.g. 'banner' or 'q4 report'. | | `max_results` | integer | No | `25` | Maximum number of results to return. Defaults to 25. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the matching files and folders. **Fields**: `file_id`, `file_name`, `file_url`, `file_type`, `is_folder`, `size`, `modified_at`, `download_url` # Upload Files Source: https://docs.markifact.com/nodes/sharepoint/sharepoint_upload_files Upload files from URLs into a SharePoint document library or OneDrive folder Upload files from URLs into a SharePoint document library or OneDrive folder. Returns the uploaded files with a temp public download URL each. | | | | - | - | | **App** | Microsoft SharePoint | | **Operation ID** | `sharepoint_upload_files` | | **Type** | Action | | **Connection** | `sharepoint` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `site` | string or SelectItem | No | - | SharePoint site the document library belongs to, or 'me' for the user's own OneDrive. | | `drive` | string or SelectItem | No | - | Document library (drive) to upload into. Not needed when folder\_path is a full SharePoint link. | | `folder_path` | string | No | - | Destination folder: a path inside the library, e.g. 'Creative Ads/Q4', or a full SharePoint folder link. Leave empty to upload to the library root. | | `upload_type` | string | Yes | - | Type of upload: single or multiple | | `file_url` | string | No | - | File URL for single upload. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact (use the URL from get\_file\_url, not a \{\{file-...}} reference, which passes the file's contents). | | `file_name` | string | No | - | Custom filename for single upload | | `file_urls` | array (also accepts a comma-separated string) | No | - | List of file URLs for multiple upload. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact (use the URL from get\_file\_url, not a \{\{file-...}} reference, which passes the file's contents). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the uploaded files. **Fields**: `file_id`, `file_name`, `file_url`, `file_type`, `size`, `download_url` # Batch Update Source: https://docs.markifact.com/nodes/sheets/sheets_batch_update Fallback Google Sheets write operation for anything that has no dedicated operation Fallback Google Sheets write operation for anything that has no dedicated operation. Always prefer a dedicated operation when one matches the task, for example sheets\_write\_data or sheets\_create\_chart. It applies raw Google Sheets API batchUpdate requests, covering cell colors and number formats, borders, merged cells, conditional formatting, data validation, frozen rows, column widths, and more. Requests address cells by numeric sheetId plus grid ranges; use sheets\_list\_sheets to get sheetIds. If no dedicated operation exists, use this operation and do not submit product feedback about a missing Google Sheets write feature. | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_batch_update` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Enter the URL or ID of the Google Spreadsheet you want to modify | | `requests` | array of object or string | Yes | - | List of raw Google Sheets API batchUpdate request objects (or a JSON array string), sent to Google as-is. Use this for anything the dedicated Sheets operations do not cover: cell formatting like colors and number formats (repeatCell), borders (updateBorders), merged cells (mergeCells), conditional formatting (addConditionalFormatRule), data validation (setDataValidation), frozen rows and columns (updateSheetProperties), column widths (updateDimensionProperties), and more; see Google's Sheets API batchUpdate reference for all request types. Requests address cells by numeric sheetId plus zero-based row/column grid ranges (end indexes exclusive): call sheets\_list\_sheets first to get each sheet's sheetId, and never guess it. Example: \[\{"repeatCell": \{"range": \{"sheetId": 0, "startRowIndex": 0, "endRowIndex": 1, "startColumnIndex": 0, "endColumnIndex": 3}, "cell": \{"userEnteredFormat": \{"backgroundColor": \{"red": 0.9, "green": 0.93, "blue": 1.0}, "textFormat": \{"bold": true}}}, "fields": "userEnteredFormat(backgroundColor,textFormat)"}}] | ## Output **Type**: `Dict` Returns the applied request count and Google's per-request replies. **Fields**: `spreadsheet_id`, `applied_requests`, `replies` # Clear Data Source: https://docs.markifact.com/nodes/sheets/sheets_clear_data Removes all data from specified ranges in Google Sheets Removes all data from specified ranges in Google Sheets | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_clear_data` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Sheets spreadsheet URL or ID. You must ask the user for it if not provided. | | `sheet` | string or SelectItem | Yes | - | The sheet to clear data from. You can provide this in several ways: 1. If user provides just a sheet name, fill the object like this \{'label': 'Sheet1', 'value': 'Sheet1'} 2. If user provides only a sheet ID: Format as \{'label': '123456', 'value': '123456'} 3. If user provides dynamic values: Use the template syntax (e.g., '\{\{nodeId\_data\_sheet}}') 4. If user selects from dropdown: they will ge this format \{'label': 'Sheet1', 'value': '123456'} If user doesn't provide sheet information, ask them to specify the sheet name or select from available sheets using the dropdown menu. | | `clear_all_data` | boolean | No | `True` | Whether to clear all data from the entire sheet. true = clear all data from the sheet false = clear specific range or cell based on selection\_type | | `selection_type` | string or SelectableOption | No | - | Type of selection when not clearing all data. Available options: 'range' - Clear a specific range of cells 'cell' - Clear a single cell Only used when clear\_all\_data is false. | | `range` | string | No | - | Range to clear when using range selection (e.g., 'A1:D10', 'A:A', 'A:C'). REQUIRED when selection\_type is 'range'. Examples: 'A1:D10' for specific range, 'A:A' for entire column A, '1:1' for entire row 1. | | `cell` | string | No | - | Single cell to clear when using cell selection (e.g., 'A1', 'B5'). REQUIRED when selection\_type is 'cell'. Must be a valid cell reference like 'A1', 'B5', 'Z100'. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message with cleared range. # Create Chart Source: https://docs.markifact.com/nodes/sheets/sheets_create_chart Create a chart / graph in a Google Sheet Create a chart / graph in a Google Sheet. Supported chart types: column, line, bar, area, or pie. Set its alt text to retrieve later and embed into Google Slides presentations. | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_create_chart` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Sheets spreadsheet URL or ID. You must ask the user for it if not provided. | | `sheet` | string or SelectItem | Yes | - | The sheet where the chart will be created. Accepts a sheet name or sheet ID formats like other sheet operations. | | `chart_title` | string | No | - | Title to display on the chart. Optional. | | `alt_text` | string | No | - | Alt text (description) to assign to the chart. Helps retrieve/embed the chart later using Get Chart or Slides Add Sheets Chart operations. If omitted, you can still reference the chart by its ID once created. | | `range` | string | Yes | - | Data range in A1 notation (single contiguous block) including headers, e.g. "A1:D20" or "A1:B10". First row is treated as headers. First column becomes the domain (labels). Remaining columns become data series. For PIE charts you need at least two columns (labels + values). | | `chart_type` | string | No | `COLUMN` | Basic chart type. Supported: COLUMN, LINE, AREA, BAR, PIE. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns created chart details. **Fields**: `message`, `chart_id`, `spreadsheet_id`, `sheet_id`, `sheet_name`, `alt_text`, `chart_type`, `title` # Create Sheet Source: https://docs.markifact.com/nodes/sheets/sheets_create_sheet Create a new sheet/tab in a specific Google spreadsheet Create a new sheet/tab in a specific Google spreadsheet | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_create_sheet` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID where you want to create a new sheet. | | `sheet_name` | string | Yes | - | The name of the new sheet/tab to create. | | `exists_ok` | boolean | No | `False` | If the sheet already exists, just use it and continue (no error). | ## Output **Type**: `Dict` Returns created sheet details. **Fields**: `message`, `sheet_name`, `sheet_id`, `spreadsheet_id` # Create Spreadsheet Source: https://docs.markifact.com/nodes/sheets/sheets_create_spreadsheet Create a brand new Google Spreadsheet document Create a brand new Google Spreadsheet document | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_create_spreadsheet` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet_name` | string | Yes | - | The name of the new Google Spreadsheet to create. | | `folder_id` | string | No | - | Optional Google Drive folder ID where the new spreadsheet should be created. Markifact can only use folders it created itself or that the user selected through the file picker in the app. A folder ID copied from Google Drive is not visible to Markifact and the request will fail. Leave this empty to create the spreadsheet in the account's default location. | ## Output **Type**: `Dict` Returns created spreadsheet details. **Fields**: `message`, `spreadsheet_name`, `spreadsheet_id`, `spreadsheet_url` # Delete Sheet Source: https://docs.markifact.com/nodes/sheets/sheets_delete_sheet Delete a sheet/tab from a specific Google spreadsheet Delete a sheet/tab from a specific Google spreadsheet | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_delete_sheet` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID where you want to delete a sheet. | | `sheet_name` | string | Yes | - | The name of the sheet/tab to delete. | ## Output **Type**: `Dict` Returns deletion confirmation. **Fields**: `message`, `sheet_name`, `spreadsheet_id` # Get Chart Source: https://docs.markifact.com/nodes/sheets/sheets_get_chart Retrieves chart information like id, alt text, this node should be used in pair with slides_add_sheets_chart to embed charts into Google Slides presentations Retrieves chart information like id, alt text, this node should be used in pair with slides\_add\_sheets\_chart to embed charts into Google Slides presentations | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_get_chart` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Sheets spreadsheet URL or ID. You must ask the user for it if not provided. | | `sheet` | string or SelectItem | Yes | - | The sheet to read data from. You can provide this in several ways: 1. If user provides just a sheet name, fill the object like this \{'label': 'Sheet1', 'value': 'Sheet1'} 2. If user provides only a sheet ID: Format as \{'label': '123456', 'value': '123456'} 3. If user provides dynamic values: Use the template syntax (e.g., '\{\{nodeId\_data\_sheet}}') 4. If user selects from dropdown: they will ge this format \{'label': 'Sheet1', 'value': '123456'} If user doesn't provide sheet information, ask them to specify the sheet name or select from available sheets using the dropdown menu. | | `alt_text` | string | Yes | - | Alt text identifier for the chart you want to retrieve. This is used to locate the specific chart within the sheet. Charts can be identified by their alt text, title, or description properties. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns chart metadata for embedding in slides. **Fields**: `chart_id`, `spreadsheet_id`, `sheet_id`, `alt_text`, `title`, `chart_type`, `position` # Get Spreadsheet Source: https://docs.markifact.com/nodes/sheets/sheets_get_spreadsheet Fallback Google Sheets read operation returning the raw spreadsheets.get response, for what dedicated reads miss: cell formats (fonts, fills, borders, alignment), column widths, row heights, merges... Fallback Google Sheets read operation returning the raw spreadsheets.get response, for what dedicated reads miss: cell formats (fonts, fills, borders, alignment), column widths, row heights, merges and conditional formats. Prefer sheets\_read\_data for values and sheets\_list\_sheets for tabs; pass ranges and a fields mask to keep responses small. | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_get_spreadsheet` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID to read. | | `ranges` | string or array of string | No | - | A1 ranges to return, each with its sheet name, for example \["'Report'!A1:P20"]. Omit to return every sheet. Always set ranges with include\_grid\_data, since full grid data for a large sheet is huge. | | `include_grid_data` | boolean | No | `False` | Return cell-level data (values and formats such as fonts, fills, borders, alignment and wrapping) plus row and column metadata (pixel heights and widths) for the requested ranges. Ignored when fields is set; include sheets.data in fields instead. | | `fields` | string | No | - | Google field mask limiting what is returned, recommended to keep the response small. Examples: column widths and row heights 'sheets(properties(sheetId,title),data(columnMetadata/pixelSize,rowMetadata/pixelSize))'; cell formats 'sheets(properties/title,data/rowData/values/userEnteredFormat)'; merges and banding 'sheets(properties/title,merges,bandedRanges)'. | ## Output **Type**: `Dict` Returns Google's raw Spreadsheet resource for the requested ranges and fields. # List Sheets Source: https://docs.markifact.com/nodes/sheets/sheets_list_sheets List sheets/tabs inside a Google Spreadsheet with basic details List sheets/tabs inside a Google Spreadsheet with basic details | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_list_sheets` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID to list its sheets/tabs. | ## Output **Type**: `List[Dict]` Returns list of sheets in the spreadsheet. **Fields**: `sheet_id`, `title`, `sheet_type`, `row_count`, `column_count`, `frozen_row_count` # Read Data Source: https://docs.markifact.com/nodes/sheets/sheets_read_data Reads data from Google Sheets with support for specific ranges, formatting, and data types Reads data from Google Sheets with support for specific ranges, formatting, and data types | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_read_data` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID, you must ask the user for it if not provided. | | `sheet` | string or SelectItem | Yes | - | The sheet to read data from. You can provide this in several ways: 1. If user provides just a sheet name, fill the object like this \{'label': 'Sheet1', 'value': 'Sheet1'} 2. If user provides only a sheet ID: Format as \{'label': '123456', 'value': '123456'} 3. If user provides dynamic values: Use the template syntax (e.g., '\{\{nodeId\_data\_sheet}}') 4. If user selects from dropdown: they will ge this format \{'label': 'Sheet1', 'value': '123456'} If user doesn't provide sheet information, ask them to specify the sheet name or select from available sheets using the dropdown menu. | | `load_all_data` | boolean | No | `True` | Whether to load all data from the sheet, default is True. Rows come back as objects keyed by the first row, so a sheet with only a header row returns \[]; set raw\_values to see the header row. | | `selection_type` | string or SelectableOption | No | - | Type of selection (range or cell) when not loading all data, 'load\_all\_data' must be False. Available options: 'range' : this is the default 'cell' : this is used when you want to read a single cell from the sheet. | | `range` | string | No | - | Range to read when using range selection (e.g., 'A1:D10', 'A:A', 'A:C') | | `cell` | string | No | - | Single cell to read when using cell selection (e.g., 'A1') | | `value_render_option` | string or SelectableOption | No | - | Value render option for reading data from sheet. Available options: 'UNFORMATTED\_VALUE' : this is the default, this returns the raw value of the cell. 'FORMATTED\_VALUE' : this returns the formatted value of the cell. 'FORMULA' : this returns the formula of the cell if it exists. | | `filters` | array of Condition | No | - | Optional filters to apply to the data read from the sheet | | `raw_values` | boolean | No | `False` | Set true to return the cells as a list of rows (each a list of cell values), with the header row as the first row, instead of objects keyed by the header row. Use it to check a sheet's headers before writing to it. Applies to all-data and range reads; cannot be combined with filters. | ### Condition | Field | Type | Required | Default | Description | | - | - | - | - | - | | `expression` | string | Yes | - | Field name e.g 'age', must match the key names in the data | | `operator` | string | Yes | - | The condition operator, must be one of the available operators | | `value` | string | Yes | - | The value to compare against | | `joiner` | string | No | - | Optional joiner for multiple conditions (e.g., 'AND', 'OR'). Joiner should be added from second condition onwards. Don't add to the first condition. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `any | List[Dict]` Returns single value for cell selection, or list of dicts (rows with headers as keys) for range/all data; a sheet with only a header row returns \[]. With raw\_values, returns a list of rows (lists of cell values) with the header row first. **Fields**: dynamic (depend on the inputs) # Rename Sheet Source: https://docs.markifact.com/nodes/sheets/sheets_rename_sheet Rename a sheet/tab in a specific Google spreadsheet Rename a sheet/tab in a specific Google spreadsheet | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_rename_sheet` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID where you want to rename a sheet. | | `old_sheet_name` | string | Yes | - | The current name of the sheet/tab to rename. | | `new_sheet_name` | string | Yes | - | The new name for the sheet/tab. | ## Output **Type**: `Dict` Returns rename confirmation. **Fields**: `message`, `old_sheet_name`, `new_sheet_name`, `sheet_id`, `spreadsheet_id` # Select Spreadsheet Source: https://docs.markifact.com/nodes/sheets/sheets_select_spreadsheet Requires user to select a Google Spreadsheet via Official Drive file picker Requires user to select a Google Spreadsheet via Official Drive file picker. This grants Markifact access to only the chosen file (not the entire Drive). Use this node first, then pass the output to other Sheets nodes. | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_select_spreadsheet` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string or SelectItem | Yes | - | The Google Spreadsheet selected from Google Drive. Can be either a string ID or an object with \{ label, value } format. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns the spreadsheet ID. # Write Data Source: https://docs.markifact.com/nodes/sheets/sheets_write_data Writes data to Google Sheets with multiple write modes including append, overwrite, and clear Writes data to Google Sheets with multiple write modes including append, overwrite, and clear. Support multiple rows, can handle big datasets. | | | | - | - | | **App** | Google Sheets | | **Operation ID** | `sheets_write_data` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `spreadsheet` | string | Yes | - | Google Spreadsheet URL or ID, you must ask the user for it if not provided. | | `sheet` | string or SelectItem | Yes | - | The sheet to write data to. You can provide this in several ways: 1. If user provides just a sheet name, fill the object like this \{'label': 'Sheet1', 'value': 'Sheet1'} 2. If user provides only a sheet ID: Format as \{'label': '123456', 'value': '123456'} 3. If user provides dynamic values: Use the template syntax (e.g., '\{\{nodeId\_data\_sheet}}') 4. If user selects from dropdown: they will ge this format \{'label': 'Sheet1', 'value': '123456'} If user doesn't provide sheet information, ask them to specify the sheet name or select from available sheets using the dropdown menu. | | `write_mode` | string or SelectableOption | Yes | - | Choose how to write the data to the sheet. Available options: 'append' - Add data to the end of the sheet after existing data, 'overwrite' - Replace data starting from a specific row, 'clear' - Remove all existing data before writing new data | | `write_type` | string or SelectableOption | Yes | - | Choose how to map your data into the sheet. Available options: 'all' - Write all data from previous steps to the sheet. Recommended for most cases, just provide data and everything is taken care of automatically. 'mapped' - Map data to specific columns manually. | | `starting_row` | integer | No | `1` | Enter the row number where data should start being written (e.g., 2), this is useful when you want to write data below existing headers or data. Default is 1. | | `add_headers` | boolean | No | `True` | Whether to write a header row above the data. Only applicable when write\_type is 'all'. - List of objects: the object keys are written as the first row and each object becomes a row (true, the default), or only the values are written (false). - List of lists or of plain values: there are no keys, so the rows are written exactly as given, first row included; put the header row first in the data yourself. This setting has no effect for that shape. | | `auto_format_data` | boolean | No | `False` | Set true to calculate formulas and let Google Sheets format numbers, dates and percentages, as if typed by hand. Omit or false to write values as RAW text (formulas stay literal text, leading apostrophes stay visible). | | `data` | array (also accepts a comma-separated string) | No | - | Select the data to write to the sheet. You can provide a list of objects, list of lists or any data type. Recommended to use a list of objects for best results so you can use headers. A list of lists is written exactly as given, first row included, so put the header row first yourself. REQUIRED when write\_type is 'all'. MUST BE NULL/EMPTY when write\_type is 'mapped' - clear this field if write\_type changes to 'mapped'. This field and column\_mapping are mutually exclusive - only one should be used at a time. For workflows, this will be mainly the output of an upstream node. Example: '\{\{nodeId\_\_data}}' | | `column_mapping` | ColumnMapping | No | - | Map source data fields to target columns. Column should be in the format of A, B, C, etc. REQUIRED when write\_type is 'mapped'. MUST BE NULL/EMPTY when write\_type is 'all' - clear this field if write\_type changes to 'all'. This field and data are mutually exclusive - only one should be used at a time. For workflows, this will be mainly the output of an upstream node. Examples: \{'A': '\{\{nodeId\_\_data.cost}}', 'B': \['\{\{nodeId\_\_data.date}}']} | ### ColumnMapping Column mapping configuration where keys are column letters (A, B, C) | Field | Type | Required | Default | Description | | - | - | - | - | - | | `root` | object | Yes | - | | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message with written range details. # Connect Shopify Store Source: https://docs.markifact.com/nodes/shopify/shopify_connect Connect your Shopify store to Markifact using a private app for secure, store-specific access to your data. Markifact connects to your Shopify store using **Private Apps** created through Shopify's Developer Dashboard. This guide walks you through the setup process. *** ## About Private Apps Private apps are **secure, store-specific applications** that you create and control. They: * Are installed only on your specific store * Give you full control over permissions * Can be disconnected at any time * Keep your data access private and secure > [!NOTE] > > **Why Private Apps?** We initially built Shopify OAuth integration for seamless one-click connection. However, Shopify requires OAuth apps to use their billing system, which doesn't align with our existing subscription model. Private apps give you the same functionality with full control over your store's data access. *** ## Already Have a Custom App? > [!NOTE] > > If you created a custom app before January 1, 2026, it will continue to work. You don't need to make any changes — your existing connection remains fully functional. *** ## Creating a Private App Here's how the connection process works: 1. **Create a private app** in Shopify's Developer Dashboard — this app is exclusive to your store 2. **Create a version** and open its configuration page 3. **Request read all orders access** from the version page 4. **Configure permissions** (scopes) for what data the app can access 5. **Install the app** on your store using a private install link 6. **Copy your credentials** (Client ID and Client Secret) from the dashboard 7. **Connect in Markifact** — we securely store your credentials and verify the connection **1. Open the Developer Dashboard** 1. Login in Shopify admin then go to [dev.shopify.com/dashboard](https://dev.shopify.com/dashboard/) 2. Click **"Create app"** in the top-right corner ![Create App Button](https://mintcdn.com/markifact/cVC6qjdDNm10h7c-/images/nodes/shopify/create_app_button.png?fit=max\&auto=format\&n=cVC6qjdDNm10h7c-\&q=85\&s=904ae8158ddfbc7c48ea2b931a46006e) **2. Name Your App** 1. Under **"Start from Dev Dashboard"**, enter a name for your app (e.g., "Markifact Integration") 2. App names can be up to 30 characters 3. Click **"Create"** ![Name Your App](https://mintcdn.com/markifact/2rURrbOKNTVJAiHp/images/nodes/shopify/name_app.png?fit=max\&auto=format\&n=2rURrbOKNTVJAiHp\&q=85\&s=882b88266599d6eebd895342a7c28904) **3. Open the Version Page and Request Read All Orders** Shopify requires permission before you can include the `read_all_orders` scope in an app version. This scope lets Markifact read orders older than the last 60 days, which is required for historical reporting. 1. After creating the app, Shopify will prompt you to create a version. Click it to open the version configuration page. 2. If you are returning to an existing app, click **"Versions"** in the left sidebar, then create a new version or open the draft version you want to update. 3. On the version configuration page, go to the **"Access"** section and click **"Request access"** next to the message about scopes that require Shopify permission 4. In **"Read all orders scope"**, click **"Request access"** 5. Enter a short reason, such as: ``` Pull historical order data month on month for analytics. ``` 6. Click **"Request access"** 7. After Shopify approves the request, go back to the same version configuration page ![Request Access to Read All Orders](https://mintcdn.com/markifact/NL8YuZs3nLj9-_K5/images/nodes/shopify/request_access_to_all_orders.png?fit=max\&auto=format\&n=NL8YuZs3nLj9-_K5\&q=85\&s=8583a3ee6dac0d1be40c51f955f1628a) > [!NOTE] > > Shopify usually approves this request immediately from the form. Once approved, you can add `read_all_orders` with the other required scopes. **4. Configure API Scopes** On the same version configuration page, stay in the **"Access"** section and add the required API scopes (permissions). > [!WARNING] > > **All scopes are required.** Make sure to add all four scopes listed below. | Scope | Purpose | | :- | :- | | `read_orders` | Access order data for sales reporting | | `read_all_orders` | Access historical orders older than 60 days | | `read_customers` | Access customer data for analytics | | `read_inventory` | Access inventory levels and product data | **To add scopes:** Copy and paste the following scopes into the text box: ``` read_orders, read_all_orders, read_customers, read_inventory ``` > [!NOTE] > > If Shopify shows `read_all_orders` as an invalid scope after your request is approved, refresh the version page and try adding the scopes again. Alternatively, click **"Select Scopes"**, check the boxes next to each required scope, and click **"Done"**. ![Configure Required Scopes](https://mintcdn.com/markifact/NL8YuZs3nLj9-_K5/images/nodes/shopify/config_scopes.png?fit=max\&auto=format\&n=NL8YuZs3nLj9-_K5\&q=85\&s=cdeae23c8124adb3d684a21a4dde04c5) **5. Release the App** 1. Click the **"Release"** button in the top-right corner 2. Optionally, enter a version name and message 3. Click **"Release"** to confirm After releasing, you'll see your version listed in the Versions page. ![Version Released](https://mintcdn.com/markifact/2rURrbOKNTVJAiHp/images/nodes/shopify/version_released.png?fit=max\&auto=format\&n=2rURrbOKNTVJAiHp\&q=85\&s=242dc84cd4857f71c7d27aa6c609ddb1) **6. Set Up Distribution** Before installing, you need to configure the app for private distribution to your store. 1. In the Developer Dashboard, click **"Distribution"** in the sidebar (or click **"Select distribution method"**) > [!NOTE] > > **Can't find Distribution?** No problem. Click **"Install app"** and install it on your store. You can skip the distribution step entirely and continue to the next step. ![Select Distribution](https://mintcdn.com/markifact/2rURrbOKNTVJAiHp/images/nodes/shopify/select_distribution.png?fit=max\&auto=format\&n=2rURrbOKNTVJAiHp\&q=85\&s=2c628d0c2ef7a957ab3acd3f187b0db5) 2\. Select **"Custom distribution"** and click **"Select"**, then confirm by clicking **"Select custom distribution"** ![Select Distribution](https://mintcdn.com/markifact/2rURrbOKNTVJAiHp/images/nodes/shopify/select_distribution_method.png?fit=max\&auto=format\&n=2rURrbOKNTVJAiHp\&q=85\&s=92633e0f30ea7e1f93bd3d312a8cc168) 3. Enter your **Store domain** (e.g., `your-store.myshopify.com`) 4. If you have multiple stores under a Shopify Plus organization, check **"Allow multi-store install for one Plus organization"** 5. Click **"Generate link"** and confirm ![Generate Install Link](https://mintcdn.com/markifact/2rURrbOKNTVJAiHp/images/nodes/shopify/generate_link.png?fit=max\&auto=format\&n=2rURrbOKNTVJAiHp\&q=85\&s=37f2567e11a2a45f4845ef024461fd8a) 6. Copy the **Install link** — you'll use this to install the app on your store ![Copy Install Link](https://mintcdn.com/markifact/cVC6qjdDNm10h7c-/images/nodes/shopify/copy_install_link.png?fit=max\&auto=format\&n=cVC6qjdDNm10h7c-\&q=85\&s=2f9a014d1b987aa1eead1c40cf8970ef) **7. Install the App** 1. Open the **Install link** you copied in the previous step 2. Select your store if prompted 3. Review the permissions — you'll see the app is **exclusive to your store** 4. Click **"Install"** ![Install App](https://mintcdn.com/markifact/2rURrbOKNTVJAiHp/images/nodes/shopify/install_app.png?fit=max\&auto=format\&n=2rURrbOKNTVJAiHp\&q=85\&s=cd8c25daa62bfd9d7effdbb2824a7d96) Once installed, the app will appear in the left-side menu of your Shopify admin. **8. Get Your Credentials** After installation, you need to retrieve your **Client ID** and **Client Secret** from the Developer Dashboard. 1. Go back to [dev.shopify.com](https://dev.shopify.com/dashboard/) and select your app 2. Click **"Settings"** in the left sidebar 3. Under **"Credentials"**, click the copy icon next to **Client ID** 4. Click the copy icon next to **Secret** to copy your Client Secret ![App Credentials](https://mintcdn.com/markifact/cVC6qjdDNm10h7c-/images/nodes/shopify/app_credentials.png?fit=max\&auto=format\&n=cVC6qjdDNm10h7c-\&q=85\&s=e6025b86d07974237cd9879375033638) > **Important:** Keep these credentials secure. Anyone with your Client ID and Secret can access your store data. **9. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **"Connect Shopify"** 3. Enter your **Store URL or ID** (e.g., `your-store` or `your-store.myshopify.com`) 4. Paste your **Client ID** 5. Paste your **Client Secret** 6. Click **"Connect Shopify"** ![Connect to Markifact](https://mintcdn.com/markifact/cVC6qjdDNm10h7c-/images/nodes/shopify/connect_to_markifact.png?fit=max\&auto=format\&n=cVC6qjdDNm10h7c-\&q=85\&s=895ed18acde951341d7bf6e7f159a3d9) *** ## Disconnecting Your Store You can disconnect your Shopify store at any time: **From Markifact:** 1. Go to [Connections](https://app.markifact.com/connections) 2. Find your Shopify connection 3. Click **"Disconnect"** **From Shopify:** 1. Go to **Settings** → **Apps and sales channels** 2. Find your Markifact integration app 3. Click **"Delete app"** *** ## Troubleshooting > [accordion] Invalid credentials > > Ensure you copied the **Client ID** and **Client Secret** correctly from the Developer Dashboard under **Settings** → **Credentials**. If you rotated your secret, make sure to update it in Markifact as well. > [accordion] Missing permissions error > > Verify that all required scopes are added to your app: > > * `read_orders` > * `read_all_orders` > * `read_customers` > * `read_inventory` > > After adding missing scopes, you need to **release a new version** and **reinstall the app** for changes to take effect. > [accordion] Store not found > > Check that your store URL is correct. It should be in the format `your-store.myshopify.com` (without `https://` or trailing slashes). > [accordion] API rate limits > > Shopify has API rate limits. If you're running many reports simultaneously, you may hit these limits. Try spacing out your requests or reducing the frequency of automated workflows. *** ## Summary | Item | Where to Find | Example | | - | - | - | | **Store URL** | Your Shopify store URL | `your-store.myshopify.com` | | **Client ID** | Dev Dashboard → Settings → Credentials | `c33c8418c46301ef5d95...` | | **Client Secret** | Dev Dashboard → Settings → Credentials | `abc123def456...` | | **Required Scopes** | Configure in Dev Dashboard → Versions | `read_orders`, `read_all_orders`, `read_customers`, `read_inventory` | *** ## Related > [card] [Get Report](/nodes/shopify/shopify_get_report) > > Fetch orders, customers, and inventory data from your store # Get Report Source: https://docs.markifact.com/nodes/shopify/shopify_get_report Fetches Shopify reports with customizable metrics, dimensions, filters, date ranges, and sorting options Fetches Shopify reports with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including Sales, Customers, and Products. Each Shopify connection maps to a single store, so there is no in-node store selection — the connection itself determines the store. Use the list\_connections tool to see which Shopify stores the user's connections have access to and pick the right connection\_id. | | | | - | - | | **App** | Shopify | | **Operation ID** | `shopify_get_report` | | **Type** | Action | | **Connection** | `shopify` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Total Sales' instead of 'totalSales'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "productId": "789", "productTitle": "Blue T-Shirt", "totalSales": 1250.0, "ordersCount": 45 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/shopify/shopify_list_report_fields Search and browse available Shopify reporting metrics and dimensions before running reports Search and browse available Shopify reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(orders|revenue).*'}]. | | | | - | - | | **App** | Shopify | | **Operation ID** | `shopify_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Custom Slack App Source: https://docs.markifact.com/nodes/slack/slack_custom_app Connect your own Slack app to Markifact for enhanced control, custom branding, and organization-specific requirements. Markifact supports two ways to connect Slack: using the built-in **Markifact Slack App** (Quick Connect) or connecting your own **Custom Slack App**. This guide explains both options and walks you through setting up your own custom Slack app. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. Custom Slack apps connected before this change keep working on any plan. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 10-15 minutes | | **Bot Name** | "Markifact" | Your custom name | | **Bot Icon** | Markifact logo | Your custom icon | | **White Label** | No | Yes | | **IT Approval** | May require | Easier to approve | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing, small teams | Enterprise, custom branding, strict security | *** ## Setting Up Your Custom Slack App > [!NOTE] > > **Already have a Slack app?** Skip Step 1 and go directly to Step 2 to configure your existing app. **1. Create a New Slack App** 1. Go to [Slack API Apps](https://api.slack.com/apps/) 2. Click **"Create New App"** 3. Select **"From scratch"** 4. Enter your app name (e.g., "My Company Bot") 5. Select the workspace where you want to install the app 6. Click **"Create App"** ![Create Slack App](https://mintcdn.com/markifact/b2JrxHjzzZv4V10g/images/nodes/slack/create_slack_app.png?fit=max\&auto=format\&n=b2JrxHjzzZv4V10g\&q=85\&s=7041abd5b08572bf53d93e4cc2250453) **2. Configure Event Subscriptions** Event Subscriptions allow your bot to receive messages and mentions from Slack. 1. In your app settings, go to **"Event Subscriptions"** in the left sidebar 2. Toggle **"Enable Events"** to **On** 3. In the **"Request URL"** field, enter: ```bash theme={"dark"} https://api.markifact.com/slack/events ``` 4. Wait for Slack to verify the URL (you'll see a green checkmark) ![Event Subscriptions](https://mintcdn.com/markifact/b2JrxHjzzZv4V10g/images/nodes/slack/event_subscriptions.png?fit=max\&auto=format\&n=b2JrxHjzzZv4V10g\&q=85\&s=1f30f454187044d20328800fa3fc91b6) **Subscribe to Bot Events:** Expand **"Subscribe to bot events"** and add this event: * `app_mention` - When users mention your bot Click **"Save Changes"** at the bottom. **3. Configure Interactivity** Interactivity enables buttons, menus, and other interactive elements in Slack messages. 1. Go to **"Interactivity & Shortcuts"** in the left sidebar 2. Toggle **"Interactivity"** to **On** 3. In the **"Request URL"** field, enter: ```bash theme={"dark"} https://api.markifact.com/slack/interactivity ``` 4. Click **"Save Changes"** ![Interactivity Settings](https://mintcdn.com/markifact/s2a0g-inurSdsyFh/images/nodes/slack/interactivity_settings.png?fit=max\&auto=format\&n=s2a0g-inurSdsyFh\&q=85\&s=c016d642bed52f477999b5e1b35d566b) When using the Markifact AI Agent in Slack, the agent sends interactive approval cards before performing write actions (like creating campaigns, updating budgets, or modifying ad groups). These cards have "Approve" and "Reject" buttons that require interactivity to be enabled. **4. Configure OAuth Scopes** Scopes define what permissions your bot has in Slack. 1. Go to **"OAuth & Permissions"** in the left sidebar 2. Scroll down to **"Scopes"** 3. Under **"Bot Token Scopes"**, click **"Add an OAuth Scope"** 4. Add **all** of the following scopes: > [!WARNING] > > **All scopes are required.** Do not skip any scope from the list below. Missing even one scope will cause certain features to fail. | Scope | Purpose | | :- | :- | | `app_mentions:read` | Receive notifications when your bot is mentioned | | `channels:read` | View basic channel information | | `channels:history` | Read messages in public channels | | `groups:read` | View basic private channel information | | `groups:history` | Read messages in private channels | | `chat:write` | Send messages as your bot | | `reactions:write` | Add emoji reactions to messages | | `users:read` | View user information | | `files:read` | View files shared in channels | | `files:write` | Upload and share files | ![OAuth Scopes](https://mintcdn.com/markifact/0nah9lHrIjvU60Y0/images/nodes/slack/oauth_scopes.png?fit=max\&auto=format\&n=0nah9lHrIjvU60Y0\&q=85\&s=c71346f304ef3469f11075306688c3a2) **5. Install App to Workspace** 1. Go to **"Install App"** in the left sidebar 2. Click **"Install to Workspace"** 3. Review the permissions and click **"Allow"** 4. Copy the **"Bot User OAuth Token"** (starts with `xoxb-`) ![Install App](https://mintcdn.com/markifact/s2a0g-inurSdsyFh/images/nodes/slack/install_app.png?fit=max\&auto=format\&n=s2a0g-inurSdsyFh\&q=85\&s=299c3cc3b4994a8507569556668ff231) After installation, the bot token is generated. This token is what Markifact uses to authenticate API requests to Slack on behalf of your bot. ![Copy Token](https://mintcdn.com/markifact/b2JrxHjzzZv4V10g/images/nodes/slack/copy_token.png?fit=max\&auto=format\&n=b2JrxHjzzZv4V10g\&q=85\&s=1c7f27240a76224336173883c7aeaec5) > **Important:** Keep this token secure. Anyone with this token can send messages as your bot. **6. Get Your Signing Secret** The signing secret verifies that requests to Markifact are actually from Slack. 1. Go to **"Basic Information"** in the left sidebar 2. Scroll down to **"App Credentials"** 3. Find and copy your **"Signing Secret"** ![Signing Secret](https://mintcdn.com/markifact/s2a0g-inurSdsyFh/images/nodes/slack/signing_secret.png?fit=max\&auto=format\&n=s2a0g-inurSdsyFh\&q=85\&s=50ff71e97a7e6fef3ba5858b4b97a509) **7. Connect to Markifact** Now you have everything needed to connect your custom app to Markifact. 1. In Markifact, go to [Connections](https://app.markifact.com/connections) page 2. Click **"Connect Slack"** 3. Select the **"Custom App (White-label)"** tab 4. Enter a **Connection Name** (for example "Acme Corp Marketing Bot"); this is how the connection appears in Markifact 5. Enter your **Bot Token** (the `xoxb-` token from Step 5) 6. Enter your **Signing Secret** (from Step 6) 7. Click **"Verify & Connect"** ![Connect Custom App](https://mintcdn.com/markifact/b2JrxHjzzZv4V10g/images/nodes/slack/connect_custom_app.png?fit=max\&auto=format\&n=b2JrxHjzzZv4V10g\&q=85\&s=372ee73c03cb5842db65bc0a3ea6d0d1) > [!NOTE] > > **Verification Success = Ready to Go!** Once Markifact verifies your credentials, your custom Slack app is fully connected. You can use it with both **Workflows** and the **AI Agent** — all Slack features are supported. *** ## Selecting Your Connection When configuring Slack nodes or the AI Agent, you'll see your custom app connection in the dropdown under the **Connection Name** you entered, with a **Custom app** badge on the Connections page. Make sure to select the correct connection if you have multiple Slack connections. *** ## Verifying Your Setup After connecting, test your setup: 1. **Create a simple workflow** with the Slack "New Message" trigger 2. **Add your bot to a channel** by typing `@YourBotName` in the channel 3. **Mention your bot** in a message 4. **Check that your workflow triggers** successfully *** ## Troubleshooting > [accordion] URL verification failed > > Make sure you entered the exact URLs: > > * Events: `https://api.markifact.com/slack/events` > * Interactivity: `https://api.markifact.com/slack/interactivity` > > Check for typos and ensure there are no extra spaces. > [accordion] Bot token is invalid > > Ensure you copied the **Bot User OAuth Token** (starts with `xoxb-`), not the User OAuth Token. You can find it under **"Install App"** after installing the app to your workspace. > [accordion] Signing secret verification failed > > The signing secret is found under **"Basic Information"** > **"App Credentials"**. Make sure you copy the entire secret without any extra spaces. > [accordion] Bot doesn't respond to messages > > Check that: > > 1. **Signing Secret is correct** — A wrong signing secret is the most common cause. Markifact uses the signing secret to verify that incoming requests are actually from Slack. If it's incorrect, all events are silently rejected. Double-check you copied the correct secret from **"Basic Information"** > **"App Credentials"**. > 2. Event Subscriptions are enabled with the correct URL > 3. You've subscribed to the required bot events (`app_mention`) > 4. The bot has been added to the channel > 5. Your workflow is active and properly configured > 6. **Correct connection selected**: if using the AI Agent, ensure your agent channel is active and using your custom app's connection (the one with the name you entered and the **Custom app** badge). If the connection is named after your workspace with no badge, you're using Quick Connect, not your custom app. > [accordion] Missing permissions error > > Review the OAuth scopes and ensure all required scopes are added. After adding new scopes, you need to **reinstall the app** to your workspace for changes to take effect. > [accordion] Could not retrieve app information: missing\_scope > > This error appears when connecting your custom app and indicates that a required OAuth scope is missing — typically `users:read`. > > **To fix:** > > 1. Go to your [Slack App Settings](https://api.slack.com/apps/) > 2. Navigate to **"OAuth & Permissions"** > 3. Under **"Bot Token Scopes"**, ensure `users:read` is added > 4. After adding the scope, **reinstall your app** by going to **"Install App"** and clicking **"Reinstall to Workspace"** > 5. Copy the new **Bot User OAuth Token** and update it in Markifact *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Bot Token** | Install App → Bot User OAuth Token | `xoxb-1234567890-...` | | **Signing Secret** | Basic Information → App Credentials | `abc123def456...` | | **Events URL** | For Event Subscriptions | `https://api.markifact.com/slack/events` | | **Interactivity URL** | For Interactivity & Shortcuts | `https://api.markifact.com/slack/interactivity` | *** ## Related > [card] [New Message Trigger](/nodes/slack/slack_on_new_message) > > Trigger workflows when your bot is mentioned > [card] [Send Message](/nodes/slack/slack_send_message_to_channel) > > Send messages and files to Slack channels # List Channels Source: https://docs.markifact.com/nodes/slack/slack_list_channels Lists public and private channels in the connected Slack workspace with their IDs Lists public and private channels in the connected Slack workspace with their IDs | | | | - | - | | **App** | Slack | | **Operation ID** | `slack_list_channels` | | **Type** | Action | | **Connection** | `slack` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `search_query` | string | No | - | Optional text filter applied to channel names (case-insensitive substring match). | | `limit` | integer | No | `100` | Maximum number of channels to return. Default: 100. | | `exclude_archived` | boolean | No | `True` | Whether to exclude archived channels from the results. Default: true. | ## Output **Type**: `List[Dict]` Returns list of channels. **Fields**: `id`, `name`, `is_private`, `is_archived`, `num_members`, `topic`, `purpose` # On New Message Source: https://docs.markifact.com/nodes/slack/slack_on_new_message A trigger that activates workflows when new messages are received in Slack A trigger that activates workflows when new messages are received in Slack | | | | - | - | | **App** | Slack | | **Operation ID** | `slack_on_new_message` | | **Type** | Trigger | | **Connection** | `slack` (required) | | **Credits per run** | 1 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `channels` | string or SelectableOption | Yes | - | Configure which channels to monitor for new messages. Available options: 'all' - Monitor all channels where the bot is added 'specific' - Monitor only a specific channel Important: The bot only listens to messages where @Markifact is mentioned. Make sure the bot is added to the channels you want to monitor. | | `channel` | SelectItem | No | - | The specific Slack channel to monitor for new messages. This field is required when channels is set to 'specific'. Select any public channel where the bot has been added, or private channels where the bot is a member. The channel value should be the channel ID, not the channel name. Example: Channel ID like 'C1234567890' for #general | | `message` | object | No | - | The message event data that triggered this workflow. This field is automatically populated when a new message is received and contains information like: - message: The actual message text - channel: Channel information - thread\_id: Thread ID if it's a threaded message - conversation\_id: Unique conversation identifier - user\_id: ID of the user who sent the message - username: Username of the sender - user\_real\_name: Real name of the sender - today\_date: Current date when the message was received This data can be referenced in downstream nodes using \{\{nodeId\_\_data.message}}, \{\{nodeId\_\_data.user\_id}}, etc. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the incoming message details. **Fields**: `message`, `channel`, `thread_id`, `conversation_id`, `user_id`, `username`, `user_real_name`, `today_date` # Send Message To Channel Source: https://docs.markifact.com/nodes/slack/slack_send_message_to_channel Sends messages and files to Slack channels and threads Sends messages and files to Slack channels and threads. A null message\_ts can follow an accepted upload; check ok, file\_ids and warning, and do not resend solely because the timestamp is unavailable. | | | | - | - | | **App** | Slack | | **Operation ID** | `slack_send_message_to_channel` | | **Type** | Action | | **Connection** | `slack` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `channel` | string or SelectItem | Yes | - | The Slack channel where the message will be sent. This field dynamically loads available channels from your connected Slack workspace. You can select any public channel where the bot has been added, or private channels where the bot is a member. The channel value should be the channel ID, not the channel name. Example: \{'label': 'Channel Name', 'value': 'C1234567890'} or '#channel-name' | | `message` | string | Yes | - | The message content to post in the Slack channel. Supports multi-line text and Markdown formatting, including images (e.g. !\[alt text]\(image\_url)). Don't worry about conversion to Slack's format | | `thread_id` | string | No | - | Optional thread ID to reply to an existing message thread. Use this to continue a conversation in a thread rather than posting a new message. To reply under a message sent with this operation, pass its output thread\_ts. | | `include_attachment` | boolean | No | `False` | Whether to include data from previous workflow steps as a file attachment. When enabled, you can attach data in various formats (CSV, PDF, TXT, JSON) to provide additional context or detailed reports alongside your message. | | `attachment_format` | string or SelectableOption | No | - | Format for the attachment file. Available options: 'csv' - Good for tabular data, easy to open in Excel/Sheets 'pdf' - Professional format for reports and documents 'txt' - Simple text format for logs or plain data 'json' - Structured data format for technical teams Required when include\_attachment is true. | | `attachment_data` | any | No | - | The data to include in the attachment. This is mainly the output from upstream workflow nodes. The data will be automatically converted to the selected attachment format. Don't worry about conversion details. Required when include\_attachment is true. | | `attachment_name` | string | No | - | Name for the attachment file (without extension). The extension will be added automatically based on the selected attachment format. Use descriptive names that help recipients understand the content. No spaces allowed - use hyphens or underscores instead. Example: 'daily-sales-report' or 'google\_ads\_performance' Required when include\_attachment is true. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns Slack request acceptance (ok), channel\_id, message\_ts, thread\_ts, accepted file\_ids, timestamp\_resolved, and warning. ok confirms the primary API request was accepted, not that every image or message timestamp was verified. Use thread\_ts as thread\_id for replies; it may be null for a new upload whose timestamp is unresolved. **Fields**: `ok`, `channel_id`, `message_ts`, `thread_ts`, `file_ids`, `timestamp_resolved`, `warning` # Add Image Source: https://docs.markifact.com/nodes/slides/slides_add_image Inserts images into Google Slides presentations with positioning and sizing options Inserts images into Google Slides presentations with positioning and sizing options. Find shapes using alt text. Need to provide image URL | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_add_image` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `update_type` | string or SelectableOption | Yes | - | Choose how to provide the image data. Available options: 'mapped' - Define individual image replacement manually (DEFAULT) 'all' - Use data from previous steps containing image URLs and text identifiers | | `search_method` | string or SelectableOption | Yes | - | Method to identify shapes to replace with images: 'regular' - Find shapes containing specific text 'alt\_text' - Find shapes by their alt text property (RECOMMENDED) **Always use and recommend alt text method for reliability.** Tell users they need to: 1. Insert a shape in their slides 2. Right-click on shapes in their slides and select 'Alt Text' 3. Add unique identifiers (e.g., 'Product Image', 'Chart Placeholder') 4. Use these alt text values in the image operation Alt text prevents issues when slide content changes and ensures consistent targeting. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Data source containing image information. REQUIRED when update\_type is 'all'. This is mainly the output from an upstream node. MUST BE NULL/EMPTY when update\_type is 'mapped' - clear this field if update\_type changes to 'mapped'. Data must contain 'image\_url' and 'text' fields for each row. Optional 'slide\_number' field can target specific slides. Examples: '\{\{nodeId\_\_data}}' The node output should have a list of dictionaries with the format: \[\{'image\_url': '`https://example.com/image.jpg`', 'text': 'product image', 'slide\_number': 1}] | | `image_url` | string | No | - | URL of the image to insert. REQUIRED when update\_type is 'mapped'. MUST BE NULL/EMPTY when update\_type is 'all' - clear this field if update\_type changes to 'all'. Must be a valid HTTP or HTTPS URL pointing to an image file. Examples: '`https://example.com/image.jpg`', '`https://picsum.photos/300/200`' | | `text_to_find` | string | No | - | Text to find in shapes for replacement. REQUIRED when update\_type is 'mapped'. MUST BE NULL/EMPTY when update\_type is 'all' - clear this field if update\_type changes to 'all'. When using 'regular' search method: actual text content in shapes. When using 'alt\_text' search method: alt text value of the shape. Example: 'placeholder image' or 'product-photo' | | `slide_number` | integer | No | - | Optional slide number to target for image insertion (1-based indexing). Leave empty to search all slides. Only applies when update\_type is 'mapped'. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message with image count. # Add Sheets Chart Source: https://docs.markifact.com/nodes/slides/slides_add_sheets_chart Embeds Google Sheets charts into Google Slides presentations Embeds Google Sheets charts into Google Slides presentations. Get the chart information from the sheets\_get\_chart node. | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_add_sheets_chart` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `chart_id` | string | Yes | - | ID of the chart in the Google Sheets spreadsheet to insert into the slide. Chart IDs can be found by using 'Google Sheets Get Chart' node which returns the chart ID. Example format: '1234567890' | | `spreadsheet_id` | string | Yes | - | ID of the Google Sheets spreadsheet containing the chart. You can find this in the Google Sheets URL: `https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit` Example: '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms' | | `sheet_id` | string | Yes | - | ID of the specific worksheet/sheet containing the chart within the spreadsheet. Each sheet in a Google Sheets file has a unique sheet ID (different from sheet name). You can find this in the sheet URL after #gid= or via the Sheets API. Example: '0' for the first sheet, '123456789' for other sheets | | `alt_text` | string | Yes | - | Alt text of the object you want to replace with the chart. This is used to identify the specific element in the slides. **Setup Instructions**: 1. Insert a shape or paste chart from your Google Sheet in your slide where you want the chart 2. Right-click on the object in Google Slides 3. Select 'Alt text' from the context menu 4. Add a unique identifier (e.g., 'Monthly Sales Chart', 'Performance Dashboard') 5. Use this exact alt text value in this field Alt text ensures reliable element identification even when slide content changes. | | `slide_number` | integer | No | - | Optional slide number to insert the chart (1-based indexing). Leave empty to search all slides for the alt text element. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc. | ## Output **Type**: `str` Returns success message with replacement count. # Add Slide Source: https://docs.markifact.com/nodes/slides/slides_add_slide Add new blank slides to Google Slides presentations Add new blank slides to Google Slides presentations. You can specify the position of the new slide | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_add_slide` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `insertion_position` | string or SelectableOption | Yes | - | Where to place the new slide in the presentation. Available options: 'at\_beginning' - Add the slide at the beginning of the presentation 'at\_end' - Add the slide at the end of the presentation (DEFAULT & RECOMMENDED) 'custom\_position' - Add the slide at a specific position (requires custom\_position field) | | `custom_position` | integer | No | - | Position where to insert the new slide (1-based indexing, starting from 1). REQUIRED when insertion\_position is 'custom\_position'. MUST BE NULL/EMPTY when insertion\_position is not 'custom\_position' - clear this field if insertion\_position changes. Must be a positive integer. Example: 1 for beginning, 3 for third position, etc. If the specified position exceeds the total number of slides, the slide will be placed at the end. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns new slide details. **Fields**: `slide_id`, `slide_number`, `presentation_id` # Batch Update Source: https://docs.markifact.com/nodes/slides/slides_batch_update Fallback Google Slides write operation for anything that has no dedicated operation Fallback Google Slides write operation for anything that has no dedicated operation. Always prefer a dedicated operation when one matches the task, for example slides\_insert\_text or slides\_update\_text\_style. It applies raw Google Slides API batchUpdate requests, covering shape fills and outlines, element position and size, slide backgrounds, advanced text and paragraph styling, and more. Requests address content by objectId; use slides\_list\_elements or slides\_get\_slide to get objectIds. Speaker notes: insertText (and deleteText to replace existing notes) on the speaker\_notes object\_id from slides\_get\_slide. If no dedicated operation exists, use this operation and do not submit product feedback about a missing Google Slides write feature. | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_batch_update` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Enter the URL or ID of the Google Slides presentation you want to modify | | `requests` | array of object or string | Yes | - | List of raw Google Slides API batchUpdate request objects (or a JSON array string), sent to Google as-is. Use this for anything the dedicated Slides operations do not cover: shape fills, outlines and shadows (updateShapeProperties), element position and size (updatePageElementTransform), slide backgrounds (updatePageProperties), text and paragraph styling (updateTextStyle, updateParagraphStyle), creating shapes and lines, and more; see Google's Slides API batchUpdate reference for all request types. Requests address content by objectId: call slides\_list\_elements or slides\_get\_slide first to get the objectId of each slide and page element, and never guess objectIds. Example: \[\{"updateShapeProperties": \{"objectId": "SHAPE\_ID", "shapeProperties": \{"shapeBackgroundFill": \{"solidFill": \{"color": \{"rgbColor": \{"red": 0.9, "green": 0.93, "blue": 1.0}}}}}, "fields": "shapeBackgroundFill.solidFill.color"}}] | ## Output **Type**: `Dict` Returns the applied request count and Google's per-request replies. **Fields**: `presentation_id`, `applied_requests`, `replies` # Create Presentation Source: https://docs.markifact.com/nodes/slides/slides_create_presentation Create a brand new Google Slides presentation Create a brand new Google Slides presentation | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_create_presentation` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation_name` | string | Yes | - | The name of the new Google Slides presentation to create. | | `folder_id` | string | No | - | Optional Google Drive folder ID where the new presentation should be created. Markifact can only use folders it created itself or that the user selected through the file picker in the app. A folder ID copied from Google Drive is not visible to Markifact and the request will fail. Leave this empty to create the presentation in the account's default location. | ## Output **Type**: `Dict` Returns created presentation details. **Fields**: `message`, `presentation_name`, `presentation_id`, `presentation_url` # Create Table Source: https://docs.markifact.com/nodes/slides/slides_create_table Insert a new empty table into a Google Slides presentation Insert a new empty table into a Google Slides presentation. Specify the number of rows and columns, and optionally add alt text. To fill the table with content, use the `slides_update_table` node along with the alt text. | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_create_table` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `identifier_type` | string or SelectableOption | Yes | - | Method to identify the slide where the table will be created. Available options: 'slide\_number' - Identify slide by its position in the presentation (1-based indexing) 'slide\_id' - Identify slide by its unique Google Slides object ID | | `slide_number` | integer | No | - | Number of the slide where the table will be created (1-based indexing, starting from 1). REQUIRED when identifier\_type is 'slide\_number'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_id' - clear this field if identifier\_type changes to 'slide\_id'. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. | | `slide_id` | string | No | - | Unique Google Slides object ID of the slide where the table will be created. REQUIRED when identifier\_type is 'slide\_id'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_number' - clear this field if identifier\_type changes to 'slide\_number'. Example format: 'g1a82910c99\_0\_0' | | `rows` | integer | Yes | - | Number of rows for the table. Must be a positive integer between 1 and 20. | | `columns` | integer | Yes | - | Number of columns for the table. Must be a positive integer between 1 and 20. | | `alt_text` | string | No | - | Optional alternative text for the table. This can be used later to identify and update the table using other operations like 'slides\_update\_table'. RECOMMENDED to set this to a unique value for easier future reference. Example: 'campaigns\_table' or 'monthly\_report' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created table details. **Fields**: `table_id`, `slide_id`, `slide_number`, `rows`, `columns`, `alt_text`, `presentation_id` # Delete Slide Source: https://docs.markifact.com/nodes/slides/slides_delete_slide Removes specific slides from Google Slides presentations Removes specific slides from Google Slides presentations | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_delete_slide` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `identifier_type` | string or SelectableOption | Yes | - | Method to identify the slide to delete. Available options: 'slide\_number' - Identify slide by its position in the presentation (1-based indexing) 'slide\_id' - Identify slide by its unique Google Slides object ID **Slide Number is recommended for most use cases** as it's easier to work with. Slide IDs are unique identifiers that don't change but are harder to determine. **WARNING**: Deleting a slide is permanent and cannot be undone through the API. | | `slide_number` | integer | No | - | Number of the slide to delete (1-based indexing, starting from 1). REQUIRED when identifier\_type is 'slide\_number'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_id' - clear this field if identifier\_type changes to 'slide\_id'. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. **Note**: Cannot delete the only remaining slide in a presentation. | | `slide_id` | string | No | - | Unique Google Slides object ID of the slide to delete. REQUIRED when identifier\_type is 'slide\_id'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_number' - clear this field if identifier\_type changes to 'slide\_number'. Example format: 'g1a82910c99\_0\_0' You can find slide IDs in the Google Slides API or by inspecting the presentation. **Note**: Cannot delete the only remaining slide in a presentation. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns deleted slide confirmation. **Fields**: `slide_number`, `presentation_id` # Download Presentation Source: https://docs.markifact.com/nodes/slides/slides_download_presentation Export a Google Slides presentation as PowerPoint, PDF, or plain text Export a Google Slides presentation as PowerPoint, PDF, or plain text | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_download_presentation` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string or SelectItem | Yes | - | The Google Slides presentation selected from Google Drive. Can be either a string ID or an object with \{ label, value } format. | | `export_format` | string | Yes | - | Export format for the downloaded presentation. Supported values are PowerPoint (.pptx), PDF (.pdf), and Plain Text (.txt). | | `file_name` | string | No | - | Optional file name for the exported file. If not provided, the presentation title will be used when available. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the downloaded export file details. **Fields**: `file_url`, `file_type`, `file_name` # Duplicate Slide Source: https://docs.markifact.com/nodes/slides/slides_duplicate_slide Creates copies of existing slides within Google Slides presentations Creates copies of existing slides within Google Slides presentations | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_duplicate_slide` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `identifier_type` | string or SelectableOption | Yes | - | Method to identify the slide to duplicate. Available options: 'slide\_number' - Identify slide by its position in the presentation (1-based indexing) 'slide\_id' - Identify slide by its unique Google Slides object ID **Slide Number is recommended for most use cases** as it's easier to work with. Slide IDs are unique identifiers that don't change but are harder to determine. | | `slide_number` | integer | No | - | Number of the slide to duplicate (1-based indexing, starting from 1). REQUIRED when identifier\_type is 'slide\_number'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_id' - clear this field if identifier\_type changes to 'slide\_id'. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. | | `slide_id` | string | No | - | Unique Google Slides object ID of the slide to duplicate. REQUIRED when identifier\_type is 'slide\_id'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_number' - clear this field if identifier\_type changes to 'slide\_number'. Example format: 'g1a82910c99\_0\_0' You can find slide IDs in the Google Slides API or by inspecting the presentation. | | `insertion_position` | string or SelectableOption | Yes | - | Where to place the duplicated slide in the presentation. Available options: 'after\_original' - Place the duplicate immediately after the original slide (DEFAULT) 'at\_beginning' - Place the duplicate as the first slide in the presentation 'at\_end' - Place the duplicate as the last slide in the presentation 'custom\_position' - Place the duplicate at a specific position (requires custom\_position field) **'After original slide' is recommended** as it keeps related slides together. | | `custom_position` | integer | No | - | Position where to insert the duplicated slide (1-based indexing, starting from 1). REQUIRED when insertion\_position is 'custom\_position'. MUST BE NULL/EMPTY when insertion\_position is not 'custom\_position' - clear this field if insertion\_position changes. Must be a positive integer. Example: 1 for beginning, 3 for third position, etc. If the specified position exceeds the total number of slides, the slide will be placed at the end. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns duplicated slide details. **Fields**: `slide_id`, `slide_number`, `presentation_id` # Get Slide Source: https://docs.markifact.com/nodes/slides/slides_get_slide Get a slide by index (1-based) Get a slide by index (1-based). Returns slide metadata and the slide's thumbnail\_url, a list of page elements with their IDs, types and alt text, and the slide's speaker notes (text and object\_id). | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_get_slide` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `identifier_type` | string or SelectableOption | Yes | - | Method to identify the slide to retrieve information from. Available options: 'slide\_number' - Identify slide by its position in the presentation (1-based indexing) 'slide\_id' - Identify slide by its unique Google Slides object ID | | `slide_number` | integer | No | - | Number of the slide to retrieve information from (1-based indexing, starting from 1). REQUIRED when identifier\_type is 'slide\_number'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_id' - clear this field if identifier\_type changes to 'slide\_id'. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. | | `slide_id` | string | No | - | Unique Google Slides object ID of the slide to retrieve information from. REQUIRED when identifier\_type is 'slide\_id'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_number' - clear this field if identifier\_type changes to 'slide\_number'. Example format: 'g1a82910c99\_0\_0' You can find slide IDs in the Google Slides API or by inspecting the presentation. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns slide details with elements and speaker\_notes \{object\_id, text}; object\_id is the notes shape slides\_batch\_update targets. **Fields**: `slide_id`, `slide_number`, `thumbnail_url`, `elements`, `speaker_notes`, `presentation_id` # Insert Text Source: https://docs.markifact.com/nodes/slides/slides_insert_text Insert new text boxes with content into Google Slides presentations Insert new text boxes with content into Google Slides presentations. Provide alt text to identify the text box and use in later nodes | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_insert_text` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `identifier_type` | string or SelectableOption | Yes | - | Method to identify the slide where the text will be inserted. Available options: 'slide\_number' - Identify slide by its position in the presentation (1-based indexing) 'slide\_id' - Identify slide by its unique Google Slides object ID | | `slide_number` | integer | No | - | Number of the slide where the text will be inserted (1-based indexing, starting from 1). REQUIRED when identifier\_type is 'slide\_number'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_id' - clear this field if identifier\_type changes to 'slide\_id'. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. | | `slide_id` | string | No | - | Unique Google Slides object ID of the slide where the text will be inserted. REQUIRED when identifier\_type is 'slide\_id'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_number' - clear this field if identifier\_type changes to 'slide\_number'. Example format: 'g1a82910c99\_0\_0' You can find slide IDs in the Google Slides API or by inspecting the presentation. | | `text` | string | Yes | - | The text content to insert into the slide. Can include line breaks and special characters. Supports markdown formatting. The only supported formats are: - **bold** for bold text - *italic* for italic text - \[link text]\(url) for clickable links Example: 'Hello **World**!' or 'Visit \[Google]\(`https://google.com`)' | | `position_x` | number | No | `100` | X coordinate for the text box position in points (PT). Default is 100. Origin (0,0) is at the top-left corner of the slide. Example: 150 for positioning 150 points from the left edge. | | `position_y` | number | No | `100` | Y coordinate for the text box position in points (PT). Default is 100. Origin (0,0) is at the top-left corner of the slide. Example: 200 for positioning 200 points from the top edge. | | `width` | number | No | `400` | Width of the text box in points (PT). Default is 400. Must be a positive number. Example: 300 for a text box 300 points wide. | | `height` | number | No | `100` | Height of the text box in points (PT). Default is 100. Must be a positive number. Example: 150 for a text box 150 points tall. | | `alt_text` | string | No | - | Optional alternative text for the text box. This can be used later to identify and update the text using other operations like 'slides\_replace\_text'. Example: 'clicks' or 'summary\_content' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created text box details. **Fields**: `text_box_id`, `slide_id`, `slide_number`, `text`, `position_x`, `position_y`, `width`, `height`, `alt_text`, `presentation_id` # List Elements Source: https://docs.markifact.com/nodes/slides/slides_list_elements List and search elements across slides with optional filters like alt text, type, or slide number (1-based) List and search elements across slides with optional filters like alt text, type, or slide number (1-based) | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_list_elements` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `slide_number` | integer | No | - | Optional: Filter to a specific slide by its slide number (1-based). If omitted, searches across all slides. Example: 1 for first slide, 2 for second slide, etc. | | `alt_text` | string | No | - | Optional: Exact alt text (description) to filter elements by. | | `element_type` | string or SelectableOption | No | `all` | Optional: Filter by element type. Defaults to 'all'. Supported: all, image, text\_box, shape, table, chart, other | | `limit` | integer | No | `500` | Maximum number of elements to return (1-500). | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of elements with slide info. **Fields**: `object_id`, `type`, `alt_text`, `slide_id`, `slide_number` # Refresh Sheets Chart Source: https://docs.markifact.com/nodes/slides/slides_refresh_sheets_chart Updates and refreshes all Google Sheets charts or specific charts using alt text or chart id Updates and refreshes all Google Sheets charts or specific charts using alt text or chart id | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_refresh_sheets_chart` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `refresh_type` | string or SelectableOption | Yes | - | Whether to refresh all charts or specific charts. Available options: 'all' - Refresh all Google Sheets charts in the presentation (DEFAULT) 'specific' - Refresh only specified charts using identifiers **'Refresh all charts' is recommended** for most use cases as it's simpler and ensures all data is current. | | `identifier_type` | string or SelectableOption | No | - | Type of identifier used to select specific charts. REQUIRED when refresh\_type is 'specific'. MUST BE NULL/EMPTY when refresh\_type is 'all' - clear this field if refresh\_type changes to 'all'. Available options: 'chart\_id' - Use Google Sheets chart IDs to identify charts 'alt\_text' - Use alt text values to identify charts (RECOMMENDED) **Alt text is recommended** as it's easier to work with than chart IDs. | | `chart_identifiers` | array of string | No | - | List of chart IDs or alt texts to refresh. REQUIRED when refresh\_type is 'specific'. MUST BE NULL/EMPTY when refresh\_type is 'all' - clear this field if refresh\_type changes to 'all'. When identifier\_type is 'chart\_id': List of Google Sheets chart IDs When identifier\_type is 'alt\_text': List of alt text values assigned to charts Examples: - Chart IDs: \['1234567890', '0987654321'] - Alt texts: \['Sales Chart', 'Revenue Dashboard', 'Performance Metrics'] | | `slide_number` | integer | No | - | Optional slide number to refresh charts on only that slide (1-based indexing). Leave empty to refresh charts on all slides in the presentation. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message with refresh count. # Replace Text Source: https://docs.markifact.com/nodes/slides/slides_replace_text Finds and replaces specific text content in Google Slides presentations using alt text or regular text Finds and replaces specific text content in Google Slides presentations using alt text or regular text | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_replace_text` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `search_method` | string or SelectableOption | Yes | - | Method to identify elements for text replacement: 'alt\_text' - Find elements by their alt text property (RECOMMENDED) 'regular' Find and replace text within slide content **Always use and recommend alt text method for reliability.** Tell users they need to: 1. Insert a text box in their slides 2. Right-click on text boxes in their slides Select "Alt Text" 3. Add unique identifiers (e.g., "Cost", "Conversions") 4. Use these alt text values in the find/replace operation Alt text prevents issues when slide content changes and ensures consistent targeting. | | `update_type` | string or SelectableOption | Yes | - | Choose how to provide the text replacement data. Available options: 'all' - Use data from previous steps containing find/replace pairs, 'mapped' - Define individual text replacements manually | | `text_replacements` | object | No | - | Manual text replacements as key-value pairs where key is text to find and value is replacement text. REQUIRED when update\_type is 'mapped'. MUST BE NULL/EMPTY when update\_type is 'all' - clear this field if update\_type changes to 'all'. Supports markdown formatting (alt\_text method only). The only supported formats are: - **bold** for bold text - *italic* for italic text - \[link text]\(url) for clickable links Example: \{'Cost': '**522.5**', 'Conversions': '\{\{nodeId\_\_data.conversions}}'} | | `structured_data` | array (also accepts a comma-separated string) | No | - | Data source containing text replacement pairs. REQUIRED when update\_type is 'all'. This will be mainly the output of an upstream node like AI structured output. MUST BE NULL/EMPTY when update\_type is 'mapped' - clear this field if update\_type changes to 'mapped'. Supports multiple flexible input formats: 1. Single dictionary with key-value pairs (keys become 'find', values become 'replace'): \{"cost": "14.77", "impressions": "62"} 2. List with one dictionary with key-value pairs: \[\{"cost": "14.77", "impressions": "62"}] 3. Standard find/replace format (existing functionality): \[\{"find": "old text", "replace": "new text", "slide\_number": 1}] Optional 'slide\_number' field can target specific slides in any format. Note: Lists with multiple dictionaries are only supported when using the standard find/replace format. For key-value transformation, provide either a single dictionary or a list with one dictionary. Note: the text type can be either 'alt\_text' or 'regular'. Works with both, use alt\_text for best results. Supports markdown formatting in replacement values (alt\_text method only). The only supported formats are: **bold**, *italic*, and \[link]\(url). Examples: '\{\{nodeId\_\_data}}' The node output can be any of the above formats. | | `slide_number` | integer | No | - | Optional slide number to target for text replacement (1-based indexing like seen in Slides UI). Leave empty to replace text in all slides. Only applies when update\_type is 'mapped'. Must be a positive integer if specified. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message with replacement count. # Select Presentation Source: https://docs.markifact.com/nodes/slides/slides_select_presentation Requires user to select a Google Slides presentation via Official Drive file picker Requires user to select a Google Slides presentation via Official Drive file picker. This grants Markifact access to only the chosen file (not the entire Drive). Use this node first, then pass the output to other Slides nodes. | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_select_presentation` | | **Type** | Action | | **Connection** | `drive` (required) | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string or SelectItem | Yes | - | The Google Slides presentation selected from Google Drive. Can be either a string ID or an object with \{ label, value } format. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `str` Returns the presentation ID. # Update Element Alt Text Source: https://docs.markifact.com/nodes/slides/slides_update_element_alt_text Set or update the alt text of slide elements Set or update the alt text of slide elements. The alt text acts as a unique identifier used by other nodes (e.g., update text, replace images, update tables). | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_update_element_alt_text` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `element_id` | string | Yes | - | The unique Google Slides object ID of the element (table, image, shape, etc.) whose alt text you want to update. Example format: 'g1a82910c99\_0\_0' You can find element IDs by using other operations 'slides\_get\_slide', 'slides\_list\_elements' which list all elements on a slide along with their IDs and existing alt text. | | `alt_text` | string | Yes | - | The alt text to set for the element. We use alt text as id to link elements and update them like updating text, tables, etc. | ## Output **Type**: `Dict` Returns update confirmation. **Fields**: `message`, `element_id`, `alt_text`, `presentation_id` # Update Table Source: https://docs.markifact.com/nodes/slides/slides_update_table Replaces table data in Google Slides via alt-text tags; tables automatically resize and add or remove rows/columns to match the data Replaces table data in Google Slides via alt-text tags; tables automatically resize and add or remove rows/columns to match the data. Just provide structured data from sources like Google Ads, Meta Ads, Google Sheets, or AI nodes with structured output. | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_update_table` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `table_data` | array (also accepts a comma-separated string) | Yes | - | Data to populate the table with. This is mainly the output from an upstream node. Should be structured data containing rows and columns that match the table structure. Examples: '\{\{nodeId\_\_data}}' The node output should have a list of dictionaries with the format: - List of dictionaries: \[\{'Campaign': 'Campaign A', 'Cost': 100, 'Conversions': 10}, \{'Campaign': 'Campaign B', 'Cost': 200, 'Conversions': 20}] All reporting nodes like Google Ads, Meta Ads, etc. will output data in this format that can be used directly here. | | `alt_text` | string | Yes | - | Alt text of the table you want to update. This is used to identify the specific table in the slides. **Setup Instructions needed for users**: 1. Right-click on the table in Google Slides 2. Select 'Alt Text' from the context menu 3. Add a unique identifier (e.g., 'Sales Data Table', 'Monthly Reports') 4. Use this exact alt text value in this field Make sure to inform users about actions needed from their side to set up alt text. Alt text ensures reliable table identification even when slide content changes. | | `slide_number` | integer | No | - | Optional slide number to search for the table (1-based indexing). Leave empty to search all slides in the presentation. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc. | ## Output **Type**: `str` Returns success message with table update count. # Update Text Style Source: https://docs.markifact.com/nodes/slides/slides_update_text_style Modifies text formatting and styling in Google Slides presentations Modifies text formatting and styling in Google Slides presentations. Find text using alt text or regular text, and apply styles like bold, italic, underline, font size, color, and more | | | | - | - | | **App** | Google Slides | | **Operation ID** | `slides_update_text_style` | | **Type** | Action | | **Connection** | `drive` (optional) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `presentation` | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. | | `update_type` | string or SelectableOption | Yes | - | Choose how to provide the text styling data. Available options: 'all' - Use data from previous steps containing text and style information 'mapped' - Define individual text styling manually | | `search_method` | string or SelectableOption | Yes | - | Method to identify elements for text styling: 'regular' - Find and style text within slide content 'alt\_text' - Find elements by their alt text property (RECOMMENDED) **Always use and recommend alt text method for reliability.** Tell users they need to: 1. Insert a text box in their slides 2. Right-click on text boxes in their slides and select 'Alt Text' 3. Add unique identifiers (e.g., 'Title', 'Subtitle', 'Body Text') 4. Use these alt text values in the styling operation Alt text prevents issues when slide content changes and ensures consistent targeting. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Data source containing text styling information. REQUIRED when update\_type is 'all'. This is mainly the output from an upstream node. MUST BE NULL/EMPTY when update\_type is 'mapped' - clear this field if update\_type changes to 'mapped'. Data must contain 'text' field for each row. Optional style fields: 'bold', 'italic', 'underline', 'font\_size', 'font\_color', 'slide\_number'. Examples: '\{\{nodeId\_\_data}}' The node output should have a list of dictionaries with the format: \[\{'text': 'heading text', 'bold': true, 'font\_size': 24, 'font\_color': '#FF0000', 'slide\_number': 1}] | | `text_to_style` | array of string | No | - | List of text strings to find and style in the presentation. REQUIRED when update\_type is 'mapped'. MUST BE NULL/EMPTY when update\_type is 'all' - clear this field if update\_type changes to 'all'. Example: \['Main Title', 'Subtitle', 'Call to Action'] When using alt\_text search method, these should be the alt text values of the elements. | | `slide_number` | integer | No | - | Optional slide number to update text in (1-based indexing). Leave empty to update text in all slides. Only applies when update\_type is 'mapped'. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc. | | `font_size` | integer | No | - | Font size in points. Only applies when update\_type is 'mapped'. Must be a positive integer if specified. Common sizes: 12, 14, 16, 18, 24, 32, 48. Example: 24 for large headings, 12 for body text. | | `bold` | boolean | No | - | Whether to make text bold. Only applies when update\_type is 'mapped'. true = make text bold, false = remove bold formatting, null = don't change bold setting. | | `italic` | boolean | No | - | Whether to make text italic. Only applies when update\_type is 'mapped'. true = make text italic, false = remove italic formatting, null = don't change italic setting. | | `underline` | boolean | No | - | Whether to underline text. Only applies when update\_type is 'mapped'. true = underline text, false = remove underline formatting, null = don't change underline setting. | | `font_color` | string | No | - | Text color in hex format. Only applies when update\_type is 'mapped'. Must start with # followed by 6 hex characters. Examples: '#FF0000' for red, '#00FF00' for green, '#0000FF' for blue, '#000000' for black. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message with update count. # Add Users To Audience Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_add_users_to_audience Adds users to a Snapchat Customer List audience by email, phone number, or mobile ad ID Adds users to a Snapchat Customer List audience by email, phone number, or mobile ad ID. Identifiers are normalized and SHA-256 hashed automatically. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_add_users_to_audience` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Snapchat Customer List audience segment ID. | | `schema_type` | string or SelectableOption | No | `{'value': 'EMAIL_SHA256', 'label': 'Emails'}` | Identifier type for this batch (one type per run): EMAIL\_SHA256 (default), PHONE\_SHA256, or MOBILE\_AD\_ID\_SHA256. | | `users` | array of string or string | Yes | - | The identifiers, as a list or comma/newline separated text. Plain values (emails, phone numbers with country code, mobile ad IDs) are normalized per Snapchat's rules and SHA-256 hashed automatically; already-hashed 64-character values are passed through as-is. Up to 100,000 identifiers per request (larger lists are chunked). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns how many users were submitted and processed. **Fields**: `audience_id`, `schema_type`, `users_submitted`, `users_processed` # Create Ad From Creative Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_ad_from_creative Creates a Snapchat ad from an existing creative ID; the ad type is derived from the creative type and dynamic creatives can set render_type to DYNAMIC Creates a Snapchat ad from an existing creative ID; the ad type is derived from the creative type and dynamic creatives can set render\_type to DYNAMIC. Does not upload media or build a creative; for new media use the dedicated create\_\*\_ad operations. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_ad_from_creative` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squad. | | `ad_squad_id` | string or SelectItem | Yes | - | Snapchat ad squad ID to create the ad in. | | `creative_id` | string or SelectItem | Yes | - | ID of an existing Snapchat creative to run as an ad. The ad type is derived automatically from the creative type. | | `ad_name` | string | Yes | - | Name of the Snapchat ad. Max 375 characters. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created: ACTIVE or PAUSED. Default: PAUSED. | | `ad_type` | string or SelectableOption | No | - | Optional ad type override. When omitted, the type is derived from the creative type using Snapchat's ad type to creative type mapping. Set it only for creative types the automatic mapping does not cover. | | `render_type` | string or SelectableOption | No | - | How Snapchat renders the ad: STATIC or DYNAMIC. Set DYNAMIC when the creative uses dynamic\_render\_properties for Dynamic Product or Dynamic Collection Ads. Omit for standard ads. | | `third_party_paid_impression_tracking_urls` | string or array of string | No | - | Third-party impression tracking tags, executed on ad impression. List of https URLs from Snapchat-approved domains (for example ad.doubleclick.net/ddm/trackimp). | | `third_party_on_swipe_tracking_urls` | string or array of string | No | - | Third-party swipe tracking tags, executed on swipe up. List of https URLs from Snapchat-approved domains (for example ad.doubleclick.net/ddm/trackclk). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Snapchat ad details. **Fields**: `ad_id`, `ad_name`, `ad_squad_id`, `creative_id`, `type`, `render_type`, `status` # Create Ad Squad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_ad_squad Creates a Snapchat Ads ad squad under a campaign with optimization goal, bid, budget, schedule, targeting, and placement Creates a Snapchat Ads ad squad under a campaign with optimization goal, bid, budget, schedule, targeting, and placement. Supports Dynamic Product Ads by associating a product set during creation. Bid and budget amounts are entered in the ad account currency and converted to micro-currency automatically. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_ad_squad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | ID of the Snapchat campaign to create the ad squad in. | | `ad_squad_name` | string | Yes | - | Name of the ad squad (sent to Snapchat as 'name'). Max 375 characters. | | `type` | string or SelectableOption | No | `{'value': 'SNAP_ADS', 'label': 'Snap Ads'}` | Ad squad type: SNAP\_ADS (default), LENS, or FILTER. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad squad is created: ACTIVE or PAUSED. Default: PAUSED. | | `optimization_goal` | string or SelectableOption | Yes | - | Optimization goal for delivery. The available goals depend on the parent campaign's objective\_v2\_type and where the conversion happens (web, app, or lead form). PIXEL\_\* goals require pixel\_id. APP\_\* goals should set event\_sources to the Snap App ID. | | `bid_strategy` | string or SelectableOption | No | `{'value': 'AUTO_BID', 'label': 'Auto Bid'}` | Bidding strategy: AUTO\_BID (default), LOWEST\_COST\_WITH\_MAX\_BID, or TARGET\_COST. LOWEST\_COST\_WITH\_MAX\_BID and TARGET\_COST require bid\_amount. | | `bid_amount` | number | No | - | Bid in the ad account's currency (for example 2 for \$2.00), sent to Snapchat as bid\_micro. Required for LOWEST\_COST\_WITH\_MAX\_BID and TARGET\_COST strategies; not used with AUTO\_BID. Minimum 0.01; maximum varies by currency. | | `daily_budget` | number | No | - | Daily budget in the ad account's currency, sent as daily\_budget\_micro. Minimum 5. Provide either daily\_budget or lifetime\_budget, unless the parent campaign uses Smart Budgets (pacing\_level CAMPAIGN), where budgets are managed at the campaign level. | | `lifetime_budget` | number | No | - | Lifetime budget in the ad account's currency, sent as lifetime\_budget\_micro. Requires start\_time and end\_time. Provide either daily\_budget or lifetime\_budget. | | `start_time` | integer or string | No | - | Optional start as a Unix timestamp or ISO datetime string. Required when using lifetime\_budget. | | `end_time` | integer or string | No | - | Optional end as a Unix timestamp or ISO datetime string. Must be after start\_time. Required when using lifetime\_budget. | | `targeting` | object or string | Yes | - | The Snapchat targeting spec for this ad squad, as a JSON object sent to Snapchat as-is. geos is required; every other key is optional and Snapchat applies its own defaults when omitted. Use snapchat\_ads\_search\_targeting to look up valid IDs for any dimension (region\_id, metro\_id, postal\_code, interest category\_id, languages, carriers, device makes, and more). Common keys: - geos (required): list of geo objects, e.g. \[\{"country\_code": "us"}]. Supports region\_id, metro\_id, postal\_code, and operation (INCLUDE/EXCLUDE). - demographics: list, e.g. \[\{"min\_age": "18", "max\_age": "34", "gender": "MALE"}]. Also supports languages and advanced\_demographics. - devices: list, e.g. \[\{"os\_type": "iOS", "os\_version\_min": "11.3"}]. Also supports connection\_type, carrier\_id, marketing\_name. - interests: list, e.g. \[\{"category\_id": \["SLC\_36"]}] for Snap Lifestyle Categories. - segments: list for custom audiences, e.g. \[\{"segment\_id": \["\"], "operation": "INCLUDE"}]. - product\_audiences: Dynamic Product Ads retargeting audiences. Each row can contain product\_set, event\_type, retention\_seconds, and operation; Snapchat validates the accepted shape and relationship to product\_properties. - locations: list for location categories with circles. - regulated\_content: boolean, set true for age-regulated ads. - enable\_targeting\_expansion: boolean. - auto\_expansion\_options: object with interest\_expansion\_option and custom\_audience\_expansion\_option. Example: \{"regulated\_content": false, "geos": \[\{"country\_code": "us"}], "demographics": \[\{"min\_age": "18"}]} | | `product_properties` | object or string | No | - | Dynamic Product Ads only: associates a product set with the ad squad, as a low-level JSON object sent to Snapchat as-is. Snapchat's current DPA documentation uses product\_set\_id; Snapchat validates supported keys and relationships with targeting.product\_audiences. This property can only be set during ad squad creation. Example: \{"product\_set\_id": "da17a495-0392-448f-b4f4-f027ecdcb794"} | | `placement_v2` | object or string | No | - | Placement spec as a JSON object, sent to Snapchat as-is. Defaults to \{"config": "AUTOMATIC"} when omitted. Keys: config (AUTOMATIC or CUSTOM), platforms (e.g. \["SNAPCHAT"]), snapchat\_positions (for CUSTOM config: INTERSTITIAL\_USER, INTERSTITIAL\_CONTENT, INSTREAM, FEED, CAMERA, INTERSTITIAL\_SPOTLIGHT, INSTREAM\_SPOTLIGHT, PUBLIC\_STORIES\_INSTREAM, CHAT\_FEED). CHAT\_FEED supports Sponsored Snaps, including Dynamic Ads, and must accompany another placement; availability depends on country. LIMITED\_INVENTORY brand safety is only compatible with PUBLIC\_STORIES\_INSTREAM, INTERSTITIAL\_CONTENT, INTERSTITIAL\_SPOTLIGHT, or AUTOMATIC placement. Example: \{"config": "CUSTOM", "platforms": \["SNAPCHAT"], "snapchat\_positions": \["INTERSTITIAL\_USER", "CHAT\_FEED"]} | | `conversion_window` | string or SelectableOption | No | - | Delivery optimization window: SWIPE\_28DAY\_VIEW\_1DAY (Snapchat default) or SWIPE\_7DAY. | | `pixel_id` | string | No | - | Snap Pixel ID associated with the ad squad. Required for PIXEL\_\* optimization goals. | | `pacing_type` | string or SelectableOption | No | - | Pacing: STANDARD (Snapchat default) or ACCELERATED. | | `child_ad_type` | string or SelectableOption | No | - | Ad type the ad squad will contain. If omitted, Snapchat sets it automatically from the first ad added, after which it becomes immutable. | | `forced_view_setting` | string or SelectableOption | No | - | Whether the ad squad contains creatives that can serve as a Commercial: FULL\_DURATION, SIX\_SECONDS, or NONE. | | `story_ad_creative_type` | string or SelectableOption | No | - | Creative type for Dynamic Story Ads: APP\_INSTALL, WEB\_VIEW, or DEEP\_LINK. Required when using Dynamic Story Ads. | | `inventory_option` | string or SelectableOption | No | - | Brand safety inventory filter, sent as brand\_safety\_config: \{inventory\_option: ...}. FULL\_INVENTORY (Snapchat default) maximizes reach; LIMITED\_INVENTORY shows ads only near content that passed additional moderation, which may decrease reach and increase costs. | | `measurement_provider_names` | string or SelectableOption | No | - | Approved third-party measurement provider, sent as a one-item list: DOUBLEVERIFY. | | `event_sources` | object or string | No | - | Snap App ID associated with the ad squad, as a JSON object sent as-is. Shape: \{"MOBILE\_APP": \["\"]}. Recommended for APP\_INSTALLS and DEEP\_LINK goals, and a prerequisite for SKAdNetwork enrollment and App Install state targeting. | | `skadnetwork_properties` | object or string | No | - | SKAdNetwork enrollment at creation time, as a JSON object. Keys: enroll\_action (OPT\_IN), enable\_skoverlay (boolean). Enrollment requires event\_sources set to the Snap App ID, iOS-only device targeting, and an available Apple Campaign ID. Enrolled ad squads cannot use APP\_REENGAGE\_OPEN or APP\_REENGAGE\_PURCHASE goals, or the TARGET\_COST bid strategy. Example: \{"enroll\_action": "OPT\_IN", "enable\_skoverlay": true} | | `cap_and_exclusion_config` | object or string | No | - | Frequency cap and exclusion spec, as a JSON object sent to Snapchat as-is, following the Snapchat frequency cap specification, e.g. \{"frequency\_cap\_config": \[\{"frequency\_cap\_count": 2, "time\_interval": 24, "frequency\_cap\_interval": "HOURS", "frequency\_cap\_type": "IMPRESSIONS"}]}. When set inside an Auction campaign, all ads in the ad squad must be of the same ad type (no Multi-format Delivery). | | `ad_scheduling_config` | object or string | No | - | Schedule for running ads, as a JSON object sent to Snapchat as-is, following the Snapchat ad scheduling specification (days and hours of the week when ads are eligible to serve). | | `campaign_budget_optimization_properties` | object or string | No | - | Per-ad-squad spend constraints, only when the parent campaign uses Smart Budgets (pacing\_level CAMPAIGN), as a JSON object with micro-currency integers passed as-is. Keys: daily\_min\_spend\_micro, daily\_max\_spend\_micro (daily budget campaigns) or lifetime\_min\_spend\_micro, lifetime\_max\_spend\_micro (lifetime cap campaigns); daily and lifetime constraints cannot be mixed. Minimum spend must not exceed 90% of the campaign budget. Example: \{"daily\_min\_spend\_micro": 5000000, "daily\_max\_spend\_micro": 20000000} | | `reach_goal` | integer | No | - | Reach & Frequency bookings only: reach goal matching the forecasting request. Requires impression\_goal and a RESERVED campaign. Markifact sets reach\_and\_frequency\_status to PENDING and delivery\_constraint to REACH\_AND\_FREQUENCY automatically. | | `impression_goal` | integer | No | - | Reach & Frequency bookings only: impression goal matching the forecasting request. Requires reach\_goal. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Snapchat ad squad details. **Fields**: `ad_squad_id`, `warnings`, `ad_squad_name`, `campaign_id`, `type`, `status`, `optimization_goal`, `product_properties` # Create Audience Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_audience Creates a Snapchat audience segment: a Customer List, a lookalike, an app event or website (Snap Pixel) event audience, or an ad engagement audience Creates a Snapchat audience segment: a Customer List, a lookalike, an app event or website (Snap Pixel) event audience, or an ad engagement audience. Add users to Customer Lists with snapchat\_ads\_add\_users\_to\_audience; include or exclude audiences in ad squad targeting. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_audience` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to create the audience in. | | `audience_name` | string | Yes | - | Name of the audience segment. Max 375 characters. | | `description` | string | No | - | Optional description of the audience. | | `audience_type` | string or SelectableOption | No | `{'value': 'CUSTOMER_LIST', 'label': 'Customer List'}` | CUSTOMER\_LIST (default) creates an empty Customer List segment (source\_type FIRST\_PARTY); add hashed users with snapchat\_ads\_add\_users\_to\_audience afterwards. LOOKALIKE creates a lookalike segment modeled on an existing seed segment. MOBILE\_APP\_EVENTS: people who triggered events in your app (needs snap\_app\_id and events). WEBSITE\_EVENTS: people who triggered Snap Pixel events (needs pixel\_id and events). AD\_ENGAGEMENT: people who engaged with your ads (needs engagement\_specs). Event and engagement audiences fill automatically and are excluded or included in ad squad targeting segments. | | `retention_in_days` | integer | No | - | How long users stay in the segment, in days, up to 395. Default: 180, or 395 for AD\_ENGAGEMENT. | | `events` | array of enum (`APP_INSTALL`, `PURCHASE`, `SAVE`, `START_CHECKOUT`, `ADD_CART`, `VIEW_CONTENT`, `ADD_BILLING`, `SIGN_UP`, ...) | No | - | MOBILE\_APP\_EVENTS and WEBSITE\_EVENTS only: events that put someone in the audience; anyone who triggered ANY of them within retention\_in\_days joins. For example \['ADD\_CART', 'START\_CHECKOUT'] or \['PURCHASE']. | | `snap_app_id` | string | No | - | MOBILE\_APP\_EVENTS only: the Snap App ID connected to the ad account (sent as mobile\_metadata.mobile\_snapkit\_id). Existing MOBILE audiences in snapchat\_ads\_list\_audiences show it under mobile\_metadata. | | `pixel_id` | string or SelectItem | No | - | WEBSITE\_EVENTS only: the Snap Pixel of the ad account, from snapchat\_ads\_list\_pixels. | | `engagement_specs` | array of EngagementSpec | No | - | AD\_ENGAGEMENT only: engagements that put someone in the audience; matching ANY spec is enough. For example \[\{"engagement\_type": "SNAP\_ADS\_SWIPE\_UP", "source\_type": "CAMPAIGN", "source\_id": "\"}]. | | `seed_segment_id` | string or SelectItem | No | - | LOOKALIKE only: the existing segment to model the lookalike on (sent as creation\_spec.seed\_segment\_id). The seed must be targetable (READY). | | `lookalike_country` | string | No | - | LOOKALIKE only: ISO-2 country code the lookalike expands into (sent as creation\_spec.country), for example US. | | `lookalike_type` | string or SelectableOption | No | `{'value': 'BALANCE', 'label': 'Balance'}` | LOOKALIKE only: BALANCE (default, mix of similarity and reach), SIMILARITY (closest to the seed), or REACH (largest audience). Sent as creation\_spec.type. | ### EngagementSpec | Field | Type | Required | Default | Description | | - | - | - | - | - | | `engagement_type` | enum (`SNAP_ADS_SWIPE_UP`, `SNAP_ADS_TOP_VIEW_THRU_100`, `PROMOTED_STORY_TAP`, `CREATIVE_TOOLS_USE`, `PAID_IMPRESSIONS`, `NATIVE_LEAD_GEN_SUBMITTED`) | Yes | - | SNAP\_ADS\_SWIPE\_UP (clicked an image or video ad), SNAP\_ADS\_TOP\_VIEW\_THRU\_100 (watched a video ad to the end), PROMOTED\_STORY\_TAP (opened a Story ad), CREATIVE\_TOOLS\_USE (shared or saved a Lens or Filter), PAID\_IMPRESSIONS (was served an ad), NATIVE\_LEAD\_GEN\_SUBMITTED (submitted a lead form). | | `source_type` | enum (`AD_ACCOUNT`, `CAMPAIGN`, `AD_SQUAD`) | Yes | - | Entity the engagement happened on. | | `source_id` | string | Yes | - | ID of that ad account, campaign or ad squad, in the audience's ad account. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Snapchat audience details. **Fields**: `audience_id`, `audience_name`, `source_type`, `status`, `targetable_status` # Create Campaign Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_campaign Creates a Snapchat Ads campaign with objective, status, budgets, schedule, and optional advanced settings Creates a Snapchat Ads campaign with objective, status, budgets, schedule, and optional advanced settings. Budgets are entered in the ad account currency and converted to Snapchat micro-currency automatically. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_campaign` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select Snapchat Ads account to create the campaign in. | | `campaign_name` | string | Yes | - | Name of the Snapchat campaign. Max 375 characters. | | `objective_v2_type` | string or SelectableOption | No | `{'value': 'AWARENESS_AND_ENGAGEMENT', 'label': 'Awareness & Engagement'}` | Campaign objective. Options: AWARENESS\_AND\_ENGAGEMENT (default), SALES, TRAFFIC, APP\_PROMOTION, LEADS. Determines which optimization goals are available to ad squads under this campaign. | | `promotion_type` | string or SelectableOption | No | - | Optional promotion type paired with the objective. APP\_INSTALL and APP\_REENGAGEMENT require the APP\_PROMOTION objective. PROMOTE\_PLACES and PROMOTE\_SHOWS require AWARENESS\_AND\_ENGAGEMENT and are generally not available to create via the Snapchat API. | | `status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the campaign is created: ACTIVE or PAUSED. Default: PAUSED. | | `daily_budget` | number | No | - | Daily spend cap in the ad account's currency (for example 50 for \$50). Minimum 20. Markifact converts it to Snapchat micro-currency automatically. Note: the campaign daily budget must be at least 0.25 times the sum of its ad squad budgets. | | `lifetime_spend_cap` | number | No | - | Lifetime spend cap in the ad account's currency. Minimum 20. Converted to Snapchat micro-currency automatically. Delivery stops when either the ad account spend cap or this campaign lifetime cap is reached. | | `start_time` | integer or string | No | - | Campaign start as a Unix timestamp or ISO datetime string. Defaults to now when omitted. | | `end_time` | integer or string | No | - | Optional campaign end as a Unix timestamp or ISO datetime string. Must be after start\_time. The campaign runs indefinitely when omitted. | | `buy_model` | string or SelectableOption | No | `{'value': 'AUCTION', 'label': 'Auction'}` | Buy model: AUCTION (default) or RESERVED. RESERVED campaigns generally cannot be modified through the API afterwards. | | `reserved_type` | string or SelectableOption | No | - | Only for Reach & Frequency campaigns: REACH\_AND\_FREQUENCY. Requires buy\_model RESERVED. | | `pacing_level` | string or SelectableOption | No | - | Where budget pacing is controlled. AD\_SQUAD is Snapchat's default. CAMPAIGN enables Smart Budgets and requires shared\_properties plus a daily budget or lifetime spend cap; all ad squads must then mirror the shared\_properties values. Smart Budgets cannot be used with Dynamic Ads (product\_properties). | | `measurement_spec` | object or string | No | - | Apps tracked for install and post-install attribution, as a JSON object. Required for campaigns that will contain APP\_INSTALL, DEEP\_LINK, or app Story/Lens ads. Keys: ios\_app\_id (App Store ID as a string), android\_app\_url (Play Store package name). Provide at least one. Example: \{"ios\_app\_id": "1234567890", "android\_app\_url": "com.snapchat.android"} | | `mobile_app_properties` | object or string | No | - | SKAdNetwork enrollment enforced on all ad squads under the campaign, as a JSON object. Keys: skad\_network\_status (ENROLLED or NOT\_ENROLLED), mobile\_app\_id (Snap App ID, required when ENROLLED), app\_optimization\_type (SKAN or UNIFIED\_WITH\_SKAN\_MEASURE when ENROLLED; UNIFIED with NOT\_ENROLLED). Check app eligibility with snapchat\_ads\_get\_campaign\_eligibility. All ad squads must mirror the same mobile\_app\_id. Example: \{"skad\_network\_status": "ENROLLED", "mobile\_app\_id": "78b0a193-5676-4fce-a774-05114e63c321", "app\_optimization\_type": "SKAN"} | | `product_properties` | object or string | No | - | Attaches a catalog for Dynamic Ads, as a JSON object. Keys: catalog\_id. Example: \{"catalog\_id": "85b39b4d-8b29-4309-959c-75a3cbbdcd5b"} | | `regulations` | object or string | No | - | Regulated content flags, as a JSON object. Keys: restricted\_delivery\_signals (boolean, required for Credit, Housing, or Employment ads; must be enabled at ad account level first), candidate\_ballot\_information (string, for political ads in certain states). Example: \{"restricted\_delivery\_signals": true} | | `shared_properties` | object or string | No | - | Smart Budgets rules mirrored by all ad squads, as a JSON object. Only used when pacing\_level is CAMPAIGN. Keys: shared\_optimization\_goal (required: IMPRESSIONS or PIXEL\_PURCHASE), shared\_ad\_squad\_bid\_strategy (required: AUTO\_BID, LOWEST\_COST\_WITH\_MAX\_BID, or TARGET\_COST). Check TARGET\_COST eligibility with snapchat\_ads\_get\_campaign\_eligibility. shared\_conversion\_location (APP, WEB, CALL, TEXT, or LEAD\_FORM), shared\_conversion\_window (for example SWIPE\_28DAY\_VIEW\_1DAY or SWIPE\_7DAY), shared\_pixel\_id (required when shared\_optimization\_goal is PIXEL\_PURCHASE), target\_cost\_in\_micro (integer in micro-currency, passed as-is). Example: \{"shared\_optimization\_goal": "PIXEL\_PURCHASE", "shared\_ad\_squad\_bid\_strategy": "AUTO\_BID", "shared\_conversion\_location": "WEB", "shared\_conversion\_window": "SWIPE\_28DAY\_VIEW\_1DAY", "shared\_pixel\_id": "f1b73786-8828-4fc1-803f-4f5af6d9082b"} | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Snapchat campaign details. **Fields**: `campaign_id`, `campaign_name`, `objective_v2_type`, `status`, `start_time` # Create Collection Ad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_collection_ad Creates a Snapchat Collection ad: a top snap with at least 4 tappable product thumbnails Creates a Snapchat Collection ad: a top snap with at least 4 tappable product thumbnails. Requires a Snapchat Public Profile ID. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_collection_ad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ai_generated` | boolean | No | `False` | Declare all media uploaded by this operation as AI-derived (USER\_AI\_GEN). Default false. Includes icons, previews, and thumbnails. For mixed assets, declare the generated media IDs individually with snapchat\_ads\_update\_media after creation. | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squad. | | `profile_id` | string or SelectItem | Yes | - | Snapchat Public Profile ID attached to the creative (sent as profile\_properties.profile\_id). Required by Snapchat. | | `ad_squad_id` | string or SelectItem | Yes | - | Snapchat ad squad ID to create the Collection ad in. | | `ad_name` | string | Yes | - | Name used for the ad, the creative, the interaction zone, and the uploaded media. Max 375 characters. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created: ACTIVE or PAUSED. Default: PAUSED. | | `media_url` | string | Yes | - | Top snap media (image or video; .mp4/.mov are treated as video). Snapchat requires 1080x1920. | | `headline` | string | Yes | - | Headline displayed under the profile name. Max 34 characters. | | `brand_name` | string | No | - | Optional brand name override. Max 32 characters. When omitted, the Public Profile name is shown. | | `shareable` | boolean | No | `True` | Allow users to share the ad with friends. Default true. | | `thumbnails` | array (also accepts a comma-separated string) | Yes | - | The tappable product thumbnails shown under the top snap, in order. At least 4 rows. Each row requires image\_url (square PNG, minimum 120x120, max 2MB) and url (https landing page opened when the thumbnail is tapped). Example row: \{"image\_url": "`https://cdn.example.com/product1.png`", "url": "`https://shop.example.com/product1`"} | | `interaction_zone_headline` | string or SelectableOption | No | `{'value': 'MORE', 'label': 'More'}` | Headline shown on the interaction zone. Uses the Web View call to action values, for example MORE, SHOP\_NOW, VIEW\_MENU. Default: MORE. | | `fallback_url` | string | Yes | - | https URL opened when the user swipes up on the full unit instead of tapping a thumbnail (sent as the WEB\_VIEW default fallback interaction). | | `third_party_paid_impression_tracking_urls` | string or array of string | No | - | Third-party impression tracking tags, executed on ad impression. List of https URLs from Snapchat-approved domains. | | `third_party_on_swipe_tracking_urls` | string or array of string | No | - | Third-party swipe tracking tags, executed on swipe up. List of https URLs from Snapchat-approved domains. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Collection ad, creative, interaction zone, and media IDs. **Fields**: `ad_id`, `ad_name`, `creative_id`, `interaction_zone_id`, `creative_element_ids`, `media_ids`, `status` # Create Creative Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_creative Advanced: creates a Snapchat creative from a raw payload, for creative types without a dedicated operation (calls, messages, lenses, lead gen) and for Dynamic Product or Dynamic Collection creative... Advanced: creates a Snapchat creative from a raw payload, for creative types without a dedicated operation (calls, messages, lenses, lead gen) and for Dynamic Product or Dynamic Collection creatives using render\_type DYNAMIC. Prefer the dedicated create\_\*\_ad operations for standard ads. Does not create an ad; chain with snapchat\_ads\_create\_ad\_from\_creative. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_creative` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to create the creative in. | | `creative_payload` | object or string | Yes | - | Raw Snapchat creative payload as a JSON object, sent to Snapchat as-is (POST /adaccounts/\{ad\_account\_id}/creatives). Use the dedicated operations first (snapchat\_ads\_create\_single\_image\_ad, snapchat\_ads\_create\_video\_ad, snapchat\_ads\_create\_story\_ad, snapchat\_ads\_create\_collection\_ad). Use this for Dynamic Product Ad or Dynamic Collection creatives by setting render\_type to DYNAMIC and providing dynamic\_render\_properties. Dynamic Collection creatives can reference resources created with snapchat\_ads\_create\_dynamic\_template, snapchat\_ads\_create\_creative\_elements, and snapchat\_ads\_create\_interaction\_zone. Also use this for creative types the dedicated operations do not support, such as AD\_TO\_CALL, AD\_TO\_MESSAGE, LENS types, LEAD\_GENERATION, or REMINDER. Required keys: name, type. Most types also need top\_snap\_media\_id (get one with snapchat\_ads\_upload\_media) and profile\_properties with a profile\_id. ad\_account\_id is filled in automatically and read-only fields are stripped. Example: \{"name": "Call Ad Creative", "type": "AD\_TO\_CALL", "top\_snap\_media\_id": "\", "headline": "Call us", "profile\_properties": \{"profile\_id": "\"}, "ad\_to\_call\_properties": \{"phone\_number": "15551234567"}} | ## Output **Type**: `Dict` Returns the created Snapchat creative details. **Fields**: `creative_id`, `creative_name`, `type` # Create Creative Elements Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_creative_elements Creates one or more account-scoped Snapchat Creative Elements from raw API payloads Creates one or more account-scoped Snapchat Creative Elements from raw API payloads. Dynamic Collection elements can set render\_type to DYNAMIC and their IDs can be used in an Interaction Zone. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_creative_elements` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to create the elements in. | | `creative_elements` | array of object or string | Yes | - | Raw Snapchat Creative Element objects as a JSON list, sent to POST /adaccounts/\{ad\_account\_id}/creative\_elements. Provide the objects without the outer creative\_elements wrapper. ad\_account\_id is filled in automatically for every object. Snapchat validates all element fields. For Dynamic Collection Ads, use type BUTTON and render\_type DYNAMIC. Example: \[\{"name": "Product tile 1", "type": "BUTTON", "interaction\_type": "WEB\_VIEW", "render\_type": "DYNAMIC"}] | ## Output **Type**: `Dict` Returns the created Snapchat Creative Elements. **Fields**: `creative_element_ids`, `creative_elements`, `created_count`, `ad_account_id` # Create Dynamic Template Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_dynamic_template Creates an account-scoped Snapchat Dynamic Template from a raw API payload Creates an account-scoped Snapchat Dynamic Template from a raw API payload. Use its dynamic\_template\_id when creating Dynamic Product Ad or Dynamic Collection creatives. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_dynamic_template` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to create the template in. | | `dynamic_template_payload` | object or string | Yes | - | Raw Snapchat Dynamic Template object, sent to POST /adaccounts/\{ad\_account\_id}/dynamic\_templates. Provide the template fields without the outer dynamic\_templates array. ad\_account\_id is filled in automatically. Snapchat validates the template fields. Example: \{"name": "Catalog Template", "ios\_url": "`https://ads-interfaces.sc-cdn.net/adformats/templates/V2/index.html`", "android\_url": "`https://ads-interfaces.sc-cdn.net/adformats/templates/V2/index.html`", "layout": "FILL\_WIDTH", "text\_fields": \["title", "price"]} | ## Output **Type**: `Dict` Returns the created Snapchat Dynamic Template. **Fields**: `dynamic_template_id`, `dynamic_template_name`, `ad_account_id`, `dynamic_template` # Create Interaction Zone Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_interaction_zone Creates an account-scoped Snapchat Interaction Zone from a raw API payload Creates an account-scoped Snapchat Interaction Zone from a raw API payload. For Dynamic Collection Ads, reference destination-account Dynamic Creative Element IDs and use the returned interaction\_zone\_id in the creative. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_interaction_zone` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to create the zone in. | | `interaction_zone_payload` | object or string | Yes | - | Raw Snapchat Interaction Zone object, sent to POST /adaccounts/\{ad\_account\_id}/interaction\_zones. Provide the zone fields without the outer interaction\_zones array. ad\_account\_id is filled in automatically. Snapchat validates the zone fields. For Dynamic Collection Ads, reference destination-account Creative Element IDs and set render\_type to DYNAMIC. Example: \{"name": "Dynamic Collection Zone", "render\_type": "DYNAMIC", "creative\_element\_ids": \["\", "\"], "headline": "MORE"} | ## Output **Type**: `Dict` Returns the created Snapchat Interaction Zone. **Fields**: `interaction_zone_id`, `interaction_zone_name`, `creative_element_ids`, `render_type`, `ad_account_id`, `interaction_zone` # Create Lead Form Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_lead_form Creates a Snapchat native lead generation form with questions, privacy policy and consent fields Creates a Snapchat native lead generation form with questions, privacy policy and consent fields. Use the returned form ID in Create Creative, then create an ad separately. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_lead_form` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Snapchat advertiser account in which to create the form. | | `name` | string | Yes | - | Internal form name. | | `title` | string | Yes | - | Title displayed to the user, up to 25 characters. | | `description` | string | Yes | - | Introduction above the questions, up to 180 characters. | | `form_fields` | array of object or string | Yes | - | Native Snapchat question objects or a JSON array string. Include FIRST\_NAME and LAST\_NAME plus EMAIL or PHONE\_NUMBER. Example: \[\{"type":"FIRST\_NAME"},\{"type":"LAST\_NAME"},\{"type":"EMAIL"},\{"type":"CUSTOM","custom\_form\_field\_properties":\{"type":"TEXT","description":"Which service do you need?"}}]. Advanced nested properties pass through unchanged. | | `privacy_policy_url` | string | No | - | Public URL of the brand's privacy policy. | | `legal_disclosures` | object or string | No | - | Native consent object or JSON string. Example: \{"title":"Consent","description":"Please confirm your consent.","consent\_form\_fields":\[\{"consent\_description":"You may contact me about my enquiry","required":true}]} | | `banner_media_id` | string | No | - | Optional uploaded banner media ID. Snapchat requires a 75:23 image, from 750x230 to 1875x575 pixels, at most 5 MB. | | `default_end_page` | object or string | No | - | Native default completion screen object or JSON string. Required by Snapchat for forms without disqualifying questions. Example: \{"headline":"Thank you","description":"We will be in touch."}. | ## Output **Type**: `Dict` The created lead\_generation\_form, including id, name, questions and available metadata. # Create Single Image Ad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_single_image_ad Creates a Snapchat single image ad: uploads the image, creates the creative, then the ad Creates a Snapchat single image ad: uploads the image, creates the creative, then the ad. Supports swipe-up attachments and bulk creation. Requires a Snapchat Public Profile ID. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_single_image_ad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ai_generated` | boolean | No | `False` | Declare all media uploaded by this operation as AI-derived (USER\_AI\_GEN). Default false. Includes icons, previews, and thumbnails. For mixed assets, declare the generated media IDs individually with snapchat\_ads\_update\_media after creation. | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squad. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Options: single or bulk. | | `profile_id` | string or SelectItem | Yes | - | Snapchat Public Profile ID attached to the creative (sent as profile\_properties.profile\_id). Required by Snapchat for all new creatives. In bulk mode this is the default; rows can override it with a profile\_id column. | | `ad_squad_id` | string or SelectItem | No | - | Snapchat ad squad ID to create the ad in. | | `ad_name` | string | No | - | Name used for the ad, the creative, and the uploaded media. Max 375 characters. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created: ACTIVE or PAUSED. Default: PAUSED. | | `image_url` | string | No | - | Top snap image. Accepts a direct image URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded image. Snapchat requires 1080x1920 PNG or JPG, max 5MB. | | `headline` | string | No | - | Headline displayed under the profile name. Max 34 characters. | | `brand_name` | string | No | - | Optional brand name override. Max 32 characters. When omitted, the Public Profile name is shown. | | `attachment_type` | string or SelectableOption | No | `{'value': 'NONE', 'label': 'None (Snap Ad)'}` | What opens on swipe up. NONE creates a SNAP\_AD creative (top snap only). WEB\_VIEW creates a REMOTE\_WEBPAGE ad opening web\_view\_url. APP\_INSTALL creates an App Install ad (requires app\_name, icon\_url, and ios\_app\_id and/or android\_app\_url). DEEP\_LINK opens deep\_link\_uri in your app (same app fields required). | | `call_to_action` | string or SelectableOption | No | - | Call to action button text. Only used with an attachment. Choices include all documented creative CTAs; Snapchat validates compatibility with the creative type. Forwarded without substituting another CTA. | | `shareable` | boolean | No | `True` | Allow users to share the ad with friends. Default true. | | `top_snap_crop_position` | string or SelectableOption | No | - | Image crop position: OPTIMIZED (Snapchat default), MIDDLE, TOP, or BOTTOM. | | `web_view_url` | string | No | - | SSL-enabled URL opened on swipe up. Required when attachment\_type is WEB\_VIEW. Max 2048 characters. | | `block_preload` | boolean | No | `False` | Block Snapchat from preloading the web view page. Default false. | | `app_name` | string | No | - | Application name shown on the app install or deep link attachment. Max 30 characters. Required for APP\_INSTALL and DEEP\_LINK attachments. | | `ios_app_id` | string | No | - | iOS App Store ID (for example 1234567890). At least one of ios\_app\_id or android\_app\_url is required for APP\_INSTALL and DEEP\_LINK attachments. | | `android_app_url` | string | No | - | Google Play Store ID (for example com.snapchat.android). | | `icon_url` | string | No | - | App icon image, uploaded to Snapchat as media (sent as icon\_media\_id). Snapchat requires a square PNG, ideally 256x256. Required for APP\_INSTALL and DEEP\_LINK attachments. | | `enable_skoverlay` | boolean | No | `False` | Enable the iOS SKOverlay for the app attachment. Default false. | | `product_page_id` | string | No | - | Optional iOS Custom Product Page ID (UUID). | | `deep_link_uri` | string | No | - | Deep link URI opened in your app (for example myapp\://product/123). Required when attachment\_type is DEEP\_LINK. | | `fallback_type` | string or SelectableOption | No | - | Deep link fallback when the app is not installed: APP\_INSTALL (Snapchat default) or WEB\_SITE. WEB\_SITE requires web\_view\_fallback\_url. | | `web_view_fallback_url` | string | No | - | Fallback web URL used with fallback\_type WEB\_SITE. | | `third_party_paid_impression_tracking_urls` | string or array of string | No | - | Third-party impression tracking tags, executed on ad impression. List of https URLs from Snapchat-approved domains (for example ad.doubleclick.net/ddm/trackimp). | | `third_party_on_swipe_tracking_urls` | string or array of string | No | - | Third-party swipe tracking tags, executed on swipe up. List of https URLs from Snapchat-approved domains (for example ad.doubleclick.net/ddm/trackclk). | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_squad\_id, ad\_name, image\_url, headline. Optional columns: ad\_status, brand\_name, attachment\_type, call\_to\_action, shareable, top\_snap\_crop\_position, web\_view\_url, block\_preload, app\_name, ios\_app\_id, android\_app\_url, ai\_generated (overrides the top-level flag), icon\_url, enable\_skoverlay, product\_page\_id, deep\_link\_uri, fallback\_type, web\_view\_fallback\_url, profile\_id, third\_party\_paid\_impression\_tracking\_urls, third\_party\_on\_swipe\_tracking\_urls. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Snapchat ad, creative, and media IDs. **Fields**: `ad_ids`, `creative_ids`, `media_ids`, `created_count` # Create Story Ad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_story_ad Creates a Snapchat Story ad from 1 to 20 snaps, with an optional Stories tab preview tile Creates a Snapchat Story ad from 1 to 20 snaps, with an optional Stories tab preview tile. Requires a Snapchat Public Profile ID. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_story_ad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ai_generated` | boolean | No | `False` | Declare all media uploaded by this operation as AI-derived (USER\_AI\_GEN). Default false. Includes icons, previews, and thumbnails. For mixed assets, declare the generated media IDs individually with snapchat\_ads\_update\_media after creation. | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squad. | | `profile_id` | string or SelectItem | Yes | - | Snapchat Public Profile ID attached to all creatives (sent as profile\_properties.profile\_id). Required by Snapchat. | | `ad_squad_id` | string or SelectItem | Yes | - | Snapchat ad squad ID to create the Story ad in. | | `ad_name` | string | Yes | - | Name used for the ad and the composite creative. Max 375 characters. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created: ACTIVE or PAUSED. Default: PAUSED. | | `headline` | string | Yes | - | Headline displayed under the profile name, applied to the story and its snaps. Max 34 characters. | | `brand_name` | string | No | - | Optional brand name override. Max 32 characters. When omitted, the Public Profile name is shown. | | `shareable` | boolean | No | `True` | Allow users to share the ad with friends. Default true. | | `snaps` | array (also accepts a comma-separated string) | Yes | - | The snaps that make up the story, in display order (1 to 20 rows; the order is immutable after creation). Each row requires media\_url (image or video; 1080x1920; .mp4/.mov are treated as video). Optional per-row columns for a swipe-up attachment: attachment\_type (NONE, WEB\_VIEW, APP\_INSTALL, DEEP\_LINK), call\_to\_action, web\_view\_url, block\_preload, app\_name, ios\_app\_id, android\_app\_url, icon\_url, enable\_skoverlay, product\_page\_id, deep\_link\_uri, fallback\_type, web\_view\_fallback\_url. Example row: \{"media\_url": "`https://cdn.example.com/snap1.png`", "attachment\_type": "WEB\_VIEW", "web\_view\_url": "`https://example.com`", "call\_to\_action": "SHOP\_NOW"} | | `preview_image_url` | string | No | - | Preview tile image for Story Ads running in the Stories tab (uploaded as preview\_properties.preview\_media\_id). Snapchat requires a 3:5 PNG, minimum 360x600, max 2MB. Required together with preview\_headline for Discover placement; omit for stories running between content. | | `preview_headline` | string | No | - | Headline shown on the Story tile. Max 55 characters. Required when preview\_image\_url is set. | | `logo_image_url` | string | No | - | Optional logo displayed on the Story tile (uploaded as preview\_properties.logo\_media\_id). | | `third_party_paid_impression_tracking_urls` | string or array of string | No | - | Third-party impression tracking tags, executed on ad impression. List of https URLs from Snapchat-approved domains. | | `third_party_on_swipe_tracking_urls` | string or array of string | No | - | Third-party swipe tracking tags, executed on swipe up. List of https URLs from Snapchat-approved domains. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created Story ad, composite creative, and media IDs. **Fields**: `ad_id`, `ad_name`, `creative_id`, `child_creative_ids`, `media_ids`, `status` # Create Video Ad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_create_video_ad Creates a Snapchat video ad: uploads the video, creates the creative, then the ad Creates a Snapchat video ad: uploads the video, creates the creative, then the ad. Supports swipe-up attachments and bulk creation. Requires a Snapchat Public Profile ID. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_create_video_ad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ai_generated` | boolean | No | `False` | Declare all media uploaded by this operation as AI-derived (USER\_AI\_GEN). Default false. Includes icons, previews, and thumbnails. For mixed assets, declare the generated media IDs individually with snapchat\_ads\_update\_media after creation. | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squad. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Options: single or bulk. | | `profile_id` | string or SelectItem | Yes | - | Snapchat Public Profile ID attached to the creative (sent as profile\_properties.profile\_id). Required by Snapchat for all new creatives. In bulk mode this is the default; rows can override it with a profile\_id column. | | `ad_squad_id` | string or SelectItem | No | - | Snapchat ad squad ID to create the ad in. | | `ad_name` | string | No | - | Name used for the ad, the creative, and the uploaded media. Max 375 characters. | | `ad_status` | string or SelectableOption | No | `{'value': 'PAUSED', 'label': 'Paused'}` | Status when the ad is created: ACTIVE or PAUSED. Default: PAUSED. | | `video_url` | string | No | - | Top snap video. Accepts a direct video URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded video. Snapchat requires 1080x1920 MP4 or MOV, 3 to 180 seconds, up to 1GB (files over 32MB are uploaded in chunks automatically). | | `headline` | string | No | - | Headline displayed under the profile name. Max 34 characters. | | `brand_name` | string | No | - | Optional brand name override. Max 32 characters. When omitted, the Public Profile name is shown. | | `attachment_type` | string or SelectableOption | No | `{'value': 'NONE', 'label': 'None (Snap Ad)'}` | What opens on swipe up. NONE creates a SNAP\_AD creative (top snap only). WEB\_VIEW creates a REMOTE\_WEBPAGE ad opening web\_view\_url. APP\_INSTALL creates an App Install ad (requires app\_name, icon\_url, and ios\_app\_id and/or android\_app\_url). DEEP\_LINK opens deep\_link\_uri in your app (same app fields required). | | `call_to_action` | string or SelectableOption | No | - | Call to action button text. Only used with an attachment. Choices include all documented creative CTAs; Snapchat validates compatibility with the creative type. Forwarded without substituting another CTA. | | `shareable` | boolean | No | `True` | Allow users to share the ad with friends. Default true. | | `web_view_url` | string | No | - | SSL-enabled URL opened on swipe up. Required when attachment\_type is WEB\_VIEW. Max 2048 characters. | | `block_preload` | boolean | No | `False` | Block Snapchat from preloading the web view page. Default false. | | `app_name` | string | No | - | Application name shown on the app install or deep link attachment. Max 30 characters. Required for APP\_INSTALL and DEEP\_LINK attachments. | | `ios_app_id` | string | No | - | iOS App Store ID (for example 1234567890). At least one of ios\_app\_id or android\_app\_url is required for APP\_INSTALL and DEEP\_LINK attachments. | | `android_app_url` | string | No | - | Google Play Store ID (for example com.snapchat.android). | | `icon_url` | string | No | - | App icon image, uploaded to Snapchat as media (sent as icon\_media\_id). Snapchat requires a square PNG, ideally 256x256. Required for APP\_INSTALL and DEEP\_LINK attachments. | | `enable_skoverlay` | boolean | No | `False` | Enable the iOS SKOverlay for the app attachment. Default false. | | `product_page_id` | string | No | - | Optional iOS Custom Product Page ID (UUID). | | `deep_link_uri` | string | No | - | Deep link URI opened in your app (for example myapp\://product/123). Required when attachment\_type is DEEP\_LINK. | | `fallback_type` | string or SelectableOption | No | - | Deep link fallback when the app is not installed: APP\_INSTALL (Snapchat default) or WEB\_SITE. WEB\_SITE requires web\_view\_fallback\_url. | | `web_view_fallback_url` | string | No | - | Fallback web URL used with fallback\_type WEB\_SITE. | | `third_party_paid_impression_tracking_urls` | string or array of string | No | - | Third-party impression tracking tags, executed on ad impression. List of https URLs from Snapchat-approved domains (for example ad.doubleclick.net/ddm/trackimp). | | `third_party_on_swipe_tracking_urls` | string or array of string | No | - | Third-party swipe tracking tags, executed on swipe up. List of https URLs from Snapchat-approved domains (for example ad.doubleclick.net/ddm/trackclk). | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_squad\_id, ad\_name, video\_url, headline. Optional columns: ad\_status, brand\_name, attachment\_type, call\_to\_action, shareable, web\_view\_url, ai\_generated (overrides the top-level flag), block\_preload, app\_name, ios\_app\_id, android\_app\_url, icon\_url, enable\_skoverlay, product\_page\_id, deep\_link\_uri, fallback\_type, web\_view\_fallback\_url, profile\_id, third\_party\_paid\_impression\_tracking\_urls, third\_party\_on\_swipe\_tracking\_urls. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created Snapchat ad, creative, and media IDs. **Fields**: `ad_ids`, `creative_ids`, `media_ids`, `created_count` # Custom Snapchat Ads App Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_custom_app Connect Snapchat Ads through your own Snapchat OAuth app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Snapchat Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Snapchat OAuth app** (Custom App). With a custom app, every request Markifact makes to the Snapchat Marketing API runs under your app, so your clients never see Markifact in their Business Manager. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 15-20 minutes | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Three values from your own Snapchat OAuth app: | Value | Where it comes from | | :- | :- | | **Client ID** | Your OAuth app under **Business Details** > **OAuth Apps** in the [Snap Business Dashboard](https://business.snapchat.com/) | | **Client Secret** | The same app (shown once when created) | | **Refresh Token** | Minted against that app with the `snapchat-marketing-api` scope, by a member of the organization that owns the ad accounts | Snapchat access tokens last 30 minutes; Markifact refreshes them with your client ID and secret on every run. Refresh tokens stay valid until the user revokes the app. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a refresh token issued by your app with the scopes below, skip to [Connect to Markifact](#connect-to-markifact). ### Scopes Request `snapchat-marketing-api` (required) and `snapchat-profile-api` (public profiles for Spotlight and profile ads) when the user authorizes. *** ## Setting Up Your Custom Snapchat Ads App **1. Create the OAuth App** 1. Open the [Snap Business Dashboard](https://business.snapchat.com/), go to **Business Details**, and scroll to **OAuth Apps** 2. Click **Add OAuth App**, enter the app name (the branding users see when they authorize), and under **Redirect URI** enter a URL you control (for example `https://www.youragency.com/snapchat-callback`). Snapchat appends the auth code to this URL after authorization; the page does not need to do anything 3. Copy the **Client ID** and the **Client Secret** (the secret is shown only once) **2. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the client ID and redirect URI: ```bash theme={"dark"} https://accounts.snapchat.com/login/oauth2/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Fsnapchat-callback&response_type=code&scope=snapchat-marketing-api%20snapchat-profile-api&state=markifact ``` 2. Sign in as a member of the Business Manager organization that owns the ad accounts and click **Continue** 3. Snapchat redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire quickly and can be exchanged once, so do the next step right away **3. Exchange the Auth Code for a Refresh Token** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://accounts.snapchat.com/login/oauth2/access_token" \ -d "client_id=YOUR_CLIENT_ID" \ -d "client_secret=YOUR_CLIENT_SECRET" \ -d "code=THE_AUTH_CODE" \ -d "grant_type=authorization_code" \ -d "redirect_uri=https://www.youragency.com/snapchat-callback" ``` The response contains `refresh_token`. Copy it. > **Important:** Keep this token secure. Anyone holding it, together with your client ID and secret, can act on every ad account the user can reach. **4. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **Snapchat Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency Snapchat Ads") 5. Paste your **Client ID**, **Client Secret**, and **Refresh Token** 6. Click **Verify & Connect** Markifact refreshes the token once with your app, then makes one call that lists the organizations the user belongs to. Nothing is saved unless both succeed. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in Snapchat Ads nodes, agents, and MCP exactly like any other Snapchat Ads connection. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Snapchat rejected the client ID or client secret (invalid\_client) > > Check both values under **Business Details** > **OAuth Apps**. The secret is shown only once at creation; if you lost it, create a new OAuth app. > [accordion] Snapchat rejected the refresh token (invalid\_grant) > > The token was issued by a different app than the one whose client ID you pasted, or the user revoked the app. Authorize again with your app and paste the new refresh token. > [accordion] This Snapchat user belongs to no organization > > The user who authorized is not a member of any Business Manager organization. Add them under **Members** in the Snap Business Dashboard, then authorize again. > [accordion] A node fails with a permission error after connecting > > The token is missing a scope (profile nodes need `snapchat-profile-api`). Authorize again with both scopes and paste the new refresh token. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Client ID** | Snap Business Dashboard > Business Details > OAuth Apps | `00000000-0000-0000-0000-000000000000` | | **Client Secret** | Same app, shown once at creation | `a1b2c3d4e5...` | | **Refresh Token** | Response of the auth code exchange | `eyJraWQ...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/snapchat_ads/snapchat_ads_get_report) > > Pull Snapchat Ads performance data # Delete Audience Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_delete_audience Permanently deletes a Snapchat audience segment Permanently deletes a Snapchat audience segment. This cannot be undone. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_delete_audience` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Snapchat audience segment ID to permanently delete. This cannot be undone; ad squads targeting the segment lose it. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Confirms the audience deletion. **Fields**: `audience_id`, `deleted` # Generate Ad Preview Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_generate_ad_preview Generates a shareable Snap-hosted preview URL and scannable Snapcode for an ad or creative, valid 90 days with no login Generates a shareable Snap-hosted preview URL and scannable Snapcode for an ad or creative, valid 90 days with no login. Ad blockers break the preview page; open it with them disabled. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_generate_ad_preview` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad or creative. | | `ad_id` | string or SelectItem | No | - | Snapchat ad ID to preview; its creative is resolved automatically. Provide ad\_id or creative\_id, not both. | | `creative_id` | string or SelectItem | No | - | Snapchat creative ID to preview directly. Provide ad\_id or creative\_id, not both. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the shareable preview URL and its expiry. **Fields**: `preview_url`, `snapcode_url`, `creative_id`, `ad_id`, `expires_at`, `creative_preview_link` # Get Account Details Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_get_account_details Fetches Snapchat Ads account details, with optional linked funding sources and billing center details Fetches Snapchat Ads account details, with optional linked funding sources and billing center details. Budgets and bids use the account currency; returned financial fields ending in \_micro are millionths of the stated currency. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_get_account_details` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to fetch. Returns the full account details including currency and timezone; budgets and bids across all Snapchat operations are entered in this currency. | | `include_billing` | boolean | No | `False` | Fetch the account's linked funding sources and billing center. Defaults to false. Adds funding\_sources and billing\_center with native payment-method details, available credit, spending limits and billing contacts where returned by Snap. Financial fields vary by funding type; micro-currency values must be divided by 1,000,000. Missing financial fields do not imply a zero balance or healthy account. Requires permission to read the linked billing resources. | ## Output **Type**: `Dict` Returns the native ad account. With include\_billing=true, adds funding\_sources (linked native payment-source objects) and billing\_center (linked native billing contact/address, or null when no billing center is linked). No linked funding sources produces an empty list. Failed billing reads raise errors; omitted financial fields do not establish a balance or account health. **Fields**: `id`, `name`, `currency`, `timezone`, `status`, `type`, `organization_id`, `funding_sources`, `billing_center` # Get Account History Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_get_account_history Retrieves the change history (audit log) of a Snapchat campaign, ad squad, ad, or creative: who changed what and when, with before/after values Retrieves the change history (audit log) of a Snapchat campaign, ad squad, ad, or creative: who changed what and when, with before/after values. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_get_account_history` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account the entity belongs to. | | `entity_type` | string or SelectableOption | Yes | - | Snapchat tracks change logs per entity: CAMPAIGN, AD\_SQUAD, AD, CREATIVE, or DYNAMIC\_TEMPLATE. Pick the entity type the ID belongs to. | | `entity_id` | string or SelectItem | Yes | - | ID of the entity to get the change history for. Get IDs from snapchat\_ads\_list\_campaigns, snapchat\_ads\_list\_ad\_squads, snapchat\_ads\_list\_ads, or snapchat\_ads\_list\_creatives. | | `limit` | integer | No | `50` | Maximum number of change log entries to return. Default: 50. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns change log entries with actor, action, and before/after values. **Fields**: dynamic (depend on the inputs) # Get Campaign Eligibility Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_get_campaign_eligibility Checks Snapchat app Unified Attribution, Pixel conversion-window eligibility, or Smart Budget target-cost bidding eligibility Checks Snapchat app Unified Attribution, Pixel conversion-window eligibility, or Smart Budget target-cost bidding eligibility. Run this before configuring the corresponding campaign or ad squad. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_get_campaign_eligibility` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Snapchat Ads account to check. | | `eligibility_type` | enum (`app`, `pixel`, `target_cost`) | Yes | - | Check app Unified Attribution, Pixel conversion windows, or Smart Budget target-cost bidding. | | `mobile_app_id` | string | No | - | Snap App ID. Required for app eligibility. | | `pixel_id` | string | No | - | Pixel ID. Required for pixel eligibility. | | `optimization_goal` | string | No | - | Optimization goal, for example PIXEL\_PURCHASE or APP\_PURCHASE. Required for target\_cost; optional filter for app and pixel. | | `conversion_window` | string | No | - | Optional app or pixel eligibility filter, for example SWIPE\_7DAY or SWIPE\_28DAY\_VIEW\_1DAY. | ## Output **Type**: `Dict` Returns Snapchat's response details. **Fields**: `campaign_eligibilities`, `unified_campaign_eligibilities`, `sbo_tcpa_eligibility` # Get Pixel Stats Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_get_pixel_stats Snap Pixel diagnostics: which domains fired the pixel in the past 7 days, or the event breakdown for one domain Snap Pixel diagnostics: which domains fired the pixel in the past 7 days, or the event breakdown for one domain. Use it to verify a pixel is firing. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_get_pixel_stats` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the pixel. | | `pixel_id` | string or SelectItem | Yes | - | Snap Pixel ID to get stats for. | | `domain` | string | No | - | Optional domain name. When omitted, returns the domains that fired the pixel in the past 7 days with their event totals. When provided, returns the event timeseries for that domain (event type, OS, and browser breakdowns). Per-domain pixel stats support up to 28 days of history. | | `granularity` | string or SelectableOption | No | `{'value': 'DAY', 'label': 'Day'}` | Domain stats only: DAY (default) or HOUR. | | `start_time` | integer or string | No | - | Domain stats only: start as a Unix timestamp or ISO datetime string. Defaults to 7 days ago; supports up to 28 days ago. | | `end_time` | integer or string | No | - | Domain stats only: end as a Unix timestamp or ISO datetime string. Defaults to now. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns pixel domain totals or the per-domain event timeseries. **Fields**: dynamic (depend on the inputs) # Get Report Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_get_report Retrieves Snapchat Ads reports by campaign, ad squad, or ad, including separate Web, App, and Offline purchases and App/MMP conversions Retrieves Snapchat Ads reports by campaign, ad squad, or ad, including separate Web, App, and Offline purchases and App/MMP conversions. Select source metrics directly; totals stay unchanged. MMP metrics require Unified Attribution and use MMP-configured windows, not the report's swipe/view windows. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_get_report` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | SnapchatReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### SnapchatReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | | `swipe_up_attribution_window` | string | No | - | Attribution window for swipe ups. Omit to use Snapchat's default of '28\_DAY'. Match the window selected in Snapchat Ads Manager so conversion metrics line up. | | `view_attribution_window` | string | No | - | Attribution window for views. Omit to use Snapchat's default of '1\_DAY'. Match the window selected in Snapchat Ads Manager so conversion metrics line up. | | `action_report_time` | string | No | - | Whether conversions are reported at the time the user converted ('conversion', Snapchat's default) or at the time of the ad impression that drove them ('impression'). | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Story Ads", "clicks": 500, "impressions": 25000, "cost": 200.0 } ] ``` # List Ad Squads Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_ad_squads Lists ad squads in a Snapchat Ads account or a specific campaign with full details Lists ad squads in a Snapchat Ads account or a specific campaign with full details. Bids and budgets are returned in Snapchat micro-currency. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_ad_squads` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose ad squads should be listed. | | `campaign_id` | string or SelectItem | No | - | Optional campaign ID to list only that campaign's ad squads. Lists all ad squads in the account when omitted. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter ad squads by status: ACTIVE and/or PAUSED. Returns all statuses when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ad squads. The available fields to filter by are: - id: Filter by ad squad ID - name: Filter by ad squad name - campaign\_id: Filter by parent campaign ID - type: Filter by ad squad type (SNAP\_ADS, LENS, FILTER) - optimization\_goal: Filter by optimization goal Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad squads to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat ad squads with full details. **Fields**: dynamic (depend on the inputs) # List Ads Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_ads Lists ads in a Snapchat Ads account, campaign, or ad squad with full details including review and delivery status Lists ads in a Snapchat Ads account, campaign, or ad squad with full details including review and delivery status. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_ads` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose ads should be listed. | | `campaign_id` | string or SelectItem | No | - | Optional campaign ID to list only that campaign's ads. Lists all ads in the account when both campaign\_id and ad\_squad\_id are omitted. | | `ad_squad_id` | string or SelectItem | No | - | Optional ad squad ID to list only that ad squad's ads. Takes precedence over campaign\_id. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter ads by status: ACTIVE and/or PAUSED. Returns all statuses when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ads. The available fields to filter by are: - id: Filter by ad ID - name: Filter by ad name - status: Filter by ad status (ACTIVE, PAUSED) - ad\_squad\_id: Filter by parent ad squad ID - creative\_id: Filter by creative ID - type: Filter by ad type (SNAP\_AD, REMOTE\_WEBPAGE, APP\_INSTALL, STORY, COLLECTION, etc.) - review\_status: Filter by review status (PENDING, APPROVED, REJECTED) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of matching ads to return, counted after all filters are applied. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat ads with full details. **Fields**: dynamic (depend on the inputs) # List Audiences Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_audiences Lists audience segments (Customer Lists, lookalikes, pixel and engagement audiences) in a Snapchat Ads account Lists audience segments (Customer Lists, lookalikes, pixel and engagement audiences) in a Snapchat Ads account. Segment IDs go into the ad squad targeting spec. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_audiences` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose audience segments should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving audience segments. The available fields to filter by are: - id: Filter by segment ID - name: Filter by segment name - source\_type: Filter by source (FIRST\_PARTY, ENGAGEMENT, PIXEL, MOBILE, FOOT\_TRAFFIC\_INSIGHTS, LOOKALIKE) - targetable\_status: Filter by readiness (READY, NOT\_READY, TOO\_FEW\_USERS) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of segments to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat audience segments with full details. **Fields**: dynamic (depend on the inputs) # List Campaigns Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_campaigns Lists campaigns in a Snapchat Ads account with full details Lists campaigns in a Snapchat Ads account with full details. Budgets are returned in Snapchat micro-currency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_campaigns` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose campaigns should be listed. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter campaigns by status: ACTIVE and/or PAUSED. Returns all statuses when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving campaigns. The available fields to filter by are: - id: Filter by campaign ID - name: Filter by campaign name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat campaigns with full details. **Fields**: dynamic (depend on the inputs) # List Catalogs Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_catalogs Lists product catalogs across your Snapchat organizations, used for Dynamic Ads campaigns Lists product catalogs across your Snapchat organizations, used for Dynamic Ads campaigns. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_catalogs` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving catalogs. The available fields to filter by are: - id: Filter by catalog ID - name: Filter by catalog name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of catalogs to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat catalogs with full details. **Fields**: dynamic (depend on the inputs) # List Creatives Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_creatives Lists creatives in a Snapchat Ads account with full details Lists creatives in a Snapchat Ads account with full details. Use it to find creative IDs for snapchat\_ads\_create\_ad\_from\_creative. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_creatives` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose creatives should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving creatives. The available fields to filter by are: - id: Filter by creative ID - name: Filter by creative name - type: Filter by creative type (SNAP\_AD, WEB\_VIEW, APP\_INSTALL, DEEP\_LINK, COMPOSITE, COLLECTION, etc.) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of creatives to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat creatives with full details. **Fields**: dynamic (depend on the inputs) # List Dynamic Templates Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_dynamic_templates Lists Dynamic Templates in a Snapchat Ads account with full details, including layout, catalog text fields, and overlays Lists Dynamic Templates in a Snapchat Ads account with full details, including layout, catalog text fields, and overlays. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_dynamic_templates` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose Dynamic Templates should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving Dynamic Templates. The available fields are: - id: Filter by Dynamic Template ID - name: Filter by Dynamic Template name - layout: Filter by layout Filters are combined using AND logic. For OR logic, use operators such as REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of Dynamic Templates to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the account's Snapchat Dynamic Templates. **Fields**: dynamic (depend on the inputs) # List Interaction Zones Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_interaction_zones Lists Interaction Zones in a Snapchat Ads account with full details, including render type and referenced Creative Element IDs Lists Interaction Zones in a Snapchat Ads account with full details, including render type and referenced Creative Element IDs. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_interaction_zones` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose Interaction Zones should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving Interaction Zones. The available fields are: - id: Filter by Interaction Zone ID - name: Filter by Interaction Zone name - headline: Filter by headline/CTA - render\_type: Filter by STATIC or DYNAMIC Filters are combined using AND logic. For OR logic, use operators such as REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of Interaction Zones to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the account's Snapchat Interaction Zones. **Fields**: dynamic (depend on the inputs) # List Lead Forms Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_lead_forms Lists Snapchat lead generation forms with questions, privacy and consent details Lists Snapchat lead generation forms with questions, privacy and consent details. Supports name, title and ID filters. Use Retrieve Leads for submitted answers. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_lead_forms` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Snapchat advertiser account whose lead forms should be listed. | | `filters` | array of FilterItem | No | - | Optional filters on id, name or title, combined with AND. Use REGEXP\_MATCH or IN\_LIST for alternatives. | | `limit` | integer | No | `100` | Maximum forms returned after filtering. Default 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Raw lead\_generation\_form objects, including id, name, title, form\_fields, legal\_disclosures and available metadata. # List Organizations Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_organizations List the Snapchat business organizations visible to the connected user, with their native organization details List the Snapchat business organizations visible to the connected user, with their native organization details. Does not retrieve member lists, account access roles or billing resources. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_organizations` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `limit` | integer | No | `100` | Maximum number of accessible organizations to return. Default: 100; maximum: 1000. | ## Output **Type**: `List[Dict]` Returns native organization objects up to the requested limit, including id, name and any other organization fields returned by Snap. **Fields**: `id`, `name` # List Pixels Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_pixels Lists Snap Pixels in a Snapchat Ads account, including the pixel code snippet Lists Snap Pixels in a Snapchat Ads account, including the pixel code snippet. Pixel IDs are required for PIXEL\_\* optimization goals. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_pixels` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account whose pixels should be listed. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving pixels. The available fields to filter by are: - id: Filter by pixel ID - name: Filter by pixel name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of pixels to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snap Pixels with full details. **Fields**: dynamic (depend on the inputs) # List Profiles Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_profiles Lists the Snapchat Public Profiles across your organizations Lists the Snapchat Public Profiles across your organizations. A Public Profile ID is required to create any Snapchat creative or ad. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_profiles` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving Public Profiles. The available fields to filter by are: - id: Filter by profile ID - display\_name: Filter by profile display name - snap\_user\_name: Filter by Snapchat username Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of profiles to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Snapchat Public Profiles. **Fields**: dynamic (depend on the inputs) # List Report Fields Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_list_report_fields Search and browse available Snapchat Ads reporting metrics and dimensions before running reports Search and browse available Snapchat Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|swipes).*'}]. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Remove Users From Audience Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_remove_users_from_audience Removes users from a Snapchat Customer List audience by email, phone number, or mobile ad ID Removes users from a Snapchat Customer List audience by email, phone number, or mobile ad ID. Identifiers are normalized and SHA-256 hashed automatically. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_remove_users_from_audience` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Snapchat Customer List audience segment ID. | | `schema_type` | string or SelectableOption | No | `{'value': 'EMAIL_SHA256', 'label': 'Emails'}` | Identifier type for this batch (one type per run): EMAIL\_SHA256 (default), PHONE\_SHA256, or MOBILE\_AD\_ID\_SHA256. | | `users` | array of string or string | Yes | - | The identifiers, as a list or comma/newline separated text. Plain values (emails, phone numbers with country code, mobile ad IDs) are normalized per Snapchat's rules and SHA-256 hashed automatically; already-hashed 64-character values are passed through as-is. Up to 100,000 identifiers per request (larger lists are chunked). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns how many users were submitted and processed. **Fields**: `audience_id`, `schema_type`, `users_submitted`, `users_processed` # Rename Ad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_rename_ad Renames Snapchat ads, one or many at once Renames Snapchat ads, one or many at once. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_rename_ad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Snapchat ad ID to update. Required for single update. | | `new_name` | string | No | - | New ad name. Max 375 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and new\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ads were renamed. # Rename Ad Squad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_rename_ad_squad Renames Snapchat ad squads, one or many at once Renames Snapchat ad squads, one or many at once. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_rename_ad_squad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad squad or multiple at once. Options: single or bulk. | | `ad_squad_id` | string or SelectItem | No | - | Snapchat ad squad ID to update. Required for single update. | | `new_name` | string | No | - | New ad squad name. Max 375 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_squad\_id and new\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad squads were renamed. # Rename Campaign Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_rename_campaign Renames Snapchat campaigns, one or many at once Renames Snapchat campaigns, one or many at once. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_rename_campaign` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Snapchat campaign ID to update. Required for single update. | | `new_name` | string | No | - | New campaign name. Max 375 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and new\_name. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaigns were renamed. # Retrieve Leads Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_retrieve_leads Retrieves Snapchat lead form submissions as rows for CRM workflows, with date and optional form filtering Retrieves Snapchat lead form submissions as rows for CRM workflows, with date and optional form filtering. Snapchat retains leads for 30 days. Export dates have day-level precision; a unique lead ID is not guaranteed. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_retrieve_leads` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Snapchat advertiser account whose submitted leads should be retrieved. | | `date_range` | LeadDateRange | Yes | - | Submission date range in UTC. Snapchat retains leads for 30 days; start must fall within that window. No comparison support. | | `form_id` | string or SelectItem | No | - | Optional form ID from snapchat\_ads\_list\_lead\_forms. Omit for all forms. When the export omits form IDs, filtering uses the associated ads and creatives. | | `limit` | integer | No | `1000` | Maximum leads returned after form filtering, in export order. Default 1000; maximum 10000. Exports larger than 50 MiB are rejected rather than silently truncated. | ### LeadDateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | Inclusive start date, YYYY-MM-DD, in UTC. | | `end` | string | No | - | Inclusive end date, YYYY-MM-DD, in UTC. | | `preset` | string | No | - | Standard date preset, such as LAST\_7\_DAYS. FIXED/CUSTOM uses start and end. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Original Snapchat lead export columns and answers, preserved as strings. Includes Date, Ad Account Id, Campaign Id, Ad Set Id, Ad Id and contact fields when available. No synthetic lead ID is added. # Search Targeting Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_search_targeting Searches Snapchat targeting options (age groups, genders, languages, devices, countries, regions, postal codes, interests, location categories) and returns IDs ready for the ad squad targeting spec Searches Snapchat targeting options (age groups, genders, languages, devices, countries, regions, postal codes, interests, location categories) and returns IDs ready for the ad squad targeting spec. Run it before snapchat\_ads\_create\_ad\_squad. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_search_targeting` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to search targeting options for. | | `targeting_type` | string or SelectableOption | Yes | - | Which targeting dimension to search. The returned IDs go directly into the matching ad squad targeting spec key: AGE\_GROUP (demographics\[].age\_groups), GENDER (demographics\[].gender), LANGUAGE (demographics\[].languages), ADVANCED\_DEMOGRAPHICS (demographics\[].advanced\_demographics), CONNECTION\_TYPE, OS\_TYPE, OS\_VERSION, CARRIER, and DEVICE\_MAKE (devices\[] fields), COUNTRY (geos\[].country\_code), REGION (geos\[].region\_id), METRO (geos\[].metro\_id), POSTAL\_CODE (geos\[].postal\_code), INTEREST\_\* (interests\[].category\_id), LOCATION\_CATEGORY (locations\[].categories\_loi). INTEREST\_SLC is Snap Lifestyle Categories; DLXS/DLXC (Datalogix), NLN (Nielsen), PLC (Placed Visitation), and VAC (Snap Visitation) are third-party interest sets. | | `country_code` | string | No | - | Lowercase ISO-2 country code (for example us, uk, de). Required for REGION, METRO, and POSTAL\_CODE. | | `os_type` | string or SelectableOption | No | - | Operating system: iOS or ANDROID. Required for OS\_VERSION. | | `search_query` | string | No | - | Optional text filter. Snapchat returns the full list per targeting type, so Markifact filters it: case-insensitive name substring match, or exact ID match. | | `limit` | integer | No | `100` | Maximum rows to return, sorted by name. Default 100, max 1000. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns matching targeting options with id, name, and targeting\_type. **Fields**: `id`, `name`, `targeting_type` # Select Accounts Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_select_accounts Select Snapchat Ads accounts once and reuse them across multiple snapchat_ads_get_report nodes—no repeated account selection Select Snapchat Ads accounts once and reuse them across multiple snapchat\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one snapchat\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_select_accounts` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_ad Advanced: partially updates a Snapchat ad (name, status, schedule, tracking URLs) from a raw field payload; only provided fields change Advanced: partially updates a Snapchat ad (name, status, schedule, tracking URLs) from a raw field payload; only provided fields change. Prefer the dedicated status and rename operations for simple changes. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_ad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | Snapchat ad ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad fields to update as a JSON object; only the fields you include are changed (each key becomes a JSON-Patch add operation, and a null value removes an optional attribute). Editable fields per the Snapchat docs: name, status (ACTIVE/PAUSED), start\_time, end\_time (ISO 8601), third\_party\_paid\_impression\_tracking\_urls, and third\_party\_on\_swipe\_tracking\_urls (lists of https URLs from approved domains). creative\_id is NOT editable on an ad: to change the creative content (headline, CTA, attachment URL), use snapchat\_ads\_update\_creative on the ad's creative, which affects all ads using it and triggers re-review; to show entirely different content, create a new creative and a new ad instead. Prefer the dedicated operations for plain changes: snapchat\_ads\_update\_ad\_status and snapchat\_ads\_rename\_ad. Example: \{"end\_time": "2026-09-30T00:00:00Z"} | | `dry_run` | boolean | No | `False` | When true, do not call Snapchat. Return the resolved JSON-Patch operations for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and patch operations applied. **Fields**: `ad_id`, `updated_fields`, `operations`, `dry_run` # Update Ad Squad Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_ad_squad Advanced: partially updates a Snapchat ad squad (bids, budgets, targeting, placement, schedule) from a raw field payload; only provided fields change and micro-currency fields are raw integers Advanced: partially updates a Snapchat ad squad (bids, budgets, targeting, placement, schedule) from a raw field payload; only provided fields change and micro-currency fields are raw integers. Prefer the dedicated status, rename, and budget operations for simple changes. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_ad_squad` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squad. | | `ad_squad_id` | string or SelectItem | Yes | - | Snapchat ad squad ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad Squad fields to update as a JSON object; only the fields you include are changed (each key becomes a JSON-Patch add operation, and a null value removes an optional attribute). Common editable fields: name, status (ACTIVE/PAUSED), bid\_micro (raw micro-currency integer), bid\_strategy, daily\_budget\_micro, lifetime\_budget\_micro, start\_time, end\_time, targeting, placement\_v2, conversion\_window, pixel\_id, pacing\_type, brand\_safety\_config, cap\_and\_exclusion\_config, ad\_scheduling\_config, event\_sources, and campaign\_budget\_optimization\_properties. Prefer the dedicated operations for plain changes: snapchat\_ads\_update\_ad\_squad\_status, snapchat\_ads\_rename\_ad\_squad, snapchat\_ads\_update\_ad\_squad\_budget. Example: \{"bid\_micro": 3000000, "targeting": \{"geos": \[\{"country\_code": "us"}]}} | | `dry_run` | boolean | No | `False` | When true, do not call Snapchat. Return the resolved JSON-Patch operations for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and patch operations applied. **Fields**: `ad_squad_id`, `updated_fields`, `operations`, `dry_run` # Update Ad Squad Budget Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_ad_squad_budget Updates the daily or lifetime budget of Snapchat ad squads, one or many at once Updates the daily or lifetime budget of Snapchat ad squads, one or many at once. Amounts are entered in the ad account currency and converted to micro-currency automatically. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_ad_squad_budget` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad squad budget or multiple at once. Options: single or bulk. | | `ad_squad_id` | string or SelectItem | No | - | Snapchat ad squad ID to update. Required for single update. | | `budget_type` | string or SelectableOption | No | `{'value': 'daily', 'label': 'Daily'}` | Which budget to update: daily (sent as /daily\_budget\_micro) or lifetime (sent as /lifetime\_budget\_micro). Default: daily. | | `budget_value` | number | No | - | New budget in the ad account's currency (for example 50 for \$50), converted to Snapchat micro-currency automatically. Daily budgets must be at least 5. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_squad\_id and budget\_value (account currency). Optional column: budget\_type (daily or lifetime; default daily). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad squad budgets were updated. # Update Ad Squad Status Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_ad_squad_status Activates, pauses, or permanently deletes Snapchat ad squads, one or many at once Activates, pauses, or permanently deletes Snapchat ad squads, one or many at once. DELETED cannot be undone. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_ad_squad_status` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ad squads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad squad or multiple at once. Options: single or bulk. | | `ad_squad_id` | string or SelectItem | No | - | Snapchat ad squad ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad squad status: ACTIVE, PAUSED, or DELETED. DELETED permanently deletes the entity via the Snapchat DELETE endpoint and cannot be undone. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_squad\_id and status (ACTIVE, PAUSED, or DELETED; DELETED permanently deletes). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad squads were updated. # Update Ad Status Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_ad_status Activates, pauses, or permanently deletes Snapchat ads, one or many at once Activates, pauses, or permanently deletes Snapchat ads, one or many at once. DELETED cannot be undone. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_ad_status` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Snapchat ad ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad status: ACTIVE, PAUSED, or DELETED. DELETED permanently deletes the entity via the Snapchat DELETE endpoint and cannot be undone. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and status (ACTIVE, PAUSED, or DELETED; DELETED permanently deletes). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ads were updated. # Update Audience Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_audience Updates a Snapchat audience segment's name, description, or retention period Updates a Snapchat audience segment's name, description, or retention period. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_audience` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Snapchat audience segment ID to update. | | `new_name` | string | No | - | New audience name. Max 375 characters. | | `description` | string | No | - | New audience description. | | `retention_in_days` | integer | No | - | New retention period, 1 to 180 days. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated Snapchat audience details. **Fields**: `audience_id`, `audience_name`, `updated_fields`, `retention_in_days` # Update Campaign Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_campaign Advanced: partially updates a Snapchat campaign from a raw field payload; only provided fields change and micro-currency fields are raw integers Advanced: partially updates a Snapchat campaign from a raw field payload; only provided fields change and micro-currency fields are raw integers. Prefer the dedicated status, rename, and budget operations for simple changes. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_campaign` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | Snapchat campaign ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object; only the fields you include are changed (each key becomes a JSON-Patch add operation, and a null value removes an optional attribute). Editable fields per the Snapchat docs: name, status (ACTIVE/PAUSED), start\_time, end\_time (ISO 8601), daily\_budget\_micro and lifetime\_spend\_cap\_micro (raw micro-currency integers, minimum 20000000 = 20 in the account currency), pacing\_level, measurement\_spec, objective\_v2\_properties, regulations, and shared\_properties.target\_cost\_in\_micro for Smart Budget campaigns. Prefer the dedicated operations for plain changes: snapchat\_ads\_update\_campaign\_status, snapchat\_ads\_rename\_campaign, snapchat\_ads\_update\_campaign\_budget. Example: \{"end\_time": "2026-09-30T00:00:00Z", "daily\_budget\_micro": 50000000} | | `dry_run` | boolean | No | `False` | When true, do not call Snapchat. Return the resolved JSON-Patch operations for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and patch operations applied. **Fields**: `campaign_id`, `updated_fields`, `operations`, `dry_run` # Update Campaign Budget Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_campaign_budget Updates the daily budget or lifetime spend cap of Snapchat campaigns, one or many at once Updates the daily budget or lifetime spend cap of Snapchat campaigns, one or many at once. Amounts are entered in the ad account currency and converted to micro-currency automatically. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign budget or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Snapchat campaign ID to update. Required for single update. | | `budget_type` | string or SelectableOption | No | `{'value': 'daily', 'label': 'Daily'}` | Which budget to update: daily (sent as /daily\_budget\_micro) or lifetime (sent as /lifetime\_spend\_cap\_micro). Default: daily. | | `budget_value` | number | No | - | New budget in the ad account's currency (for example 50 for \$50), converted to Snapchat micro-currency automatically. Daily budgets must be at least 20 and at least 0.25 times the sum of the ad squad budgets; a lifetime spend cap can only be reduced to 1.1 times the amount already spent. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and budget\_value (account currency). Optional column: budget\_type (daily or lifetime; default daily). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaign budgets were updated. # Update Campaign Status Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_campaign_status Activates, pauses, or permanently deletes Snapchat campaigns, one or many at once Activates, pauses, or permanently deletes Snapchat campaigns, one or many at once. DELETED cannot be undone. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Snapchat campaign ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New campaign status: ACTIVE, PAUSED, or DELETED. DELETED permanently deletes the entity via the Snapchat DELETE endpoint and cannot be undone. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and status (ACTIVE, PAUSED, or DELETED; DELETED permanently deletes). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaigns were updated. # Update Creative Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_creative Advanced: partially updates a Snapchat creative (headline, CTA, attachment properties) Advanced: partially updates a Snapchat creative (headline, CTA, attachment properties). WARNING: changes affect all ads using the creative and trigger re-review that pauses them. An ad's creative cannot be swapped; edit the creative or create a new creative and ad. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_creative` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account that owns the creative. | | `creative_id` | string or SelectItem | Yes | - | Snapchat creative ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Creative fields to update as a JSON object; only the fields you include are changed (each key becomes a JSON-Patch add operation, and a null value removes an optional attribute). Editable fields per the Snapchat docs: name, brand\_name, headline, call\_to\_action, shareable, profile\_properties, and the attachment property objects (web\_view\_properties, app\_install\_properties, deep\_link\_properties, ad\_to\_call\_properties, ad\_to\_message\_properties). top\_snap\_media\_id can only be changed before the creative is part of an ad that has started serving. IMPORTANT: changing a creative affects ALL ads that use it; Snapchat re-reviews those ads and pauses them until approved. An ad's creative\_id itself cannot be changed; to point an ad at different content, create a new creative and a new ad instead. Example: \{"headline": "New Headline", "web\_view\_properties": \{"url": "`https://example.com/new`"}} | | `dry_run` | boolean | No | `False` | When true, do not call Snapchat. Return the resolved JSON-Patch operations for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and patch operations applied. **Fields**: `creative_id`, `updated_fields`, `operations`, `dry_run` # Update Media Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_update_media Adds or removes the AI-generated content declaration on existing Snapchat media Adds or removes the AI-generated content declaration on existing Snapchat media. Other media properties are unchanged. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_update_media` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Snapchat Ads account that owns the media. | | `media_id` | string | Yes | - | Existing Snapchat media ID to update. | | `ai_generated` | boolean | Yes | - | True declares AI-derived content (USER\_AI\_GEN); false removes the AI declaration. | ## Output **Type**: `Dict` Returns Snapchat's response details. **Fields**: `id`, `media_id`, `ai_content_source` # Upload Media Source: https://docs.markifact.com/nodes/snapchat_ads/snapchat_ads_upload_media Uploads an image or video to Snapchat and returns a media_id, for use in raw snapchat_ads_create_creative payloads Uploads an image or video to Snapchat and returns a media\_id, for use in raw snapchat\_ads\_create\_creative payloads. The dedicated create\_\*\_ad operations upload their own media. | | | | - | - | | **App** | Snapchat Ads | | **Operation ID** | `snapchat_ads_upload_media` | | **Type** | Action | | **Connection** | `snapchat_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `ai_generated` | boolean | No | `False` | Declare all media uploaded by this operation as AI-derived (USER\_AI\_GEN). Default false. Includes icons, previews, and thumbnails. For mixed assets, declare the generated media IDs individually with snapchat\_ads\_update\_media after creation. | | `account` | DynamicAccount | Yes | - | Select the Snapchat Ads account to upload the media to. | | `image_url` | string | No | - | Image to upload. Provide an image or a video, not both. Accepts a direct URL, Google Drive share link (set to 'Anyone with the link'), or Markifact uploaded file. Top snap images must be 1080x1920 PNG or JPG, max 5MB. The media\_id output can be referenced in snapchat\_ads\_create\_creative payloads, for example as top\_snap\_media\_id or icon\_media\_id. | | `video_url` | string | No | - | Video to upload. Provide an image or a video, not both. Top snap videos must be 1080x1920 MP4 or MOV, 3 to 180 seconds, up to 1GB (files over 32MB are uploaded in chunks automatically). Waits for Snapchat to finish processing before returning the media\_id. | | `media_name` | string | No | - | Optional name of the media in Snapchat. Max 375 characters. Defaults to the file name when omitted. | ## Output **Type**: `Dict` Returns the uploaded Snapchat media details. **Fields**: `media_id`, `media_name`, `media_type`, `media_status`, `ai_content_source`, `download_link` # Create Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_ad Advanced: creates a Spotify ad from already-uploaded asset ids, for cases the per-format operations do not cover Advanced: creates a Spotify ad from already-uploaded asset ids, for cases the per-format operations do not cover. Prefer spotify\_ads\_create\_audio\_ad, spotify\_ads\_create\_video\_ad, spotify\_ads\_create\_display\_ad or spotify\_ads\_create\_carousel\_ad, which accept media URLs directly. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the ad in. | | `ad_set_id` | string or SelectItem | Yes | - | Ad set the ad belongs to. The ad set's asset\_format decides which creative this ad needs. | | `name` | string | Yes | - | Ad name, 2 to 200 characters. | | `advertiser_name` | string | Yes | - | Advertiser name shown with the ad, 2 to 25 characters. | | `tagline` | string | Yes | - | Tagline shown on the call to action card, 2 to 40 characters. | | `asset_id` | string or SelectItem | Yes | - | Main creative asset (audio, video or image) matching the ad set's asset\_format. Upload with spotify\_ads\_upload\_media or pick an existing asset from spotify\_ads\_list\_assets. | | `logo_asset_id` | string or SelectItem | Yes | - | Image asset used as the logo on the call to action card. | | `companion_asset_id` | string or SelectItem | No | - | Optional companion image asset shown alongside audio ads. | | `canvas_asset_id` | string or SelectItem | No | - | Optional vertical 9:16 video or image asset. | | `call_to_action_key` | enum (`APPLY_NOW`, `BOOK_NOW`, `BUY_NOW`, `BUY_TICKETS`, `CLICK_NOW`, `DOWNLOAD`, `FIND_STORES`, `GET_COUPON`, ...) | No | - | Button text on the call to action card, for example LEARN\_MORE, LISTEN\_NOW, SHOP\_NOW, PRE\_SAVE. Spotify defaults to LEARN\_MORE. | | `call_to_action_language` | enum (`ARABIC`, `ARABIC_EGYPT`, `BULGARIAN`, `CHINESE`, `CHINESE_HK`, `CHINESE_TAIWAN`, `CROATIAN`, `CZECH`, ...) | No | - | Language the button text is shown in. Spotify defaults to ENGLISH. | | `clickthrough_url` | string | No | - | Landing page the call to action opens. | | `start_time` | string | No | - | When the ad starts, ISO 8601 UTC. Inherits the ad set schedule when omitted. | | `end_time` | string | No | - | When the ad stops, ISO 8601 UTC. | | `delivery` | enum (`ON`, `OFF`) | No | - | Whether the ad starts delivering (ON) or paused (OFF). | | `dv_client_code` | string | No | - | DoubleVerify client code for third party verification. | | `third_party_tracking` | string or array of any | No | - | Up to 11 third party tracking entries, sent as-is. Each item is \{measurement\_partner: IAS\|DCM\|UNSET, url}. Example: \[\{"measurement\_partner": "IAS", "url": "`https://tracker.example.com`"}] | | `catalog` | object or string | No | - | Catalog of things to be placed in a carousel type ad, sent as-is. Only for ad sets whose asset\_format is CATALOG. Shape: \{name, catalog\_items: \[...]} with 2 to 6 items. Each item takes asset\_id and clickthrough\_url (both required), tagline (2 to 40 characters, required), and optional sku, position, price and sale\_price objects of \{micro\_amount, currency\_code}. Example: \{"catalog\_items": \[\{"asset\_id": "uuid", "clickthrough\_url": "`https://example.com/item`", "tagline": "Artisan bowl", "price": \{"micro\_amount": 20000000, "currency\_code": "USD"}}]} | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created ad including id, ad\_set\_id, name, status, assets, call\_to\_action and ad\_preview\_url. **Fields**: dynamic (depend on the inputs) # Create Ad Set Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_ad_set Creates a Spotify Ads ad set inside a campaign with its budget, schedule, bidding, delivery settings and targeting Creates a Spotify Ads ad set inside a campaign with its budget, schedule, bidding, delivery settings and targeting. Use spotify\_ads\_search\_targeting to resolve targeting ids first. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_ad_set` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the ad set in. | | `campaign_id` | string or SelectItem | Yes | - | Campaign the ad set belongs to. | | `name` | string | Yes | - | Ad set name, 2 to 200 characters. | | `start_time` | string | No | - | When the ad set starts, ISO 8601 UTC, for example 2026-09-01T00:00:00Z. Spotify requires it to be at least 15 minutes in the future. Defaults to 20 minutes from now when omitted. | | `end_time` | string | No | - | When the ad set ends, ISO 8601 UTC. Runs until paused when omitted. | | `budget_value` | number | Yes | - | Budget in the ad account's currency (for example 500 for \$500), converted to Spotify micro-currency automatically. | | `budget_type` | enum (`DAILY`, `LIFETIME`) | Yes | - | Whether budget\_value is a DAILY or LIFETIME budget. | | `asset_format` | enum (`AUDIO`, `VIDEO`, `IMAGE`, `CATALOG`) | Yes | - | Creative format this ad set delivers: AUDIO, VIDEO, IMAGE, or CATALOG. CATALOG is the carousel format, where listeners swipe through 2 to 6 images; its items are set on the ad's catalog field. | | `bid_strategy` | enum (`COST_PER_RESULT`, `MAX_BID`, `AUTOBID`, `UNSET`) | Yes | - | How Spotify bids: AUTOBID, MAX\_BID (needs bid\_value), COST\_PER\_RESULT (needs bid\_value), or UNSET. | | `bid_value` | number | No | - | Bid per 1,000 impressions in the account's currency, converted to micro-currency automatically. Required by MAX\_BID and COST\_PER\_RESULT. | | `base_rate_value` | number | No | - | Base rate in the account's currency, converted to micro-currency automatically. | | `delivery_goal` | enum (`UNSET`, `IMPRESSIONS`, `REACH`, `VIDEO_VIEWS`, `CLICKS`, `PAGE_VIEWS`, `APP_INSTALLS`, `STREAMS`, ...) | No | - | What delivery optimizes for: IMPRESSIONS, REACH, VIDEO\_VIEWS, CLICKS, PAGE\_VIEWS, APP\_INSTALLS, STREAMS, LEADS, or UNSET. | | `delivery` | enum (`ON`, `OFF`) | No | - | Whether the ad set starts delivering (ON) or paused (OFF). | | `pacing` | enum (`PACING_EVEN`, `PACING_ASAP`) | No | - | Spend pacing: PACING\_EVEN spreads the budget, PACING\_ASAP spends it as fast as possible. | | `slot_positions` | array of string or SelectableOption | No | - | Podcast slot positions to deliver in: PRE\_ROLL, MID\_ROLL, POST\_ROLL. | | `video_delivery_formats` | array of string or SelectableOption | No | - | Video delivery formats: IN\_STREAM, OPT\_IN. | | `category` | string | No | - | Advertising category code for the ad set, for example ADV\_1\_1. | | `mobile_app_id` | string | No | - | Mobile app ID for app promotion ad sets. | | `dataset_id` | string | No | - | Measurement dataset ID used for conversion tracking. | | `targets` | object or string | Yes | - | The Spotify targeting object for this ad set, sent to the API as-is. placements is required: a list of MUSIC and/or PODCAST. Other keys: age\_ranges (list of \{min, max} between 13 and 99), genders (MALE, FEMALE, NON\_BINARY), geo\_targets (object with country\_code, city\_ids, region\_ids, postal\_code\_ids), language (2-letter code), platforms (ANDROID, DESKTOP, IOS; all when omitted), artist\_ids, genre\_ids, playlist\_ids, interest\_ids, podcast\_episode\_topic\_ids, audience\_ids, audience\_ids\_exclusions, sensitive\_topic\_exclusions, and user\_day\_parts. Use spotify\_ads\_search\_targeting to look up artist, genre, geo, interest, language, playlist, episode topic and sensitive topic ids. Example: \{"placements": \["MUSIC"], "geo\_targets": \{"country\_code": "US"}, "age\_ranges": \[\{"min": 18, "max": 34}]} | | `frequency_caps` | string or array of any | No | - | Up to 6 frequency caps, sent as-is. Each item is \{frequency\_unit: DAY\|WEEK\|MONTH, frequency\_period: integer, max\_impressions: integer}. Example: \[\{"frequency\_unit": "DAY", "frequency\_period": 1, "max\_impressions": 3}] | | `promotion` | object or string | No | - | Artist or podcast promotion object, sent as-is: \{promotion\_goal: ARTIST\_PROMO\|PODCAST\_PROMO, promotion\_target\_id, conversion\_events: \[\{tracking\_event\_type: IMPRESSION\|CLICKED\|COMPLETE, window\_duration\_ms}]}. | | `cost_modifiers` | string or array of any | No | - | Cost modifier objects, sent as-is: \[\{id, name, rate}]. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad set including id, campaign\_id, name, status, budget, bid\_strategy, asset\_format and targets. **Fields**: dynamic (depend on the inputs) # Create Audience Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_audience Creates a Spotify audience: a custom audience built from a customer list, website events tracked by a dataset or pixel, or engagement with your ads, or a lookalike audience grown from an existing one Creates a Spotify audience: a custom audience built from a customer list, website events tracked by a dataset or pixel, or engagement with your ads, or a lookalike audience grown from an existing one. A CUSTOMER\_LIST audience starts empty; its members are uploaded separately. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_audience` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the audience in. | | `audience_type` | enum (`CUSTOM`, `LOOKALIKE`) | Yes | - | CUSTOM builds an audience from your own data or ad engagement; LOOKALIKE finds users similar to an existing audience and needs seed\_audience\_id. | | `name` | string | Yes | - | Audience name, 2 to 80 characters. | | `description` | string | No | - | Short description of the audience, up to 80 characters. | | `subtype` | enum (`CUSTOMER_LIST`, `WEB_EVENT`, `AD_ENGAGEMENT`, `LIVERAMP`) | No | - | CUSTOM audiences only. How the audience is built: CUSTOMER\_LIST (a list you upload), WEB\_EVENT (visitors tracked by a dataset or pixel), AD\_ENGAGEMENT (people who saw or clicked your ads), or LIVERAMP. | | `seed_audience_id` | string or SelectItem | No | - | LOOKALIKE audiences only, and required for them: the existing audience to find similar users to. | | `dataset_ids` | string or array of string | No | - | WEB\_EVENT subtype: measurement datasets or pixels supplying the events. Accepts a list or a comma-separated string. Get ids from spotify\_ads\_list\_pixels. | | `included_events` | string or array of string | No | - | WEB\_EVENT subtype: only include users who triggered these events, for example PURCHASE or ADDTOCART. Use the event names your dataset reports, from spotify\_ads\_list\_pixels with events included. | | `excluded_events` | string or array of string | No | - | WEB\_EVENT subtype: exclude users who triggered these events, for example PURCHASE to retarget people who did not buy. | | `lookback_days` | enum (`30`, `60`, `90`, `180`) | No | - | WEB\_EVENT subtype: how far back to look for events. 30, 60, 90 or 180 days. | | `campaign_ids` | string or array of string | No | - | AD\_ENGAGEMENT subtype: build the audience from people who engaged with these campaigns. Accepts a list or a comma-separated string. | | `ad_set_ids` | string or array of string | No | - | AD\_ENGAGEMENT subtype: build the audience from people who engaged with these ad sets. Accepts a list or a comma-separated string. | | `exposure_type` | enum (`IMPRESSIONS`, `CLICKS`) | No | - | AD\_ENGAGEMENT subtype: count people who saw the ads (IMPRESSIONS) or who clicked them (CLICKS). | | `audience_id` | string | No | - | Advanced: supply your own UUID for the audience instead of letting Spotify assign one. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created audience including id, name, type, subtype, status and size. **Fields**: dynamic (depend on the inputs) # Create Audio Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_audio_ad Creates a Spotify audio ad from an audio clip, a logo and a companion image, uploading any file given as a URL Creates a Spotify audio ad from an audio clip, a logo and a companion image, uploading any file given as a URL. The ad set's creative format must be AUDIO. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_audio_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the ad in. | | `ad_set_id` | string or SelectItem | Yes | - | Ad set the ad belongs to. Its creative format must match this operation, and it is checked before the ad is created. | | `name` | string | Yes | - | Ad name, 2 to 200 characters. | | `advertiser_name` | string | Yes | - | Advertiser name shown with the ad, 2 to 25 characters. | | `logo_url` | string | Yes | - | Square logo image, JPEG or PNG, at least 600x600. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `call_to_action_key` | enum (`APPLY_NOW`, `BOOK_NOW`, `BUY_NOW`, `BUY_TICKETS`, `CLICK_NOW`, `DOWNLOAD`, `FIND_STORES`, `GET_COUPON`, ...) | No | - | Button text on the call to action card, for example LEARN\_MORE, LISTEN\_NOW, SHOP\_NOW. Spotify defaults to LEARN\_MORE. | | `call_to_action_language` | enum (`ARABIC`, `ARABIC_EGYPT`, `BULGARIAN`, `CHINESE`, `CHINESE_HK`, `CHINESE_TAIWAN`, `CROATIAN`, `CZECH`, ...) | No | - | Language the button text is shown in. Spotify defaults to ENGLISH. | | `start_time` | string | No | - | When the ad starts, ISO 8601 UTC. Inherits the ad set schedule when omitted. | | `end_time` | string | No | - | When the ad stops, ISO 8601 UTC. | | `delivery` | enum (`ON`, `OFF`) | No | - | Whether the ad starts delivering (ON) or paused (OFF). | | `dv_client_code` | string | No | - | DoubleVerify client code for third party verification. | | `third_party_tracking` | string or array of any | No | - | Up to 11 third party tracking entries, sent as-is. Each item is \{measurement\_partner: IAS\|DCM\|UNSET, url}. | | `tagline` | string | Yes | - | Short message shown next to the call to action, 2 to 40 characters. | | `clickthrough_url` | string | No | - | Destination URL the call to action opens. | | `audio_url` | string | Yes | - | Audio clip for the ad, around 30 seconds, MP3, WAV or OGG. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `companion_image_url` | string | Yes | - | Companion image shown while the audio plays, JPEG or PNG, at least 600x500. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created ad including id, ad\_set\_id, name, status, assets, call\_to\_action and ad\_preview\_url. **Fields**: dynamic (depend on the inputs) # Create Campaign Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_campaign Creates a Spotify Ads campaign Creates a Spotify Ads campaign. Budgets and targeting live on ad sets, so create the campaign first, then spotify\_ads\_create\_ad\_set. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_campaign` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the campaign in. | | `name` | string | Yes | - | Campaign name, 2 to 200 characters. | | `delivery_goal_group` | enum (`UNSET`, `AWARENESS`, `WEBSITE_TRAFFIC`, `APP_PROMOTION`, `ENGAGEMENT_ON_SPOTIFY`, `LEAD_GEN`) | No | - | What the campaign is optimizing towards: AWARENESS, WEBSITE\_TRAFFIC, APP\_PROMOTION, ENGAGEMENT\_ON\_SPOTIFY, LEAD\_GEN, or UNSET. | | `purchase_order` | string | No | - | Purchase order number used to organize invoices, 2 to 45 characters. | | `ad_product` | enum (`UNSET`, `UNKNOWN`, `CONTENT`, `FPMNG`) | No | - | Ad product: CONTENT, FPMNG, UNKNOWN, or UNSET. | ## Output **Type**: `Dict` Returns the created campaign including id, name, status and delivery\_goal\_group. **Fields**: dynamic (depend on the inputs) # Create Carousel Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_carousel_ad Creates a Spotify carousel ad that listeners swipe through, from a logo and 2 to 6 cards, each with its own image, tagline, destination URL and optional price Creates a Spotify carousel ad that listeners swipe through, from a logo and 2 to 6 cards, each with its own image, tagline, destination URL and optional price. Uploads any file given as a URL. The ad set's creative format must be CATALOG. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_carousel_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the ad in. | | `ad_set_id` | string or SelectItem | Yes | - | Ad set the ad belongs to. Its creative format must match this operation, and it is checked before the ad is created. | | `name` | string | Yes | - | Ad name, 2 to 200 characters. | | `advertiser_name` | string | Yes | - | Advertiser name shown with the ad, 2 to 25 characters. | | `logo_url` | string | Yes | - | Square logo image, JPEG or PNG, at least 600x600. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `call_to_action_key` | enum (`APPLY_NOW`, `BOOK_NOW`, `BUY_NOW`, `BUY_TICKETS`, `CLICK_NOW`, `DOWNLOAD`, `FIND_STORES`, `GET_COUPON`, ...) | No | - | Button text on the call to action card, for example LEARN\_MORE, LISTEN\_NOW, SHOP\_NOW. Spotify defaults to LEARN\_MORE. | | `call_to_action_language` | enum (`ARABIC`, `ARABIC_EGYPT`, `BULGARIAN`, `CHINESE`, `CHINESE_HK`, `CHINESE_TAIWAN`, `CROATIAN`, `CZECH`, ...) | No | - | Language the button text is shown in. Spotify defaults to ENGLISH. | | `start_time` | string | No | - | When the ad starts, ISO 8601 UTC. Inherits the ad set schedule when omitted. | | `end_time` | string | No | - | When the ad stops, ISO 8601 UTC. | | `delivery` | enum (`ON`, `OFF`) | No | - | Whether the ad starts delivering (ON) or paused (OFF). | | `dv_client_code` | string | No | - | DoubleVerify client code for third party verification. | | `third_party_tracking` | string or array of any | No | - | Up to 11 third party tracking entries, sent as-is. Each item is \{measurement\_partner: IAS\|DCM\|UNSET, url}. | | `cards` | array of object or string | Yes | - | JSON list of 2 to 6 carousel cards, shown in the order given. Each card takes image\_url (required; square JPEG or PNG, at least 600x600, or the id of an existing asset), tagline (required, 2 to 40 characters) and clickthrough\_url (required), plus optional sku, price, sale\_price (amounts in the ad account's currency) and currency\_code. The first card's tagline and clickthrough URL also become the ad's own, matching how Spotify's Ads Manager builds carousel ads. Example: \[\{"image\_url": "`https://example.com/a.jpg`", "tagline": "Artisan bowl", "clickthrough\_url": "`https://example.com/a`", "price": 20}, \{"image\_url": "`https://example.com/b.jpg`", "tagline": "Ceramic mug", "clickthrough\_url": "`https://example.com/b`"}] | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created ad including id, ad\_set\_id, name, status, assets, call\_to\_action, catalog with its items, and ad\_preview\_url. **Fields**: dynamic (depend on the inputs) # Create Display Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_display_ad Creates a Spotify in-feed display ad from a display image and a logo, uploading any file given as a URL Creates a Spotify in-feed display ad from a display image and a logo, uploading any file given as a URL. The ad set's creative format must be IMAGE. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_display_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the ad in. | | `ad_set_id` | string or SelectItem | Yes | - | Ad set the ad belongs to. Its creative format must match this operation, and it is checked before the ad is created. | | `name` | string | Yes | - | Ad name, 2 to 200 characters. | | `advertiser_name` | string | Yes | - | Advertiser name shown with the ad, 2 to 25 characters. | | `logo_url` | string | Yes | - | Square logo image, JPEG or PNG, at least 600x600. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `call_to_action_key` | enum (`APPLY_NOW`, `BOOK_NOW`, `BUY_NOW`, `BUY_TICKETS`, `CLICK_NOW`, `DOWNLOAD`, `FIND_STORES`, `GET_COUPON`, ...) | No | - | Button text on the call to action card, for example LEARN\_MORE, LISTEN\_NOW, SHOP\_NOW. Spotify defaults to LEARN\_MORE. | | `call_to_action_language` | enum (`ARABIC`, `ARABIC_EGYPT`, `BULGARIAN`, `CHINESE`, `CHINESE_HK`, `CHINESE_TAIWAN`, `CROATIAN`, `CZECH`, ...) | No | - | Language the button text is shown in. Spotify defaults to ENGLISH. | | `start_time` | string | No | - | When the ad starts, ISO 8601 UTC. Inherits the ad set schedule when omitted. | | `end_time` | string | No | - | When the ad stops, ISO 8601 UTC. | | `delivery` | enum (`ON`, `OFF`) | No | - | Whether the ad starts delivering (ON) or paused (OFF). | | `dv_client_code` | string | No | - | DoubleVerify client code for third party verification. | | `third_party_tracking` | string or array of any | No | - | Up to 11 third party tracking entries, sent as-is. Each item is \{measurement\_partner: IAS\|DCM\|UNSET, url}. | | `tagline` | string | Yes | - | Short message shown next to the call to action, 2 to 40 characters. | | `clickthrough_url` | string | No | - | Destination URL the call to action opens. | | `image_url` | string | Yes | - | Display image shown in feed, JPEG or PNG, at least 600x500. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created ad including id, ad\_set\_id, name, status, assets, call\_to\_action and ad\_preview\_url. **Fields**: dynamic (depend on the inputs) # Create Video Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_create_video_ad Creates a Spotify video ad from a video and a logo, with optional companion and vertical canvas images, uploading any file given as a URL Creates a Spotify video ad from a video and a logo, with optional companion and vertical canvas images, uploading any file given as a URL. The ad set's creative format must be VIDEO. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_create_video_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to create the ad in. | | `ad_set_id` | string or SelectItem | Yes | - | Ad set the ad belongs to. Its creative format must match this operation, and it is checked before the ad is created. | | `name` | string | Yes | - | Ad name, 2 to 200 characters. | | `advertiser_name` | string | Yes | - | Advertiser name shown with the ad, 2 to 25 characters. | | `logo_url` | string | Yes | - | Square logo image, JPEG or PNG, at least 600x600. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `call_to_action_key` | enum (`APPLY_NOW`, `BOOK_NOW`, `BUY_NOW`, `BUY_TICKETS`, `CLICK_NOW`, `DOWNLOAD`, `FIND_STORES`, `GET_COUPON`, ...) | No | - | Button text on the call to action card, for example LEARN\_MORE, LISTEN\_NOW, SHOP\_NOW. Spotify defaults to LEARN\_MORE. | | `call_to_action_language` | enum (`ARABIC`, `ARABIC_EGYPT`, `BULGARIAN`, `CHINESE`, `CHINESE_HK`, `CHINESE_TAIWAN`, `CROATIAN`, `CZECH`, ...) | No | - | Language the button text is shown in. Spotify defaults to ENGLISH. | | `start_time` | string | No | - | When the ad starts, ISO 8601 UTC. Inherits the ad set schedule when omitted. | | `end_time` | string | No | - | When the ad stops, ISO 8601 UTC. | | `delivery` | enum (`ON`, `OFF`) | No | - | Whether the ad starts delivering (ON) or paused (OFF). | | `dv_client_code` | string | No | - | DoubleVerify client code for third party verification. | | `third_party_tracking` | string or array of any | No | - | Up to 11 third party tracking entries, sent as-is. Each item is \{measurement\_partner: IAS\|DCM\|UNSET, url}. | | `tagline` | string | Yes | - | Short message shown next to the call to action, 2 to 40 characters. | | `clickthrough_url` | string | No | - | Destination URL the call to action opens. | | `video_url` | string | Yes | - | Video for the ad, MP4 or MOV. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `companion_image_url` | string | No | - | Optional companion image shown alongside the video, JPEG or PNG. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | | `canvas_url` | string | No | - | Optional vertical 9:16 video or image for full screen placements. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), a Markifact uploaded file, or the id of an asset already in the account (from spotify\_ads\_list\_assets or spotify\_ads\_upload\_media). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created ad including id, ad\_set\_id, name, status, assets, call\_to\_action and ad\_preview\_url. **Fields**: dynamic (depend on the inputs) # Custom Spotify Ads App Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_custom_app Connect Spotify Ads through your own Spotify app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect Spotify Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Spotify app** (Custom App). With a custom app, every request Markifact makes to the Spotify Ads API runs under your app, so your clients never see Markifact in their connected apps. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 15-20 minutes, plus Spotify's Ads API access | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Three values from your own Spotify app: | Value | Where it comes from | | :- | :- | | **Client ID** | Your app in the [Spotify developer dashboard](https://developer.spotify.com/dashboard) | | **Client Secret** | The same app | | **Refresh Token** | Minted against that app by the Spotify account that has access to the Ads business | Spotify access tokens last one hour; Markifact refreshes them with your client ID and secret on every run. Refresh tokens stay valid until the user removes the app from their account. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a refresh token issued by your app, skip to [Connect to Markifact](#connect-to-markifact). *** ## Setting Up Your Custom Spotify Ads App **1. Create the App** 1. Open the [Spotify developer dashboard](https://developer.spotify.com/dashboard) and click **Create app** 2. Enter the app name and description. This is the branding users see when they authorize 3. Under **Redirect URIs**, add a URL you control (for example `https://www.youragency.com/spotify-callback`). Spotify appends the auth code to this URL after authorization; the page does not need to do anything 4. Save, then open **Settings** and copy the **Client ID** and **Client secret** **2. Request Spotify Ads API Access** The Ads API is not part of the public Spotify Web API. Ask your Spotify Ads representative to enable Ads API access for your app's client ID and wait for confirmation. Agencies that already run their own integrations will have this in place; until it is granted, the businesses endpoint returns authorization errors. **3. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the client ID and redirect URI: ```bash theme={"dark"} https://accounts.spotify.com/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Fspotify-callback&state=markifact ``` 2. Sign in as the Spotify account that has access to the Ads business and click **Agree** 3. Spotify redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire quickly and can be exchanged once, so do the next step right away **4. Exchange the Auth Code for a Refresh Token** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://accounts.spotify.com/api/token" \ -u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=authorization_code" \ -d "code=THE_AUTH_CODE" \ -d "redirect_uri=https://www.youragency.com/spotify-callback" ``` The response contains `refresh_token`. Copy it. > **Important:** Keep this token secure. Anyone holding it, together with your client ID and secret, can act on every ad account the user can reach. **5. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **Spotify Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency Spotify Ads") 5. Paste your **Client ID**, **Client Secret**, and **Refresh Token** 6. Click **Verify & Connect** Markifact refreshes the token once with your app, then makes one call that lists the ad businesses the account belongs to. Nothing is saved unless both succeed. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in Spotify Ads nodes, agents, and MCP exactly like any other Spotify Ads connection. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Spotify rejected the client ID or client secret (invalid\_client) > > Check both values under **Settings** on your app's page in the developer dashboard. Rotating the secret there invalidates the old one. > [accordion] Spotify rejected the refresh token (invalid\_grant) > > The token was issued by a different app than the one whose client ID you pasted, or the user removed the app under their Spotify account's **Apps** settings. Authorize again and paste the new refresh token. > [accordion] Spotify Ads API refused access (403) > > Your app has not been granted Ads API access yet, or the account cannot reach the ad accounts. Confirm the access with your Spotify Ads representative, then try again. > [accordion] This Spotify account belongs to no ad business > > The account that authorized has no access to a Spotify Ads business. Add it as a user on the business, then authorize again. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Client ID** | Spotify developer dashboard > your app > Settings | `a1b2c3d4e5f6...` | | **Client Secret** | Same page | `f6e5d4c3b2a1...` | | **Refresh Token** | Response of the auth code exchange | `AQD...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/spotify_ads/spotify_ads_get_report) > > Pull Spotify Ads performance data # Get Account History Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_get_account_history Retrieves historical account activity and changes for Spotify Ads accounts: who changed what and when, with before and after values Retrieves historical account activity and changes for Spotify Ads accounts: who changed what and when, with before and after values. Spotify keeps 180 days of history. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_get_account_history` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | Select Spotify Ads accounts to retrieve history for | | `time_range` | string or SelectableOption | No | - | Select time period for the account history. Available options: 'last\_30\_days' (Last 30 days), 'last\_14\_days' (Last 14 days), 'last\_7\_days' (Last 7 days), 'today' (Today only), 'yesterday' (Yesterday only). Spotify keeps 180 days of history. | | `entity_type` | enum (`CAMPAIGN`, `AD_SET`, `AD_ACCOUNT`, `BUSINESS`, `CREATIVE`) | No | - | Only return changes to this kind of entity: CAMPAIGN, AD\_SET, AD\_ACCOUNT, BUSINESS, or CREATIVE. | | `entity_ids` | string or array of string | No | - | Only return changes to these entity ids. Accepts a list or a comma-separated string. | | `entity_name` | string | No | - | Only return changes to entities whose name contains this text. | | `change_category` | enum (`STATUS`, `BUDGET`, `TARGETING`, `CREATIVE`, `SCHEDULING`, `SETTINGS`, `BILLING`) | No | - | Only return changes in this category: STATUS, BUDGET, TARGETING, CREATIVE, SCHEDULING, SETTINGS, or BILLING. | | `principal_type` | enum (`USER`, `SERVICE`) | No | - | Only return changes made by a USER or by a SERVICE (API integration). | | `limit` | integer | No | `100` | Maximum number of history records to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns account activity history with the entity changed, the operation, the actor, and each field's before and after values. **Fields**: dynamic (depend on the inputs) # Get Report Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_get_report Retrieves Spotify Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves Spotify Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including Campaigns, Ad Sets, and Ads. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_get_report` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Album Launch", "clicks": 500, "impressions": 25000, "cost": 200.0, "streams": 1800 } ] ``` # List Ad Sets Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_ad_sets Lists ad sets in a Spotify Ads account with full details, optionally filtered to one campaign Lists ad sets in a Spotify Ads account with full details, optionally filtered to one campaign. Can include or return only draft ad sets. Budgets and bids are returned in Spotify micro-currency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_ad_sets` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account whose ad sets should be listed. | | `campaign_id` | string or SelectItem | No | - | Only list ad sets in this campaign. Lists all ad sets in the account when omitted. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter ad sets by status: ACTIVE, ACTIVE\_RESTRICTED, APPROVED, ARCHIVED, COMPLETED, PENDING\_APPROVAL, READY, REJECTED. Returns all statuses when omitted. | | `draft_filter` | enum (`PUBLISHED_ONLY`, `INCLUDE_DRAFTS`, `DRAFTS_ONLY`) | No | `PUBLISHED_ONLY` | Which records to return: PUBLISHED\_ONLY (default, live ad sets), INCLUDE\_DRAFTS (published plus drafts from the Spotify drafts endpoint, with every row flagged by is\_draft), or DRAFTS\_ONLY. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ad sets. The available fields to filter by are: - id: Filter by ad set ID - name: Filter by ad set name - campaign\_id: Filter by parent campaign ID Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad sets to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Spotify ad sets with full details including budget, targeting, and status. **Fields**: dynamic (depend on the inputs) # List Ads Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_ads Lists ads in a Spotify Ads account with full details, optionally filtered to one ad set Lists ads in a Spotify Ads account with full details, optionally filtered to one ad set. Can include or return only draft ads. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_ads` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account whose ads should be listed. | | `ad_set_id` | string or SelectItem | No | - | Only list ads in this ad set. Lists all ads in the account when omitted. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter ads by status: ACTIVE, APPROVED, ARCHIVED, FAILED, PENDING, PENDING\_APPROVAL, REJECTED. Returns all statuses when omitted. | | `draft_filter` | enum (`PUBLISHED_ONLY`, `INCLUDE_DRAFTS`, `DRAFTS_ONLY`) | No | `PUBLISHED_ONLY` | Which records to return: PUBLISHED\_ONLY (default, live ads), INCLUDE\_DRAFTS (published plus drafts from the Spotify drafts endpoint, with every row flagged by is\_draft), or DRAFTS\_ONLY. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ads. The available fields to filter by are: - id: Filter by ad ID - name: Filter by ad name - ad\_set\_id: Filter by parent ad set ID Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ads to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Spotify ads with full details including assets, call to action, and status. **Fields**: dynamic (depend on the inputs) # List Assets Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_assets Lists creative assets (audio, image, video) in a Spotify Ads account with processing status and media details Lists creative assets (audio, image, video) in a Spotify Ads account with processing status and media details. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_assets` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account whose assets should be listed. | | `asset_types` | array of string or SelectableOption | No | - | Filter assets by type: AUDIO, IMAGE, VIDEO. Returns all types when omitted. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter assets by status: READY, PROCESSING, WAITING\_UPLOAD, ERROR. Returns all statuses when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving assets. The available fields to filter by are: - id: Filter by asset ID - name: Filter by asset name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of assets to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Spotify creative assets with full details. **Fields**: dynamic (depend on the inputs) # List Audiences Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_audiences Lists custom and lookalike audiences in a Spotify Ads account with status and size details Lists custom and lookalike audiences in a Spotify Ads account with status and size details. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_audiences` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account whose audiences should be listed. | | `audience_types` | array of string or SelectableOption | No | - | Filter audiences by type: CUSTOM and/or LOOKALIKE. The API defaults to CUSTOM when omitted. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving audiences. The available fields to filter by are: - id: Filter by audience ID - name: Filter by audience name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of audiences to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Spotify audiences with full details. **Fields**: dynamic (depend on the inputs) # List Campaigns Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_campaigns Lists campaigns in a Spotify Ads account with full details Lists campaigns in a Spotify Ads account with full details. Can include or return only draft campaigns. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_campaigns` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account whose campaigns should be listed. | | `entity_statuses` | array of string or SelectableOption | No | - | Filter campaigns by status: ACTIVE, PAUSED, ARCHIVED, ACTIVE\_RESTRICTED, AGENT\_CONTROLLED, PENDING\_ADVERTISER\_REVIEW. Returns all statuses when omitted. | | `draft_filter` | enum (`PUBLISHED_ONLY`, `INCLUDE_DRAFTS`, `DRAFTS_ONLY`) | No | `PUBLISHED_ONLY` | Which records to return: PUBLISHED\_ONLY (default, live campaigns), INCLUDE\_DRAFTS (published plus drafts from the Spotify drafts endpoint, with every row flagged by is\_draft), or DRAFTS\_ONLY. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving campaigns. The available fields to filter by are: - id: Filter by campaign ID - name: Filter by campaign name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of Spotify campaigns with full details. **Fields**: dynamic (depend on the inputs) # List Pixels Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_pixels Lists the Spotify conversion pixels available to an ad account, optionally with their configured events and hourly event counts Lists the Spotify conversion pixels available to an ad account, optionally with their configured events and hourly event counts. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_pixels` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select a Spotify Ads account. Pixels belong to the business that owns the account, which is resolved automatically. | | `include_events` | boolean | No | `False` | Include each pixel's configured events (page view, purchase, lead, add to cart) with their last activity. | | `include_historical_events` | boolean | No | `False` | Include hourly event counts per pixel. Requires date\_range, and turns on include\_events. | | `date_range` | DateRange | No | - | Window for the hourly event counts. Required with include\_historical\_events. | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving pixels. The available fields to filter by are: - id: Filter by pixel ID - name: Filter by pixel name - domain: Filter by the website domain the pixel is installed on Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of pixels to return. Default: 100. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns pixels with id, name, domain, dataset\_id and, when requested, their events and hourly event counts. **Fields**: dynamic (depend on the inputs) # List Podcast Shows Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_podcast_shows Searches Spotify podcast shows available in a market, returning each show's id, name and cover art Searches Spotify podcast shows available in a market, returning each show's id, name and cover art. Useful for researching podcast inventory before building podcast campaigns. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_podcast_shows` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `market` | string or SelectableOption | Yes | - | Country to look up shows in, as an ISO alpha-2 code such as US or GB. Spotify requires it because podcast availability is per market. | | `query` | string | No | - | Keyword to search show names by, matched case-insensitively. Returns shows available in the market when omitted. | | `ids` | string or array of string | No | - | Look up specific show ids instead of searching. Accepts a list or a comma-separated string. | | `limit` | integer | No | `100` | Maximum number of shows to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns matching podcast shows with id, name and images. **Fields**: dynamic (depend on the inputs) # List Report Fields Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_list_report_fields Search and browse available Spotify Ads reporting metrics and dimensions before running reports Search and browse available Spotify Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|streams).*'}]. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # Rename Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_rename_ad Renames Spotify ads, one or many at once Renames Spotify ads, one or many at once. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_rename_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Spotify ad ID to rename. Required for single update. | | `new_name` | string | No | - | New ad name, 2 to 200 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and new\_name (2 to 200 characters). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ads were renamed. # Rename Ad Set Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_rename_ad_set Renames Spotify ad sets, one or many at once Renames Spotify ad sets, one or many at once. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_rename_ad_set` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ad sets. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad set or multiple at once. Options: single or bulk. | | `ad_set_id` | string or SelectItem | No | - | Spotify ad set ID to rename. Required for single update. | | `new_name` | string | No | - | New ad set name, 2 to 200 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_set\_id and new\_name (2 to 200 characters). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad sets were renamed. # Rename Campaign Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_rename_campaign Renames Spotify campaigns, one or many at once Renames Spotify campaigns, one or many at once. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_rename_campaign` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Spotify campaign ID to rename. Required for single update. | | `new_name` | string | No | - | New campaign name, 2 to 200 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and new\_name (2 to 200 characters). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaigns were renamed. # Search Targeting Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_search_targeting Searches Spotify targeting options (artists, genres, geos, interests, languages, playlists, podcast episode topics, sensitive topics) and returns their ids for use in the targets object of spotify_... Searches Spotify targeting options (artists, genres, geos, interests, languages, playlists, podcast episode topics, sensitive topics) and returns their ids for use in the targets object of spotify\_ads\_create\_ad\_set. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_search_targeting` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target_type` | enum (`ARTIST`, `GENRE`, `GEO`, `INTEREST`, `LANGUAGE`, `PLAYLIST`, `EPISODE_TOPIC`, `SENSITIVE_TOPIC`, ...) | Yes | - | What to look up: ARTIST, GENRE, GEO, INTEREST, LANGUAGE, PLAYLIST, EPISODE\_TOPIC, or SENSITIVE\_TOPIC for targeting ids used in the targets object of spotify\_ads\_create\_ad\_set, or AD\_CATEGORY for the advertising category code that ad set takes in its category field. | | `query` | string | No | - | Keyword to search by, matched case-insensitively. Returns everything available when omitted, except for GEO which requires at least one filter. | | `ids` | string or array of string | No | - | Look up specific target ids instead of searching. Accepts a list or a comma-separated string. | | `country_code` | string | No | - | GEO only: restrict results to an ISO alpha-2 country code, for example US. | | `geo_types` | array of string or SelectableOption | No | - | GEO only: restrict results to these geo types: CITY, COUNTRY, DMA\_REGION, POSTAL\_CODE, REGION. | | `limit` | integer | No | `100` | Maximum number of targets to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns matching targets with their id and name; geos also include type, country\_code and parent\_geo\_name, artists include images, and interests include their subtargets. **Fields**: dynamic (depend on the inputs) # Select Accounts Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_select_accounts Select Spotify Ads accounts once and reuse them across multiple spotify_ads_get_report nodes, with no repeated account selection Select Spotify Ads accounts once and reuse them across multiple spotify\_ads\_get\_report nodes, with no repeated account selection. You can also select and list all available accounts. Skip if you have just one spotify\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_select_accounts` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_ad Advanced: partially updates a Spotify ad from a raw field payload including creative assets, call to action, and schedule; only provided fields change Advanced: partially updates a Spotify ad from a raw field payload including creative assets, call to action, and schedule; only provided fields change. Prefer the dedicated status and rename operations for simple changes. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_ad` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | Spotify ad ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad fields to update as a JSON object sent to the Spotify PATCH endpoint as-is; only the fields you include change. Editable fields per the Spotify docs: name (2-200 chars), advertiser\_name (2-25 chars), tagline (2-40 chars), assets (object with asset\_id and logo\_asset\_id, optional companion\_asset\_id and canvas\_asset\_id), start\_time and end\_time (ISO 8601 UTC, nullable), call\_to\_action (object with key, language, clickthrough\_url), third\_party\_tracking (up to 11), dv\_client\_code, catalog (carousel object with 2-6 items), and delivery (ON or OFF; Spotify requires delivery to be the ONLY field in the request, so send it alone or use spotify\_ads\_update\_ad\_status). Prefer the dedicated operations for plain changes: spotify\_ads\_update\_ad\_status, spotify\_ads\_rename\_ad. Example: \{"tagline": "New album out now", "assets": \{"asset\_id": "uuid", "logo\_asset\_id": "uuid"}} | | `dry_run` | boolean | No | `False` | When true, do not call Spotify. Return the resolved PATCH payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and the PATCH payload applied. **Fields**: `ad_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Ad Set Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_ad_set Advanced: partially updates a Spotify ad set from a raw field payload including budget, bid, targeting, and schedule; only provided fields change and micro-currency fields are raw integers Advanced: partially updates a Spotify ad set from a raw field payload including budget, bid, targeting, and schedule; only provided fields change and micro-currency fields are raw integers. Prefer the dedicated status, rename, and budget operations for simple changes. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_ad_set` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ad set. | | `ad_set_id` | string or SelectItem | Yes | - | Spotify ad set ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad set fields to update as a JSON object sent to the Spotify PATCH endpoint as-is; only the fields you include change. Editable fields per the Spotify docs: name, start\_time and end\_time (ISO 8601 UTC), budget (object with micro\_amount, a raw micro-currency integer, and type DAILY or LIFETIME), bid\_micro\_amount, base\_rate\_micro\_amount, cost\_modifiers, pacing (PACING\_EVEN or PACING\_ASAP), frequency\_caps (up to 6), targets (the full Spotify targeting object), category, dataset\_id, video\_delivery\_formats, slot\_positions, and delivery (ON or OFF; Spotify requires delivery to be the ONLY field in the request, so send it alone or use spotify\_ads\_update\_ad\_set\_status). Prefer the dedicated operations for plain changes: spotify\_ads\_update\_ad\_set\_status, spotify\_ads\_rename\_ad\_set, spotify\_ads\_update\_ad\_set\_budget. Example: \{"end\_time": "2026-09-30T00:00:00Z", "bid\_micro\_amount": 5000000} | | `dry_run` | boolean | No | `False` | When true, do not call Spotify. Return the resolved PATCH payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and the PATCH payload applied. **Fields**: `ad_set_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Ad Set Budget Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_ad_set_budget Updates the daily or lifetime budget of Spotify ad sets, one or many at once Updates the daily or lifetime budget of Spotify ad sets, one or many at once. Budgets are entered in the account currency and converted to micro-currency automatically. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_ad_set_budget` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ad sets. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set budget or multiple at once. Options: single or bulk. | | `ad_set_id` | string or SelectItem | No | - | Spotify ad set ID to update. Required for single update. | | `budget_type` | string or SelectableOption | No | `{'value': 'DAILY', 'label': 'Daily'}` | Budget type to set: DAILY or LIFETIME. Default: DAILY. | | `budget_value` | number | No | - | New budget in the ad account's currency (for example 50 for \$50), converted to Spotify micro-currency automatically. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_set\_id and budget\_value (account currency). Optional column: budget\_type (DAILY or LIFETIME; default DAILY). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad set budgets were updated. # Update Ad Set Status Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_ad_set_status Activates, pauses, or deletes Spotify ad sets, one or many at once Activates, pauses, or deletes Spotify ad sets, one or many at once. DELETED only works on draft ad sets and cannot be undone; published ad sets cannot be deleted or archived through the Spotify API, so pause them instead. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_ad_set_status` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ad sets. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set or multiple at once. Options: single or bulk. | | `ad_set_id` | string or SelectItem | No | - | Spotify ad set ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad set status: ACTIVE (resume), PAUSED (pause), or DELETED. ACTIVE and PAUSED are sent to Spotify as the delivery flag (ON/OFF). DELETED permanently deletes a DRAFT ad set and cannot be undone; Spotify has no delete endpoint for published ad sets, so use PAUSED for those. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_set\_id and status (ACTIVE, PAUSED, or DELETED; DELETED only works on drafts). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad sets were updated. # Update Ad Status Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_ad_status Activates, pauses, or deletes Spotify ads, one or many at once Activates, pauses, or deletes Spotify ads, one or many at once. DELETED only works on draft ads and cannot be undone; published ads cannot be deleted or archived through the Spotify API, so pause them instead. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_ad_status` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | Spotify ad ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad status: ACTIVE (resume), PAUSED (pause), or DELETED. ACTIVE and PAUSED are sent to Spotify as the delivery flag (ON/OFF). DELETED permanently deletes a DRAFT ad and cannot be undone; Spotify has no delete endpoint for published ads, so use PAUSED for those. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and status (ACTIVE, PAUSED, or DELETED; DELETED only works on drafts). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ads were updated. # Update Audience Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_audience Renames a Spotify audience or changes its description Renames a Spotify audience or changes its description. Spotify does not allow an audience's rules (datasets, events, campaigns, seed audience) to change after creation, so create a new audience for that. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_audience` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Audience to update. Get ids from spotify\_ads\_list\_audiences. | | `name` | string | No | - | New audience name, 2 to 80 characters. | | `description` | string | No | - | New description, up to 80 characters. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated audience including id, name, description, type, subtype, status and size. **Fields**: dynamic (depend on the inputs) # Update Campaign Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_campaign Advanced: partially updates a Spotify campaign from a raw field payload; only provided fields change Advanced: partially updates a Spotify campaign from a raw field payload; only provided fields change. Prefer the dedicated status and rename operations for simple changes. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_campaign` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | Spotify campaign ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object sent to the Spotify PATCH endpoint as-is; only the fields you include change. Editable fields per the Spotify docs: name (2-200 chars), purchase\_order (2-45 chars), and status (ACTIVE, PAUSED, or ARCHIVED). Prefer the dedicated operations for plain changes: spotify\_ads\_update\_campaign\_status, spotify\_ads\_rename\_campaign. Example: \{"name": "Q4 Awareness", "status": "PAUSED"} | | `dry_run` | boolean | No | `False` | When true, do not call Spotify. Return the resolved PATCH payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields and the PATCH payload applied. **Fields**: `campaign_id`, `updated_fields`, `endpoint`, `payload`, `dry_run` # Update Campaign Status Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_update_campaign_status Activates, pauses, archives, or deletes Spotify campaigns, one or many at once Activates, pauses, archives, or deletes Spotify campaigns, one or many at once. DELETED only works on draft campaigns and cannot be undone; published campaigns cannot be deleted through the Spotify API, so archive them instead. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | Spotify campaign ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New campaign status: ACTIVE, PAUSED, ARCHIVED, or DELETED. DELETED permanently deletes a DRAFT campaign and cannot be undone; Spotify has no delete endpoint for published campaigns, so use ARCHIVED or PAUSED for those. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and status (ACTIVE, PAUSED, ARCHIVED, or DELETED; DELETED only works on drafts). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaigns were updated. # Upload Media Source: https://docs.markifact.com/nodes/spotify_ads/spotify_ads_upload_media Uploads an audio, video or image file to a Spotify Ads account and returns the asset once Spotify finishes processing it Uploads an audio, video or image file to a Spotify Ads account and returns the asset once Spotify finishes processing it. Files over 20MB are uploaded in chunks automatically. Use the returned asset id in spotify\_ads\_create\_ad. | | | | - | - | | **App** | Spotify Ads | | **Operation ID** | `spotify_ads_upload_media` | | **Type** | Action | | **Connection** | `spotify_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the Spotify Ads account to upload the asset to. | | `media_url` | string | Yes | - | File to upload. Accepts a direct URL, a Google Drive share link (set to 'Anyone with the link'), or a Markifact uploaded file. Supported formats: MP3, WAV or OGG audio; MP4 or MOV video; PNG or JPG images. Files over 20MB are uploaded in chunks automatically, and the node waits for Spotify to finish processing before returning the asset id. | | `asset_type` | enum (`AUDIO`, `IMAGE`, `VIDEO`) | No | - | Asset type. Detected from the file extension or content type when omitted; set it only when detection fails. | | `asset_subtype` | enum (`BACKGROUND_MUSIC`, `USER_UPLOADED_AUDIO`) | No | - | Audio only: BACKGROUND\_MUSIC or USER\_UPLOADED\_AUDIO. | | `name` | string | No | - | Name of the asset in Spotify, 2 to 120 characters. Defaults to the file name when omitted. | ## Output **Type**: `Dict` Returns the created asset including id, name, asset\_type, status and media details such as duration, dimensions and aspect ratio. **Fields**: dynamic (depend on the inputs) # Custom TikTok App Source: https://docs.markifact.com/nodes/tiktok/tiktok_custom_app Connect a TikTok account through your own TikTok app (white-label) by pasting your client key, client secret, and a refresh token. Markifact supports two ways to connect a TikTok account for organic publishing and reporting: using the built-in **Markifact app** (Quick Connect) or connecting through your own **TikTok app** (Custom App). With a custom app, the account holder authorizes your app, and every request Markifact makes runs under it, so your clients never see Markifact in their connected apps. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 30 minutes, plus TikTok's app review | | **App the account holder sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Three values from your own TikTok app: | Value | Where it comes from | | :- | :- | | **Client Key** | Your app's page in the TikTok for Developers portal | | **Client Secret** | The same page | | **Refresh Token** | Issued when the account holder authorizes your app with the scopes below, then exchanged as shown in the steps | TikTok access tokens last 24 hours, so Markifact refreshes them with your client key and secret on every run. Refresh tokens last 365 days and **rotate on every refresh**: Markifact stores the newest one automatically, so once connected you do not have to touch the connection again. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a Login Kit refresh token issued by your app, skip to [Connect to Markifact](#connect-to-markifact). Paste the latest refresh token you hold: an older, already-rotated one is rejected. ### Scopes Request all of these when the account holder authorizes. Missing scopes surface later as TikTok permission errors on the node. | Scope | Needed for | | :- | :- | | `user.info.basic` | Identifying the account (required) | | `user.info.stats`, `user.insights` | Account performance | | `video.list`, `video.insights` | Listing posts and post performance | | `video.publish`, `video.upload` | Publishing | *** ## Setting Up Your Custom TikTok App **1. Create the App** 1. Go to the [TikTok for Developers portal](https://developers.tiktok.com/) and create an app 2. Add the **Login Kit** and **Content Posting API** products, and request the scopes listed above 3. Under Login Kit, add a **Redirect URI** you control (for example `https://www.youragency.com/tiktok-callback`). TikTok appends the auth code to this URL after authorization; the page does not need to do anything 4. Submit the app for review and wait for TikTok to approve the scopes. Agencies that already run their own integrations will have this in place **2. Get the Client Key and Secret** Open your app's page in the portal and copy the **Client key** and **Client secret**. **3. Generate a PKCE Pair** TikTok requires PKCE, and unlike most providers it expects the challenge as the **hex** encoding of the SHA-256 hash. Run this in a terminal and keep both values: ```bash theme={"dark"} CODE_VERIFIER=$(openssl rand -hex 32) CODE_CHALLENGE=$(printf "%s" "$CODE_VERIFIER" | openssl dgst -sha256 | awk '{print $NF}') echo "verifier: $CODE_VERIFIER" echo "challenge: $CODE_CHALLENGE" ``` **4. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing the client key, redirect URI, and challenge: ```bash theme={"dark"} https://www.tiktok.com/v2/auth/authorize/?client_key=YOUR_CLIENT_KEY&scope=user.info.basic,user.info.stats,user.insights,video.list,video.insights,video.publish,video.upload&response_type=code&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Ftiktok-callback&state=markifact&code_challenge=YOUR_CHALLENGE&code_challenge_method=S256 ``` 2. Sign in as the TikTok account you want to connect and click **Authorize** 3. TikTok redirects to your URL with `code=...` in the query string. Copy the value. Auth codes expire quickly and can be exchanged once, so do the next step right away **5. Exchange the Auth Code for Tokens** Run this request, replacing the values (the redirect URI must match the one used above exactly): ```bash theme={"dark"} curl -X POST "https://open.tiktokapis.com/v2/oauth/token/" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "client_key=YOUR_CLIENT_KEY" \ -d "client_secret=YOUR_CLIENT_SECRET" \ -d "code=THE_AUTH_CODE" \ -d "grant_type=authorization_code" \ -d "redirect_uri=https://www.youragency.com/tiktok-callback" \ -d "code_verifier=YOUR_VERIFIER" ``` The response contains `refresh_token`. Copy it. > **Important:** Keep this token secure. Anyone holding it, together with your client key and secret, can post to and read the connected TikTok account. **6. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **TikTok** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency TikTok") 5. Paste your **Client Key**, **Client Secret**, and **Refresh Token** 6. Click **Verify & Connect** Markifact refreshes the token once with your client key and secret. Nothing is saved unless TikTok accepts all three values; the rotated refresh token TikTok returns is what gets stored. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in TikTok nodes, agents, and MCP exactly like any other TikTok connection. The connection name is also the account name shown in report rows. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] TikTok rejected the client key or client secret (invalid\_client) > > Check both values on your app's page in the TikTok for Developers portal. Resetting the secret invalidates the old one. > [accordion] TikTok rejected the refresh token (invalid\_grant) > > The most common causes: > > * The token was issued by a different app than the one whose client key you pasted > * The token has already been rotated: refresh tokens are single-use, so paste the newest one your system holds > * The token expired (365 days) or the account holder revoked the app under TikTok **Settings** > **Security** > **Connected apps** > > Run the authorization again and paste the new refresh token. > [accordion] TikTok returned no open\_id for this token > > The token was issued without the `user.info.basic` scope. Include it when authorizing and exchange a new code. > [accordion] A node fails with a permission error after connecting > > The token is missing one of the scopes in the table above, or TikTok has not approved that scope for your app yet. Check the scopes and the review status in the portal, then authorize again and paste the new refresh token. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **Client Key** | TikTok for Developers portal > your app | `aw1234567890abcd` | | **Client Secret** | Same page | `a1b2c3...` | | **Refresh Token** | Response of the auth code exchange | `rft.abc...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Publish Post](/nodes/tiktok/tiktok_publish_post) > > Publish videos and photos to a TikTok account # Get Audience Source: https://docs.markifact.com/nodes/tiktok/tiktok_get_audience Fetches the connected TikTok account's audience: follower countries, genders, ages, and cities (available once the account has 100 or more followers), or follower active times by hour of day for pi... Fetches the connected TikTok account's audience: follower countries, genders, ages, and cities (available once the account has 100 or more followers), or follower active times by hour of day for picking posting times. | | | | - | - | | **App** | TikTok Organic | | **Operation ID** | `tiktok_get_audience` | | **Type** | Action | | **Connection** | `tiktok` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `breakdown` | string or SelectableOption | Yes | - | Which audience breakdown to fetch for the connected account. Available options: 'countries', 'genders', 'ages', 'cities' (follower demographics as fractions; TikTok only reports these once the account has 100 or more followers), and 'active\_times' (when followers are online: activity count per hour of day 0-23, summed over the date range; use it to pick posting times). | | `date_range` | DateRange | No | - | Only used for 'active\_times'. Defaults to the last 30 days. Demographic breakdowns are current snapshots and ignore it. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` One row per breakdown entry with TikTok's own field names; demographics use fractions, active\_times uses activity counts per hour (0-23). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "country": "AE", "percentage": 0.32 }, { "country": "US", "percentage": 0.054 } ] ``` # Get Creator Info Source: https://docs.markifact.com/nodes/tiktok/tiktok_get_creator_info Returns the connected TikTok account's posting options: which privacy levels are allowed, whether comments, Duet, or Stitch are turned off for the account, and the maximum video length Returns the connected TikTok account's posting options: which privacy levels are allowed, whether comments, Duet, or Stitch are turned off for the account, and the maximum video length. Requires video.publish. Use for direct-post settings only; do not call this before draft uploads, which need video.upload only. | | | | - | - | | **App** | TikTok Organic | | **Operation ID** | `tiktok_get_creator_info` | | **Type** | Action | | **Connection** | `tiktok` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | ## Output **Type**: `Dict` Returns the creator's display details and the posting options TikTok allows for the account. **Fields**: `creator_username`, `creator_nickname`, `creator_avatar_url`, `privacy_level_options`, `comment_disabled`, `duet_disabled`, `stitch_disabled`, `max_video_post_duration_sec` **Example**: ```json theme={"dark"} { "creator_username": "mybrand", "creator_nickname": "My Brand", "privacy_level_options": [ "PUBLIC_TO_EVERYONE" ], "comment_disabled": false, "duet_disabled": false, "stitch_disabled": false } ``` # Get Report Source: https://docs.markifact.com/nodes/tiktok/tiktok_get_report Retrieves organic TikTok analytics for the connected account: account level daily metrics (video views, profile views, followers, engagement, bio link clicks) over a date range, or lifetime per vid... Retrieves organic TikTok analytics for the connected account: account level daily metrics (video views, profile views, followers, engagement, bio link clicks) over a date range, or lifetime per video metrics (views, reach, watch time, full watch rate) with post prefixed fields. Per video breakdowns are dimensions paired with the 'percentage' metric: impressionSource (For You, Search, Follow), retentionSecond (watch retention curve), viewerType, viewerCountry, viewerGender, viewerCity; one breakdown dimension per report. Account and post fields cannot be mixed. | | | | - | - | | **App** | TikTok Organic | | **Operation ID** | `tiktok_get_report` | | **Type** | Action | | **Connection** | `tiktok` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Account level: one row per date (or week/month, or a single totals row with no date dimension). Post level: one row per video. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-08-10", "video_views": 1250, "profile_views": 40, "daily_total_followers": 3210 } ] ``` # List Posts Source: https://docs.markifact.com/nodes/tiktok/tiktok_list_posts Lists the account's TikTok posts newest first, with caption, URLs, duration, and lifetime engagement metrics, as TikTok returns them Lists the account's TikTok posts newest first, with caption, URLs, duration, and lifetime engagement metrics, as TikTok returns them. For traffic sources, retention curves, and viewer breakdowns per post, use tiktok\_get\_report with a breakdown dimension. TikTok's API cannot delete or edit published posts. | | | | - | - | | **App** | TikTok Organic | | **Operation ID** | `tiktok_list_posts` | | **Type** | Action | | **Connection** | `tiktok` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `limit` | integer | No | `50` | Maximum number of posts to return, newest first, up to 500. Default is 50. | ## Output **Type**: `List[Dict]` Returns raw video objects as TikTok returns them (create\_time is a unix timestamp string). **Fields**: `item_id`, `caption`, `create_time`, `share_url`, `embed_url`, `thumbnail_url`, `media_type`, `video_duration`, `is_ad`, `video_views`, `reach`, `likes`, `comments`, `shares`, `favorites`, `total_time_watched`, `average_time_watched`, `full_video_watched_rate` # List Report Fields Source: https://docs.markifact.com/nodes/tiktok/tiktok_list_report_fields Search and browse available TikTok organic reporting metrics and dimensions before running reports Search and browse available TikTok organic reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(views|followers).*'}]. | | | | - | - | | **App** | TikTok Organic | | **Operation ID** | `tiktok_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields with their level (account or post). **Fields**: `id`, `name`, `type`, `data_type`, `level` # Publish Post Source: https://docs.markifact.com/nodes/tiktok/tiktok_publish_post Publishes a video or a photo post (1 to 35 images, shown as a swipeable photo post) to a TikTok account, either posting it directly with a caption and privacy level, or sending it to the creator's ... Publishes a video or a photo post (1 to 35 images, shown as a swipeable photo post) to a TikTok account, either posting it directly with a caption and privacy level, or sending it to the creator's TikTok inbox to finish in the app. Markifact handles the transfer to TikTok, so any reachable media URL works, including Google Drive share links. For direct posts, call tiktok\_get\_creator\_info to see allowed privacy levels. Drafts need video.upload only; do not call tiktok\_get\_creator\_info for drafts. | | | | - | - | | **App** | TikTok Organic | | **Operation ID** | `tiktok_publish_post` | | **Type** | Action | | **Connection** | `tiktok` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `post_type` | string or SelectableOption | No | `video` | What to publish. Available options: 'video' (a single video) or 'photo' (a photo post carrying 1 to 35 images, which TikTok shows as a swipeable photo post). | | `post_mode` | string or SelectableOption | No | `direct` | How to publish. Available options: 'direct' (publishes straight to the account) or 'draft' (uploads to the creator's TikTok inbox so they finish and post it in the TikTok app). In draft mode TikTok collects the settings in its own editor, so the privacy and interaction fields below are only used for 'direct'. | | `video_url` | string | No | - | The video to post, required for 'video' posts. Accepts a direct video URL or a Google Drive share link with sharing set to 'Anyone with the link'. | | `image_urls` | string or array of string | No | - | The images to post, required for 'photo' posts: 1 to 35 URLs as a list or one string separated by commas or new lines. TikTok accepts JPEG and WebP images up to 20MB each. Accepts direct URLs or Google Drive share links. | | `title` | string | No | - | Photo posts only, up to 90 characters. TikTok shows this as the post's title above the description. Videos have no separate title, so use caption for them. | | `caption` | string | No | - | The caption, up to 2200 characters, shown as the description on photo posts. Hashtags and @mentions can be included in the text. | | `privacy_level` | string or SelectItem | No | - | Who can see the post. Required for 'direct' posts. Must be one of the options the account actually allows, which tiktok\_get\_creator\_info returns in privacy\_level\_options: 'PUBLIC\_TO\_EVERYONE', 'MUTUAL\_FOLLOW\_FRIENDS' (friends), 'FOLLOWER\_OF\_CREATOR' (followers), 'SELF\_ONLY' (only me). | | `disable_comment` | boolean | No | - | Set to True to turn off comments on this post. | | `disable_duet` | boolean | No | - | Video posts only. Set to True to stop others creating Duets from this post. | | `disable_stitch` | boolean | No | - | Video posts only. Set to True to stop others stitching this post. | | `video_cover_timestamp_ms` | integer or string | No | - | Video posts only. Which frame to use as the cover, in milliseconds from the start. Defaults to the first frame. | | `auto_add_music` | boolean | No | - | Photo posts only. Set to True to let TikTok add a recommended soundtrack to the photo post. | | `brand_organic_toggle` | boolean | No | - | Set to True when the post promotes the creator's own business. TikTok labels it 'Promotional content'. | | `brand_content_toggle` | boolean | No | - | Set to True when the post is a paid partnership with a brand. TikTok labels it 'Paid partnership'. TikTok does not allow branded content on private posts, so this cannot be combined with SELF\_ONLY privacy. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the publish id and final status. Posts are processed asynchronously, so the node waits for TikTok to finish before returning. TikTok does not return the new post's id, so use tiktok\_list\_posts to find it. **Fields**: `publish_id`, `status`, `post_type`, `post_mode`, `privacy_level`, `account_name`, `media_count`, `creator_username`, `creator_nickname` **Example**: ```json theme={"dark"} { "publish_id": "v_pub_url~v2.7673052500353845256", "status": "PUBLISH_COMPLETE", "post_type": "photo", "post_mode": "direct", "privacy_level": "PUBLIC_TO_EVERYONE", "account_name": "My Brand", "media_count": 3 } ``` # Create Ad From Post Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_create_ad_from_post Creates TikTok ads from existing posts using Spark post item IDs Creates TikTok ads from existing posts using Spark post item IDs. supports all campaign types: manual, smart+, search, etc. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_create_ad_from_post` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to create ads in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Options: 'single' or 'bulk' | | `ad_group_id` | string or SelectItem | No | - | Select the TikTok ad group for this ad. Required for single ad creation. | | `identity_id` | string or SelectItem | Yes | - | TikTok identity ID, required for single and bulk ads. Use tiktok\_ads\_list\_identities to find TT\_USER or BC\_AUTH\_TT identities; Markifact resolves the type from the ID. Native DM ads must be Spark Ads with direct-message permission (can\_manage\_message=true in TikTok identity details). For native DM CLICK, use TT\_USER or BC\_AUTH\_TT; for CONVERSATION, use TT\_USER. | | `ad_name` | string | No | - | Name of the ad | | `post_ids` | string or array of string | No | - | Existing TikTok post IDs to use for this ad. Manual ad groups support 1 post; Smart+ ad groups support up to 50 post creatives. | | `call_to_action` | string or SelectableOption | No | - | Optional TikTok call to action, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP, CONTACT\_US, DOWNLOAD. | | `landing_page_url` | string | No | - | Landing page URL people open after clicking the ad. You can include UTM parameters, for example ?utm\_source=tiktok\&utm\_id=**CAMPAIGN\_ID**\&utm\_campaign=**CAMPAIGN\_NAME**\&utm\_medium=paid. For app download campaigns, provide the app store URL. Omit for native TikTok DMs, phone destinations, or messaging destinations derived from the ad group. TikTok validates whether a URL is needed. | | `page_id` | string | No | - | Optional TikTok-hosted page, such as an instant page or lead form. When provided, landing\_page\_url is not sent. Use tiktok\_ads\_list\_pages to find IDs. Call Ads can use a custom TikTok Instant Page instead of a phone destination. Omit for native TikTok DM ads. | | `phone_region_code` | string | No | - | Manual Call Ads: destination region code, for example NZ. Provide together with phone\_region\_calling\_code and phone\_number. Obtain matching codes from /tool/phone\_region\_code/. WhatsApp/Zalo phone fields belong on the ad group instead. | | `phone_region_calling_code` | string | No | - | Manual Call Ads: destination calling code including +, for example +64. Provide together with phone\_region\_code and phone\_number. | | `phone_number` | string | No | - | Manual Call Ads: destination phone number. Provide all three phone fields, or use page\_id for a custom TikTok Instant Page destination. TikTok validates destination eligibility. | | `auto_message_id` | string | No | - | Required for manual native DM ads: welcome message ID from /creative/auto\_message/get/ or /creative/auto\_message/create/. Use a Spark identity with direct-message permission; omit landing\_page\_url, page\_id, and deep-link fields for this route. | | `deeplink` | string | No | - | Manual ads: native destination deep link when the selected messaging route requires one. Omit for native TikTok DM ads and when TikTok derives the destination from the ad group. | | `deeplink_type` | string or SelectableOption | No | - | Manual ads: native TikTok deep-link type when required for the destination. Omit for native TikTok DM ads. | | `fallback_type` | string or SelectableOption | No | - | Manual ads: native TikTok fallback type when required for the deep link. Omit for native TikTok DM ads. | | `tracking_message_event_set_id` | string | No | - | Manual instant messaging ads: optional message event set used for tracking. | | `tracking_pixel_id` | integer or string | No | - | Optional TikTok tracking pixel ID. Usually inherited from the ad group for supported objectives; provide it manually if needed. | | `tracking_app_id` | string | No | - | Optional TikTok tracking app ID. Usually inherited from the ad group for supported objectives; provide it manually if needed. | | `disable_creative_enhancements` | boolean | No | `True` | Single mode only. Disable TikTok automatic creative enhancements. Default: true. | | `ad_status` | string or SelectableOption | No | - | Status when the ad is created. Options: ENABLE, DISABLE. Default: DISABLE. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Required columns: ad\_group\_id, ad\_name, and posts. Destinations are optional for native messaging/call routes. Posts can be provided as post\_ids lists or numbered columns like post\_1\_id, post\_2\_id. Optional row columns: landing\_page\_url, phone\_region\_code, phone\_region\_calling\_code, phone\_number, auto\_message\_id, deeplink, deeplink\_type, fallback\_type, tracking\_message\_event\_set\_id (these native destination fields inherit top-level values unless overridden per row), page\_id, call\_to\_action, tracking\_pixel\_id, tracking\_app\_id, disable\_creative\_enhancements, ad\_status, or operation\_status. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created TikTok ad IDs, source post IDs, created count, and per-row results in detailed bulk mode. **Fields**: `ad_ids`, `post_ids`, `created_count` # Create Ad Group Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_create_ad_group Create TikTok ad groups for manual, Search, and Upgraded Smart+ campaigns, including native DM, phone-call, and instant-messaging lead routes Create TikTok ad groups for manual, Search, and Upgraded Smart+ campaigns, including native DM, phone-call, and instant-messaging lead routes. Use advanced\_fields for additional native parameters. TikTok validates route eligibility; all groups default to paused. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_create_ad_group` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to create the ad group in. | | `ad_group_mode` | string or SelectableOption | Yes | - | Ad group creation path. Match the parent campaign: manual, search, or upgraded\_smart\_plus. Upgraded Smart+ supports multiple ad groups, explicit status, and ad-group budgets when campaign budget optimization is disabled. | | `campaign_id` | string or SelectItem | Yes | - | TikTok campaign ID to create the ad group under. Match ad\_group\_mode to the parent campaign type. | | `adgroup_name` | string | Yes | - | Ad group name to create in TikTok. Keep it human-readable, 512 characters or less, and do not include emoji. | | `operation_status` | string or SelectableOption | No | - | Initial ad-group status for manual, Search, and Upgraded Smart+. Use DISABLE to create paused or ENABLE to enable. Defaults to DISABLE. | | `promotion_type` | string or SelectableOption | No | - | Native promotion type matching the campaign and destination. Website: WEBSITE. Apps: APP\_ANDROID/APP\_IOS. Lead forms: LEAD\_GENERATION plus promotion\_target\_type; Smart+ also supports LEAD\_GENERATION\_MULTI\_DESTINATION. Native leads: LEAD\_GEN\_CLICK\_TO\_TT\_DIRECT\_MESSAGE, LEAD\_GEN\_CLICK\_TO\_CALL, or LEAD\_GEN\_CLICK\_TO\_SOCIAL\_MEDIA\_APP\_MESSAGE. Minis: MINI\_APP/MINI\_GAME; series: NATIVE\_SERIES. Shopping: VIDEO\_SHOPPING, LIVE\_SHOPPING, PSA\_PRODUCT, or TIKTOK\_SHOP where supported. TikTok validates objective compatibility and regional/allowlist access; no substitute is inferred. | | `optimization_goal` | string or SelectableOption | Yes | - | Match the objective and destination. Website traffic: CLICK or TRAFFIC\_LANDING\_PAGE\_VIEW; PAGE\_VISIT means TikTok profile/in-app page visits under ENGAGEMENT, not website visits. CONVERT: conversions; INSTALL/IN\_APP\_EVENT: apps; VALUE: value optimization; LEAD\_GENERATION: forms; LEADS: lead optimization; WEBSITE\_ENGAGEMENT: meaningful website actions; PREFERRED\_LEAD: qualified leads where supported. SHOW/REACH: impressions/reach; FOLLOWERS: followers; ENGAGED\_VIEW/ENGAGED\_VIEW\_FIFTEEN: 6-/15-second focused views; PRODUCT\_CLICK\_IN\_LIVE/MT\_LIVE\_ROOM: live product clicks/views; DESTINATION\_VISIT: in-app page with website fallback. Native calls use CLICK; DMs/messaging use CLICK or eligible CONVERSATION. Smart+ supports Zalo CONVERSATION as well as Messenger/WhatsApp. TikTok validates goal eligibility; do not substitute another goal to bypass access restrictions. | | `billing_event` | string or SelectableOption | Yes | - | Match optimization\_goal. CPC: CLICK or PAGE\_VISIT. CPM: SHOW or REACH. CPV: ENGAGED\_VIEW or ENGAGED\_VIEW\_FIFTEEN. OCPM: TRAFFIC\_LANDING\_PAGE\_VIEW, CONVERT, INSTALL, IN\_APP\_EVENT, LEAD\_GENERATION, CONVERSATION, VALUE, AUTOMATIC\_VALUE\_OPTIMIZATION, FOLLOWERS, PRODUCT\_CLICK\_IN\_LIVE, MT\_LIVE\_ROOM, or DESTINATION\_VISIT. Smart+ supports CPC for CLICK and OCPM for its other supported goals, including LEADS and WEBSITE\_ENGAGEMENT. GD is Guaranteed Delivery for eligible reservation campaigns. TikTok validates compatibility. | | `bid_type` | string or SelectableOption | No | - | Bid strategy. Use BID\_TYPE\_NO\_BID for Maximum Delivery, or BID\_TYPE\_CUSTOM for Cost Cap. Required for Smart+ and most conversion/value flows. | | `bid_price` | number | No | - | Cost Cap amount in account currency. Required when bid\_type is BID\_TYPE\_CUSTOM and billing\_event is CPC, CPM, or CPV, including native call/messaging CLICK. Omit for Maximum Delivery and OCPM; use conversion\_bid\_price for OCPM Cost Cap. | | `conversion_bid_price` | number | No | - | Cost Cap amount in account currency. Required when bid\_type is BID\_TYPE\_CUSTOM and billing\_event is OCPM, including native DM/messaging CONVERSATION. Omit for Maximum Delivery and non-OCPM billing; use bid\_price for CPC/CPM/CPV Cost Cap. | | `deep_bid_type` | string or SelectableOption | No | - | Deep-event bidding strategy. For VALUE, use VO\_HIGHEST\_VALUE to maximize value or VO\_MIN\_ROAS with roas\_bid for a minimum ROAS target. Smart+ also accepts DEFAULT and AEO where supported; TikTok validates compatibility. | | `roas_bid` | number | No | - | Positive minimum ROAS target. Required when deep\_bid\_type is VO\_MIN\_ROAS; omit otherwise. TikTok applies different allowed ranges by promotion and optimization event. | | `vbo_window` | string or SelectableOption | No | - | Value optimization attribution window. Provide only for VALUE/VBO flows when the user specifies a 0-day or 7-day window. | | `budget_mode` | string or SelectableOption | No | - | Ad-group budget mode. For Smart+ with campaign CBO disabled, use BUDGET\_MODE\_DYNAMIC\_DAILY\_BUDGET or BUDGET\_MODE\_TOTAL. Omit when campaign CBO is enabled. Manual/search also support BUDGET\_MODE\_DAY and BUDGET\_MODE\_INFINITE where permitted. | | `budget` | number | No | - | Ad-group budget in account currency, not cents. Required with a finite ad-group budget mode, including Smart+ when campaign CBO is disabled. Omit when campaign CBO controls the budget. Lifetime budgets need schedule\_end\_time; TikTok validates minimums and campaign compatibility. | | `frequency` | integer | No | - | Manual/search Reach or Video Views only. Frequency cap count: the maximum number of times a person can see ads from this ad group during frequency\_schedule days. Required for Reach. Omit it, or pass 0, for no cap on Video Views. | | `frequency_schedule` | integer | No | - | Manual/search Reach or Video Views only. Frequency cap window in days. For example, frequency 2 with frequency\_schedule 3 means no more than 2 impressions every 3 days. Omit it, or pass 0, for no cap on Video Views. | | `schedule_start_time` | any | No | - | Optional ad group start time in UTC. Use YYYY-MM-DD HH:MM:SS or an ISO/timestamp value. If omitted, Markifact starts now. | | `schedule_end_time` | any | No | - | Optional ad group end time in UTC. Required when budget\_mode is BUDGET\_MODE\_TOTAL. When provided, Markifact sends SCHEDULE\_START\_END; otherwise it runs from start time onward. | | `pacing` | string or SelectableOption | No | - | Manual/search only. Budget pacing mode for ad-group budget delivery. Omit for Smart+ and when no ad-group budget is set. | | `placement_type` | string or SelectableOption | No | - | Placement selection mode. Use PLACEMENT\_TYPE\_AUTOMATIC to let TikTok choose placements, or PLACEMENT\_TYPE\_NORMAL when providing placements. Defaults to automatic. | | `placements` | array of string or SelectableOption | No | - | Required when placement\_type is PLACEMENT\_TYPE\_NORMAL. Provide TikTok placement values such as PLACEMENT\_TIKTOK; omit for automatic placements. | | `pixel_id` | string or SelectItem | No | - | TikTok Pixel ID. Required for WEBSITE ad groups using CONVERT or VALUE optimization, and whenever optimization\_event is a pixel event. Do not add a website pixel just because a native DM or messaging route optimizes for CONVERSATION. | | `app_id` | string or SelectItem | No | - | TikTok App ID. Required for app promotion ad groups; omit for website, lead, and shopping flows. | | `optimization_event` | string or SelectableOption | No | - | Native TikTok conversion event, such as SHOPPING (website purchase), FORM (website lead), ON\_WEB\_DETAIL (website content view), ACTIVE (app install), or ACTIVE\_PAY (app purchase). For TRAFFIC\_LANDING\_PAGE\_VIEW, omit or use LANDING\_PAGE\_VIEW. PAGE\_VISIT is a TikTok profile/in-app visit and is set automatically for that goal. For native messaging CLICK, omit; for CONVERSATION, omit or use MESSAGE. Use secondary\_optimization\_event in advanced\_fields for secondary goals. TikTok validates which events your pixel/app supports. | | `custom_conversion_id` | string or SelectItem | No | - | Optional TikTok custom conversion ID. Provide only when optimizing to a specific custom conversion instead of a standard pixel/app event. | | `conversion_window` | string or SelectableOption | No | - | Legacy TikTok conversion\_window; deprecated by TikTok. Use click\_attribution\_window and view\_attribution\_window for new ad groups. | | `click_attribution_window` | string or SelectableOption | No | - | Optional click-through attribution window; specify view\_attribution\_window alongside it. OFF disables attribution. Smart+ Minis additionally support THIRTY\_DAYS for MINI\_GAME and THIRTY\_TWO\_DAYS/ONE\_HUNDRED\_EIGHTY\_DAYS for MINI\_APP with ACTIVE\_PAY. TikTok validates allowed windows for the objective. | | `view_attribution_window` | string or SelectableOption | No | - | Optional view-through attribution window: OFF, ONE\_DAY, or SEVEN\_DAYS. Specify click\_attribution\_window alongside it. TikTok validates allowed windows for the objective. | | `location_ids` | any | No | - | TikTok location IDs to target, as a list or comma-separated IDs from Search Targeting. Required for most ad group flows, including Smart+ targeting\_spec. A valid location ID does not guarantee eligibility: TikTok also checks advertiser region, destination, and account permissions. Do not replace the requested location to bypass a restriction. | | `zipcode_ids` | any | No | - | Optional zipcode IDs for countries where TikTok supports ZIP targeting. Use IDs from Search Targeting; omit when targeting by location\_ids only. | | `languages` | any | No | - | Optional TikTok language codes, such as en or ar. Use language codes from Search Targeting, not numeric IDs. | | `gender` | string or SelectableOption | No | - | Optional gender targeting. Use GENDER\_UNLIMITED to avoid restricting gender, or a specific gender when requested. | | `age_groups` | array of string or SelectableOption | No | - | Optional age groups to include. Provide TikTok age buckets such as AGE\_18\_24; omit for broad age targeting. | | `audience_ids` | any | No | - | Optional custom audience IDs to include. Use comma-separated IDs or a list; omit unless the user selected specific audiences. | | `excluded_audience_ids` | any | No | - | Optional custom audience IDs to exclude. Use comma-separated IDs or a list; omit unless the user selected exclusions. | | `interest_category_ids` | any | No | - | Manual/search targeting. Interest category IDs from Search Targeting GENERAL\_INTEREST results. Omit for Smart+ unless manually constraining targeting\_spec. | | `interest_keyword_ids` | any | No | - | Manual/search targeting. Additional interest IDs from Search Targeting. Use only when the user selected specific interests. | | `purchase_intention_keyword_ids` | any | No | - | Manual/search targeting. Purchase-intention IDs from Search Targeting. Use only when the user selected purchase-intent audiences. | | `smart_interest_behavior_enabled` | boolean | No | `False` | Set true to let TikTok expand interest and behavior targeting. Sent at the top level for manual/search ad groups and inside targeting\_spec for upgraded Smart+ ad groups, including manual Smart+ targeting. Explicit false disables expansion; omission leaves TikTok's default unchanged. TikTok validates compatibility with the selected targeting mode. | | `video_interaction_category_ids` | any | No | - | Manual/search behavior targeting. Video interaction category IDs from Search Targeting; Markifact converts them to TikTok VIDEO\_RELATED actions. | | `creator_interaction_category_ids` | any | No | - | Manual/search behavior targeting. Creator interaction category IDs from Search Targeting; Markifact converts them to TikTok CREATOR\_RELATED actions. | | `hashtag_interaction_category_ids` | any | No | - | Manual/search behavior targeting. Hashtag interaction category IDs from Search Targeting; Markifact converts them to TikTok HASHTAG\_RELATED actions. | | `saved_audience_id` | string or SelectItem | No | - | Optional TikTok saved audience ID. Use when the user wants to target a saved audience instead of manually listing targeting dimensions. | | `operating_systems` | array of string or SelectableOption | No | - | Optional device OS targeting. Use ANDROID or IOS values for app/device-specific ad groups; omit for broad targeting. | | `min_ios_version` | string or SelectableOption | No | - | Optional minimum iOS version. Use only when targeting iOS devices or iOS app promotion. | | `min_android_version` | string or SelectableOption | No | - | Optional minimum Android version. Use only when targeting Android devices or Android app promotion. | | `shopping_ads_type` | string or SelectableOption | No | - | Manual/search PRODUCT\_SALES campaigns only. Choose the shopping ad type for catalog, live, or video shopping flows; omit for website/app/lead ad groups. | | `product_source` | string or SelectableOption | No | - | Product source: CATALOG, STORE (TikTok Shop), SHOWCASE, or UNSET where supported. Smart+ app O2O catalog groups use CATALOG. TikTok validates compatibility with the shopping type and campaign. | | `catalog_id` | string or SelectItem | No | - | Catalog ID. Required when product\_source is CATALOG, or for Smart+ catalog ad groups that reference a catalog. | | `catalog_authorized_bc_id` | string or SelectItem | No | - | Business Center ID authorized for the catalog. Provide when TikTok requires catalog authorization; otherwise omit. | | `store_id` | string or SelectItem | No | - | TikTok Shop or Showcase store ID. Required when product\_source is STORE. | | `store_authorized_bc_id` | string or SelectItem | No | - | Business Center ID authorized for the store. Provide when TikTok requires store authorization; otherwise omit. | | `identity_id` | string or SelectItem | No | - | Optional TikTok identity ID, usually for LIVE shopping, showcase, or Spark/identity-based delivery flows. Omit unless the user provides an identity. | | `identity_type` | string or SelectableOption | No | - | Identity type for identity\_id. If using BC\_AUTH\_TT, also provide identity\_authorized\_bc\_id. | | `identity_authorized_bc_id` | string or SelectItem | No | - | Business Center ID authorized for BC\_AUTH\_TT identity use. Required when identity\_type is BC\_AUTH\_TT. | | `promotion_target_type` | string or SelectableOption | No | - | Lead Generation form destination: INSTANT\_PAGE or EXTERNAL\_WEBSITE. Omit for native DM, call, and instant messaging routes. | | `promotion_website_type` | string or SelectableOption | No | - | Optional website page type; omit unless the flow needs it. LINK is only valid for lead generation ad groups collecting leads on an external website form; TIKTOK\_NATIVE\_PAGE means a TikTok Instant Form/Page. For website conversion or traffic flows TikTok accepts only UNSET or TIKTOK\_NATIVE\_PAGE and rejects LINK. | | `search_result_enabled` | boolean | No | - | Automatic Search Placement. Use on eligible non-Search ad groups to let TikTok also show ads in Search results when the campaign objective is APP\_PROMOTION, WEB\_CONVERSIONS, TRAFFIC, or LEAD\_GENERATION and placement\_type is PLACEMENT\_TYPE\_AUTOMATIC, or placement\_type is PLACEMENT\_TYPE\_NORMAL with PLACEMENT\_TIKTOK included. Set false to explicitly disable Automatic Search Placement. Omit to let TikTok auto-default. For Search campaigns/ad\_group\_mode search, do not set true because Search Ads campaigns are incompatible with Automatic Search Placement; TikTok validates this setting; explicit values are forwarded unchanged. Smart+ supports this boolean where TikTok allows it. | | `automated_keywords_enabled` | boolean | No | - | Optional TikTok keyword automation flag. TikTok determines whether keywords must be supplied for the campaign. | | `search_keywords` | any | No | - | Native Search keyword objects; TikTok validates campaign compatibility and required fields. Provide a list of objects or a JSON array string. Each object must include keyword and match\_type; match\_type must be PRECISE\_WORD, PHRASE\_WORD, or BROAD\_WORD. Optional per-keyword fields inside each object: keyword\_bid\_type FOLLOW\_ADGROUP or CUSTOM, and keyword\_bid when keyword\_bid\_type is CUSTOM. Max 1,000 keywords; each keyword max 80 characters and no emoji/special characters. | | `request_id` | string | No | - | Optional numeric idempotency key. Smart+ requires one, and Markifact generates it if omitted. Provide a 64-bit integer string only when you need a stable retry key. | | `targeting_optimization_mode` | string or SelectableOption | No | - | Smart+ targeting mode: AUTOMATIC for automatic audience targeting or MANUAL for manual targeting. Suggested audience settings can guide automatic targeting; TikTok validates available controls. | | `suggestion_audience_enabled` | boolean | No | - | Smart+ only. Set true to use TikTok suggested audiences; omit or false when the user provides manual Smart+ targeting. | | `min_budget` | number | No | - | Legacy input not forwarded by this operation. Use budget and budget\_mode for ad-group budgets when campaign CBO is disabled, including Smart+. | | `app_targeting_type` | string or SelectableOption | No | - | Smart+ app catalog targeting: PROSPECT to reach prospective customers or RETARGETING to reach people who already interacted. Eligibility depends on the parent campaign and catalog settings. | | `minis_id` | string | No | - | Smart+ Minis asset ID for MINI\_APP or MINI\_GAME promotion; omit for other destinations. | | `native_series_id` | string | No | - | Smart+ native series campaigns only. Provide when promoting a native series; otherwise omit. | | `gaming_ad_compliance_agreement` | string or SelectableOption | No | - | Smart+ app install iOS14 gaming campaigns only. Set ON when the advertiser has agreed to TikTok's gaming policy; omit for non-gaming campaigns. | | `movie_premiere_date` | string | No | - | Smart+ entertainment campaigns only. Provide the movie premiere date when required by TikTok for movie promotion; otherwise omit. | | `skip_learning_phase` | boolean | No | - | Optional allowlist-only setting. Set true only when TikTok has enabled skip learning phase for the advertiser; otherwise omit. | | `messaging_app_type` | string or SelectableOption | No | - | For LEAD\_GEN\_CLICK\_TO\_SOCIAL\_MEDIA\_APP\_MESSAGE. WHATSAPP/ZALO require phone\_region\_code, phone\_region\_calling\_code, and phone\_number. MESSENGER/LINE use messaging\_app\_account\_id. IM\_URL supplies its destination on the ad. Manual CONVERSATION supports Messenger/WhatsApp; Smart+ also supports Zalo. LINE and IM\_URL use CLICK. TikTok validates advertiser access. | | `messaging_app_account_id` | string | No | - | Required for MESSENGER (Facebook Page ID) or LINE (LINE Business ID). Omit for WHATSAPP, ZALO, and IM\_URL; WhatsApp derives its account from the three phone fields. | | `phone_region_code` | string | No | - | Required with phone\_region\_calling\_code and phone\_number for WHATSAPP/ZALO. Region code, for example NZ; obtain valid codes from TikTok /tool/phone\_region\_code/. Omit for other messaging apps. For Call Ads, all three phone destination fields belong on the ad creative instead. | | `phone_region_calling_code` | string | No | - | Required with phone\_region\_code and phone\_number for WHATSAPP/ZALO. Calling code including +, for example +64; use the value matching the phone region. | | `phone_number` | string | No | - | Required with phone\_region\_code and phone\_region\_calling\_code for WHATSAPP/ZALO. Phone number associated with the messaging account. For Call Ads, specify the phone destination on the ad creative instead. | | `message_event_set_id` | string | No | - | Instant messaging CONVERSATION only. Required when TikTok cannot match the selected messaging account to an existing message event set. Check matched\_event\_set from /ctm/message\_event\_set/get/; if empty, select an available ID from message\_event\_set\_list. Omit for CLICK or when TikTok matches the account automatically. | | `advanced_fields` | object or string | No | - | Additional native fields for the selected TikTok ad-group create endpoint, as an object or JSON string. Merged over normal inputs and defaults; explicit advanced values win, nested objects merge, and arrays replace. Example: \{"comment\_disabled": true, "share\_disabled": false}. For Smart+, use targeting\_spec for nested targeting. Do not include advertiser\_id, campaign\_id, account, connection\_id, or ad\_group\_mode; use normal inputs. TikTok validates native fields; this cannot bypass advertiser permissions or route eligibility. Omitted status defaults to DISABLE for all creation paths. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created TikTok ad group details. **Fields**: `adgroup_id`, `adgroup_name`, `campaign_id`, `ad_group_mode` # Create Campaign Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_create_campaign Create TikTok Ads campaigns for manual, Search, and Upgraded Smart+ campaign types Create TikTok Ads campaigns for manual, Search, and Upgraded Smart+ campaign types. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_create_campaign` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to create the campaign in. | | `campaign_mode` | string or SelectableOption | Yes | - | Campaign creation path: manual for regular campaigns, search for Search Ads, upgraded\_smart\_plus for Upgraded Smart+. Smart+ supports campaign-level or ad-group budgets; CBO defaults to true unless explicitly disabled. Search uses budget\_optimize\_on false. | | `campaign_name` | string | Yes | - | Campaign name to create in TikTok. Keep it human-readable, 512 characters or less, and do not include emoji. | | `objective_type` | string or SelectableOption | Yes | - | Campaign objective. The Upgraded Smart+ campaign API supports APP\_PROMOTION, WEB\_CONVERSIONS, and LEAD\_GENERATION; Ads Manager Smart+ Traffic availability does not imply API support for objective TRAFFIC. For website clicks or landing-page views under Smart+, use WEB\_CONVERSIONS with WEBSITE and the matching ad-group goal. Manual/search availability depends on TikTok objective eligibility. | | `operation_status` | string or SelectableOption | No | - | Initial campaign status. Use DISABLE to create safely paused campaigns; use ENABLE only when the campaign is ready to run. Defaults to DISABLE. | | `budget_optimize_on` | boolean | No | - | Use true for one campaign budget across ad groups or false for ad-group budgets, optionally with a campaign cap. Smart+ defaults to true when omitted. Manual defaults to true when a campaign budget or finite budget\_mode is supplied, otherwise false. Search always uses false. | | `budget_mode` | string or SelectableOption | No | - | With CBO enabled, use BUDGET\_MODE\_DYNAMIC\_DAILY\_BUDGET (default) or BUDGET\_MODE\_TOTAL. With CBO disabled, use BUDGET\_MODE\_INFINITE (default), BUDGET\_MODE\_DAY, or BUDGET\_MODE\_TOTAL for an optional campaign cap. Applies to manual and Smart+; Search always has CBO disabled. | | `budget` | number | No | - | Campaign budget or cap in account currency. Required with BUDGET\_MODE\_DAY, BUDGET\_MODE\_TOTAL, or BUDGET\_MODE\_DYNAMIC\_DAILY\_BUDGET. Omit with BUDGET\_MODE\_INFINITE. For Smart+ ad-group budgets, explicitly set budget\_optimize\_on false and provide budgets on the ad groups. | | `budget_auto_adjust_strategy` | string or SelectableOption | No | - | Smart+ only, allowlist dependent. Use AUTO\_BUDGET\_INCREASE only when the campaign uses daily budget and app\_promotion\_type is not MINIS. | | `request_id` | string | No | - | Optional numeric idempotency key. Smart+ requires one, and Markifact generates it if omitted. Provide a 64-bit integer string only when you need a stable retry key. | | `app_promotion_type` | string or SelectableOption | No | - | Required when objective\_type is APP\_PROMOTION. Choose the app promotion subtype, such as APP\_INSTALL for install campaigns or APP\_RETARGETING for re-engagement. | | `virtual_objective_type` | string or SelectableOption | No | - | Manual/search only. Set SALES when the user wants TikTok's Sales objective; also provide sales\_destination. | | `sales_destination` | string or SelectableOption | No | - | Where sales/conversions happen. Required for Smart+ WEB\_CONVERSIONS and when virtual\_objective\_type is SALES. Use WEBSITE for website sales, APP for app sales, TIKTOK\_SHOP for shop sales, or WEB\_AND\_APP when both apply. | | `campaign_type` | string or SelectableOption | No | - | App campaign iOS 14 setting. Use IOS14\_CAMPAIGN only for eligible iOS app campaigns that need dedicated iOS 14 handling; otherwise omit and Markifact defaults app campaigns to REGULAR\_CAMPAIGN. | | `app_id` | string | No | - | TikTok App ID. Required for iOS14 app promotion or app sales campaigns; omit for website-only campaigns. | | `is_advanced_dedicated_campaign` | boolean | No | - | Manual/search only. Set true only when the campaign should use TikTok Advanced Dedicated Campaign behavior; otherwise omit. | | `disable_skan_campaign` | boolean | No | - | Use for eligible iOS14 app campaigns when SKAN attribution should be disabled. Omit for non-iOS14 or website campaigns. | | `campaign_app_profile_page_state` | string or SelectableOption | No | - | App campaigns only. Set ON to use the app profile page for delivery optimization, OFF to disable it, or omit when not relevant. | | `rf_campaign_type` | string or SelectableOption | No | - | Manual/search RF\_REACH only. Set PULSE for TikTok Pulse campaigns; otherwise omit or use STANDARD for normal reach and frequency. | | `campaign_product_source` | string or SelectableOption | No | - | Manual/search PRODUCT\_SALES only. Use CATALOG for catalog product sales or STORE for TikTok Shop/showcase sales. | | `catalog_enabled` | boolean | No | - | Smart+ only. Set true when the Smart+ campaign should use a product catalog. For manual catalog campaigns, use objective\_type PRODUCT\_SALES and campaign\_product\_source CATALOG instead. | | `catalog_type` | string or SelectableOption | No | - | Smart+ catalog type. ECOMMERCE (default), TRAVEL\_ENTERTAINMENT, MINI\_SERIES, or GENERIC for web catalogs; GENERIC for lead catalogs; ONLINE\_TO\_OFFLINE for app O2O catalogs. Availability depends on campaign objective and advertiser access. | | `is_promotional_campaign` | boolean | No | - | Smart+ WEB\_CONVERSIONS only. Set true when the campaign should use TikTok promotional campaign settings; otherwise omit. | | `gaming_ad_compliance_agreement` | string or SelectableOption | No | - | Smart+ app install iOS14 gaming campaigns only. Set ON when the advertiser has agreed to TikTok's gaming policy; omit for non-gaming campaigns. | | `special_industries` | array of string or SelectableOption | No | - | Use only for regulated campaigns. Select HOUSING, EMPLOYMENT, or CREDIT when the campaign belongs to those special ad categories; otherwise omit. | | `postback_window_mode` | string or SelectableOption | No | - | iOS14/SKAN campaigns only. Choose the SKAN 4.0 postback window mode when TikTok requires it; otherwise omit. | | `po_number` | string | No | - | Optional purchase order number for advertiser billing or invoice tracking. Omit when the user does not provide one. | | `rta_id` | string | No | - | Optional Realtime API strategy ID. Provide only when the advertiser has a TikTok RTA strategy to attach. | | `rta_bid_enabled` | boolean | No | - | Set true only for eligible campaigns that should use RTA bidding with rta\_id; otherwise omit. | | `rta_product_selection_enabled` | boolean | No | - | Set true only when an eligible RTA campaign should let TikTok select products automatically; otherwise omit. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created TikTok campaign details. **Fields**: `campaign_id`, `campaign_name`, `campaign_mode` # Create Image Ad Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_create_image_ad Creates TikTok image spark ads (native TikTok ads), supports single image or carousel format for all campaign types: manual, smart+, search, etc Creates TikTok image spark ads (native TikTok ads), supports single image or carousel format for all campaign types: manual, smart+, search, etc. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_create_image_ad` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to create ads in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Options: 'single' or 'bulk' | | `ad_group_id` | string or SelectItem | No | - | Select the TikTok ad group for this ad. Required for single ad creation. | | `identity_id` | string or SelectItem | Yes | - | TikTok identity ID to use for the ads. Required for single and bulk ad creation. For this post ad operation, use a TikTok account identity (TT\_USER) or a Business Center authorized TikTok identity (BC\_AUTH\_TT). Only provide the id, Markifact resolves the type automatically. Use the `tiktok_ads_list_identities` operation to find identity IDs user has access to. | | `music_id` | string | No | - | Single mode only. TikTok music ID to use for the image ad. Required for TikTok image ads. Use a music ID from TikTok's available music API or from an existing TikTok ad returned by ad/get. | | `ad_name` | string | No | - | Name of the ad | | `image_urls` | string or array of string | No | - | Image URLs to upload for this ad. Provide 1-35 images. One image creates a single image ad; multiple images create a carousel image ad. TikTok reports ad\_format as CAROUSEL\_ADS even with one image; it still contains just that one image. Supports direct image URLs and Google Drive share links. | | `image_ids` | string or array of string | No | - | Optional existing TikTok image IDs. Provide 1-35 IDs to skip uploading image\_urls. | | `ad_texts` | string or array of string | No | - | TikTok ad texts. Manual ad groups support 1 text; Smart+ ad groups support up to 5 texts. Each text must be 100 characters or fewer. | | `call_to_action` | string or SelectableOption | No | - | TikTok call to action, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP, CONTACT\_US, DOWNLOAD. | | `landing_page_url` | string | No | - | Landing page URL people open after clicking the ad. You can include UTM parameters, for example ?utm\_source=tiktok\&utm\_id=**CAMPAIGN\_ID**\&utm\_campaign=**CAMPAIGN\_NAME**\&utm\_medium=paid. For app download campaigns, provide the app store URL. Optional when page\_id is provided. | | `page_id` | string | No | - | Optional TikTok page ID, such as an instant page, lead form, or other TikTok-hosted page. When provided, landing\_page\_url is optional and will not be sent to TikTok. Use the `tiktok_ads_list_pages` operation to find page IDs of any account. | | `tracking_pixel_id` | integer or string | No | - | Optional TikTok tracking pixel ID. Usually inherited from the ad group for supported objectives; provide it manually if needed. | | `tracking_app_id` | string | No | - | Optional TikTok tracking app ID. Usually inherited from the ad group for supported objectives; provide it manually if needed. | | `disable_creative_enhancements` | boolean | No | `True` | Single mode only. Disable TikTok automatic creative enhancements. Default: true. | | `is_dark_post` | boolean | No | `True` | Whether this ad should show as an ad only and not on your TikTok profile, otherwise, they will appear on your profile for anyone to see and engage with. Default: true which means `Only show as ads`. | | `ad_status` | string or SelectableOption | No | - | Status when the ad is created. Options: ENABLE, DISABLE. Default: DISABLE. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Required columns: ad\_group\_id, ad\_name, music\_id, ad\_texts or ad\_text\_1/ad\_text\_2 numbered columns, landing\_page\_url or page\_id, and images. Images can be provided as image\_urls/image\_ids lists, or numbered columns like image\_1\_url, image\_2\_url. Optional row columns: page\_id, call\_to\_action, tracking\_pixel\_id, tracking\_app\_id, disable\_creative\_enhancements, is\_dark\_post, ad\_status, or operation\_status. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created TikTok ad IDs, uploaded image IDs, created count, and creative details. **Fields**: `ad_ids`, `image_ids`, `created_count` # Create Video Ad Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_create_video_ad Creates TikTok video spark ads (native TikTok ads) with a single video and an optional thumbnail image, supports all campaign types: manual, smart+, search, etc Creates TikTok video spark ads (native TikTok ads) with a single video and an optional thumbnail image, supports all campaign types: manual, smart+, search, etc. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_create_video_ad` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to create ads in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple ads at once. Options: 'single' or 'bulk' | | `ad_group_id` | string or SelectItem | No | - | Select the TikTok ad group for this ad. Required for single ad creation. | | `identity_id` | string or SelectItem | Yes | - | TikTok identity ID, required for single and bulk ads. Use tiktok\_ads\_list\_identities to find TT\_USER or BC\_AUTH\_TT identities; Markifact resolves the type from the ID. Native DM ads must be Spark Ads with direct-message permission (can\_manage\_message=true in TikTok identity details). For native DM CLICK, use TT\_USER or BC\_AUTH\_TT; for CONVERSATION, use TT\_USER. | | `ad_name` | string | No | - | Name of the ad | | `video_urls` | string or array of string | No | - | Video URLs to upload for this ad. Provide 1-50 videos. Smart+ ad groups support multiple video creatives; manual ad groups support 1 video. Supports direct video URLs and Google Drive share links. | | `video_ids` | string or array of string | No | - | Optional existing TikTok video IDs. Provide 1-50 IDs to skip uploading video\_urls. | | `thumbnail_urls` | string or array of string | No | - | Optional thumbnail image URLs. Provide one per video. If omitted, TikTok auto-generates covers from the videos. | | `thumbnail_ids` | string or array of string | No | - | Optional existing TikTok image IDs for thumbnails. Provide one per video to skip uploading thumbnail\_urls. | | `ad_texts` | string or array of string | No | - | TikTok ad texts. Manual ad groups support 1 text; Smart+ ad groups support up to 5 texts. Each text must be 100 characters or fewer. | | `call_to_action` | string or SelectableOption | No | - | Optional TikTok call to action, for example LEARN\_MORE, SHOP\_NOW, SIGN\_UP, CONTACT\_US, DOWNLOAD. | | `landing_page_url` | string | No | - | Landing page URL people open after clicking the ad. You can include UTM parameters, for example ?utm\_source=tiktok\&utm\_id=**CAMPAIGN\_ID**\&utm\_campaign=**CAMPAIGN\_NAME**\&utm\_medium=paid. For app download campaigns, provide the app store URL. Omit for native TikTok DMs, phone destinations, or messaging destinations derived from the ad group. TikTok validates whether a URL is needed. | | `page_id` | string | No | - | Optional TikTok-hosted page, such as an instant page or lead form. When provided, landing\_page\_url is not sent. Use tiktok\_ads\_list\_pages to find IDs. Call Ads can use a custom TikTok Instant Page instead of a phone destination. Omit for native TikTok DM ads. | | `phone_region_code` | string | No | - | Manual Call Ads: destination region code, for example NZ. Provide together with phone\_region\_calling\_code and phone\_number. Obtain matching codes from /tool/phone\_region\_code/. WhatsApp/Zalo phone fields belong on the ad group instead. | | `phone_region_calling_code` | string | No | - | Manual Call Ads: destination calling code including +, for example +64. Provide together with phone\_region\_code and phone\_number. | | `phone_number` | string | No | - | Manual Call Ads: destination phone number. Provide all three phone fields, or use page\_id for a custom TikTok Instant Page destination. TikTok validates destination eligibility. | | `auto_message_id` | string | No | - | Required for manual native DM ads: welcome message ID from /creative/auto\_message/get/ or /creative/auto\_message/create/. Use a Spark identity with direct-message permission; omit landing\_page\_url, page\_id, and deep-link fields for this route. | | `deeplink` | string | No | - | Manual ads: native destination deep link when the selected messaging route requires one. Omit for native TikTok DM ads and when TikTok derives the destination from the ad group. | | `deeplink_type` | string or SelectableOption | No | - | Manual ads: native TikTok deep-link type when required for the destination. Omit for native TikTok DM ads. | | `fallback_type` | string or SelectableOption | No | - | Manual ads: native TikTok fallback type when required for the deep link. Omit for native TikTok DM ads. | | `tracking_message_event_set_id` | string | No | - | Manual instant messaging ads: optional message event set used for tracking. | | `tracking_pixel_id` | integer or string | No | - | Optional TikTok tracking pixel ID. Usually inherited from the ad group for supported objectives; provide it manually if needed. | | `tracking_app_id` | string | No | - | Optional TikTok tracking app ID. Usually inherited from the ad group for supported objectives; provide it manually if needed. | | `disable_creative_enhancements` | boolean | No | `True` | Single mode only. Disable TikTok automatic creative enhancements. Default: true. | | `is_dark_post` | boolean | No | `True` | Whether this ad should show as an ad only and not on your TikTok profile, otherwise, they will appear on your profile for anyone to see and engage with. Default: true which means `Only show as ads`. | | `ad_status` | string or SelectableOption | No | - | Status when the ad is created. Options: ENABLE, DISABLE. Default: DISABLE. | | `catalog_products` | string or array of string | No | - | Optional Smart+ catalog products. Use 'ALL' for all products, for example 'ALL'. Use a product set ID string for a product set, for example '7636991234567890123'. Use a comma-separated string or list for specific products, for example 'product\_id\_1,product\_id\_2' or \['product\_id\_1', 'product\_id\_2']; TikTok allows max 20 product IDs. | | `catalog_music_id` | string | No | - | Required when catalog\_products is provided. Music ID for the catalog carousel creative, for example '6745887971053930498'. | | `return_detailed_results` | boolean | No | `False` | Bulk mode only. If true, returns per-row results and does not raise on partial failures. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is 'bulk'. Required columns: ad\_group\_id, ad\_name, ad\_texts or ad\_text\_1/ad\_text\_2 numbered columns, and videos. Destinations are optional for native messaging/call routes. Videos can be provided as video\_urls/video\_ids lists, or numbered columns like video\_1\_url, video\_2\_url. Optional row columns: landing\_page\_url, phone\_region\_code, phone\_region\_calling\_code, phone\_number, auto\_message\_id, deeplink, deeplink\_type, fallback\_type, tracking\_message\_event\_set\_id (these native destination fields inherit top-level values unless overridden per row), page\_id, thumbnail\_urls, thumbnail\_ids, thumbnail\_1\_url, thumbnail\_1\_id, catalog\_products, catalog\_music\_id, call\_to\_action, tracking\_pixel\_id, tracking\_app\_id, disable\_creative\_enhancements, is\_dark\_post, ad\_status, or operation\_status. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns created TikTok ad IDs, uploaded video IDs, thumbnail IDs (if any), created count, and creative details. **Fields**: `ad_ids`, `video_ids`, `thumbnail_ids`, `created_count` # Custom TikTok Ads App Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_custom_app Connect TikTok Ads through your own TikTok for Business app (white-label) by pasting your app ID, app secret, and a long-term access token. Markifact supports two ways to connect TikTok Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **TikTok for Business app** (Custom App). With a custom app, every request Markifact makes to the Marketing API runs under your app, so your clients never see Markifact in their ad account's authorizations. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 20-30 minutes, plus TikTok's app review | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Three values from your own TikTok for Business app: | Value | Where it comes from | | :- | :- | | **App ID** | Your app's Basic Information page on TikTok for Business Developers | | **App Secret** | The same page | | **Access Token** | Obtained by authorizing your app with the TikTok for Business user who has access to the ad accounts, then exchanging the auth code | TikTok's advertiser listing requires the app ID and secret of the app that issued the token, which is why Markifact asks for all three. Marketing API access tokens are long-term: they stay valid until the authorization is revoked. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold a long-term access token issued by your app, skip to [Connect to Markifact](#connect-to-markifact). *** ## Setting Up Your Custom TikTok Ads App **1. Create the App** 1. Go to [TikTok for Business Developers](https://business-api.tiktok.com/portal/apps) and click **Create an app** 2. Enter the app name, description, and your company details. This is the branding advertisers see when they authorize 3. Under **Advertiser redirect URL**, enter a URL you control (for example `https://www.youragency.com/tiktok-callback`). TikTok appends the auth code to this URL after authorization; the page does not need to do anything **2. Select Scopes of Permission** Tick every permission Markifact nodes use. Missing scopes surface later as TikTok permission errors on the node. | Scope group | Needed for | | :- | :- | | **Ad Account Management** (read and write) | Account listing, settings | | **Campaign, Ad Group and Ad Management** (read and write) | Creating and updating campaigns, ad groups, ads, budgets and statuses | | **Creative Management** | Uploading images and videos, ad previews | | **Reporting** | Performance reports | | **Audience Management** | Audiences and targeting search | | **Pixel and Catalog Management** | Pixels, catalogs, product sets | | **Identity and Spark Ads** | Posting from TikTok accounts, Spark Ads | **3. Submit for Review** TikTok reviews new apps before they can call the Marketing API for real advertisers. Submit the app and wait for the **Approved** status. Agencies that already run their own integrations will have this in place. **4. Get the App ID and Secret** Open your app's **Basic Information** page and copy the **App ID** and **Secret**. **5. Authorize and Get the Auth Code** 1. Open the following URL in a browser, replacing `YOUR_APP_ID` and the redirect URL with your values: ```bash theme={"dark"} https://business-api.tiktok.com/portal/auth?app_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fwww.youragency.com%2Ftiktok-callback&state=markifact ``` 2. Sign in with the TikTok for Business user who has access to the ad accounts you want to manage and click **Confirm** 3. TikTok redirects to your URL with `auth_code=...` in the query string. Copy the value. Auth codes expire after a few minutes and can be exchanged only once, so do the next step right away **6. Exchange the Auth Code for an Access Token** Run this request, replacing the three values: ```bash theme={"dark"} curl -X POST "https://business-api.tiktok.com/open_api/v1.3/oauth2/access_token/" \ -H "Content-Type: application/json" \ -d '{"app_id": "YOUR_APP_ID", "secret": "YOUR_APP_SECRET", "auth_code": "THE_AUTH_CODE"}' ``` The response contains `data.access_token`. Copy it. > **Important:** Keep this token secure. Anyone holding it, together with your app ID and secret, can act on every ad account the authorizing user can reach. **7. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **TikTok Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency TikTok Ads") 5. Paste your **App ID**, **App Secret**, and **Access Token** 6. Click **Verify & Connect** Markifact makes one call to TikTok's advertiser listing with the three values. Nothing is saved unless it succeeds and returns at least one advertiser account. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in TikTok Ads nodes, agents, and MCP exactly like any other TikTok Ads connection. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] TikTok rejected the access token > > The token was revoked, or it was issued by a different app than the one whose ID and secret you pasted. Tokens and app pairs must come from the same app. Re-run the authorization with your app and paste the new token. > [accordion] TikTok rejected the app ID or app secret > > Check both values on your app's **Basic Information** page. Resetting the secret in TikTok invalidates the old one. > [accordion] The credentials are valid, but the token cannot see any advertiser accounts > > The TikTok for Business user who authorized the app has no access to any ad account. Grant that user access in the Business Center or ad account settings, then authorize again and paste the new token. > [accordion] A node fails with a permission error after connecting > > The app is missing a scope, or it has not been approved by TikTok yet. Check the scopes and the review status in TikTok for Business Developers, then authorize again and paste the new token. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **App ID** | TikTok for Business Developers > your app > Basic Information | `7123456789012345678` | | **App Secret** | Same page | `a1b2c3...` | | **Access Token** | Response of the auth code exchange | `1a2b3c...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/tiktok_ads/tiktok_ads_get_report) > > Pull TikTok Ads performance data # Generate Ad Preview Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_generate_ad_preview Generates a preview URL for a TikTok ad Generates a preview URL for a TikTok ad | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_generate_ad_preview` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to generate preview for | | `ad_id` | string | Yes | - | Enter the Ad ID you want to generate a preview for. You can fetch Ad IDs from other nodes like 'Get Report' | | `language` | string or SelectableOption | No | - | Language for the ad preview. Options: ENGLISH, CHINESE, JAPANESE. Default: ENGLISH | | `placement` | string or SelectableOption | No | - | The app where you want to deliver your ads. Options: PLACEMENT\_TIKTOK, PLACEMENT\_PANGLE, ALL | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns preview\_url, iframe, ad\_id, and placement for the ad. For an Upgraded Smart+ ad that TikTok only previews per creative, also returns creative\_previews (creative\_id, preview\_url, iframe, or error per creative); preview\_url is then the first creative's preview. **Fields**: `preview_url`, `iframe`, `ad_id`, `placement`, `creative_previews` # Get Account Details Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_get_account_details Get a TikTok Ads advertiser account's details: approval status and rejection reason, currency, time zone, balance, role, account type, company and industry Get a TikTok Ads advertiser account's details: approval status and rejection reason, currency, time zone, balance, role, account type, company and industry. Use it to check an advertiser's currency or approval before building campaigns. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_get_account_details` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The TikTok Ads advertiser account to read details for. | ## Output **Type**: `Dict` TikTok's advertiser object as returned by /advertiser/info/, including advertiser\_id, name, status (e.g. STATUS\_ENABLE), rejection\_reason, currency, timezone, display\_timezone, balance, role, advertiser\_account\_type, company, country, industry and create\_time. Contact fields come back masked by TikTok. # Get Ad Details Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_get_ad_details Get a regular or Upgraded Smart+ ad's full details, creative variants, media links and configured CTA portfolios for creative audits Get a regular or Upgraded Smart+ ad's full details, creative variants, media links and configured CTA portfolios for creative audits. Reports unavailable lookups; some assets are preview-only. Use Generate Ad Preview for a rendered browser preview. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_get_ad_details` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The TikTok Ads advertiser account to read details for. | | `ad_id` | string | Yes | - | TikTok ad ID from List Ads. Accepts regular and Upgraded Smart+ ad IDs. Returns the full ad and its returned creative variants, with media and configured CTA portfolio lookups. Media links may expire; video allow\_download and expiry metadata are preserved. Lookup issues are returned alongside the ad; this does not guarantee every generated variant or impression-level CTA is available. | ## Output **Type**: `Dict` Returns ad (native settings and creative variants), videos, images, cta\_portfolios and lookup\_issues. Each resolved item retains native details plus ad\_paths tying it to the source creative. Video metadata includes available preview\_url, expiry and allow\_download. CTA portfolios describe configured options, not a guaranteed impression-level label. Only variants returned by TikTok can be inspected. **Fields**: `ad`, `videos`, `images`, `cta_portfolios`, `lookup_issues` # Get Form Fields Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_get_form_fields Gets the fields and metadata of a TikTok Instant Form for mapping lead answers into a CRM Gets the fields and metadata of a TikTok Instant Form for mapping lead answers into a CRM. Use List Pages to find the form ID and Retrieve Leads for submissions. Does not create or edit forms. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_get_form_fields` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | TikTok advertiser account that owns the Instant Form. | | `page_id` | string or SelectItem | Yes | - | Instant Form page\_id from tiktok\_ads\_list\_pages with page\_type=LEAD\_GEN. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns TikTok fields and meta\_data unchanged, including form field definitions and available page\_id, page\_name, page\_url and create\_time metadata. # Get Gmv Max Report Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_get_gmv_max_report Reports Product and LIVE GMV Max campaign performance for one TikTok Shop: gross revenue, orders, ROI, cost and LIVE views, by campaign, day, hour, product, post or LIVE room Reports Product and LIVE GMV Max campaign performance for one TikTok Shop: gross revenue, orders, ROI, cost and LIVE views, by campaign, day, hour, product, post or LIVE room. Regular TikTok ads reporting uses tiktok\_ads\_get\_report. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_get_gmv_max_report` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | | `store_id` | string or SelectItem | Yes | - | The TikTok Shop to report on, from tiktok\_ads\_list\_gmv\_max\_stores (use a store with is\_gmv\_max\_available true). One store per report. | | `campaign_type` | enum (`PRODUCT`, `LIVE`) | No | - | PRODUCT (Product GMV Max) or LIVE (LIVE GMV Max). Required for campaign breakdowns; optional for account-level totals (omit for both types). Product, post, LIVE room and duration breakdowns are scoped by campaign instead, so campaign\_type is not needed there: they need a campaignId filter, each EQUALS or IN\_LIST (up to 100 ids). Post (postId) also needs a productId filter, and duration needs exactly one productId (Product) or liveRoomId (LIVE) EQUALS filter. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns one row per combination of the selected dimensions with the selected metrics, like other get\_report nodes. ROI, cost per order, product click rate and cost per LIVE view are calculated from their totals. **Fields**: dynamic (depend on the inputs) # Get Pixel Stats Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_get_pixel_stats Get TikTok pixel event counts by browser/server source for tracking diagnostics Get TikTok pixel event counts by browser/server source for tracking diagnostics. Requires Pixel Management > Pixel Level Reporting permission. Returns UTC aggregates, not individual lead receipts or Test Events logs; empty statistics do not prove tracking failed. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_get_pixel_stats` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | TikTok advertiser account with access to the selected pixels. | | `pixel_ids` | string or array of string | Yes | - | One or more pixel\_id values from tiktok\_ads\_list\_pixels, not pixel\_code. Accepts an ID, a list, a JSON array string, or comma-separated IDs. Markifact batches requests for more than 10 pixels. | | `date_range` | PixelStatsDateRange | Yes | - | Date range for received-event statistics, interpreted in UTC. Use start/end or a standard preset. Longer ranges are split into non-overlapping windows of up to 30 days, returned separately. Counts are aggregates, not individual event receipts, exact arrival timestamps, or unique leads; empty statistics do not prove tracking failed. | ### PixelStatsDateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | Inclusive start date, YYYY-MM-DD. Required without a preset. | | `end` | string | No | - | Inclusive end date, YYYY-MM-DD. Required without a preset. | | `preset` | string | No | - | Optional standard date preset such as TODAY, YESTERDAY, LAST\_7\_DAYS, or LAST\_30\_DAYS. Presets override start/end; FIXED or CUSTOM uses the supplied dates. LAST\_7\_DAYS excludes today; use LAST\_7\_DAYS\_INCL\_TODAY to include it. | ## Output **Type**: `List[Dict]` One row per pixel and date window, with start\_date/end\_date (inclusive UTC dates), pixel\_id, and TikTok's native statistics array. Statistics include pixel\_event\_type or custom\_event\_type, total\_count, browser\_event\_total\_count, server\_event\_total\_count, attributed\_count, and preview\_count. An empty statistics array is preserved. Ranges longer than 30 days produce separate non-overlapping windows; counts are not automatically summed or deduplicated. # Get Report Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_get_report Reports TikTok Ads performance and audience conversions by age, gender, province/state or US DMA Reports TikTok Ads performance and audience conversions by age, gender, province/state or US DMA. Audience dimensions automatically select audience reporting, with a 10-12 hour delay. Combine age with gender; query geography separately. Smart+ is supported. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_get_report` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. Audience reports use the selected date range, not a native lifetime query. adId uses ad\_id\_v2, representing the ad (asset group) for Upgraded Smart+. City breakdowns are unavailable. TikTok validates metric/dimension compatibility. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "App Install", "clicks": 300, "impressions": 15000, "cost": 95.0 } ] ``` # Library Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_library Search and retrieve ads from TikTok's Ads Library by keyword or advertiser Search and retrieve ads from TikTok's Ads Library by keyword or advertiser | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_library` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 5 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `input_mode` | string or SelectableOption | Yes | - | Input mode, either provide a TikTok Ads Library URL configure manually by filling out the fields below like advertiser\_id, query, etc | | `tiktok_ads_url` | string | No | - | TikTok Ads Library URL to parse. Use only when input\_mode is 'url' | | `q` | string | No | - | Keyword for your search. Use quotes for exact match (e.g., "keyword") | | `advertiser_id` | string | No | - | Unique advertiser ID to search for ads from a specific advertiser | | `country` | string | No | `ALL` | Country for the search. Default is 'ALL', provide 2-letter country code (e.g., 'US') to filter by country. | | `sort_by` | string or SelectableOption | No | - | Sorting order for ads, leave empty to select default sorting | | `date_range` | DateRange | No | - | Custom date range with start/end dates | | `limit` | integer | No | `12` | Maximum number of results to return (1-200) | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of ads from TikTok Ads Library. **Fields**: dynamic (depend on the inputs) # List Ad Groups Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_ad_groups Lists ad groups for a TikTok Ads advertiser account with status, schedule, budget, bidding, optimization goal, and all details Lists ad groups for a TikTok Ads advertiser account with status, schedule, budget, bidding, optimization goal, and all details. Supports filtering by delivery status and by campaign/ad group name or ID. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account whose ad groups should be listed. | | `status` | string or SelectableOption | No | `ALL` | Filter ad groups by delivery status. Defaults to ALL (excludes deleted). Choose ACTIVE to only see ad groups currently delivering. Options: ALL, ALL\_INCLUDING\_DELETED, ACTIVE, NOT\_STARTED, NOT\_DELIVERING, DISABLED, DELETED. | | `operation_status` | string or SelectableOption | No | `ALL` | Filter ad groups by ON/OFF operation status. Defaults to ALL. Options: ALL, ENABLE (the ad group is ON), DISABLE (the ad group is OFF), FROZEN (the ad group is terminated and cannot be enabled). | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ad groups. The available fields to filter by are: - campaign\_id: Filter by parent campaign ID - campaign\_name: Filter by parent campaign name - adgroup\_id: Filter by ad group ID - adgroup\_name: Filter by ad group name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `exclude_null_fields` | boolean | No | `False` | When true, ask TikTok to remove fields with null values from the response. Use this when the result will be reused as an update payload for `tiktok_ads_update_ad_group`. Leave false when you need to inspect every returned field, including empty/null fields. | | `limit` | integer | No | `100` | Maximum number of ad groups to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of TikTok ad groups for the selected advertiser as provided by the TikTok /adgroup/get/ endpoint. See TikTok Marketing API docs for the full set of fields. # List Ads Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_ads Lists ads for a TikTok Ads advertiser account with creative, status, and all details Lists ads for a TikTok Ads advertiser account with creative, status, and all details. Supports filtering by delivery status and by campaign/ad group/ad name or ID. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_ads` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account whose ads should be listed. | | `status` | string or SelectableOption | No | `ALL` | Filter ads by delivery status. Defaults to ALL (excludes deleted). Choose ACTIVE to only see ads currently delivering. Options: ALL, ALL\_INCLUDING\_DELETED, ACTIVE, NOT\_STARTED, NOT\_DELIVERING, DISABLED, DELETED. | | `operation_status` | string or SelectableOption | No | `ALL` | Filter ads by ON/OFF operation status. Defaults to ALL. Options: ALL, ENABLE (the ad is ON), DISABLE (the ad is OFF), FROZEN (the ad is terminated and cannot be enabled). | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving ads. The available fields to filter by are: - campaign\_id: Filter by parent campaign ID - campaign\_name: Filter by parent campaign name - adgroup\_id: Filter by parent ad group ID - adgroup\_name: Filter by parent ad group name - ad\_id: Filter by ad ID - ad\_name: Filter by ad name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ads to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of TikTok ads for the selected advertiser as provided by the TikTok /ad/get/ endpoint. See TikTok Marketing API docs for the full set of fields. # List Audiences Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_audiences Lists TikTok custom audiences that the selected advertiser can access Lists TikTok custom audiences that the selected advertiser can access. Use custom\_audience\_id values for audience targeting or exclusions in TikTok ad groups. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_audiences` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account whose custom audiences should be listed. | | `custom_audience_ids` | string or array of string | No | - | Optional audience ID filter. Use this when you already know one or more TikTok custom audience IDs and only want those audiences returned. Provide a comma-separated list, newline-separated list, or JSON array string. TikTok accepts 1 to 100 audience IDs in this filter. Leave empty to list the advertiser's accessible custom audiences. | | `limit` | integer | No | `100` | Maximum number of custom audiences to return. Default: 100. Markifact pages TikTok results using page\_size up to 100. | ## Output **Type**: `List[Dict]` Returns TikTok custom audiences for the selected advertiser, including custom\_audience\_id, custom\_audience\_name, account\_id, and any additional fields returned by TikTok. **Fields**: `custom_audience_id`, `custom_audience_name`, `account_id` # List Business Centers Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_business_centers Lists TikTok Business Centers available to the connected user Lists TikTok Business Centers available to the connected user. Use bc\_id values from this operation when listing catalogs or configuring catalog-authorized TikTok resources. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_business_centers` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `limit` | integer | No | `100` | Maximum number of TikTok Business Centers to return. Default: 100. Use this node to find bc\_id values for catalog operations. | ## Output **Type**: `List[Dict]` Returns TikTok Business Centers for the connected user, including bc\_id, bc\_name, and any additional fields returned by TikTok. **Fields**: `bc_id`, `bc_name` # List Campaigns Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_campaigns Lists campaigns for a TikTok Ads advertiser account with status, objective, budget, and bidding details Lists campaigns for a TikTok Ads advertiser account with status, objective, budget, and bidding details. Supports filtering by delivery status, operation status, and by campaign name or ID. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_campaigns` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account whose campaigns should be listed. | | `status` | string or SelectableOption | No | `ALL` | Filter campaigns by delivery status. Defaults to ALL (excludes deleted). Choose ACTIVE to only see campaigns currently delivering. Options: ALL, ALL\_INCLUDING\_DELETED, ACTIVE, NOT\_STARTED, NOT\_DELIVERING, DISABLED, DELETED. | | `operation_status` | string or SelectableOption | No | `ALL` | Filter campaigns by ON/OFF operation status. Defaults to ALL. Options: ALL, ENABLE (the campaign is ON), DISABLE (the campaign is OFF), FROZEN (the campaign is terminated and cannot be enabled). | | `filters` | array of FilterItem | No | - | Additional filters to apply when retrieving campaigns. The available fields to filter by are: - campaign\_id: Filter by campaign ID - campaign\_name: Filter by campaign name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the raw list of TikTok campaigns for the selected advertiser as provided by the TikTok /campaign/get/ endpoint. See TikTok Marketing API docs for the full set of fields. # List Catalogs Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_catalogs Lists TikTok catalogs in a Business Center Lists TikTok catalogs in a Business Center. Use List Business Centers first to get bc\_id, then use catalog\_id values when creating catalog or shopping campaigns and ad groups. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_catalogs` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `bc_id` | string or SelectItem | Yes | - | Business Center ID whose catalogs should be listed. This is not an advertiser\_id. Use TikTok Ads List Business Centers first to get the correct bc\_id, then pass that value here. | | `catalog_id` | string or SelectItem | No | - | Optional TikTok catalog ID. Provide this only when you want one specific catalog. Leave empty to list all catalogs in the Business Center. | | `limit` | integer | No | `100` | Maximum number of catalogs to return. Default: 100. TikTok supports page\_size from 1 to 1000. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns TikTok catalogs for the selected Business Center, including catalog\_id, catalog\_name, bc\_id, and any additional fields returned by TikTok. **Fields**: `catalog_id`, `catalog_name`, `bc_id` # List Gmv Max Stores Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_gmv_max_stores Lists the TikTok Shops an advertiser can use for GMV Max campaigns Lists the TikTok Shops an advertiser can use for GMV Max campaigns. Use a store\_id with is\_gmv\_max\_available true in tiktok\_ads\_get\_gmv\_max\_report. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_gmv_max_stores` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | The TikTok Ads advertiser account whose TikTok Shops should be listed. | ## Output **Type**: `List[Dict]` Returns TikTok Shops with store\_id, store\_name, is\_gmv\_max\_available, the authorized Business Center, and targeting region codes, as returned by TikTok. **Fields**: `store_id`, `store_name`, `is_gmv_max_available` # List Identities Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_identities Lists TikTok identities available for an advertiser account, including identity type and Business Center authorization metadata Lists TikTok identities available for an advertiser account, including identity type and Business Center authorization metadata. Use identities to create TikTok Ads. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_identities` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account (advertiser) whose identities should be listed. | | `identity_type` | string or SelectableOption | No | - | Optional identity type filter. Options: TT\_USER, BC\_AUTH\_TT, CUSTOMIZED\_USER, AUTH\_CODE. | | `limit` | integer | No | `100` | Maximum number of identities to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns TikTok identities for the selected advertiser, including identity\_id, identity\_type, identity\_authorized\_bc\_id, display\_name, username, available\_status, and profile\_image. # List Pages Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_pages Lists TikTok pages for an advertiser account, including Instant Forms (lead forms), Instant Pages, storefront pages, shop pages, and direct message pages Lists TikTok pages for an advertiser account, including Instant Forms (lead forms), Instant Pages, storefront pages, shop pages, and direct message pages. Useful when creating ads. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_pages` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account whose pages should be listed. | | `page_type` | string or SelectableOption | No | `ALL` | TikTok page type to list. Use ALL or leave blank to list every page type. | | `status` | string or SelectableOption | No | - | Optional page status filter. Options: PUBLISHED or EDITED. | | `title` | string | No | - | Optional exact page title filter. | | `limit` | integer | No | `100` | Maximum number of pages to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns TikTok pages for the selected advertiser, including page\_id, title, status, business\_type, supported\_objectives, preview\_url, template\_name, create\_time, publish\_time, and update\_time. # List Pixels Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_pixels Lists TikTok Pixels for a TikTok Ads advertiser account Lists TikTok Pixels for a TikTok Ads advertiser account. Use pixel\_id values when creating website conversion or value optimization ad groups. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_pixels` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account whose pixels should be listed. | | `limit` | integer | No | `100` | Maximum number of pixels to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns TikTok Pixels for the selected advertiser, including pixel\_id, pixel\_name, account\_id, and any additional fields returned by TikTok. **Fields**: `pixel_id`, `pixel_name`, `account_id` # List Posts Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_posts Lists organic TikTok posts & dark posts under a TT_USER identity that supports Spark Ads Pull Lists organic TikTok posts & dark posts under a TT\_USER identity that supports Spark Ads Pull. Returns item\_id values for creating Spark Ads from existing posts. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_posts` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account (advertiser) whose posts should be listed. | | `identity_id` | string or SelectItem | Yes | - | TikTok User identity ID to pull posts from. The identity must be TT\_USER and can\_pull\_video must be true. | | `item_type` | string or SelectableOption | No | - | Type of posts to list. Options: VIDEO (default) or CAROUSEL. | | `limit` | integer | No | `100` | Maximum number of posts to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns TikTok posts for the selected TT\_USER identity, including item\_id, text, status, url, poster\_url, duration, width, height, format, and auth\_info. # List Report Fields Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_list_report_fields Search and browse available TikTok Ads reporting metrics and dimensions before running reports Search and browse available TikTok Ads reporting metrics and dimensions before running reports. Each field's supported\_reports says where it works: standard (tiktok\_ads\_get\_report) or gmv\_max (tiktok\_ads\_get\_gmv\_max\_report). Filter by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(spend|videoViews).*'}]. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns available report fields, supported report operations and field descriptions with audience breakdown constraints. **Fields**: `id`, `name`, `type`, `data_type`, `description`, `supported_reports` # Rename Ad Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_rename_ad Renames TikTok Ads ads Renames TikTok Ads ads. Supports regular and Upgraded Smart+ ads automatically. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_rename_ad` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update ads in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad or multiple ads at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_id` | string or SelectItem | No | - | TikTok ad ID to rename (required for single update). For Upgraded Smart+ ads, use the smart\_plus\_ad\_id value from tiktok\_ads\_list\_ads. | | `ad_name` | string | No | - | The new name for the ad (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'ad\_name' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad rename. # Rename Ad Group Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_rename_ad_group Renames TikTok Ads ad groups Renames TikTok Ads ad groups | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_rename_ad_group` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update ad groups in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple ad groups at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group ID to rename (required for single update) | | `ad_group_name` | string | No | - | The new name for the ad group (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_group\_id' and 'ad\_group\_name' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group rename. # Rename Campaign Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_rename_campaign Renames TikTok Ads campaigns Renames TikTok Ads campaigns | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_rename_campaign` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update campaigns in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to rename (required for single update) | | `campaign_name` | string | No | - | The new name for the campaign (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'campaign\_name' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign rename. # Retrieve Leads Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_retrieve_leads Retrieves TikTok Instant Form lead submissions and answers for CRM workflows Retrieves TikTok Instant Form lead submissions and answers for CRM workflows. Requires ad account admin access (Business Center admin for migrated leads). Handles export jobs and regional storage; supports a UTC date filter and row limit. TikTok API does not allow creating forms, ask user to do via ads manager UI. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_retrieve_leads` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | TikTok advertiser account that owns the Instant Form. | | `page_id` | string or SelectItem | Yes | - | Instant Form page\_id from tiktok\_ads\_list\_pages with page\_type=LEAD\_GEN. | | `region` | enum (`ALL`, `US`, `EU`, `OTHER`) | No | `ALL` | Lead storage region: ALL checks every region; US is United States; EU is EEA, Switzerland and UK; OTHER is all remaining countries. Based on where leads were collected, not account currency. Defaults to ALL. | | `library_id` | string | No | - | Form library ID if leads have been migrated to a Business Center. Replaces advertiser\_id in the export request and requires Business Center admin access. | | `date_range` | LeadDateRange | No | - | Optional inclusive UTC submission date filter. Applied after downloading TikTok's export; does not reduce export size. Omit for all available dates. | | `limit` | integer | No | `1000` | Maximum leads returned after the date filter, in TikTok export order. Default 1000; maximum 10000. Export download is still required. Exports above 50 MiB are rejected rather than silently truncated. | ### LeadDateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | Inclusive start date in UTC, YYYY-MM-DD. | | `end` | string | No | - | Inclusive end date in UTC, YYYY-MM-DD. | | `preset` | string | No | - | Date preset such as LAST\_7\_DAYS or LAST\_30\_DAYS. FIXED/CUSTOM uses start and end. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Lead rows from TikTok CSV exports, including lead id, created\_time, ad/campaign/form identifiers and names, and question answers. All values remain strings to preserve IDs and phone numbers. # Search Music Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_search_music Searches TikTok music tracks for an advertiser account by keyword, liked, history, music IDs, or source Searches TikTok music tracks for an advertiser account by keyword, liked, history, music IDs, or source. Returns music\_id values that can be used in TikTok image (carousel) ads. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_search_music` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account (advertiser) to search music for. | | `music_scene` | string or SelectableOption | No | - | Where the music will be used. Options: CAROUSEL\_ADS (default), CREATIVE\_ASSET. | | `search_type` | string or SelectableOption | No | - | How to search for music. Required when music\_scene is CAROUSEL\_ADS. Options: SEARCH\_BY\_KEYWORD, SEARCH\_BY\_LIKED, SEARCH\_BY\_HISTORY, SEARCH\_BY\_MUSIC\_ID, SEARCH\_BY\_SOURCE. | | `keyword` | string | No | - | Keyword to search music by. Required when search\_type is SEARCH\_BY\_KEYWORD. | | `music_ids` | string or array of string | No | - | List of music IDs to look up. Required when search\_type is SEARCH\_BY\_MUSIC\_ID. Max 100. | | `sources` | string or SelectableOption | No | - | Music source filter. Required when search\_type is SEARCH\_BY\_SOURCE. USER = advertiser-uploaded music, SYSTEM = TikTok system music. For CAROUSEL\_ADS, only USER is allowed. | | `limit` | integer | No | `100` | Maximum number of music tracks to return. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns matching TikTok music tracks, including music\_id, name, author, duration, sources, style, cover\_url, url, signature, file\_name, copyright, and liked. # Search Targeting Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_search_targeting Search or list TikTok Ads targeting options for locations, languages, interests, purchase intent, and behaviors Search or list TikTok Ads targeting options for locations, languages, interests, purchase intent, and behaviors. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_search_targeting` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to search targeting options for. | | `search_type` | string or SelectableOption | Yes | - | Targeting surface to search or list: locations, languages, interests/behaviors, interest categories, or action categories. | | `search_query` | string | No | - | Optional text filter for locations/languages, or seed keyword for interests and behaviors. For multiple TikTok seed keywords, use search\_keywords. | | `search_keywords` | any | No | - | Interests/behaviors only. Seed keywords as a list, JSON array, comma-separated text, or one keyword per line. Max 10 keywords, 100 characters each. | | `sub_targeting_types` | array of string or SelectableOption | No | - | Interests/behaviors only. Secondary targeting types to return. | | `language` | string | No | - | Response language or seed keyword language. Defaults to en when omitted or unsupported. | | `interest_category_version` | any | No | - | Interest category endpoint only. Version 1 or 2. Defaults to 2. | | `placements` | array of string or SelectableOption | No | - | Interest category endpoint only. Placements to filter by when version is 2. | | `special_industries` | array of string or SelectableOption | No | - | Special ad categories to filter targeting results by. | | `limit` | integer | No | `100` | Maximum normalized results to return after filtering/flattening. Default: 100. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns TikTok targeting options normalized for use in ad group targeting fields. **Fields**: `id`, `name`, `type`, `target_field`, `action_scene` # Select Accounts Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_select_accounts Select TikTok Ads accounts once and reuse them across multiple tiktok_ads_get_report nodes—no repeated account selection Select TikTok Ads accounts once and reuse them across multiple tiktok\_ads\_get\_report nodes—no repeated account selection. You can also select and list all available accounts. Skip if you have just one tiktok\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_select_accounts` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | | **Versions** | 1, 2 (default: 2) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Update Ad Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_ad Low-level operation to update tiktok ads, supports both regular and Upgraded Smart+ ads; Markifact checks Smart+ first and resolves the correct endpoint automatically Low-level operation to update tiktok ads, supports both regular and Upgraded Smart+ ads; Markifact checks Smart+ first and resolves the correct endpoint automatically. Use tiktok\_ads\_list\_ads first to inspect the current payload. Use PATCH\_FIELDS for TikTok-supported incremental fields and REPLACE\_PAYLOAD for full payload updates. Use focused operations first when available for example tiktok\_ads\_rename\_ad | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_ad` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account (advertiser) that owns the ad. | | `ad_id` | string or SelectItem | Yes | - | TikTok ad ID to update. | | `update_mode` | string or SelectableOption | No | `PATCH_FIELDS` | Use PATCH\_FIELDS for incremental updates. For manual ads, TikTok only supports patching ad\_name, identity, media, music, TikTok item, and ad text fields. Use REPLACE\_PAYLOAD for full manual ad creative updates or full Smart+ payload updates. | | `update_payload` | object or string | Yes | - | TikTok ad fields to update as an object or JSON string. Examples: ad\_name, ad\_text, ad\_texts, video\_id, image\_ids, creative\_list. Use tiktok\_ads\_list\_ads first when you need the current payload or exact field names. Exclude advertiser\_id, ad\_id, smart\_plus\_ad\_id, and adgroup\_id. | | `dry_run` | boolean | No | `False` | When true, do not call TikTok. Return the resolved endpoint, detected ad mode, and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns ad\_id, detected ad\_mode, endpoint, updated\_fields, final payload, and dry\_run status. # Update Ad Group Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_ad_group Low-level operation to update tiktok ad groups, supports both manual and Upgraded Smart+ ad groups; Markifact resolves the correct endpoint automatically Low-level operation to update tiktok ad groups, supports both manual and Upgraded Smart+ ad groups; Markifact resolves the correct endpoint automatically. Use focused operations first when available, for example tiktok\_ads\_update\_ad\_group\_budget or tiktok\_ads\_update\_ad\_group\_status. Use tiktok\_ads\_list\_ad\_groups first to inspect the current payload. Use PATCH\_FIELDS for partial updates and REPLACE\_PAYLOAD for full payload updates. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_ad_group` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account (advertiser) that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | TikTok ad group ID to update. Markifact uses this value as adgroup\_id and does not require adgroup\_id inside update\_payload. | | `update_mode` | string or SelectableOption | No | `PATCH_FIELDS` | Use PATCH\_FIELDS to update only provided fields. Use REPLACE\_PAYLOAD only when providing the full TikTok update payload. | | `update_payload` | object or string | Yes | - | TikTok ad group fields to update as an object or JSON string. Examples: adgroup\_name, location\_ids, bid\_price, targeting\_spec. Use tiktok\_ads\_list\_ad\_groups first when you need the current payload or exact field names. Exclude advertiser\_id and adgroup\_id. Note: TikTok can report a successful update but silently keep the old value for fields the ad group's configuration does not allow changing; for critical settings, verify with tiktok\_ads\_list\_ad\_groups after updating. | | `dry_run` | boolean | No | `False` | When true, do not call TikTok. Return the resolved endpoint, detected ad group mode, and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns adgroup\_id, detected ad\_group\_mode, endpoint, updated\_fields, final payload, and dry\_run status. # Update Ad Group Budget Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_ad_group_budget Updates the budget of TikTok Ads ad groups Updates the budget of TikTok Ads ad groups | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_ad_group_budget` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update ad groups in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group ID to update (required for single update) | | `budget_value` | number | No | - | The budget amount (e.g., 100 for \$100). This will update the daily or lifetime budget based on the ad group's existing budget type setting. (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_group\_id' and 'budget\_value' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group budget update. # Update Ad Group Status Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_ad_group_status Enable, disable, or delete TikTok Ads ad groups Enable, disable, or delete TikTok Ads ad groups | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update ad groups in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple ad groups at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_group_id` | string or SelectItem | No | - | Select the ad group ID to update (required for single update) | | `ad_group_status` | string or SelectableOption | No | - | Select the new status for the ad group. Options: 'ACTIVE', 'PAUSED', 'DELETED' (required for single update). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_group\_id' and 'status' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad group status update. # Update Ad Status Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_ad_status Enable, disable, or delete TikTok Ads ads Enable, disable, or delete TikTok Ads ads | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_ad_status` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update ads in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple ads at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `ad_id` | string or SelectItem | No | - | Select the ad ID to update (required for single update) | | `ad_status` | string or SelectableOption | No | - | Select the new status for the ad. Options: 'ACTIVE', 'PAUSED', 'DELETED' (required for single update). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'ad\_id' and 'status' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming ad status update. # Update Campaign Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_campaign Low-level operation to update TikTok campaigns with raw TikTok fields, for standard and Upgraded Smart+ campaigns; Markifact resolves the correct endpoint automatically Low-level operation to update TikTok campaigns with raw TikTok fields, for standard and Upgraded Smart+ campaigns; Markifact resolves the correct endpoint automatically. Use focused operations first when available, for example tiktok\_ads\_update\_campaign\_budget or tiktok\_ads\_rename\_campaign. Only the fields provided are changed. Supports dry-run review before applying changes. | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_campaign` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the TikTok Ads account (advertiser) that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | TikTok campaign ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | TikTok campaign fields to update as an object or JSON string; only the fields given are changed. TikTok allows campaign\_name, budget, special\_industries and po\_number on standard campaigns, and campaign\_name, budget, budget\_auto\_adjust\_strategy and po\_number on Upgraded Smart+ campaigns; Markifact picks the right endpoint. Exclude advertiser\_id and campaign\_id. Use tiktok\_ads\_list\_campaigns first to see current values. Note: TikTok reports success and silently ignores fields a campaign cannot change (for example objective\_type), so verify important changes with tiktok\_ads\_list\_campaigns after updating. | | `dry_run` | boolean | No | `False` | When true, do not call TikTok. Return the resolved endpoint, campaign type and final payload for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns campaign\_id, campaign\_name, detected campaign\_mode, endpoint, updated\_fields, final payload, and dry\_run status. # Update Campaign Budget Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_campaign_budget Updates the budget of TikTok Ads campaigns for budget management Updates the budget of TikTok Ads campaigns for budget management | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update campaigns in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to update (required for single update) | | `budget_value` | number | No | - | The budget amount (e.g., 100 for \$100). This will update the daily or lifetime budget based on the campaign's existing budget type setting. (required for single update) | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'budget\_value' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign budget update. # Update Campaign Status Source: https://docs.markifact.com/nodes/tiktok_ads/tiktok_ads_update_campaign_status Enable, disable, or delete TikTok Ads campaigns Enable, disable, or delete TikTok Ads campaigns | | | | - | - | | **App** | TikTok Ads | | **Operation ID** | `tiktok_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `tiktok_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select TikTok Ads account (advertiser) to update campaigns in | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) | | `campaign_id` | string or SelectItem | No | - | Select the campaign ID to update (required for single update) | | `campaign_status` | string or SelectableOption | No | - | Select the new status for the campaign. Options: 'ACTIVE', 'PAUSED', 'DELETED' (required for single update). | | `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'campaign\_id' and 'status' fields for each row (required for bulk update) | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns success message confirming campaign status update. # Filter Data Source: https://docs.markifact.com/nodes/utilities/utilities_filter_data Filters datasets based on specified conditions Filters datasets based on specified conditions. Provide input data and define field names with their filtering criteria. | | | | - | - | | **App** | Utilities | | **Operation ID** | `utilities_filter_data` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `data` | any | Yes | - | The data you want to filter (from previous steps like spreadsheets, get report, etc) | | `conditions` | array of Condition | Yes | - | Add conditions to filter your data. For example: status equals 'active', budget is greater than 100, or name contains 'marketing'. Use column names from your data. | ### Condition | Field | Type | Required | Default | Description | | - | - | - | - | - | | `expression` | string | Yes | - | Field name e.g 'age', must match the key names in the data | | `operator` | string | Yes | - | The condition operator, must be one of the available operators | | `value` | string | Yes | - | The value to compare against | | `joiner` | string | No | - | Optional joiner for multiple conditions (e.g., 'AND', 'OR'). Joiner should be added from second condition onwards. Don't add to the first condition. | ## Output **Type**: `List[Dict]` Returns filtered data matching conditions. **Fields**: dynamic (depend on the inputs) # Remove Fields Source: https://docs.markifact.com/nodes/utilities/utilities_remove_fields Deletes specified data fields from datasets or records Deletes specified data fields from datasets or records | | | | - | - | | **App** | Utilities | | **Operation ID** | `utilities_remove_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `data` | any | Yes | - | The data containing fields you want to remove | | `removal_mode` | string or SelectableOption | Yes | - | Choose how you want to specify fields to remove. 'specific' → provide `field_names` to delete, 'keep' → provide `keep_field_names` to retain | | `field_names` | array of string | No | - | Enter the names of fields to remove from your data | | `keep_field_names` | array of string | No | - | Enter the names of fields to keep, all others will be removed | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns data with specified fields removed. **Fields**: dynamic (depend on the inputs) # Rename Fields Source: https://docs.markifact.com/nodes/utilities/utilities_rename_fields Renames data fields while keeping their values intact Renames data fields while keeping their values intact. Useful for standardizing column names across different sources (e.g., Google Ads, Meta Ads). Use this node before merging lists to ensure consistent field names. | | | | - | - | | **App** | Utilities | | **Operation ID** | `utilities_rename_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `data` | any | Yes | - | The data containing fields you want to rename | | `field_mappings` | object | Yes | - | Map current field names to new field names | ## Output **Type**: `List[Dict]` Returns data with renamed fields. **Fields**: dynamic (depend on the inputs) # Select Date Range Source: https://docs.markifact.com/nodes/utilities/utilities_select_date_range Select a specific date range once and reuse it in other nodes, such as Google Ads Get Report Select a specific date range once and reuse it in other nodes, such as Google Ads Get Report. Ideal when you have multiple reporting nodes and want to set dates in one place. Returns start and end dates that can be used dynamically. | | | | - | - | | **App** | Utilities | | **Operation ID** | `utilities_select_date_range` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `date_range` | DateRange | Yes | - | The date range to select. You can use a preset like 'LAST\_MONTH', 'THIS\_MONTH', etc., or specify custom start and end dates. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `Dict` Returns start and end dates. **Fields**: `start_date`, `end_date` # Capture Screenshot Source: https://docs.markifact.com/nodes/web/web_capture_screenshot Captures screenshots of web pages and websites for visual documentation Captures screenshots of web pages and websites for visual documentation. Returns the screenshot image URL. | | | | - | - | | **App** | Web | | **Operation ID** | `web_capture_screenshot` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 3 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `url` | string | Yes | - | Target URL to capture | | `viewport_width` | integer | No | `1280` | Viewport width in CSS pixels; the screenshot is exactly this wide. Below 768 the page renders with mobile viewport behaviour. | | `viewport_height` | integer | No | `800` | Viewport height in CSS pixels; the screenshot is exactly this tall unless full\_page is set. | | `wait_time` | integer | No | `30` | Maximum seconds to wait for page/selector (1–60) | | `wait_for_selector` | string | No | - | CSS selector to wait for before capturing | | `loading_selector` | string | No | - | CSS selector of loading elements to wait until invisible | | `full_page` | boolean | No | `False` | Capture full page instead of viewport | | `hide_scrollbars` | boolean | No | `True` | Hide scrollbars in screenshot | ## Output **Type**: `str` Returns screenshot image URL. # Check URL Status Source: https://docs.markifact.com/nodes/web/web_check_url_status Checks the HTTP status code and accessibility of URLs and web pages Checks the HTTP status code and accessibility of URLs and web pages | | | | - | - | | **App** | Web | | **Operation ID** | `web_check_url_status` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `url` | string | No | - | URL to check (single mode) | | `urls` | array of string (also accepts a comma-separated string) | No | - | List of URLs to check (bulk mode) | | `check_type` | string or SelectableOption | Yes | - | Choose whether to check a single URL or multiple URLs | | `filter_results` | string or SelectableOption | No | - | Filter returned results by status (bulk mode only) | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of URLs with their HTTP status and any errors. **Fields**: `url`, `status`, `status_code`, `error` # Extract URLs From Sitemap Source: https://docs.markifact.com/nodes/web/web_extract_urls_from_sitemap Extracts and parses URLs from website sitemaps Extracts and parses URLs from website sitemaps. Accepts XML sitemap URLs and returns a list of URLs found in the sitemap. | | | | - | - | | **App** | Web | | **Operation ID** | `web_extract_urls_from_sitemap` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `sitemap_url` | string | Yes | - | URL of the XML sitemap (e.g., `https://example.com/sitemap.xml`) | | `limit` | integer | No | - | Maximum number of URLs to return (omit for all) | ## Output **Type**: `List[str]` Returns list of URLs found in the sitemap. # Scrape URL Source: https://docs.markifact.com/nodes/web/web_scrape_url Scrape and extracts content, text, and data from web pages and websites Scrape and extracts content, text, and data from web pages and websites. You can return full HTML, text, or specific elements using CSS selectors. | | | | - | - | | **App** | Web | | **Operation ID** | `web_scrape_url` | | **Type** | Action | | **Connection** | None | | **Credits per run** | 2 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `url` | string | Yes | - | Target URL to scrape | | `scrape_type` | string or SelectableOption | Yes | - | Select the scraping method: 'full\_page' (return HTML), 'text\_only' (return visible text), 'custom' (extract using CSS selectors) | | `selectors` | object | No | - | Map of \{name: cssSelector}. Required when scrape\_type is 'custom' | | `enable_javascript` | boolean | No | `False` | Use headless Chrome (Selenium) to render JS before scraping | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `str` Returns scraped content (HTML, text, or selected elements) from the URL. # Trigger Source: https://docs.markifact.com/nodes/webhook/webhook_trigger Trigger workflow from external apps using a webhook URL Trigger workflow from external apps using a webhook URL. Send a POST request with x-webhook-key header for authentication. Send any JSON data in the request body. It will be available as outputs in the next step of your workflow. Example: curl -X POST '`https://www.markifact.com/api/webhooks/\{workflow_id`}' -H 'x-webhook-key: your\_webhook\_key' -d '\{"data": "value"}' | | | | - | - | | **App** | Webhook | | **Operation ID** | `webhook_trigger` | | **Type** | Trigger | | **Connection** | None | | **Credits per run** | Free | ## Inputs This node takes no inputs. ## Output **Type**: `Dict` Returns the JSON payload sent in the webhook request body. **Fields**: dynamic (depend on the inputs) # On New Message Source: https://docs.markifact.com/nodes/whatsapp/whatsapp_on_new_message A trigger that activates workflows when a new WhatsApp message is received A trigger that activates workflows when a new WhatsApp message is received | | | | - | - | | **App** | WhatsApp | | **Operation ID** | `whatsapp_on_new_message` | | **Type** | Trigger | | **Connection** | `whatsapp` (required) | | **Credits per run** | 1 | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `message` | object | No | - | The message event data that triggered this workflow. This field is automatically populated when a new WhatsApp message is received and contains information like: - message: The actual message text - from\_number: Sender's phone number - contact\_name: Sender's WhatsApp profile name - message\_type: Type of message (text, image, etc.) - today\_date: Current date when the message was received This data can be referenced in downstream nodes using \{\{nodeId\_\_data.message}}, \{\{nodeId\_\_data.from\_number}}, etc. | ## Output **Type**: `Dict` Returns the incoming WhatsApp message details. **Fields**: `message`, `from_number`, `contact_name`, `message_type`, `today_date` # Send Message Source: https://docs.markifact.com/nodes/whatsapp/whatsapp_send_message Sends a message to the selected registered WhatsApp number Sends a message to the selected registered WhatsApp number | | | | - | - | | **App** | WhatsApp | | **Operation ID** | `whatsapp_send_message` | | **Type** | Action | | **Connection** | `whatsapp` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `message` | string | Yes | - | The message content to send to the selected registered WhatsApp number. Supports plain text and WhatsApp basic formatting. | ## Output **Type**: `str` Returns success confirmation message. # Add Users To Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_add_users_to_audience Adds users to an X (Twitter) Ads custom audience by email, phone number, device id, handle, X user id, or partner user id Adds users to an X (Twitter) Ads custom audience by email, phone number, device id, handle, X user id, or partner user id. Identifiers are normalized and SHA256-hashed automatically before upload. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_add_users_to_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | X Ads custom audience ID. | | `identifier_type` | enum (`email`, `phone_number`, `device_id`, `handle`, `twitter_id`, `partner_user_id`) | No | `email` | Identifier type for this batch (one type per run): email (default), phone\_number (with country code), device\_id (IDFA/AdID/Android id), handle (@username), twitter\_id, or partner\_user\_id. | | `users` | string or array of string | Yes | - | The identifiers, as a list or comma/newline separated text. Plain values are normalized per X's rules (emails and handles lowercased, @ stripped, phone formatting removed) and SHA256-hashed automatically; already-hashed 64-character values pass through as-is, and partner\_user\_id is never hashed. Large lists are chunked automatically. | | `effective_at` | string | No | - | When the memberships take effect: ISO 8601 or a Unix timestamp. Defaults to now. | | `expires_at` | string | No | - | When the memberships expire: ISO 8601 or a Unix timestamp; must be after effective\_at. Defaults to 13 months out, X's maximum. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a summary of how many users were submitted. # Add Users To Do Not Reach List Source: https://docs.markifact.com/nodes/x_ads/x_ads_add_users_to_do_not_reach_list Adds or removes email addresses on an X Ads Do Not Reach list Adds or removes email addresses on an X Ads Do Not Reach list. Emails are lowercased and SHA256-hashed automatically before upload. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_add_users_to_do_not_reach_list` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the Do Not Reach list. | | `do_not_reach_list_id` | string or SelectItem | Yes | - | Do Not Reach list ID. Find it with x\_ads\_list\_do\_not\_reach\_lists. | | `identifier_type` | enum (`email`, `phone_number`) | No | `email` | Identifier type for this batch (one type per run): email (default) or phone\_number. | | `users` | string or array of string | Yes | - | The identifiers to suppress, as a list or comma/newline separated text. Plain values are normalized per X's rules and SHA256-hashed automatically; already-hashed 64-character values pass through. | | `remove` | boolean | No | `False` | Remove these identifiers from the list instead of adding them. | | `expires_at` | string | No | - | When the suppression expires: ISO 8601 or a Unix timestamp, under 13 months out. X keeps the entries until it decides otherwise when omitted. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a summary of how many emails were submitted. # Create Ad From Post Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_ad_from_post Promotes posts that already exist in an X Ads ad group, up to 50 at once, creating the ads (promoted tweets) Promotes posts that already exist in an X Ads ad group, up to 50 at once, creating the ads (promoted tweets). Use it with organic posts from x\_ads\_list\_posts, or with posts built by the format ad nodes using post\_only. To create a new post and promote it in one step, use x\_ads\_create\_text\_ad, x\_ads\_create\_image\_ad, x\_ads\_create\_video\_ad, or x\_ads\_create\_carousel\_ad. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_ad_from_post` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | Ad group (line item) to promote the posts in. | | `tweet_ids` | string or array of string | Yes | - | IDs of the posts to promote (list or comma-separated string, up to 50). Use an organic post's ID from x\_ads\_list\_posts, or a Promoted-only post created by x\_ads\_create\_post or by one of the format ad nodes with post\_only enabled. X rejects posts that do not fit the ad group's objective; notably, WEBSITE\_CLICKS ad groups only accept posts containing a website link or card. Take the IDs from the id\_str or tweet\_id field, never a numeric id: X ids are 64-bit and any tool that stores them as a number rounds them into a post that does not exist. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the created promoted tweet records. **Fields**: dynamic (depend on the inputs) # Create Ad Group Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_ad_group Creates an X (Twitter) Ads ad group (line item) in a campaign: objective, placements, schedule, bidding strategy and goal, budgets, frequency caps, and app identifiers Creates an X (Twitter) Ads ad group (line item) in a campaign: objective, placements, schedule, bidding strategy and goal, budgets, frequency caps, and app identifiers. Ad groups are created PAUSED by default; add targeting with x\_ads\_set\_targeting and ads with x\_ads\_create\_ad. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_ad_group` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the ad group in. | | `campaign_id` | string or SelectItem | Yes | - | Campaign to create the ad group (line item) under. All ad groups in a campaign must share the same objective and product type. | | `objective` | enum (`APP_ENGAGEMENTS`, `APP_INSTALLS`, `REACH`, `FOLLOWERS`, `ENGAGEMENTS`, `VIDEO_VIEWS`, `PREROLL_VIEWS`, `WEBSITE_CLICKS`) | Yes | - | Campaign objective: APP\_ENGAGEMENTS, APP\_INSTALLS, REACH, FOLLOWERS, ENGAGEMENTS, VIDEO\_VIEWS, PREROLL\_VIEWS, or WEBSITE\_CLICKS. Website conversion campaigns use WEBSITE\_CLICKS with goal WEBSITE\_CONVERSIONS. | | `product_type` | enum (`PROMOTED_TWEETS`, `PROMOTED_ACCOUNT`, `MEDIA`) | No | - | What the ad group promotes. Defaults to PROMOTED\_TWEETS, except FOLLOWERS ad groups, which X only accepts as PROMOTED\_ACCOUNT. Set MEDIA only when promoting media directly. | | `placements` | array of string or SelectableOption | No | `[{'value': 'ALL_ON_TWITTER', 'label': 'All on X'}]` | Where ads serve: ALL\_ON\_TWITTER (default), TWITTER\_TIMELINE, TWITTER\_SEARCH, TWITTER\_PROFILE, TWITTER\_REPLIES, PUBLISHER\_NETWORK, or the TAP\_\* X Audience Platform placements. TWITTER\_PROFILE cannot be the only placement; REACH must include TWITTER\_TIMELINE; TWITTER\_SEARCH requires keyword targeting; PUBLISHER\_NETWORK requires categories and advertiser\_domain. | | `start_time` | string | No | - | When the ad group starts delivering: ISO 8601 (YYYY-MM-DD or full timestamp) or a Unix timestamp. Defaults to now, so delivery can begin as soon as the ad group is activated. | | `end_time` | string | No | - | When the ad group stops delivering: ISO 8601 or a Unix timestamp. Runs indefinitely when omitted. | | `name` | string | No | - | Ad group name, up to 255 characters. | | `entity_status` | enum (`ACTIVE`, `PAUSED`, `DRAFT`) | No | `PAUSED` | Status to create the ad group with: ACTIVE, PAUSED (default), or DRAFT. | | `bid_strategy` | enum (`AUTO`, `MAX`, `TARGET`) | No | - | Bidding strategy: AUTO (default, optimizes from budget), MAX (not available for REACH or FOLLOWERS), or TARGET (averages within 20% of the bid). MAX and TARGET require bid\_amount. | | `bid_amount` | number | No | - | Bid in the ad account's currency (for example 2.5 for \$2.50), converted to X micro-currency automatically. Required when bid\_strategy is MAX or TARGET; ignored for AUTO. | | `goal` | enum (`APP_CLICKS`, `APP_INSTALLS`, `APP_PURCHASES`, `ENGAGEMENT`, `FOLLOWERS`, `LINK_CLICKS`, `MAX_REACH`, `PREROLL`, ...) | No | - | Optimization goal; X picks a default per objective when omitted. Notable pairings: SITE\_VISITS and WEBSITE\_CONVERSIONS belong to WEBSITE\_CLICKS (WEBSITE\_CONVERSIONS also requires primary\_web\_event\_tag), APP\_CLICKS / APP\_INSTALLS / APP\_PURCHASES belong to the app objectives. | | `pay_by` | enum (`APP_CLICK`, `IMPRESSION`, `LINK_CLICK`) | No | - | What you pay for; X sets the default per goal and it is only modifiable for the APP\_INSTALLS objective. | | `daily_budget` | number | No | - | Ad group daily budget in the ad account's currency, converted to micro-currency automatically. Must not exceed the total budget when both are set. | | `total_budget` | number | No | - | Ad group total budget in the ad account's currency, converted to micro-currency automatically. | | `standard_delivery` | boolean | No | - | true spends the budget evenly over time (default); false delivers as fast as possible. | | `frequency_cap` | integer | No | - | Maximum times an ad can be delivered to one user within duration\_in\_days. Only supported for REACH, ENGAGEMENTS, VIDEO\_VIEWS, and PREROLL\_VIEWS. | | `duration_in_days` | enum (`1`, `7`, `30`) | No | - | Window the frequency\_cap applies over: 1, 7, or 30 days. | | `audience_expansion` | enum (`BROAD`, `DEFINED`, `EXPANDED`) | No | - | Expand the targeted audience to reach similar users: DEFINED (targeting as is), EXPANDED, or BROAD. No expansion is applied when omitted. | | `categories` | string or array of string | No | - | IAB content categories describing the advertiser (list or comma-separated ids, from X's iab\_categories endpoint). Required when placements include PUBLISHER\_NETWORK. | | `advertiser_domain` | string | No | - | The advertiser's website domain without protocol (example.com). Required when placements include PUBLISHER\_NETWORK. | | `android_app_store_identifier` | string | No | - | Google Play package name (e.g. com.example.app). APP\_INSTALLS and APP\_ENGAGEMENTS require at least one app store identifier; setting one also auto-adds matching PLATFORM targeting. | | `ios_app_store_identifier` | string | No | - | Numeric portion of the App Store id (e.g. 333903271). APP\_INSTALLS and APP\_ENGAGEMENTS require at least one app store identifier. | | `primary_web_event_tag` | string | No | - | Website tag id whose conversions define success. Required when goal is WEBSITE\_CONVERSIONS. | | `advertiser_user_id` | string | No | - | User id of the handle promoting a PREROLL\_VIEWS ad. Restricted to certain client applications per X. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created ad group with full details. **Fields**: dynamic (depend on the inputs) # Create Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_audience Creates an empty X (Twitter) Ads custom audience Creates an empty X (Twitter) Ads custom audience. Populate it with x\_ads\_add\_users\_to\_audience; it becomes targetable at 100+ matched users and is targeted via targeting\_type CUSTOM\_AUDIENCE in x\_ads\_set\_targeting. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the custom audience in. | | `name` | string | Yes | - | Audience name; must be unique within the account. | | `description` | string | No | - | Optional description of the audience. | ## Output **Type**: `Dict` Returns the created audience with full details. **Fields**: dynamic (depend on the inputs) # Create Campaign Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_campaign Creates an X (Twitter) Ads campaign under a funding instrument, with budgets entered in the account currency Creates an X (Twitter) Ads campaign under a funding instrument, with budgets entered in the account currency. Campaigns are created PAUSED by default; ad groups (line items) carry the objective, schedule, and bidding. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_campaign` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the campaign in. | | `funding_instrument_id` | string or SelectItem | Yes | - | The funding instrument (payment source) to create the campaign under. Use x\_ads\_list\_funding\_instruments to find it. | | `name` | string | Yes | - | Campaign name, up to 255 characters. | | `daily_budget` | number | No | - | Daily budget in the ad account's currency (for example 50 for \$50), converted to X micro-currency automatically. Required by X for most funding instrument types, and must not exceed the total budget when both are set. | | `total_budget` | number | No | - | Total (lifetime) budget in the ad account's currency, converted to X micro-currency automatically. No total cap is applied when omitted. | | `entity_status` | enum (`ACTIVE`, `PAUSED`, `DRAFT`) | No | `PAUSED` | Status to create the campaign with: ACTIVE, PAUSED (default, so nothing serves until reviewed), or DRAFT. | | `budget_optimization` | enum (`LINE_ITEM`) | No | - | Budget optimization mode. X currently supports only LINE\_ITEM (the default). | | `purchase_order_number` | string | No | - | Purchase order number used to organize invoices, up to 50 characters. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created campaign with full details. **Fields**: dynamic (depend on the inputs) # Create Card Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_card Creates an X Ads card (website or app, single media or carousel) from raw components matching the X API payload Creates an X Ads card (website or app, single media or carousel) from raw components matching the X API payload. Pass the returned card\_uri to x\_ads\_create\_post to attach the card. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_card` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the card in. | | `name` | string | Yes | - | Card name, up to 80 characters. | | `components` | array of object or string | No | - | Card components as a JSON array matching the X Ads API payload; order defines the render order. A card needs exactly one media component plus a DETAILS or BUTTON component: - \{"type": "MEDIA", "media\_key": "..."} (single image or video from x\_ads\_upload\_media) - \{"type": "SWIPEABLE\_MEDIA", "media\_keys": \["...", "..."]} (2 to 6 items, carousel) - \{"type": "DETAILS", "title": "...", "destination": \{"type": "WEBSITE", "url": "`https://...`"}} (website cards) - \{"type": "BUTTON", "label": \{"type": "ENUM", "value": "INSTALL"}, "destination": \{"type": "APP", "country\_code": "US", "ios\_app\_store\_identifier": "...", "googleplay\_app\_id": "...", "ios\_deep\_link": "...", "googleplay\_deep\_link": "..."}} (app cards; label values: BOOK, CONNECT, INSTALL, OPEN, ORDER, PLAY, SHOP) WEBSITE destinations only go on DETAILS; APP destinations only on BUTTON. Cannot be combined with slides. Example website card: \[\{"type": "MEDIA", "media\_key": "13\_123"}, \{"type": "DETAILS", "title": "Shop now", "destination": \{"type": "WEBSITE", "url": "`https://example.com`"}}] | | `slides` | string or array of array of object | No | - | For Multi-Destination Carousels: a JSON array of arrays, each inner array a complete card's components (2 to 6 slides). Cannot be combined with components. | ## Output **Type**: `Dict` Returns the created card with full details including its card\_uri. **Fields**: dynamic (depend on the inputs) # Create Carousel Ad Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_carousel_ad Creates a swipeable carousel ad in an X Ads account end to end: uploads 2 to 6 images or videos, builds the carousel card with its website or app destination, creates the Promoted-only post, and pr... Creates a swipeable carousel ad in an X Ads account end to end: uploads 2 to 6 images or videos, builds the carousel card with its website or app destination, creates the Promoted-only post, and promotes it. For per-slide destinations use x\_ads\_create\_card with slides. X ads have no status of their own, so keep the ad group or campaign paused until you are ready to spend. Enable post\_only to build the creative without promoting it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_carousel_ad` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Ad group (line item) to run the ad in. Required unless post\_only is enabled. Keep the ad group or campaign paused until you are ready, since X ads have no status of their own and go live with their ad group. | | `ad_name` | string | No | - | Internal name for the post and card, up to 80 characters. | | `text` | string | No | - | The post's text, up to 280 characters. | | `media_urls` | string or array of string | No | - | The 2 to 6 images or videos to swipe through, in order (list or comma-separated). Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. | | `media_keys` | string or array of string | No | - | Already-uploaded media keys to use instead of media\_urls, 2 to 6, in order. | | `website_url` | string | No | - | Landing page every slide opens. Setting this builds a website carousel with the headline below. For per-slide destinations use x\_ads\_create\_card with slides instead. | | `headline` | string | No | - | Carousel headline. Required with website\_url. | | `call_to_action` | enum (`BOOK`, `CONNECT`, `INSTALL`, `OPEN`, `ORDER`, `PLAY`, `SHOP`) | No | - | App carousel button label: BOOK, CONNECT, INSTALL, OPEN, ORDER, PLAY, or SHOP. Required with app store identifiers. | | `country_code` | string | No | - | ISO alpha-2 country of the app store, e.g. US. Required for app destinations. | | `ios_app_store_identifier` | string | No | - | Numeric App Store id. Setting it builds an app carousel. | | `googleplay_app_id` | string | No | - | Google Play package name. Setting it builds an app carousel. | | `ios_deep_link` | string | No | - | Deep link opened on iOS; only sent alongside the App Store id. | | `googleplay_deep_link` | string | No | - | Deep link opened on Android; only sent alongside the Google Play id. | | `conversation_settings` | enum (`EVERYONE`, `FOLLOWING`, `MENTIONED_USERS`) | No | - | Who can reply: EVERYONE (default), FOLLOWING, or MENTIONED\_USERS. | | `post_only` | boolean | No | `False` | Create the Promoted-only post and carousel card without promoting, so they can be reused across ad groups with x\_ads\_create\_ad\_from\_post. | | `return_detailed_results` | boolean | No | `False` | Include the full post and ad objects in the output. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Columns: media\_urls or media\_keys (2 to 6 each), plus optional text, ad\_group\_id, ad\_name, website\_url, headline, and the app fields. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created post id, card id when one was built, and ad id. Bulk runs return one entry per row. **Fields**: dynamic (depend on the inputs) # Create Do Not Reach List Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_do_not_reach_list Creates the Do Not Reach suppression list for an X Ads account, used to exclude specific people from all campaigns Creates the Do Not Reach suppression list for an X Ads account, used to exclude specific people from all campaigns. X allows one list per account. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_do_not_reach_list` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the Do Not Reach list in. X allows one list per account, so this fails if the account already has one. | | `description` | string | No | - | Optional description of the suppression list. | ## Output **Type**: `Dict` Returns the created Do Not Reach list. **Fields**: dynamic (depend on the inputs) # Create Draft Post Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_draft_post Creates a draft post in an X Ads account for review before publishing Creates a draft post in an X Ads account for review before publishing. Media can be attached by URL or media\_key, along with a card. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_draft_post` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the draft post in. | | `text` | string | No | - | The draft's text. Required unless media is attached. | | `media_urls` | string or array of string | No | - | Media to upload and attach (list or comma-separated). Up to 4 images, or 1 GIF, or 1 video. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Use this OR media\_keys. | | `media_keys` | string or array of string | No | - | Already-uploaded media keys to attach, e.g. from x\_ads\_upload\_media. Up to 4 images, or 1 GIF, or 1 video. | | `card_uri` | string | No | - | Card to attach, from x\_ads\_create\_card (card://...). A card already carries its own image or video, so do not also pass media\_urls or media\_keys: X accepts a post with both but then refuses to promote it. | | `nullcast` | boolean | No | `True` | true (default) marks the draft as Promoted-only when it is published. | | `name` | string | No | - | Internal name for the draft, up to 80 characters. | | `as_user_id` | string | No | - | User id to draft on behalf of. Defaults to the connected user; only set this when drafting for another handle you have access to. | ## Output **Type**: `Dict` Returns the created draft post with full details including its id. **Fields**: dynamic (depend on the inputs) # Create Follower Ad Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_follower_ad Promotes an X account in a FOLLOWERS ad group (product type PROMOTED_ACCOUNT), creating a follower ad Promotes an X account in a FOLLOWERS ad group (product type PROMOTED\_ACCOUNT), creating a follower ad. Defaults to promoting the connected account. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_follower_ad` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | Ad group (line item) to promote the account in. Must belong to a FOLLOWERS campaign with product type PROMOTED\_ACCOUNT (see x\_ads\_create\_ad\_group). | | `user_id` | string | No | - | Numeric X user id of the account to promote. Defaults to the connected user's account. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created promoted account record. **Fields**: dynamic (depend on the inputs) # Create Image Ad Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_image_ad Creates an image ad in an X Ads account end to end: uploads up to 4 images (GIFs too), builds a website or app card when a destination is given, creates the Promoted-only post, and promotes it Creates an image ad in an X Ads account end to end: uploads up to 4 images (GIFs too), builds a website or app card when a destination is given, creates the Promoted-only post, and promotes it. A destination allows exactly one image. X ads have no status of their own, so keep the ad group or campaign paused until you are ready to spend. Enable post\_only to build the creative without promoting it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_image_ad` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Ad group (line item) to run the ad in. Required unless post\_only is enabled. Keep the ad group or campaign paused until you are ready, since X ads have no status of their own and go live with their ad group. | | `ad_name` | string | No | - | Internal name for the post and card, up to 80 characters. | | `text` | string | No | - | The post's text, up to 280 characters. Required unless media is attached. | | `image_urls` | string or array of string | No | - | Images to upload (list or comma-separated), up to 4. GIFs work here too, one per post. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Exactly one image is allowed when a website or app destination is set, because an X card holds one media item. | | `media_keys` | string or array of string | No | - | Already-uploaded media keys to use instead of image\_urls, e.g. from x\_ads\_upload\_media or x\_ads\_list\_media. | | `website_url` | string | No | - | Landing page URL. Setting this builds a website card with the headline below, which is what X's composer calls a Website destination. | | `headline` | string | No | - | Card headline shown under the image. Required with website\_url. | | `call_to_action` | enum (`BOOK`, `CONNECT`, `INSTALL`, `OPEN`, `ORDER`, `PLAY`, `SHOP`) | No | - | App card button label: BOOK, CONNECT, INSTALL, OPEN, ORDER, PLAY, or SHOP. Required with app store identifiers. | | `country_code` | string | No | - | ISO alpha-2 country of the app store, e.g. US. Required for app destinations. | | `ios_app_store_identifier` | string | No | - | Numeric App Store id, e.g. 333903271. Setting it builds an app card. | | `googleplay_app_id` | string | No | - | Google Play package name, e.g. com.example.app. Setting it builds an app card. | | `ios_deep_link` | string | No | - | Deep link opened on iOS; only sent alongside the App Store id. | | `googleplay_deep_link` | string | No | - | Deep link opened on Android; only sent alongside the Google Play id. | | `conversation_settings` | enum (`EVERYONE`, `FOLLOWING`, `MENTIONED_USERS`) | No | - | Who can reply: EVERYONE (default), FOLLOWING, or MENTIONED\_USERS. | | `post_only` | boolean | No | `False` | Create the Promoted-only post and card without promoting, so they can be reused across ad groups with x\_ads\_create\_ad\_from\_post. | | `return_detailed_results` | boolean | No | `False` | Include the full post and ad objects in the output. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Columns: image\_urls or media\_keys, plus optional text, ad\_group\_id, ad\_name, website\_url, headline, call\_to\_action, country\_code, ios\_app\_store\_identifier, googleplay\_app\_id and the deep links. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created post id, card id when one was built, and ad id. Bulk runs return one entry per row. **Fields**: dynamic (depend on the inputs) # Create Post Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_post Creates a post in an X Ads account, by default a Promoted-only (dark) post that never appears in followers' timelines Creates a post in an X Ads account, by default a Promoted-only (dark) post that never appears in followers' timelines. Attach media by URL or media\_key and an optional card. Promote the returned post id with x\_ads\_create\_ad. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_post` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the post in. | | `text` | string | No | - | The post's text. Required unless media is attached. | | `media_urls` | string or array of string | No | - | Media to upload and attach (list or comma-separated). Up to 4 images, or 1 GIF, or 1 video. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Use this OR media\_keys. | | `media_keys` | string or array of string | No | - | Already-uploaded media keys to attach (list or comma-separated), e.g. from x\_ads\_upload\_media. Up to 4 images, or 1 GIF, or 1 video. | | `card_uri` | string | No | - | Card to attach, from a cards response (card://...). A card already carries its own image or video, so do not also pass media\_urls or media\_keys: X accepts a post with both but then refuses to promote it. | | `nullcast` | boolean | No | `True` | true (default) creates a Promoted-only (dark) post that never appears in followers' timelines; false posts organically, which X only allows for the authenticated user. | | `name` | string | No | - | Internal name for the post, up to 80 characters. | | `conversation_settings` | enum (`EVERYONE`, `FOLLOWING`, `MENTIONED_USERS`) | No | - | Who can reply: EVERYONE (default), FOLLOWING, or MENTIONED\_USERS. | | `video_title` | string | No | - | Video posts only: title shown with the video, up to 70 characters. | | `video_description` | string | No | - | Video posts only: description shown under the video, up to 200 characters. | | `video_cta` | enum (`VISIT_SITE`, `WATCH_NOW`) | No | - | Video posts only: call to action, VISIT\_SITE or WATCH\_NOW. | | `video_cta_value` | string | No | - | Video posts only: the URL the call to action opens. | | `as_user_id` | string | No | - | User id to post on behalf of. Defaults to the connected user; only set this when posting for another handle you have access to. | ## Output **Type**: `Dict` Returns the created post with full details including its id. **Fields**: dynamic (depend on the inputs) # Create Text Ad Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_text_ad Creates a text-only Promoted-only post in an X Ads account and promotes it in an ad group, single or many at once Creates a text-only Promoted-only post in an X Ads account and promotes it in an ad group, single or many at once. X ads have no status of their own, so keep the ad group or campaign paused until you are ready to spend. Enable post\_only to build the creative without promoting it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_text_ad` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Ad group (line item) to run the ad in. Required unless post\_only is enabled. Keep the ad group or campaign paused until you are ready, since X ads have no status of their own and go live with their ad group. | | `ad_name` | string | No | - | Internal name for the post, up to 80 characters. | | `text` | string | No | - | The post's text, up to 280 characters. Links in the text render as links; for a headline and image use x\_ads\_create\_image\_ad instead. | | `conversation_settings` | enum (`EVERYONE`, `FOLLOWING`, `MENTIONED_USERS`) | No | - | Who can reply: EVERYONE (default), FOLLOWING, or MENTIONED\_USERS. | | `post_only` | boolean | No | `False` | Create the Promoted-only post without promoting it, so it can be reused across ad groups with x\_ads\_create\_ad\_from\_post. | | `return_detailed_results` | boolean | No | `False` | Include the full post and ad objects in the output. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Columns: text (required), plus optional ad\_group\_id, ad\_name, and conversation\_settings. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created post id, card id when one was built, and ad id. Bulk runs return one entry per row. **Fields**: dynamic (depend on the inputs) # Create Tracking Tag Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_tracking_tag Attaches a third-party impression tag or click tracker to an X Ads ad group Attaches a third-party impression tag or click tracker to an X Ads ad group. X only accepts Campaign Manager (DCM) tag URLs here and rejects other URLs. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_tracking_tag` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | Ad group (line item) to attach the third-party tracking tag to. | | `tracking_tag_type` | enum (`IMPRESSION_TAG`, `CLICK_TRACKER`) | Yes | - | The kind of tag: IMPRESSION\_TAG (fires on impressions) or CLICK\_TRACKER (fires on clicks). | | `tracking_tag_url` | string | Yes | - | The third-party tracking URL to fire. X only accepts Google Campaign Manager (DCM) tags, and the URL must carry the tag id in its dc\_trk\_cid parameter. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created tracking tag. **Fields**: dynamic (depend on the inputs) # Create Video Ad Source: https://docs.markifact.com/nodes/x_ads/x_ads_create_video_ad Creates a video ad in an X Ads account end to end: uploads the video and optional poster frame, builds a website or app card when a destination is given, creates the Promoted-only post, and promote... Creates a video ad in an X Ads account end to end: uploads the video and optional poster frame, builds a website or app card when a destination is given, creates the Promoted-only post, and promotes it. X also supports a post-level video call to action as an alternative to a card. X ads have no status of their own, so keep the ad group or campaign paused until you are ready to spend. Enable post\_only to build the creative without promoting it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_create_video_ad` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to create the ad in. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single ad or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | Ad group (line item) to run the ad in. Required unless post\_only is enabled. Keep the ad group or campaign paused until you are ready, since X ads have no status of their own and go live with their ad group. | | `ad_name` | string | No | - | Internal name for the post and card, up to 80 characters. | | `text` | string | No | - | The post's text, up to 280 characters. | | `video_url` | string | No | - | Video to upload (mp4 or mov, up to 10 minutes and 500MB). Accepts a direct URL, a Google Drive share link with sharing set to 'Anyone with the link', or a file uploaded through Markifact. Uploaded as amplify\_video, the category promoted video requires. | | `media_key` | string | No | - | An already-uploaded video media key to use instead of video\_url. | | `thumbnail_url` | string | No | - | Image to use as the video's poster frame. Accepts a direct URL, a Google Drive share link with sharing set to 'Anyone with the link', or a file uploaded through Markifact. | | `website_url` | string | No | - | Landing page URL. Setting this builds a website card with the headline below. For a call to action without a card, use video\_cta and video\_cta\_value instead. | | `headline` | string | No | - | Card headline shown under the video. Required with website\_url. | | `call_to_action` | enum (`BOOK`, `CONNECT`, `INSTALL`, `OPEN`, `ORDER`, `PLAY`, `SHOP`) | No | - | App card button label: BOOK, CONNECT, INSTALL, OPEN, ORDER, PLAY, or SHOP. Required with app store identifiers. | | `country_code` | string | No | - | ISO alpha-2 country of the app store, e.g. US. Required for app destinations. | | `ios_app_store_identifier` | string | No | - | Numeric App Store id. Setting it builds an app card. | | `googleplay_app_id` | string | No | - | Google Play package name. Setting it builds an app card. | | `ios_deep_link` | string | No | - | Deep link opened on iOS; only sent alongside the App Store id. | | `googleplay_deep_link` | string | No | - | Deep link opened on Android; only sent alongside the Google Play id. | | `video_title` | string | No | - | Title rendered with the video, up to 70 characters. | | `video_description` | string | No | - | Description rendered under the video, up to 200 characters. | | `video_cta` | enum (`VISIT_SITE`, `WATCH_NOW`) | No | - | X's post-level video call to action, an alternative to a card: VISIT\_SITE or WATCH\_NOW, opening video\_cta\_value. | | `video_cta_value` | string | No | - | The URL the post-level video call to action opens. | | `conversation_settings` | enum (`EVERYONE`, `FOLLOWING`, `MENTIONED_USERS`) | No | - | Who can reply: EVERYONE (default), FOLLOWING, or MENTIONED\_USERS. | | `post_only` | boolean | No | `False` | Create the Promoted-only post and card without promoting, so they can be reused across ad groups with x\_ads\_create\_ad\_from\_post. | | `return_detailed_results` | boolean | No | `False` | Include the full post and ad objects in the output. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Columns: video\_url or media\_key, plus optional text, ad\_group\_id, ad\_name, thumbnail\_url, website\_url, headline, the app fields, and the video\_\* fields. Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns the created post id, card id when one was built, and ad id. Bulk runs return one entry per row. **Fields**: dynamic (depend on the inputs) # Custom X Ads App Source: https://docs.markifact.com/nodes/x_ads/x_ads_custom_app Connect X Ads through your own X app (white-label) by pasting your API key, API key secret, access token, and access token secret. Markifact supports two ways to connect X Ads: using the built-in **Markifact app** (Quick Connect) or connecting through your own **X app** (Custom App). With a custom app, every request Markifact makes to the X Ads API runs under your app, so your clients never see Markifact in their connected apps. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## Quick Connect vs Custom App | Feature | Quick Connect | Custom App | | :- | :- | :- | | **Setup Time** | 1 minute | 20-30 minutes, plus X's Ads API access | | **App the client sees** | Markifact | Yours | | **API rate limits** | Markifact's app | Your app | | **White Label** | No | Yes | | **Plan** | All plans | Team | | **Best For** | Quick setup, testing | Agencies, strict client requirements | *** ## What You Need Four values, because the X Ads API uses OAuth 1.0a rather than OAuth 2.0. The **API key pair** identifies your app and the **access token pair** identifies the user, and every request is signed with a combination of the two. | Value | Where it comes from | | :- | :- | | **API Key** | Your app's **Keys and tokens** tab in the [X developer portal](https://developer.x.com/en/portal/dashboard) | | **API Key Secret** | The same tab | | **Access Token** | Generated on the same tab for the user who has access to the ad accounts | | **Access Token Secret** | Generated together with the access token | > [!WARNING] > > All four values must come from the **same app**. An access token generated under a different API key cannot be signed with this one, and X rejects the request. There is nothing to refresh: OAuth 1.0a tokens stay valid until the user revokes the app. > [!NOTE] > > **Already have your own authorization flow?** If your systems already hold an access token pair issued by your app, skip to [Connect to Markifact](#connect-to-markifact). *** ## Setting Up Your Custom X Ads App **1. Create the App** 1. Open the [X developer portal](https://developer.x.com/en/portal/dashboard) and create a project and an app inside it 2. Enter the app name. This is the branding users see when they authorize 3. Under **User authentication settings**, turn on OAuth 1.0a, set **App permissions** to **Read and write**, and enter a callback URL you control (for example `https://www.youragency.com/x-callback`) and your website URL **2. Request Ads API Access** The Ads API is not available to every app. Apply for X Ads API access for your developer account and wait for approval. Agencies that already run their own integrations will have this in place; until it is granted, the accounts endpoint returns authorization errors. **3. Copy the API Key Pair** Open the app's **Keys and tokens** tab and copy the **API Key** and **API Key Secret** (shown once when generated; regenerate if you lost them). **4. Generate the Access Token Pair** On the same tab, under **Access Token and Secret**, click **Generate**. The tokens are created for the X account you are signed in as, so sign in as the user who has access to the ad accounts you want to manage. Copy the **Access Token** and **Access Token Secret**. Make sure the permissions shown next to them say **Read and Write**; if they say Read only, fix the app permissions first and regenerate. > **Important:** Keep these values secure. Anyone holding all four can act on every ad account the user can reach. **5. Connect to Markifact** 1. In Markifact, go to the [Connections](https://app.markifact.com/connections) page 2. Click **Connect** on **X Ads** 3. Select the **Custom App (White-label)** tab 4. Enter a **Connection Name** (for example "Acme Agency X Ads") 5. Paste your **API Key**, **API Key Secret**, **Access Token**, and **Access Token Secret** 6. Click **Verify & Connect** Markifact makes one signed call that lists the ad accounts the tokens can reach. Nothing is saved unless it succeeds and returns at least one account. > [!NOTE] > > Managing a client's ad account rather than your own? Ask the client to add your X user to their ad account in X Ads Manager, then generate the access token pair as that user. The tokens carry whatever access that user has. *** ## Selecting Your Connection Custom app connections appear under the name you chose, with a **Custom app** badge on the Connections page. Select them in X Ads nodes, agents, and MCP exactly like any other X Ads connection. *** ## Rotating or Replacing the Tokens Add the connection again with the **same connection name** and the new values. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] X rejected the credentials (401) > > The four values do not belong together, or one was mistyped. The access token must have been generated under the same API key you pasted. Regenerate the access token pair on the app's **Keys and tokens** tab and paste all four again. > [accordion] X refused access (403) > > Either your developer account has no Ads API access yet, or the access token was generated while the app permissions were **Read only**. Fix the permissions under **User authentication settings**, regenerate the token pair (changing permissions does not update existing tokens), and try again. > [accordion] These tokens cannot see any ad accounts > > The X user behind the access token has no access to any ad account. Add them in X Ads Manager under account access, then regenerate the tokens. > [accordion] X is rate limiting this token > > The accounts endpoint allows 5 requests per 15 minutes per token, which the connection check uses once. Wait a few minutes and try again. *** ## Summary | Item | Where to Find | What It Looks Like | | - | - | - | | **API Key** | Developer portal > your app > Keys and tokens | `Ab1cD2eF3gH4iJ5kL6mN7oP8q` | | **API Key Secret** | Same tab | `r9S0tU1vW2xY3z...` | | **Access Token** | Same tab, Access Token and Secret | `1234567890-AbCdEf...` | | **Access Token Secret** | Generated with the access token | `gH4iJ5kL6mN7oP8q...` | *** ## Related > [card] [White-label Connections](/core-concepts/white-label-connections) > > Overview of custom app connections across channels > [card] [Get Report](/nodes/x_ads/x_ads_get_report) > > Pull X Ads performance data # Delete Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_delete_audience Permanently deletes an X (Twitter) Ads custom audience Permanently deletes an X (Twitter) Ads custom audience. Cannot be undone. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_delete_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | X Ads custom audience ID to delete. Deleting is permanent and cannot be undone. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a confirmation of the deletion. # Delete Card Source: https://docs.markifact.com/nodes/x_ads/x_ads_delete_card Permanently deletes an X Ads card Permanently deletes an X Ads card. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_delete_card` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the card. | | `card_id` | string or SelectItem | Yes | - | Card ID to delete. Deleting is permanent and cannot be undone. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a confirmation of the deletion. # Delete Do Not Reach List Source: https://docs.markifact.com/nodes/x_ads/x_ads_delete_do_not_reach_list Permanently deletes an X Ads Do Not Reach list, ending suppression for every email on it Permanently deletes an X Ads Do Not Reach list, ending suppression for every email on it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_delete_do_not_reach_list` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the Do Not Reach list. | | `do_not_reach_list_id` | string or SelectItem | Yes | - | Do Not Reach list ID to delete. Deleting is permanent and stops suppressing every email on the list. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a confirmation of the deletion. # Delete Draft Post Source: https://docs.markifact.com/nodes/x_ads/x_ads_delete_draft_post Permanently deletes an X Ads draft post Permanently deletes an X Ads draft post. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_delete_draft_post` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the draft post. | | `draft_post_id` | string or SelectItem | Yes | - | Draft post ID to delete. Deleting is permanent and cannot be undone. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a confirmation of the deletion. # Delete Tracking Tag Source: https://docs.markifact.com/nodes/x_ads/x_ads_delete_tracking_tag Permanently deletes an X Ads tracking tag Permanently deletes an X Ads tracking tag. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_delete_tracking_tag` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the tracking tag. | | `tracking_tag_id` | string or SelectItem | Yes | - | Tracking tag ID to delete. Deleting is permanent and cannot be undone. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a confirmation of the deletion. # Get Account Details Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_account_details Returns an X Ads account with its settings, enabled features, the authenticated user's permission level on it, and the users promotable from it Returns an X Ads account with its settings, enabled features, the authenticated user's permission level on it, and the users promotable from it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_account_details` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to describe. | ## Output **Type**: `Dict` Returns the account object plus features, access permissions, and promotable users. **Fields**: dynamic (depend on the inputs) # Get Account History Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_account_history Retrieves the change history of one X Ads entity (campaign, ad group, ad, targeting criteria, or promoted account), showing what changed and when Retrieves the change history of one X Ads entity (campaign, ad group, ad, targeting criteria, or promoted account), showing what changed and when. This X endpoint is in beta and requires X to allowlist the app, otherwise it returns an access error. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_account_history` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the entity. | | `entity_type` | enum (`CAMPAIGN`, `LINE_ITEM`, `PROMOTED_TWEET`, `TARGETING_CRITERIA`, `PROMOTED_ACCOUNT`) | Yes | - | The kind of entity to retrieve change history for: CAMPAIGN, LINE\_ITEM (ad group), PROMOTED\_TWEET (ad), TARGETING\_CRITERIA, or PROMOTED\_ACCOUNT. | | `entity_id` | string or SelectItem | Yes | - | The specific entity's ID. X returns change history per entity rather than for the whole account. | | `time_range` | string or SelectableOption | No | `{'value': 'last_7_days', 'label': 'Last 7 days'}` | Period to retrieve history for: 'last\_30\_days', 'last\_14\_days', 'last\_7\_days' (default), 'today', or 'yesterday'. | | `limit` | integer | No | `100` | Maximum number of history records to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the change history records for the entity. **Fields**: dynamic (depend on the inputs) # Get Keyword Insights Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_keyword_insights Returns X post volume for a set of keywords plus 30 related keyword suggestions, for planning keyword targeting Returns X post volume for a set of keywords plus 30 related keyword suggestions, for planning keyword targeting. Maximum window is 7 days. Note that X's keyword insights service often responds with a temporary server error; retry later when that happens. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_keyword_insights` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `keywords` | string or array of string | Yes | - | Keywords to look up post volume for (list or comma-separated). All keywords are OR'ed together. X also returns 30 related keyword suggestions. | | `granularity` | enum (`DAY`, `HOUR`) | No | `DAY` | Data point granularity: DAY (default) or HOUR. | | `time_range` | string or SelectableOption | No | `{'value': 'last_7_days', 'label': 'Last 7 days'}` | Period to measure: 'last\_7\_days' (default, X's maximum window), 'last\_3\_days', 'today', or 'yesterday'. | | `negative_keywords` | string or array of string | No | - | Keywords to exclude from the search (list or comma-separated). | | `location` | string | No | - | A location targeting value from x\_ads\_search\_targeting (LOCATION) to scope results to one country. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `Dict` Returns keyword volume data points and related keyword suggestions. **Fields**: dynamic (depend on the inputs) # Get Post Previews Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_post_previews Returns rendered previews of X posts as they will appear when promoted, for published, draft, or scheduled posts Returns rendered previews of X posts as they will appear when promoted, for published, draft, or scheduled posts. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_post_previews` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the posts. | | `post_ids` | string or array of string | Yes | - | Post IDs to preview (list or comma-separated string, up to 200). Take these from the id\_str or tweet\_id field, never a numeric id: X ids are 64-bit and any tool that stores them as a number rounds them into a post that does not exist. | | `tweet_type` | enum (`PUBLISHED`, `DRAFT`, `SCHEDULED`) | No | `PUBLISHED` | The type of the posts being previewed: PUBLISHED (default), DRAFT, or SCHEDULED. | ## Output **Type**: `List[Dict]` Returns a preview per post, each with an embeddable preview HTML fragment. **Fields**: dynamic (depend on the inputs) # Get Reach Report Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_reach_report Retrieves total audience reach and average frequency for X Ads campaigns or funding instruments Retrieves total audience reach and average frequency for X Ads campaigns or funding instruments. These are the only levels X reports true reach at, and they are not available through x\_ads\_get\_report. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_reach_report` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to report on. | | `entity_type` | enum (`CAMPAIGN`, `FUNDING_INSTRUMENT`) | No | `CAMPAIGN` | What to measure reach for: CAMPAIGN (default) or FUNDING\_INSTRUMENT. Reach and average frequency are only available at these two levels. | | `entity_ids` | string or array of string | Yes | - | Campaign or funding instrument IDs to measure (list or comma-separated, up to 20 per run). | | `time_range` | string or SelectableOption | No | `{'value': 'last_7_days', 'label': 'Last 7 days'}` | Period to measure: 'last\_7\_days' (default), 'last\_3\_days', 'today', or 'yesterday'. X caps reach windows at 7 days. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns total\_audience\_reach and average\_frequency per entity. **Fields**: dynamic (depend on the inputs) # Get Report Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_report Retrieves X (Twitter) Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options Retrieves X (Twitter) Ads data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports all reports including Campaigns, Ad Groups, and Ads. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_report` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | array (also accepts a comma-separated string) | Yes | - | A list of accounts to query. Ask the user for it if not provided, or use other tools to fetch the accounts details first. You can select multiple accounts in one go, and if you want to break down the data by account, add 'accountName' to fields. | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If 'pretty\_column\_names' is enabled, keys are formatted (e.g., 'Clicks' instead of 'clicks'). **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "campaignName": "Spring Launch", "clicks": 500, "impressions": 25000, "cost": 200.0, "engagements": 1800 } ] ``` # Get Targeting Suggestions Source: https://docs.markifact.com/nodes/x_ads/x_ads_get_targeting_suggestions Returns X targeting suggestions seeded from keywords or user IDs: related keywords, or similar accounts whose followers can be targeted Returns X targeting suggestions seeded from keywords or user IDs: related keywords, or similar accounts whose followers can be targeted. X's keyword suggestions often respond with a temporary server error, while user ID suggestions are reliable. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_get_targeting_suggestions` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account to request suggestions for. | | `suggestion_type` | enum (`KEYWORD`, `USER_ID`) | No | `KEYWORD` | What to suggest: KEYWORD (default) for related keywords, or USER\_ID for similar accounts to target followers of. | | `seeds` | string or array of string | Yes | - | Seed values to base suggestions on (list or comma-separated): keywords when suggestion\_type is KEYWORD, or X user ids when USER\_ID. The two kinds cannot be mixed. | | `limit` | integer | No | `30` | Maximum number of suggestions to return. Default: 30. | ## Output **Type**: `List[Dict]` Returns suggested keywords or user IDs with their targeting values. **Fields**: dynamic (depend on the inputs) # List Ad Groups Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_ad_groups Lists ad groups (line items) in an X (Twitter) Ads account with full details including objective, bidding, and placements Lists ad groups (line items) in an X (Twitter) Ads account with full details including objective, bidding, and placements. Budgets and bids are returned in X micro-currency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_ad_groups` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose ad groups (line items) should be listed. | | `ad_group_ids` | string or array of string | No | - | Scope to specific ad group (line item) IDs (list or comma-separated string, up to 200). | | `campaign_ids` | string or array of string | No | - | Scope to ad groups under specific campaign IDs (list or comma-separated string, up to 200). | | `funding_instrument_ids` | string or array of string | No | - | Scope to ad groups under specific funding instrument IDs (list or comma-separated string, up to 200). | | `q` | string | No | - | Scope ad groups by name (case-insensitive prefix match, so it matches names that start with this text). | | `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. | | `with_drafts` | boolean | No | `False` | Include draft ad groups. | | `with_deleted` | boolean | No | `False` | Include deleted ad groups. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned ad groups. The available fields to filter by are: - id: Filter by ad group ID - name: Filter by ad group name - campaign\_id: Filter by parent campaign ID - entity\_status: Filter by status (ACTIVE, PAUSED, DRAFT) - objective: Filter by objective Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ad groups to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of X ad groups with full details. **Fields**: dynamic (depend on the inputs) # List Ads Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_ads Lists ads (promoted posts) in an X (Twitter) Ads account, optionally with each promoted post's full post object attached under a 'tweet' key Lists ads (promoted posts) in an X (Twitter) Ads account, optionally with each promoted post's full post object attached under a 'tweet' key. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_ads` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose ads (promoted posts) should be listed. | | `ad_ids` | string or array of string | No | - | Scope to specific ad (promoted tweet) IDs (list or comma-separated string, up to 200). | | `ad_group_ids` | string or array of string | No | - | Scope to ads under specific ad group (line item) IDs (list or comma-separated string, up to 200). | | `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. | | `with_deleted` | boolean | No | `False` | Include deleted ads. | | `include_post_details` | boolean | No | `True` | Attach each promoted post's full post object (text, media, author) under a 'tweet' key, fetched from the account's posts endpoint. Default: true. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned ads. The available fields to filter by are: - id: Filter by ad (promoted tweet) ID - tweet\_id: Filter by the promoted post's ID - line\_item\_id: Filter by parent ad group ID - entity\_status: Filter by status Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of ads to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of X ads with full details. **Fields**: dynamic (depend on the inputs) # List Audience Permissions Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_audience_permissions Lists which ad accounts an X Ads custom audience is shared with, and each permission ID needed to revoke access Lists which ad accounts an X Ads custom audience is shared with, and each permission ID needed to revoke access. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_audience_permissions` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Custom audience ID whose sharing permissions should be listed. | | `limit` | integer | No | `100` | Maximum number of permissions to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the list of audience permissions with their IDs and levels. **Fields**: dynamic (depend on the inputs) # List Audience Usage Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_audience_usage Lists the ad groups and campaigns currently targeting an X Ads custom audience Lists the ad groups and campaigns currently targeting an X Ads custom audience. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_audience_usage` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Custom audience ID to check usage for. | | `active_only` | boolean | No | `True` | Only list ad groups that are currently active (default). Turn off to include inactive ones too. | | `limit` | integer | No | `100` | Maximum number of records to return. Default: 100. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `List[Dict]` Returns the ad groups and campaigns targeting the audience. **Fields**: dynamic (depend on the inputs) # List Audiences Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_audiences Lists custom audiences in an X (Twitter) Ads account with full details including whether each is targetable Lists custom audiences in an X (Twitter) Ads account with full details including whether each is targetable. Audiences need 100+ matched users before they can be targeted. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_audiences` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose custom audiences should be listed. | | `audience_ids` | string or array of string | No | - | Scope to specific audience IDs (list or comma-separated string, up to 200). | | `q` | string | No | - | Scope audiences by name (case-insensitive prefix match, so it matches names that start with this text). | | `permission_scope` | enum (`OWNER`, `SHARED`) | No | - | OWNER (default) lists the account's own audiences; SHARED lists audiences shared with it. | | `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. | | `with_deleted` | boolean | No | `False` | Include deleted audiences. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned audiences. The available fields to filter by are: - id: Filter by audience ID - name: Filter by audience name - audience\_type: Filter by type (CRM, WEB, MOBILE\_AUDIENCE, FLEXIBLE) - targetable: Filter by whether the audience can be targeted (true/false) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of audiences to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of custom audiences with full details. **Fields**: dynamic (depend on the inputs) # List Campaigns Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_campaigns Lists campaigns in an X (Twitter) Ads account with full details Lists campaigns in an X (Twitter) Ads account with full details. Budgets are returned in X micro-currency (divide by 1,000,000 for the account currency). | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_campaigns` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose campaigns should be listed. | | `campaign_ids` | string or array of string | No | - | Scope to specific campaign IDs (list or comma-separated string, up to 200). | | `funding_instrument_ids` | string or array of string | No | - | Scope to campaigns under specific funding instrument IDs (list or comma-separated string, up to 200). | | `q` | string | No | - | Scope campaigns by name (case-insensitive prefix match, so it matches names that start with this text). | | `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. | | `with_drafts` | boolean | No | `False` | Include draft campaigns. | | `with_deleted` | boolean | No | `False` | Include deleted campaigns. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned campaigns. The available fields to filter by are: - id: Filter by campaign ID - name: Filter by campaign name - entity\_status: Filter by status (ACTIVE, PAUSED, DRAFT) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of campaigns to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of X campaigns with full details. **Fields**: dynamic (depend on the inputs) # List Cards Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_cards Lists cards in an X (Twitter) Ads account with their card_uri values, optionally filtered by card type Lists cards in an X (Twitter) Ads account with their card\_uri values, optionally filtered by card type. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_cards` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose cards should be listed. | | `card_types` | array of string or SelectableOption | No | - | Scope to specific card types: IMAGE\_WEBSITE, VIDEO\_WEBSITE, IMAGE\_APP, VIDEO\_APP, the CAROUSEL variants, and the MIXED\_MEDIA variants. | | `card_ids` | string or array of string | No | - | Scope to specific card IDs (list or comma-separated string, up to 200). | | `card_uris` | string or array of string | No | - | Scope to specific card URIs (list or comma-separated string, up to 200). | | `q` | string | No | - | Scope cards by name (case-insensitive prefix match, up to 80 characters). | | `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. | | `include_legacy_cards` | boolean | No | `False` | Include legacy website and app cards created via the old per-type endpoints. | | `with_deleted` | boolean | No | `False` | Include deleted cards. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned cards. The available fields to filter by are: - id: Filter by card ID - name: Filter by card name - card\_type: Filter by card type Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of cards to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of cards with full details. **Fields**: dynamic (depend on the inputs) # List Do Not Reach Lists Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_do_not_reach_lists Lists the Do Not Reach suppression lists in an X Ads account Lists the Do Not Reach suppression lists in an X Ads account. X allows one list per account. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_do_not_reach_lists` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose Do Not Reach list should be listed. | | `with_deleted` | boolean | No | `False` | Include deleted lists. | | `limit` | integer | No | `100` | Maximum number of lists to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns the Do Not Reach lists with their IDs and status. **Fields**: dynamic (depend on the inputs) # List Funding Instruments Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_funding_instruments Lists funding instruments (payment sources) in an X (Twitter) Ads account Lists funding instruments (payment sources) in an X (Twitter) Ads account. Every campaign is created under a funding instrument; use the returned id in x\_ads\_create\_campaign. Funding instruments are read-only and set up at ads.x.com. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_funding_instruments` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose funding instruments should be listed. | | `funding_instrument_ids` | string or array of string | No | - | Scope to specific funding instrument IDs (list or comma-separated string, up to 200). | | `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. | | `with_deleted` | boolean | No | `False` | Include deleted funding instruments. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned funding instruments. The available fields to filter by are: - id: Filter by funding instrument ID - description: Filter by description (the name shown in the X UI) - type: Filter by type (CREDIT\_CARD, CREDIT\_LINE, AGENCY\_CREDIT\_LINE, INSERTION\_ORDER, PARTNER\_MANAGED) - entity\_status: Filter by status Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of funding instruments to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of funding instruments with full details. **Fields**: dynamic (depend on the inputs) # List Media Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_media Lists the media in an X Ads account Media Library with their media_key values, so existing images and videos can be reused in posts and cards Lists the media in an X Ads account Media Library with their media\_key values, so existing images and videos can be reused in posts and cards. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_media` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose Media Library should be listed. | | `media_type` | enum (`IMAGE`, `VIDEO`, `GIF`) | No | - | Only return media of this type: IMAGE, VIDEO, or GIF. | | `q` | string | No | - | Search the name, title, file name and description fields (case-insensitive term matching). | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned media. The available fields to filter by are: - media\_key: Filter by media key - name: Filter by name - file\_name: Filter by file name - media\_type: Filter by type (IMAGE, VIDEO, GIF) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of media items to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of media library items with full details. **Fields**: dynamic (depend on the inputs) # List Posts Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_posts Lists posts in an X (Twitter) Ads account: published, draft, or scheduled, and organic or Promoted-only Lists posts in an X (Twitter) Ads account: published, draft, or scheduled, and organic or Promoted-only. Use the returned post IDs with x\_ads\_create\_ad to promote existing content. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_posts` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose posts should be listed. | | `tweet_type` | enum (`PUBLISHED`, `DRAFT`, `SCHEDULED`) | No | `PUBLISHED` | Which posts to list: PUBLISHED (default), DRAFT, or SCHEDULED. Post IDs from this node can be promoted with x\_ads\_create\_ad. | | `timeline_type` | enum (`ALL`, `NULLCAST`, `ORGANIC`) | No | `ALL` | Which posts to include: ALL (default here), NULLCAST (Promoted-only dark posts), or ORGANIC (posts that appear on the timeline). | | `post_ids` | string or array of string | No | - | Scope to specific post IDs (list or comma-separated string, up to 200). They must match the selected tweet\_type. Take these from the id\_str or tweet\_id field, never a numeric id: X ids are 64-bit and any tool that stores them as a number rounds them into a post that does not exist. | | `user_id` | string | No | - | Only list posts by this X user id. Defaults to all promotable users. | | `name` | string | No | - | Scope to posts whose internal name matches this value. | | `include_mentions_and_replies` | boolean | No | `False` | Include posts that are mentions or replies. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned posts. The available fields to filter by are: - tweet\_id: Filter by post ID - full\_text: Filter by the post's text - name: Filter by the post's internal name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of posts to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of posts with full details including text, media, and metrics. **Fields**: dynamic (depend on the inputs) # List Report Fields Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_report_fields Search and browse available X (Twitter) Ads reporting metrics and dimensions before running reports Search and browse available X (Twitter) Ads reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(cost|video).*'}]. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields. **Fields**: `id`, `name`, `type`, `data_type` # List Targeting Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_targeting Lists the targeting criteria on X Ads ad groups, including each criterion ID needed to remove it with x_ads_set_targeting Lists the targeting criteria on X Ads ad groups, including each criterion ID needed to remove it with x\_ads\_set\_targeting. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_targeting` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad groups. | | `ad_group_ids` | string or array of string | Yes | - | Ad group (line item) IDs whose targeting criteria to list (list or comma-separated string, up to 200). Criterion IDs from this node can be passed to x\_ads\_set\_targeting to remove them. | | `with_deleted` | boolean | No | `False` | Include deleted targeting criteria. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned criteria. The available fields to filter by are: - id: Filter by targeting criterion ID - line\_item\_id: Filter by ad group ID - targeting\_type: Filter by targeting type (BROAD\_KEYWORD, LOCATION, INTEREST, ...) - name: Filter by the criterion's display name Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `1000` | Maximum number of criteria to return. Default: 1000. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of targeting criteria with their IDs, types, and values. **Fields**: dynamic (depend on the inputs) # List Tracking Tags Source: https://docs.markifact.com/nodes/x_ads/x_ads_list_tracking_tags Lists third-party tracking tags on X Ads ad groups Lists third-party tracking tags on X Ads ad groups. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_list_tracking_tags` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose tracking tags should be listed. | | `tracking_tag_ids` | string or array of string | No | - | Scope to specific tracking tag IDs (list or comma-separated, up to 200). | | `ad_group_ids` | string or array of string | No | - | Scope to tags on specific ad group (line item) IDs (list or comma-separated). | | `with_deleted` | boolean | No | `False` | Include deleted tracking tags. | | `filters` | array of FilterItem | No | - | Additional filters applied to the returned tracking tags. The available fields to filter by are: - id: Filter by tracking tag ID - line\_item\_id: Filter by ad group ID - tracking\_tag\_type: Filter by type (IMPRESSION\_TAG, CLICK\_TRACKER) - tracking\_tag\_url: Filter by URL Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | `100` | Maximum number of tracking tags to return. Default: 100. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns the list of tracking tags with their type, URL, and ad group. **Fields**: dynamic (depend on the inputs) # Preview Draft Post Source: https://docs.markifact.com/nodes/x_ads/x_ads_preview_draft_post Sends a preview of an X Ads draft post to a user, who receives it in the X app on their device for review Sends a preview of an X Ads draft post to a user, who receives it in the X app on their device for review. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_preview_draft_post` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the draft post. | | `draft_post_id` | string or SelectItem | Yes | - | Draft post ID to preview. | | `user_id` | string or SelectItem | Yes | - | X user id to send the preview notification to. They receive the draft in the X app on their device. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns X's confirmation that the preview was sent. **Fields**: dynamic (depend on the inputs) # Remove Users From Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_remove_users_from_audience Removes users from an X (Twitter) Ads custom audience, hashing identifiers the same way they were added Removes users from an X (Twitter) Ads custom audience, hashing identifiers the same way they were added. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_remove_users_from_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | X Ads custom audience ID. | | `identifier_type` | enum (`email`, `phone_number`, `device_id`, `handle`, `twitter_id`, `partner_user_id`) | No | `email` | Identifier type for this batch (one type per run): email (default), phone\_number, device\_id, handle, twitter\_id, or partner\_user\_id. Must match the type the users were added with. | | `users` | string or array of string | Yes | - | The identifiers to remove, as a list or comma/newline separated text. Normalized and SHA256-hashed the same way as when adding, so plain values match what was uploaded. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a summary of how many users were submitted for removal. # Rename Ad Group Source: https://docs.markifact.com/nodes/x_ads/x_ads_rename_ad_group Renames X (Twitter) Ads ad groups (line items), one or many at once Renames X (Twitter) Ads ad groups (line items), one or many at once. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_rename_ad_group` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad groups. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | X Ads ad group (line item) ID to rename. Required for single update. | | `new_name` | string | No | - | New ad group name, up to 255 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and new\_name (up to 255 characters). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad groups were renamed. # Rename Campaign Source: https://docs.markifact.com/nodes/x_ads/x_ads_rename_campaign Renames X (Twitter) Ads campaigns, one or many at once Renames X (Twitter) Ads campaigns, one or many at once. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_rename_campaign` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single campaign or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | X Ads campaign ID to rename. Required for single update. | | `new_name` | string | No | - | New campaign name, up to 255 characters. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and new\_name (up to 255 characters). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaigns were renamed. # Search Targeting Source: https://docs.markifact.com/nodes/x_ads/x_ads_search_targeting Searches X Ads targeting values (locations, interests, events, conversation topics, app store categories, network operators, devices, platforms, languages, TV markets and shows) and returns their i... Searches X Ads targeting values (locations, interests, events, conversation topics, app store categories, network operators, devices, platforms, languages, TV markets and shows) and returns their ids for use in x\_ads\_set\_targeting. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_search_targeting` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `target_type` | enum (`LOCATION`, `INTEREST`, `EVENT`, `CONVERSATION`, `APP_STORE_CATEGORY`, `NETWORK_OPERATOR`, `DEVICE`, `PLATFORM`, ...) | Yes | - | What to look up. The returned targeting\_value ids go into x\_ads\_set\_targeting: LOCATION (countries/regions/metros/cities/postal codes), INTEREST, EVENT, CONVERSATION (topics), APP\_STORE\_CATEGORY, NETWORK\_OPERATOR, DEVICE, PLATFORM, PLATFORM\_VERSION, LANGUAGE, TV\_MARKET (locales for TV\_SHOW), or TV\_SHOW. IAB\_CATEGORY is the one extra lookup, feeding the categories field the PUBLISHER\_NETWORK placement requires on ad groups. Keywords and follower lookalikes need no lookup: keywords are free text and FOLLOWERS\_OF\_USER / SIMILAR\_TO\_FOLLOWERS\_OF\_USER take user ids (use x\_ads\_get\_targeting\_suggestions to discover either). | | `query` | string | No | - | Keyword to search by. Returns everything available when omitted. | | `location_type` | enum (`COUNTRIES`, `REGIONS`, `METROS`, `CITIES`, `POSTAL_CODES`) | No | - | LOCATION only: restrict results to one location granularity. | | `country_code` | string | No | - | ISO alpha-2 country code. LOCATION: scope results to the country; NETWORK\_OPERATOR: which country's carriers (default US); EVENT: comma country codes are accepted via this field. | | `event_types` | string or array of string | No | - | EVENT only: event types to include (list or comma-separated): CONFERENCE, HOLIDAY, MUSIC\_AND\_ENTERTAINMENT, OTHER, POLITICS, RECURRING, SPORTS. All types are searched when omitted. | | `conversation_type` | string | No | - | CONVERSATION only: restrict to one conversation type, e.g. BRANDS, SPORTS, MUSIC\_GENRES, TV\_SHOWS, POLITICIANS (see X's conversation type list). | | `os_type` | enum (`ANDROID`, `IOS`) | No | - | APP\_STORE\_CATEGORY only: which store, ANDROID or IOS. | | `locale` | string | No | - | TV\_SHOW only (required): a locale from TV\_MARKET results, e.g. en-US. | | `limit` | integer | No | `100` | Maximum number of targeting values to return. Default: 100. | ## Output **Type**: `List[Dict]` Returns matching targeting values with their targeting\_value ids and names. **Fields**: dynamic (depend on the inputs) # Select Accounts Source: https://docs.markifact.com/nodes/x_ads/x_ads_select_accounts Select X (Twitter) Ads accounts once and reuse them across multiple x_ads_get_report nodes, with no repeated account selection Select X (Twitter) Ads accounts once and reuse them across multiple x\_ads\_get\_report nodes, with no repeated account selection. You can also select and list all available accounts. Skip if you have just one x\_ads\_get\_report, as it already includes its own picker. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_select_accounts` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `selection_mode` | string or SelectableOption | Yes | - | Selection mode for accounts. Available options: 'manual': User can pick accounts from a dropdown in the UI in the node settings. 'all': Select all available accounts the user has access to. 'filter': User can filter accounts by name or ID. | | `accounts` | array (also accepts a comma-separated string) | No | - | List of accounts to select from. If not provided, the user will be prompted to select accounts in the UI. Only use if 'selection\_mode' is 'manual'. The accounts should be in the format: | | `filters` | array of FilterItem | No | - | List of filters to apply to the accounts. Each filter must have a field, operator, and value. Only use if 'selection\_mode' is 'filter'. The only available fields to filter by are: - 'accountName' - 'accountId' Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of accounts to return. If not provided, all accounts will be returned. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of accounts with label (account name) and value (account ID). Note: the output is formatted to be directly used in other nodes that accept account selection inputs, no need for further transformation. **Fields**: `label`, `value` # Set Targeting Source: https://docs.markifact.com/nodes/x_ads/x_ads_set_targeting Adds and removes targeting criteria on an X Ads ad group (keywords, locations, interests, demographics, followers, custom audiences and more) using X's batch endpoint Adds and removes targeting criteria on an X Ads ad group (keywords, locations, interests, demographics, followers, custom audiences and more) using X's batch endpoint. Pass remove ALL together with add to replace the targeting entirely. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_set_targeting` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | Ad group (line item) whose targeting criteria to change. | | `add` | array of object or string | No | - | Targeting criteria to add, as a list of objects matching the X Ads API payload: \[\{"targeting\_type": "...", "targeting\_value": "...", "operator\_type": "EQ"}]. operator\_type defaults to EQ; use NE to exclude (e.g. negated keywords), GTE/LT for AGE style ranges where X documents them. targeting\_type values: BROAD\_KEYWORD, EXACT\_KEYWORD, PHRASE\_KEYWORD, UNORDERED\_KEYWORD (targeting\_value is the keyword text), LOCATION, INTEREST, AGE (e.g. AGE\_25\_TO\_34), GENDER (1 male, 2 female), LANGUAGE, PLATFORM, PLATFORM\_VERSION, DEVICE, WIFI\_ONLY, EVENT, CONVERSATION, ENGAGEMENT\_TYPE, FOLLOWERS\_OF\_USER, SIMILAR\_TO\_FOLLOWERS\_OF\_USER (user ids), CAMPAIGN\_ENGAGEMENT, CAMPAIGN\_ENGAGEMENT\_LOOKALIKE, USER\_ENGAGEMENT, USER\_ENGAGEMENT\_LOOKALIKE, NETWORK\_OPERATOR, NETWORK\_ACTIVATION\_DURATION, TV\_SHOW, LIVE\_TV\_EVENT, CUSTOM\_AUDIENCE, CUSTOM\_AUDIENCE\_EXPANDED, APP\_STORE\_CATEGORY, APP\_STORE\_CATEGORY\_LOOKALIKE, APP\_LIST (NE only). Use x\_ads\_search\_targeting to find ids for LOCATION, INTEREST, EVENT, CONVERSATION, DEVICE, PLATFORM, LANGUAGE, TV\_SHOW and the like. Example: \[\{"targeting\_type": "BROAD\_KEYWORD", "targeting\_value": "marketing analytics"}, \{"targeting\_type": "LOCATION", "targeting\_value": "96683cc9126741d1"}] | | `remove` | string or array of string | No | - | Targeting criterion IDs to delete (list or comma-separated), from this node's output or a previous run. Pass the single value ALL to remove every existing criterion, which combined with add replaces the ad group's targeting. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns counts of added/removed criteria and the ad group's resulting targeting criteria with their ids. **Fields**: dynamic (depend on the inputs) # Share Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_share_audience Shares an X Ads custom audience with another ad account, read-only or read-write Shares an X Ads custom audience with another ad account, read-only or read-write. Both accounts must belong to X business organizations, otherwise X rejects the request. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_share_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Custom audience ID to share. | | `granted_account_id` | string | Yes | - | The X Ads account ID to grant access to. Must be a different account: X rejects sharing an audience back to the account that owns it. | | `permission_level` | enum (`READ_ONLY`, `READ_WRITE`) | No | `READ_ONLY` | Access to grant: READ\_ONLY (default, the other account can target the audience) or READ\_WRITE (it can also modify members). | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the created audience permission. **Fields**: dynamic (depend on the inputs) # Unshare Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_unshare_audience Revokes another ad account's access to an X Ads custom audience Revokes another ad account's access to an X Ads custom audience. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_unshare_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | Custom audience ID the permission belongs to. | | `permission_id` | string or SelectItem | Yes | - | Audience permission ID to revoke. Find it with x\_ads\_list\_audience\_permissions. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `String` Returns a confirmation that the permission was revoked. # Update Ad Group Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_ad_group Updates an X (Twitter) Ads ad group (line item) with a raw fields payload; only provided fields are changed Updates an X (Twitter) Ads ad group (line item) with a raw fields payload; only provided fields are changed. Covers bidding, goals, budgets, schedule, pacing, frequency caps, and app identifiers. Prefer the dedicated status/rename/budget operations for plain changes. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_ad_group` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad group. | | `ad_group_id` | string or SelectItem | Yes | - | X Ads ad group (line item) ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Ad group fields to update as a JSON object; only the fields you include are changed, and a null value unsets an optional attribute. Editable fields per the X Ads docs: name, entity\_status (ACTIVE or PAUSED), start\_time and end\_time (ISO 8601), bid\_strategy (AUTO, MAX, TARGET), bid\_amount\_local\_micro (raw micro-currency integer, required for MAX or TARGET), goal, pay\_by, daily\_budget\_amount\_local\_micro, total\_budget\_amount\_local\_micro, standard\_delivery (true = even pacing), frequency\_cap with duration\_in\_days (1, 7, or 30), audience\_expansion (BROAD, DEFINED, EXPANDED), categories, advertiser\_domain, android\_app\_store\_identifier, ios\_app\_store\_identifier, and primary\_web\_event\_tag. Prefer the dedicated operations for plain changes: x\_ads\_update\_ad\_group\_status, x\_ads\_rename\_ad\_group, x\_ads\_update\_ad\_group\_budget. Example: \{"bid\_strategy": "MAX", "bid\_amount\_local\_micro": 2000000, "end\_time": "2026-09-30T00:00:00Z"} | | `dry_run` | boolean | No | `False` | When true, do not call X. Return the resolved request parameters for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields, resolved request parameters, and the updated ad group object. **Fields**: dynamic (depend on the inputs) # Update Ad Group Budget Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_ad_group_budget Updates the daily or total budget of X (Twitter) Ads ad groups (line items), one or many at once Updates the daily or total budget of X (Twitter) Ads ad groups (line items), one or many at once. Amounts are entered in the ad account currency and converted to micro-currency automatically. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_ad_group_budget` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad groups. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group budget or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | X Ads ad group (line item) ID to update. Required for single update. | | `budget_type` | string or SelectableOption | No | `{'value': 'daily', 'label': 'Daily'}` | Which budget to update: daily (sent as daily\_budget\_amount\_local\_micro) or total (sent as total\_budget\_amount\_local\_micro). Default: daily. | | `budget_value` | number | No | - | New budget in the ad account's currency (for example 50 for \$50), converted to X micro-currency automatically. The daily budget must not exceed the ad group's total budget. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and budget\_value (account currency). Optional column: budget\_type (daily or total; default daily). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad group budgets were updated. # Update Ad Group Status Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_ad_group_status Activates, pauses, or permanently deletes X (Twitter) Ads ad groups (line items), one or many at once Activates, pauses, or permanently deletes X (Twitter) Ads ad groups (line items), one or many at once. DELETED cannot be undone. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_ad_group_status` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ad groups. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad group or multiple at once. Options: single or bulk. | | `ad_group_id` | string or SelectItem | No | - | X Ads ad group (line item) ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad group status: ACTIVE, PAUSED, or DELETED. DELETED permanently deletes the ad group via the X DELETE endpoint and cannot be undone. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_group\_id and status (ACTIVE, PAUSED, or DELETED; DELETED permanently deletes). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ad groups were updated. # Update Ad Status Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_ad_status Permanently deletes X (Twitter) ads (promoted posts), one or many at once Permanently deletes X (Twitter) ads (promoted posts), one or many at once. X has no pause for ads, so DELETED is the only supported status; re-promote the post with x\_ads\_create\_ad to resume it. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_ad_status` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the ads. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad or multiple at once. Options: single or bulk. | | `ad_id` | string or SelectItem | No | - | X Ads ad (promoted tweet) ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New ad status. X only supports DELETED for ads: the post is detached from its ad group permanently (shown as Paused in the X UI) and this cannot be undone. To resume, promote the same post again with x\_ads\_create\_ad. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: ad\_id and status (only DELETED is supported; it permanently detaches the post). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many ads were updated. # Update Audience Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_audience Renames an X (Twitter) Ads custom audience or updates its description; X allows no other audience edits Renames an X (Twitter) Ads custom audience or updates its description; X allows no other audience edits. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_audience` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the audience. | | `audience_id` | string or SelectItem | Yes | - | X Ads custom audience ID to update. | | `name` | string | No | - | New audience name; must be unique within the account. | | `description` | string | No | - | New audience description. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated audience with full details. **Fields**: dynamic (depend on the inputs) # Update Campaign Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_campaign Updates an X (Twitter) Ads campaign with a raw fields payload; only provided fields are changed Updates an X (Twitter) Ads campaign with a raw fields payload; only provided fields are changed. Prefer x\_ads\_update\_campaign\_status, x\_ads\_rename\_campaign, and x\_ads\_update\_campaign\_budget for plain changes. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_campaign` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the campaign. | | `campaign_id` | string or SelectItem | Yes | - | X Ads campaign ID to update. Do not repeat it inside update\_payload. | | `update_payload` | object or string | Yes | - | Campaign fields to update as a JSON object; only the fields you include are changed, and a null value unsets an optional attribute. Editable fields per the X Ads docs: name (up to 255 chars), entity\_status (ACTIVE or PAUSED), daily\_budget\_amount\_local\_micro and total\_budget\_amount\_local\_micro (raw micro-currency integers, e.g. 5500000 = 5.50 in the account currency), and purchase\_order\_number (up to 50 chars). Prefer the dedicated operations for plain changes: x\_ads\_update\_campaign\_status, x\_ads\_rename\_campaign, x\_ads\_update\_campaign\_budget. Example: \{"total\_budget\_amount\_local\_micro": 100000000, "purchase\_order\_number": "PO-123"} | | `dry_run` | boolean | No | `False` | When true, do not call X. Return the resolved request parameters for review. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated fields, resolved request parameters, and the updated campaign object. **Fields**: dynamic (depend on the inputs) # Update Campaign Budget Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_campaign_budget Updates the daily or total budget of X (Twitter) Ads campaigns, one or many at once Updates the daily or total budget of X (Twitter) Ads campaigns, one or many at once. Amounts are entered in the ad account currency and converted to micro-currency automatically. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_campaign_budget` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign budget or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | X Ads campaign ID to update. Required for single update. | | `budget_type` | string or SelectableOption | No | `{'value': 'daily', 'label': 'Daily'}` | Which budget to update: daily (sent as daily\_budget\_amount\_local\_micro) or total (sent as total\_budget\_amount\_local\_micro). Default: daily. | | `budget_value` | number | No | - | New budget in the ad account's currency (for example 50 for \$50), converted to X micro-currency automatically. The daily budget must not exceed the campaign's total budget. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and budget\_value (account currency). Optional column: budget\_type (daily or total; default daily). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaign budgets were updated. # Update Campaign Status Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_campaign_status Activates, pauses, or permanently deletes X (Twitter) Ads campaigns, one or many at once Activates, pauses, or permanently deletes X (Twitter) Ads campaigns, one or many at once. DELETED cannot be undone. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_campaign_status` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the campaigns. | | `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single campaign or multiple at once. Options: single or bulk. | | `campaign_id` | string or SelectItem | No | - | X Ads campaign ID to update. Required for single update. | | `status` | string or SelectableOption | No | - | New campaign status: ACTIVE, PAUSED, or DELETED. DELETED permanently deletes the campaign via the X DELETE endpoint and cannot be undone. Required for single update. | | `structured_data` | array (also accepts a comma-separated string) | No | - | Use only when update\_type is bulk. Required columns: campaign\_id and status (ACTIVE, PAUSED, or DELETED; DELETED permanently deletes). Up to 100 rows. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `String` Returns a summary of how many campaigns were updated. # Update Draft Post Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_draft_post Updates an X Ads draft post: its text, media, card, name, or Promoted-only flag Updates an X Ads draft post: its text, media, card, name, or Promoted-only flag. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_draft_post` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the draft post. | | `draft_post_id` | string or SelectItem | Yes | - | Draft post ID to update. Find it with x\_ads\_list\_posts using tweet\_type DRAFT. | | `text` | string | No | - | New text for the draft. | | `media_urls` | string or array of string | No | - | Media to upload and attach, replacing the current media (list or comma-separated). Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. Use this OR media\_keys. | | `media_keys` | string or array of string | No | - | Already-uploaded media keys to attach, replacing the current media. | | `card_uri` | string | No | - | Card to attach, replacing the current one. A card already carries its own image or video, so do not also pass media\_urls or media\_keys: X accepts a post with both but then refuses to promote it. | | `nullcast` | boolean | No | - | Whether the draft publishes as Promoted-only. | | `name` | string | No | - | New internal name for the draft, up to 80 characters. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated draft post with full details. **Fields**: dynamic (depend on the inputs) # Update Tracking Tag Source: https://docs.markifact.com/nodes/x_ads/x_ads_update_tracking_tag Updates the URL of an X Ads tracking tag Updates the URL of an X Ads tracking tag. X only allows the URL to change; recreate the tag to change its type or ad group. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_update_tracking_tag` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the tracking tag. | | `tracking_tag_id` | string or SelectItem | Yes | - | Tracking tag ID to update. Find it with x\_ads\_list\_tracking\_tags. | | `tracking_tag_url` | string | Yes | - | The new third-party tracking URL, the only field X allows changing. Must be a Google Campaign Manager (DCM) tag whose URL carries the tag id in its dc\_trk\_cid parameter. | ### SelectItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | The value of the selectable item. | | `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. | ## Output **Type**: `Dict` Returns the updated tracking tag. **Fields**: dynamic (depend on the inputs) # Upload Media Source: https://docs.markifact.com/nodes/x_ads/x_ads_upload_media Uploads an image or video from a URL to X and registers it in the ads account's Media Library Uploads an image or video from a URL to X and registers it in the ads account's Media Library. Videos are processed asynchronously and the node waits until X finishes. Use the returned media\_key in x\_ads\_create\_post. | | | | - | - | | **App** | X Ads | | **Operation ID** | `x_ads_upload_media` | | **Type** | Action | | **Connection** | `x_ads` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | | **Requires approval** | Yes (write operation) | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `account` | DynamicAccount | Yes | - | Select the X Ads account whose Media Library receives the file. | | `image_url` | string | No | - | Image to upload. Provide an image or a video, not both. Accepts jpg, png, webp or gif, up to 3MB when the image is used on a card. Give a direct URL, a Google Drive share link (set to 'Anyone with the link'), or a file uploaded through Markifact. Returns a media\_key to reference from the post and ad nodes. | | `video_url` | string | No | - | Video to upload. Provide an image or a video, not both. Accepts mp4 or mov, up to 10 minutes and 500MB, from a direct URL, a Google Drive share link (set to 'Anyone with the link'), or a file uploaded through Markifact. Uploaded in chunks and awaited until X finishes processing, as amplify\_video, the category promoted video requires. | | `media_category` | enum (`tweet_image`, `tweet_gif`, `tweet_video`, `amplify_video`) | No | - | Overrides the upload category, which is otherwise detected from the file (images become tweet\_image/tweet\_gif, videos become amplify\_video, which promoted video requires). | | `name` | string | No | - | Name shown in the Media Library, up to 100 characters. | | `file_name` | string | No | - | File name shown in the Media Library, up to 255 characters. | | `title` | string | No | - | Video only: title rendered with the video, up to 70 characters. | | `description` | string | No | - | Video only: description rendered under the video, up to 200 characters. | | `poster_media_key` | string | No | - | Video only: media\_key of an uploaded image to use as the poster frame. | ## Output **Type**: `Dict` Returns the media\_key, media\_id, and the Media Library item. **Fields**: dynamic (depend on the inputs) # Custom YouTube App Source: https://docs.markifact.com/nodes/youtube/youtube_custom_app Connect YouTube through your own Google Cloud app (white-label) by pasting your client ID, client secret, and a refresh token. Markifact supports two ways to connect YouTube: using the built-in **Markifact app** (Quick Connect) or connecting through your own **Google Cloud app** (Custom App). With a custom app, every request Markifact makes runs under your app in the channel's third-party access list, so your clients never see Markifact. > [!NOTE] > > Custom app connections are available on the **Team** plan. See [White-label Connections](/core-concepts/white-label-connections) for the overview. *** ## What You Need | Item | Value | | :- | :- | | **Scope** | `https://www.googleapis.com/auth/yt-analytics.readonly` | | **APIs to enable** | YouTube Analytics API | | **Google account for the token** | the Google account (or Brand Account) that owns the YouTube channel you want to report on | If the channel lives on a Brand Account, pick that Brand Account on the Google sign-in screen when minting the token, otherwise the token reports on the wrong channel. > [card] [Create the app and mint the refresh token](/core-concepts/custom-google-app) > > The Google Cloud setup (project, consent screen, OAuth client, OAuth Playground) is the same for every Google channel and lives on one page. *** ## Connect to Markifact **1. Open the Custom App tab** Go to the [Connections](https://app.markifact.com/connections) page, click **Connect** on **YouTube**, and select the **Custom App (White-label)** tab. **2. Name the connection** Enter a **Connection Name** (for example "Acme Agency YouTube"). This is how the connection appears in nodes, agents, and MCP. **3. Paste your credentials** Paste the **Client ID**, **Client Secret**, and **Refresh Token** from your Google Cloud app. **4. Verify & Connect** Markifact refreshes an access token with your client and makes one read-only call to the YouTube Analytics API. Nothing is saved unless both succeed. Custom app connections show a **Custom app** badge on the Connections page and work everywhere a Quick Connect connection works. *** ## Rotating or Replacing the Token Add the connection again with the **same connection name** and the new refresh token. Markifact replaces the stored credentials in place, so workflows and agents bound to the connection keep working. *** ## Troubleshooting > [accordion] Reports are empty or for the wrong channel > > The token was minted for a personal Google account rather than the Brand Account that owns the channel. Mint it again and choose the Brand Account on the account picker. > [accordion] Client, token or scope errors > > See the shared [Custom Google Cloud App](/core-concepts/custom-google-app#troubleshooting) troubleshooting for `invalid_client`, `invalid_grant`, missing scopes and APIs that are not enabled. *** ## Related > [card] [Custom Google Cloud App](/core-concepts/custom-google-app) > > Create the app and mint a refresh token > [card] [Get Report](/nodes/youtube/youtube_get_report) > > Pull YouTube channel and video analytics # Get Report Source: https://docs.markifact.com/nodes/youtube/youtube_get_report Retrieves organic YouTube analytics for the connected channel: views, watch time, average view duration, likes, comments, shares, subscribers gained or lost, card and playlist metrics, plus the cha... Retrieves organic YouTube analytics for the connected channel: views, watch time, average view duration, likes, comments, shares, subscribers gained or lost, card and playlist metrics, plus the channel's lifetime totals (total subscribers, all time views, video count). Break the channel down by date, week, month, video, country, US state, city, traffic source, search terms, suggested-from video, external site, embedded site, playback location, device, operating system, subscribed status, sharing service, age group, gender, or the retention curve. Pair Video with any of those to get it per video, for example the traffic sources or search terms behind each video. Revenue needs a monetary scope Markifact does not request. | | | | - | - | | **App** | YouTube | | **Operation ID** | `youtube_get_report` | | **Type** | Action | | **Connection** | `youtube` (required) | | **Credits per run** | 1 | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `accounts` | null | No | - | | | `date_range` | DateRange | Yes | - | Date range for the report. Options: - Use preset='FIXED' with start/end dates (YYYY-MM-DD) for specific date ranges - Use preset='CUSTOM' with start/end dynamic values (\{\{nodeId\_\_data.start\_date}}) for dates from other nodes - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined ranges When using 'FIXED' or 'CUSTOM' presets, both start and end fields are required. For other presets, start and end will be ignored and calculated automatically. | | `metrics` | array of string or SelectableOption | Yes | - | List of metrics to query. Don't try to guess metric names, use the relevant tool to discover available metrics or prompt user to browse metrics in the UI. | | `dimensions` | array of string or SelectableOption | No | - | List of dimensions to query. Don't try to guess dimension names, use the relevant tool to discover available dimensions or prompt user to browse dimensions in the UI. | | `filters` | array of FilterItem | No | - | List of filters to apply to the report. Each filter must have a field, operator, and value. Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `orders` | array of OrderItem | No | - | List of fields to sort the report by. Each order must have a `field` and `direction`. The field must be one of the current selected metrics or dimensions. | | `limit` | integer | No | - | The maximum number of rows to return. | | `options` | ReportOptions | No | - | Additional options for the report. | ### DateRange | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. | | `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. | | `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. If one period has no data at all, only the period with data is returned and no delta row; treat the missing period as zero. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### OrderItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. | | `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' | ### ReportOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `pretty_column_names` | boolean | No | - | whether to use pretty column names in the report (e.g., 'Clicks' instead of 'clicks'). | | `show_percent_sign` | boolean | No | - | whether to show percent sign for percentage metrics (e.g., '58%' instead of '0.58'). | | `currency_symbol` | string | No | - | the currency symbol to use for monetary values (e.g., '\$'). | | `compact_numbers` | boolean | No | - | whether to use compact number format (e.g., '1K') and round decimals. Takes priority over thousand\_separators. | | `thousand_separators` | boolean | No | - | whether to format numbers with thousand separators (e.g., '105,878') and round decimals. Ignored if compact\_numbers is enabled. | | `pivot_dimensions` | array of string | No | - | the dimensions to pivot the report on. Must be one of the current selected dimensions. | | `include_zero_impressions` | boolean | No | - | whether to include zero impressions in the report. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ### CompareOptions | Field | Type | Required | Default | Description | | - | - | - | - | - | | `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. | | `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. | | `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. | | `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' | ## Output **Type**: `List[Dict]` Returns list of rows, one per combination of the selected dimensions, or a single totals row when no dimension is selected. **Fields**: dynamic (depend on the inputs) **Example**: ```json theme={"dark"} [ { "date": "2026-08-10", "views": 5120, "estimated_minutes_watched": 8430.5, "subscribers_gained": 42 } ] ``` # List Report Fields Source: https://docs.markifact.com/nodes/youtube/youtube_list_report_fields Search and browse available YouTube reporting metrics and dimensions before running reports Search and browse available YouTube reporting metrics and dimensions before running reports. Use filters to search fields by name or ID e.g \[\{'field':'id','operator':'REGEXP\_MATCH','value':'.*(view|subscriber).*'}]. | | | | - | - | | **App** | YouTube | | **Operation ID** | `youtube_list_report_fields` | | **Type** | Action | | **Connection** | None | | **Credits per run** | Free | | **Agent / MCP tool** | Yes | ## Inputs | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field_type` | string or SelectableOption | No | `all` | Filter by field type: 'all', 'dimension', or 'metric'. Default is 'all'. | | `filters` | array of FilterItem | No | - | Use this to search fields by name or ID. Each filter must have a field, operator, and value. Available fields to filter by are: - 'id': The field ID \[\{"field":"id","operator":"REGEXP\_MATCH","value":".*(session\|user).*"}] - 'name': The field name \[\{"field":"name","operator":"CONTAINS","value":"session"}] Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. | | `limit` | integer | No | - | The maximum number of fields to return. Set it to avoid too many results. | ### FilterItem | Field | Type | Required | Default | Description | | - | - | - | - | - | | `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. | | `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' | | `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. | ### SelectableOption | Field | Type | Required | Default | Description | | - | - | - | - | - | | `value` | string | Yes | - | | | `label` | string | Yes | - | | ## Output **Type**: `List[Dict]` Returns list of available report fields with their type and data type. **Fields**: `id`, `name`, `type`, `data_type`, `level` **Example**: ```json theme={"dark"} [ { "id": "views", "name": "Views", "type": "metric", "data_type": "int" } ] ``` # Quickstart Source: https://docs.markifact.com/quickstart Build your first automated marketing workflow in under 10 minutes using Markifact. In this quickstart, you’ll build a simple but powerful 4-node workflow: > Run every day → Pull Google Analytics data → Analyze with AI → Email the insights No code. Just drag, connect, and configure. *** ## Step 1: Create a New Workflow 1. Go to your **Workflows** tab. 2. Click **+ New Workflow**. 3. Give it a name like `Daily Analytics Report`. ![empty-workflow](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/quickstart/empty-workflow.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=d64caab9f84500d7431128d13a5d6617) *** ## Step 2: Add a Scheduler Trigger 1. Click **Add Node**, then choose **Scheduler**. 2. Set it to run **daily at 9:00 AM** (or any time you prefer). This will start the workflow every day at your chosen time. ![scheduler-trigger](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/quickstart/scheduler-trigger.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=ade866ea030ca5bb56a4ba1bea980665) *** ## Step 3: Pull Google Analytics Data 1. Click **+** to add the next node. 2. Search for **Google Analytics → Get Report**. 3. Select your connected Google account. 4. Choose the property and metrics (like sessions, bounce rate, users). 5. Set the date range to **"Yesterday"**. ![Google Analytics node](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/quickstart/ga4-get-report.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=38807ff92170d0e3ddce5cc6eefc687d) *** ## Step 4: Analyze the Data with AI 1. Add the next node: **AI → Analyze Data**. 2. In the **Data** section, select the output from the previous **Get Report** node. Here's what it looks like: ![Selecting previous step data](https://mintcdn.com/markifact/Ljk8anYBzOzZ898C/images/quickstart/analyze-data-input.png?fit=max\&auto=format\&n=Ljk8anYBzOzZ898C\&q=85\&s=7ab03f0382ca02f81eeb8f857936ad49) 3. Use a prompt like:\ `"Give me a short summary of the key metrics and any anomalies or trends worth noting."` 4. Set output format to **Markdown**. 5. Save the node. *** ## Step 5: Send an Email 1. Add the final node: **Email → Send Email**. 2. In the **Body**, insert the AI output from the previous step using the dynamic variable selector. 3. Set the subject to something like `Daily Website Performance Summary`. 4. Choose the recipient email (you or your team). ![Email node](https://mintcdn.com/markifact/s418riJ1kIvXeqdE/images/quickstart/send-email.png?fit=max\&auto=format\&n=s418riJ1kIvXeqdE\&q=85\&s=8b70c282bddbb73d39844d2a5bc1d2b0) *** ## Step 6: Activate Your Workflow Click **Activate** switch in the top right. Your first workflow is now live. You can run it manually to test by clicking the **Run** button. Each morning, you’ll get a clean, AI-generated summary of your site’s performance in your inbox—no manual work needed. *** Want to build more? Explore [Workflow Templates →](https://www.markifact.com/templates)