{ "openapi": "3.1.2", "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema", "info": { "title": "Adyntel Universal API", "version": "0.0.6", "description": "Adyntel provides ad intelligence endpoints for Facebook, Google, LinkedIn, TikTok, Google Shopping, and domain keyword analysis." }, "servers": [ { "url": "https://connect.mindcloud.co" } ], "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest" }, "security": [ { "bearerAuth": [] } ], "paths": { "/v1/universal/adyntelAPI/latest/actions/get-domain-keywords": { "get": { "operationId": "adyntelAPI.get-domain-keywords", "summary": "Get Domain Keywords", "description": "Retrieves paid and organic keywords for a domain in Adyntel.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/get-domain-keywords" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "companyDomain", "in": "query", "required": true, "description": "Company website without www or http.", "schema": { "type": "string", "description": "Company website without www or http.", "example": "clay.com" } }, { "name": "language", "in": "query", "required": false, "description": "Language for keyword results.", "schema": { "type": "string", "description": "Language for keyword results.", "default": "English" } }, { "name": "limit", "in": "query", "required": false, "description": "Number of results to return.", "schema": { "type": "number", "description": "Number of results to return.", "default": 1 } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "organic": { "type": "object", "additionalProperties": true }, "organic_percentages": { "type": "object", "additionalProperties": true }, "paid": { "type": "object", "additionalProperties": true }, "paid_percentages": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/get-google-shopping-status": { "get": { "operationId": "adyntelAPI.get-google-shopping-status", "summary": "Get Google Shopping Status", "description": "Retrieves Google Shopping search results from Adyntel by search ID.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/get-google-shopping-status" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "id", "in": "query", "required": true, "description": "Request ID returned by the initial Google Shopping action.", "schema": { "type": "string", "description": "Request ID returned by the initial Google Shopping action.", "example": "task-id" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "ads": { "type": "array", "items": { "type": "object", "additionalProperties": true } } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/get-tik-tok-ad-details": { "get": { "operationId": "adyntelAPI.get-tik-tok-ad-details", "summary": "Get TikTok Ad Details", "description": "Retrieves TikTok ad details from Adyntel by ad ID.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/get-tik-tok-ad-details" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "id", "in": "query", "required": true, "description": "TikTok ad ID.", "schema": { "type": "string", "description": "TikTok ad ID.", "example": "74827364827364" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "number" }, "data": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/list-facebook-and-instagram-ads": { "get": { "operationId": "adyntelAPI.list-facebook-and-instagram-ads", "summary": "List Facebook and Instagram Ads", "description": "Retrieves Facebook and Instagram ads from Adyntel by company or page.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/list-facebook-and-instagram-ads" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "facebookUrl", "in": "query", "required": false, "description": "Facebook page URL starting with https://.", "schema": { "type": "string", "description": "Facebook page URL starting with https://.", "example": "https://facebook.com/shopify" } }, { "name": "companyDomain", "in": "query", "required": false, "description": "Company website.", "schema": { "type": "string", "description": "Company website.", "example": "shopify.com" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "active_status": { "type": "string" }, "continuation_token": { "type": "string" }, "count_landing_pages": { "type": "number" }, "country_code": { "type": "string" }, "is_result_complete": { "type": "boolean" }, "media_types": { "type": "string" }, "number_of_ads": { "type": "number" }, "page_id": { "type": "string" }, "platform": { "type": "array", "items": { "type": "string" } }, "results": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "sort_data": { "type": "string" }, "unique_landing_pages": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/list-google-ads": { "get": { "operationId": "adyntelAPI.list-google-ads", "summary": "List Google Ads", "description": "Retrieves Google ads from Adyntel by company domain.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/list-google-ads" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "companyDomain", "in": "query", "required": true, "description": "Company website.", "schema": { "type": "string", "description": "Company website.", "example": "shopify.com" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "ads": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "continuation_token": { "type": "string" }, "country_code": { "type": "string" }, "total_ad_count": { "type": "number" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/list-google-shopping-ads": { "get": { "operationId": "adyntelAPI.list-google-shopping-ads", "summary": "List Google Shopping Ads", "description": "Starts a Google Shopping ad search in Adyntel by company domain.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/list-google-shopping-ads" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "companyDomain", "in": "query", "required": true, "description": "Company website.", "schema": { "type": "string", "description": "Company website.", "example": "shopify.com" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/list-linked-in-ads": { "get": { "operationId": "adyntelAPI.list-linked-in-ads", "summary": "List LinkedIn Ads", "description": "Retrieves LinkedIn ads from Adyntel by company domain.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/list-linked-in-ads" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "linkedinPageId", "in": "query", "required": false, "description": "LinkedIn page ID.", "schema": { "type": "string", "description": "LinkedIn page ID.", "example": "15564" } }, { "name": "companyDomain", "in": "query", "required": false, "description": "Company website.", "schema": { "type": "string", "description": "Company website.", "example": "shopify.com" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "ads": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "continuation_token": { "type": "string" }, "is_last_page": { "type": "boolean" }, "page_id": { "type": "string" }, "total_ads": { "type": "number" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/search-linked-in-ads-by-keyword": { "get": { "operationId": "adyntelAPI.search-linked-in-ads-by-keyword", "summary": "Search LinkedIn Ads by Keyword", "description": "Finds LinkedIn ads in Adyntel by keyword.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/search-linked-in-ads-by-keyword" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "keyword", "in": "query", "required": true, "description": "Keyword to search in the LinkedIn Ad Library.", "schema": { "type": "string", "description": "Keyword to search in the LinkedIn Ad Library.", "example": "shopify" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "ads": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "continuation_token": { "type": "string" }, "has_more": { "type": "boolean" }, "total_ads": { "type": "number" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/search-meta-ads-by-keyword": { "get": { "operationId": "adyntelAPI.search-meta-ads-by-keyword", "summary": "Search Meta Ads by Keyword", "description": "Finds Meta ads in Adyntel by keyword.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/search-meta-ads-by-keyword" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "keyword", "in": "query", "required": true, "description": "Keyword to search in the Meta Ad Library.", "schema": { "type": "string", "description": "Keyword to search in the Meta Ad Library.", "example": "shopify", "default": "shopify" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "active_status": { "type": "string" }, "ad_type": { "type": "string" }, "continuation_token": { "type": "string" }, "country_code": { "type": "string" }, "is_result_complete": { "type": "boolean" }, "media_types": { "type": "string" }, "number_of_ads": { "type": "number" }, "platform": { "type": "string" }, "query": { "type": "string" }, "results": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "search_type": { "type": "string" }, "start_max_date": { "type": "string" }, "start_min_date": { "type": "string" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } }, "/v1/universal/adyntelAPI/latest/actions/search-tik-tok-ads": { "get": { "operationId": "adyntelAPI.search-tik-tok-ads", "summary": "Search TikTok Ads", "description": "Finds TikTok ads in Adyntel by keyword.", "externalDocs": { "url": "https://mindcloud.co/docs/universal/rest/adyntelAPI/latest/actions/search-tik-tok-ads" }, "security": [ { "bearerAuth": [] } ], "parameters": [ { "name": "connectionId", "in": "query", "required": true, "description": "The MindCloud connection ID for this app.", "schema": { "type": "string" } }, { "name": "keyword", "in": "query", "required": true, "description": "Search query for the TikTok ad library.", "schema": { "type": "string", "description": "Search query for the TikTok ad library.", "example": "shopify" } }, { "name": "fields", "in": "query", "required": false, "description": "Comma-separated response fields to include.", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "data", "meta" ], "properties": { "success": { "type": "boolean", "const": true }, "data": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "number" }, "data": { "type": "array", "items": { "type": "object", "additionalProperties": true } }, "has_more": { "type": "boolean" }, "search_id": { "type": "string" }, "total": { "type": "number" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } }, "additionalProperties": false } } } }, "400": { "description": "The request is invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "401": { "description": "The MindCloud API key is missing or invalid.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "403": { "description": "The API key or connection cannot access this action.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } }, "500": { "description": "The action failed unexpectedly.", "content": { "application/json": { "schema": { "type": "object", "required": [ "success", "code", "message" ], "properties": { "success": { "type": "boolean", "const": false }, "code": { "type": "string" }, "message": { "type": "string" } }, "additionalProperties": false } } } } } } } }, "components": { "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer", "description": "A MindCloud API key." } } } }