Linkedin Ads
linkedin_adsLinkedIn Marketing and Advertising API for managing ad campaigns, analytics, and organization social content
Acciones disponibles (28)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Ad AccountLINKEDIN_ADS_CREATE_AD_ACCOUNTAcciónTool to create a new LinkedIn ad account for campaign management. Use when setting up advertising infrastructure for an organization or person. The account type must be BUSINESS (ENTERPRISE is reserved for LinkedIn internal use). The Ad Account ID is returned in the response on success.
LINKEDIN_ADS_CREATE_AD_ACCOUNTAcciónTool to create a new LinkedIn ad account for campaign management. Use when setting up advertising infrastructure for an organization or person. The account type must be BUSINESS (ENTERPRISE is reserved for LinkedIn internal use). The Ad Account ID is returned in the response on success.
Parámetros de entrada
namestringObligatorioA label for the account (required)
testbooleanFlag showing whether this account is marked as a test account. An account can be marked as test only during creation. This is an immutable field. Test accounts are useful for development and demos - ads are not served and not billed.
typestringObligatorioenumAccount type. BUSINESS is the only value allowed when creating accounts through the API. ENTERPRISE is reserved for accounts created by LinkedIn's internal systems.
BUSINESSENTERPRISEcurrencystringThe 3 character standard currency code such as USD for United States Dollar. Default is USD.
referencestringObligatorioThe entity URN on whose behalf the account is advertised. Must be in the format urn:li:person:{id} or urn:li:organization:{id}
notifiedOnEndOfCampaignbooleanIndicates if the campaign contact is notified when an associated campaign has been completed
notifiedOnCreativeApprovalbooleanIndicates if the creative contact is notified when a creative has been reviewed and approved
notifiedOnCreativeRejectionbooleanIndicates if the creative contact is notified when a creative has been rejected due to content
notifiedOnNewFeaturesEnabledbooleanIndicates if the account owner is notified about new Campaign Manager features
notifiedOnCampaignOptimizationbooleanIndicates if the campaign contact is notified about campaign optimization opportunities
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Lead FormLINKEDIN_ADS_CREATE_LEAD_FORMAcciónTool to create a new LinkedIn lead generation form for ads. Use when you need to create forms to collect leads from LinkedIn ads campaigns.
LINKEDIN_ADS_CREATE_LEAD_FORMAcciónTool to create a new LinkedIn lead generation form for ads. Use when you need to create forms to collect leads from LinkedIn ads campaigns.
Parámetros de entrada
namestringObligatorioName of the lead form for internal tracking
ownerobjectObligatorioOwner of the form (either sponsoredAccount or organization)
statestringObligatorioenumInitial state of the form
DRAFTPUBLISHEDARCHIVEDcontentobjectObligatorioForm content displayed to viewers
hiddenFieldsobject[]Hidden tracking fields (max 20 fields)
creationLocaleobjectObligatorioLocale for the form
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ad AccountLINKEDIN_ADS_GET_AD_ACCOUNTAcciónTool to retrieve a specific LinkedIn Ad Account by ID. Returns detailed account information including name, status, currency, notification settings, and serving statuses. Use when you need to fetch details about a specific ad account.
LINKEDIN_ADS_GET_AD_ACCOUNTAcciónTool to retrieve a specific LinkedIn Ad Account by ID. Returns detailed account information including name, status, currency, notification settings, and serving statuses. Use when you need to fetch details about a specific ad account.
Parámetros de entrada
ad_account_idintegerObligatorioThe unique LinkedIn Ad Account ID to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ad AnalyticsLINKEDIN_ADS_GET_AD_ANALYTICSAcciónTool to retrieve LinkedIn ad analytics and reporting metrics for campaigns, creatives, and accounts. Use when you need performance data such as impressions, clicks, costs, conversions, and engagement metrics. Supports filtering by accounts, campaigns, or campaign groups with customizable date ranges and pivot dimensions.
LINKEDIN_ADS_GET_AD_ANALYTICSAcciónTool to retrieve LinkedIn ad analytics and reporting metrics for campaigns, creatives, and accounts. Use when you need performance data such as impressions, clicks, costs, conversions, and engagement metrics. Supports filtering by accounts, campaigns, or campaign groups with customizable date ranges and pivot dimensions.
Parámetros de entrada
qstringenumQuery type - use 'analytics' for single pivot grouping
analyticsstatisticspivotstringenumPivot dimension for grouping analytics results.
ACCOUNTCAMPAIGNCAMPAIGN_GROUPCREATIVECOMPANYSHARECONVERSIONSERVING_LOCATIONCARD_INDEXMEMBER_COMPANY_SIZEMEMBER_INDUSTRYMEMBER_SENIORITY+8fieldsstringComma-separated list of metric fields to retrieve. If not specified, only impressions and clicks are returned. Example: 'impressions,clicks,costInLocalCurrency,landingPageClicks'
accountsstring[]List of account URNs to filter by (e.g., ['urn:li:sponsoredAccount:525410360'])
campaignsstring[]List of campaign URNs to filter by (e.g., ['urn:li:sponsoredCampaign:1234567'])
creativesstring[]List of creative URNs to filter by
dateRangeobjectObligatorioDate range for analytics data. Start date is required, end date is optional
campaignGroupsstring[]List of campaign group URNs to filter by
timeGranularitystringenumTime granularity for analytics results.
ALLDAILYMONTHLYYEARLY
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Audience CountsLINKEDIN_ADS_GET_AUDIENCE_COUNTSAcciónGet estimated audience size for given targeting criteria on LinkedIn Ads. Use when you need to forecast how many LinkedIn members match your campaign targeting parameters before creating ads. Minimum audience size of 300 required to run campaigns.
LINKEDIN_ADS_GET_AUDIENCE_COUNTSAcciónGet estimated audience size for given targeting criteria on LinkedIn Ads. Use when you need to forecast how many LinkedIn members match your campaign targeting parameters before creating ads. Minimum audience size of 300 required to run campaigns.
Parámetros de entrada
targeting_criteriastringObligatorioTargeting criteria string in LinkedIn's encoded format. Must be a URL-encoded string following the pattern: (include:(and:List((or:(urn%3Ali%3AadTargetingFacet%3A{facet_type}:List({encoded_values})))))) Example for location and skills targeting: (include:(and:List((or:(urn%3Ali%3AadTargetingFacet%3Alocations:List(urn%3Ali%3Ageo%3A102221843))),(or:(urn%3Ali%3AadTargetingFacet%3Askills:List(urn%3Ali%3Askill%3A17)))))) Common facet types: locations (urn:li:geo:ID), skills (urn:li:skill:ID), industries (urn:li:industry:ID), jobFunctions (urn:li:function:ID), seniorities (urn:li:seniority:ID). URNs must be URL-encoded (colons as %3A). Supports include/exclude logic with and/or operators.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Campaign GroupLINKEDIN_ADS_GET_CAMPAIGN_GROUPAcciónTool to retrieve a specific LinkedIn Ads campaign group by ID. Use when you need detailed information about a campaign group including its budget, schedule, status, and serving conditions.
LINKEDIN_ADS_GET_CAMPAIGN_GROUPAcciónTool to retrieve a specific LinkedIn Ads campaign group by ID. Use when you need detailed information about a campaign group including its budget, schedule, status, and serving conditions.
Parámetros de entrada
ad_account_idstringObligatorioThe LinkedIn ad account ID
ad_campaign_group_idstringObligatorioThe campaign group ID to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get lead form by IDLINKEDIN_ADS_GET_LEAD_FORMAcciónTool to retrieve a specific LinkedIn lead form by its ID. Use when you need to fetch details about a lead form including its questions, legal info, and configuration.
LINKEDIN_ADS_GET_LEAD_FORMAcciónTool to retrieve a specific LinkedIn lead form by its ID. Use when you need to fetch details about a lead form including its questions, legal info, and configuration.
Parámetros de entrada
form_idintegerObligatorioThe unique identifier of the LinkedIn lead form to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get organization follower countLINKEDIN_ADS_GET_NETWORK_SIZEAcciónTool to retrieve follower count for a LinkedIn organization. Use when you need to get the number of followers for a company or organization page.
LINKEDIN_ADS_GET_NETWORK_SIZEAcciónTool to retrieve follower count for a LinkedIn organization. Use when you need to get the number of followers for a company or organization page.
Parámetros de entrada
edge_typestringenumEdge type for the network size query. Use COMPANY_FOLLOWED_BY_MEMBER to get follower count.
COMPANY_FOLLOWED_BY_MEMBERorganization_urnstringObligatorioOrganization URN in format 'urn:li:organization:{id}'. Example: 'urn:li:organization:1337'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get organization access control listLINKEDIN_ADS_GET_ORGANIZATION_ACLSAcciónTool to retrieve organization access control list showing who has admin or poster rights for organizations. Use when you need to check which members have specific roles (like ADMINISTRATOR or DIRECT_SPONSORED_CONTENT_POSTER) for an organization, or to find all organizations where the authenticated user has access control roles.
LINKEDIN_ADS_GET_ORGANIZATION_ACLSAcciónTool to retrieve organization access control list showing who has admin or poster rights for organizations. Use when you need to check which members have specific roles (like ADMINISTRATOR or DIRECT_SPONSORED_CONTENT_POSTER) for an organization, or to find all organizations where the authenticated user has access control roles.
Parámetros de entrada
qstringObligatorioenumQuery type for the search. Use 'organization' to find ACLs for a specific organization, or 'roleAssignee' to find all organizations where the authenticated user has access control roles.
organizationroleAssigneerolestringenumOrganization role types that define access privileges.
ADMINISTRATORDIRECT_SPONSORED_CONTENT_POSTERRECRUITING_POSTERLEAD_CAPTURE_ADMINISTRATORLEAD_GEN_FORMS_MANAGERANALYSTCURATORCONTENT_ADMINISTRATORcountintegerMaximum number of results to return per page. Default is 10.
startintegerStarting index for pagination. Default is 0.
statestringenumRole state values.
APPROVEDREJECTEDREQUESTEDREVOKEDorganizationstringOrganization URN to filter results. Required when q='organization'. Must be in the format 'urn:li:organization:{id}'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get organization page statisticsLINKEDIN_ADS_GET_ORGANIZATION_PAGE_STATISTICSAcciónTool to retrieve page view and click statistics for a LinkedIn organization page. Use when you need to analyze organization page engagement metrics, either for lifetime or specific time periods.
LINKEDIN_ADS_GET_ORGANIZATION_PAGE_STATISTICSAcciónTool to retrieve page view and click statistics for a LinkedIn organization page. Use when you need to analyze organization page engagement metrics, either for lifetime or specific time periods.
Parámetros de entrada
organizationstringObligatorioOrganization URN in the format urn:li:organization:{id}. You can get the organization ID from the LinkedIn page URL.
timeIntervalsobjectTime intervals configuration for statistics.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get organization follower statisticsLINKEDIN_ADS_GET_ORG_FOLLOWER_STATISTICSAcciónTool to retrieve follower growth statistics for a LinkedIn organization. Use when you need follower demographics (industry, seniority, location, function) or time-bound follower gains. Omit timeIntervals for lifetime demographic statistics; include timeIntervals for time-series follower growth data.
LINKEDIN_ADS_GET_ORG_FOLLOWER_STATISTICSAcciónTool to retrieve follower growth statistics for a LinkedIn organization. Use when you need follower demographics (industry, seniority, location, function) or time-bound follower gains. Omit timeIntervals for lifetime demographic statistics; include timeIntervals for time-series follower growth data.
Parámetros de entrada
timeIntervalsobjectTime intervals configuration for statistics.
organizationalEntitystringObligatorioThe organization identifier in URN format (e.g., urn:li:organization:1234).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get organization share statisticsLINKEDIN_ADS_GET_ORG_SHARE_STATISTICSAcciónTool to retrieve share and engagement statistics for an organization's content on LinkedIn. Use when you need organic metrics like impressions, clicks, likes, comments, and shares for an organization's posts. Returns lifetime statistics by default or time-bound statistics when a time range is specified.
LINKEDIN_ADS_GET_ORG_SHARE_STATISTICSAcciónTool to retrieve share and engagement statistics for an organization's content on LinkedIn. Use when you need organic metrics like impressions, clicks, likes, comments, and shares for an organization's posts. Returns lifetime statistics by default or time-bound statistics when a time range is specified.
Parámetros de entrada
sharesstring[]Filter results to specific share URNs. When specified, returns statistics for individual shares. Time-bound statistics are not supported when filtering by shares. Each share URN must be of the format 'urn:li:share:{id}'.
ugcPostsstring[]Filter results to specific UGC Post URNs. When specified, returns statistics for individual posts. Time-bound statistics are not supported when filtering by UGC posts. Each UGC Post URN must be of the format 'urn:li:ugcPost:{id}'.
timeIntervalsobjectTime intervals configuration for time-bound statistics.
organizationalEntitystringObligatorioThe organization identifier URN. Must be of the format 'urn:li:organization:{id}' or 'urn:li:organizationBrand:{id}'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ad Supply ForecastsLINKEDIN_ADS_GET_SUPPLY_FORECASTSAcciónRetrieve supply forecasts for LinkedIn ad inventory based on targeting criteria, budget, and bid settings. Provides forecasts for impressions, clicks, spending, reach, and other metrics with different time granularities (daily, 7-day, 30-day, custom). Use when planning ad campaigns to estimate performance and budget requirements.
LINKEDIN_ADS_GET_SUPPLY_FORECASTSAcciónRetrieve supply forecasts for LinkedIn ad inventory based on targeting criteria, budget, and bid settings. Provides forecasts for impressions, clicks, spending, reach, and other metrics with different time granularities (daily, 7-day, 30-day, custom). Use when planning ad campaigns to estimate performance and budget requirements.
Parámetros de entrada
accountstringObligatorioThe sponsored account URN for which the supply forecast is requested
costCapstringCost cap as decimal string. Required only for optimization target type of cost cap
campaignstringThe sponsored campaign URN if available, used to provide better forecasts
timeRangeobjectObligatorioThe time range for the forecast with start and end timestamps
targetCoststringTarget cost as decimal string. Required only for optimization target type of target cost
dailyBudgetobjectRepresents a monetary amount with currency.
totalBudgetobjectRepresents a monetary amount with currency.
campaignTypestringObligatorioenumThe campaign type. For connected television campaigns, must be SPONSORED_UPDATES
SPONSORED_UPDATESSPONSORED_INMAILSDYNAMICcompetingBidobjectBid configuration for manual bidding.
creativeTypestringCreative type if available, used to provide better forecasts
objectiveTypestringCampaign objective type if available, used to provide better forecasts. Examples: BRAND_AWARENESS, WEBSITE_VISITS, ENGAGEMENT, VIDEO_VIEWS, LEAD_GENERATION, WEBSITE_CONVERSIONS, JOB_APPLICANTS
targetingCriteriastringObligatorioURL-encoded targeting criteria string in RestLi format. Specifies boolean expression (AND/OR) for including/excluding targeting facets. Example: (include:(and:List((or:(urn%3Ali%3AadTargetingFacet%3Alocations:List(urn%3Ali%3Ageo%3A103644278))))))
optimizationTargetstringenumValid optimization target types for LinkedIn Ads.
NONELEAD_GENERATIONLANDING_PAGE_CLICKSVIDEO_VIEWENGAGEMENTCONVERSIONSenableAudienceNetworkbooleanInclude LinkedIn Audience Network inventory into campaign performance forecast. Must be true for connected television campaigns
connectedTelevisionOnlybooleanGenerate forecasting for connected television campaigns. Applicable only from version 202408 and above
enableAudienceExpansionbooleanInclude Audience Expansion inventory into campaign performance forecast
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Targeting EntitiesLINKEDIN_ADS_GET_TARGETING_ENTITIESAcciónTool to retrieve targeting entities for LinkedIn Ads campaigns. Use when you need to discover available targeting options (industries, locations, job titles, companies, skills, etc.) for ad targeting. Supports multiple query modes: retrieve all entities for a facet, search by text, find similar entities, or get metadata for specific URNs. Returns entity URNs and names that can be used for campaign targeting criteria.
LINKEDIN_ADS_GET_TARGETING_ENTITIESAcciónTool to retrieve targeting entities for LinkedIn Ads campaigns. Use when you need to discover available targeting options (industries, locations, job titles, companies, skills, etc.) for ad targeting. Supports multiple query modes: retrieve all entities for a facet, search by text, find similar entities, or get metadata for specific URNs. Returns entity URNs and names that can be used for campaign targeting criteria.
Parámetros de entrada
qstringObligatorioenumQuery type to use. 'adTargetingFacet' returns all entities for a facet, 'typeahead' searches entities by query text, 'urns' retrieves entities by URNs, 'similarEntities' finds similar entities.
adTargetingFacettypeaheadurnssimilarEntitiesurnsstring[]List of URNs to retrieve metadata for. Required when q='urns'. Example: ['urn:li:fieldOfStudy:100990', 'urn:li:organization:1035']
facetstringFacet URN to query (e.g., 'urn:li:adTargetingFacet:locations', 'urn:li:adTargetingFacet:industries'). Required for adTargetingFacet, typeahead, and similarEntities query types.
querystringSearch query text for typeahead searches. Required when q='typeahead'. Partial text used for matching targeting entities.
entitiesstring[]List of entity URNs to find similar entities for. Required when q='similarEntities'. Example: ['urn:li:organization:1003']
queryVersionstringQuery version to use. Use 'QUERY_USES_URNS' for URN-based queries. Defaults to 'QUERY_USES_URNS' when not specified.
locale_countrystringUppercase two-letter country code as defined by ISO-3166 (e.g., 'US', 'GB', 'CA'). Used for localized entity names. Defaults to 'US' if not provided.
locale_languagestringLowercase two-letter language code as defined by ISO-639 (e.g., 'en', 'fr', 'es'). Used for localized entity names. Defaults to 'en' if not provided.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Targeting FacetsLINKEDIN_ADS_GET_TARGETING_FACETSAcciónTool to retrieve available ad targeting facets including industries, locations, seniorities, job functions, skills, and more. Use when you need to discover which targeting categories are available for LinkedIn ad campaigns before fetching specific targeting entities.
LINKEDIN_ADS_GET_TARGETING_FACETSAcciónTool to retrieve available ad targeting facets including industries, locations, seniorities, job functions, skills, and more. Use when you need to discover which targeting categories are available for LinkedIn ad campaigns before fetching specific targeting entities.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Conversion RulesLINKEDIN_ADS_LIST_CONVERSION_RULESAcciónTool to list all conversion rules for a LinkedIn ad account. Use when you need to retrieve conversion tracking rules configured for an ad account.
LINKEDIN_ADS_LIST_CONVERSION_RULESAcciónTool to list all conversion rules for a LinkedIn ad account. Use when you need to retrieve conversion tracking rules configured for an ad account.
Parámetros de entrada
accountstringObligatorioSponsored account URN in the format 'urn:li:sponsoredAccount:{accountId}'. This identifies the ad account whose conversion rules you want to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DMP SegmentsLINKEDIN_ADS_LIST_DMP_SEGMENTSAcciónTool to list DMP (Data Management Platform) segments for LinkedIn ad accounts. Use to retrieve segments by account, fetch multiple segments by IDs, or search segments with pagination. DMP segments contain audience data for ad targeting.
LINKEDIN_ADS_LIST_DMP_SEGMENTSAcciónTool to list DMP (Data Management Platform) segments for LinkedIn ad accounts. Use to retrieve segments by account, fetch multiple segments by IDs, or search segments with pagination. DMP segments contain audience data for ad targeting.
Parámetros de entrada
qstringQuery type for filtering segments. Use "account" to find segments by account.
idsinteger[]List of segment IDs to retrieve specific segments
countintegerNumber of results per page for pagination when using q=account (max 100)
startintegerStarting index for pagination when using q=account
accountstringSponsored account URN to filter segments by. Format: urn:li:sponsoredAccount:{id}
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Lead FormsLINKEDIN_ADS_LIST_LEAD_FORMSAcciónTool to list LinkedIn lead forms for an organization or by specific IDs. Use when you need to retrieve lead forms owned by an organization or sponsored account, or fetch specific forms by their IDs.
LINKEDIN_ADS_LIST_LEAD_FORMSAcciónTool to list LinkedIn lead forms for an organization or by specific IDs. Use when you need to retrieve lead forms owned by an organization or sponsored account, or fetch specific forms by their IDs.
Parámetros de entrada
qstringQuery type. Set to 'owner' to find forms by owner. Required when using owner parameter.
idsinteger[]List of lead form IDs to retrieve specific forms
countintegerNumber of results to display per page. Used with q=owner for pagination.
startintegerIndex of the form to begin results at. Indexes start at 0. Used with q=owner for pagination.
owner_organizationstringOrganization URN to filter lead forms (e.g., urn:li:organization:123456). Use with q=owner.
owner_sponsored_accountstringSponsored Account URN to filter lead forms (e.g., urn:li:sponsoredAccount:123456). Use with q=owner.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List OrganizationsLINKEDIN_ADS_LIST_ORGANIZATIONSAcciónTool to search and list LinkedIn organizations by IDs, vanity name, or parent organization. Use when you need to retrieve organization information, company pages, or school profiles from LinkedIn. Supports batch lookup by IDs or search by vanity name (e.g., 'linkedin') or parent organization URN.
LINKEDIN_ADS_LIST_ORGANIZATIONSAcciónTool to search and list LinkedIn organizations by IDs, vanity name, or parent organization. Use when you need to retrieve organization information, company pages, or school profiles from LinkedIn. Supports batch lookup by IDs or search by vanity name (e.g., 'linkedin') or parent organization URN.
Parámetros de entrada
qstringenumQuery type for organization lookup.
vanityNameparentOrganizationidsinteger[]List of organization IDs to retrieve. Use this to batch lookup multiple organizations by their numeric IDs.
parentstringParent organization URN. Required when q=parentOrganization. Format: urn:li:organization:{id}
vanityNamestringVanity name to look up. Required when q=vanityName. Example: 'linkedin' for LinkedIn company page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List LinkedIn postsLINKEDIN_ADS_LIST_POSTSAcciónTool to list LinkedIn posts by author or retrieve multiple posts by IDs. Use when you need to fetch posts for a specific person/organization or retrieve specific posts by their URNs.
LINKEDIN_ADS_LIST_POSTSAcciónTool to list LinkedIn posts by author or retrieve multiple posts by IDs. Use when you need to fetch posts for a specific person/organization or retrieve specific posts by their URNs.
Parámetros de entrada
qstringenumQuery type for listing posts.
authordscAdAccountidsstring[]List of post URNs to retrieve specific posts. Format: 'urn:li:share:{id}' or 'urn:li:ugcPost:{id}'. Example: ['urn:li:share:6844785523593134080', 'urn:li:ugcPost:7428263313739988992']. Use this to retrieve multiple specific posts by their URNs.
countintegerNumber of results to return per page. Default is 10, maximum is 100.
startintegerThe index of the first item for pagination. Default is 0.
authorstringPerson or Organization URN to filter posts by author. Format: 'urn:li:person:{id}' or 'urn:li:organization:{id}'. Example: 'urn:li:organization:2414183'. Required when q='author'.
sortBystringenumSort field for posts.
LAST_MODIFIEDCREATEDlinkedin_versionstringLinkedIn API version in YYYYMM format. Defaults to 202602.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Lookup organizationsLINKEDIN_ADS_LOOKUP_ORGANIZATIONSAcciónTool to batch lookup organization details by IDs without requiring admin access. Use when you need to retrieve basic information about LinkedIn organizations like name, logo, locations, and website.
LINKEDIN_ADS_LOOKUP_ORGANIZATIONSAcciónTool to batch lookup organization details by IDs without requiring admin access. Use when you need to retrieve basic information about LinkedIn organizations like name, logo, locations, and website.
Parámetros de entrada
idsinteger[]ObligatorioList of organization IDs to retrieve. Each ID should be a numeric organization identifier (e.g., [90966477, 79988552]). Does not require admin access to these organizations.
linkedin_versionstringLinkedIn API version in YYYYMM format. Defaults to 202601.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Register UploadLINKEDIN_ADS_REGISTER_UPLOADAcciónTool to register an upload for media assets (images, videos) on LinkedIn. Use when you need to prepare for uploading media content to LinkedIn before creating posts or ads.
LINKEDIN_ADS_REGISTER_UPLOADAcciónTool to register an upload for media assets (images, videos) on LinkedIn. Use when you need to prepare for uploading media content to LinkedIn before creating posts or ads.
Parámetros de entrada
ownerstringObligatorioURN of the owner entity (e.g., person or organization URN like 'urn:li:person:a4I-u208D9' or 'urn:li:organization:12345')
recipesstring[]ObligatorioList of recipe URNs that define how the asset will be processed (e.g., 'urn:li:digitalmediaRecipe:feedshare-image' for images, 'urn:li:digitalmediaRecipe:feedshare-video' for videos)
serviceRelationshipsobject[]ObligatorioList of service relationships defining ownership and permissions
supportedUploadMechanismstring[]ObligatorioList of upload mechanisms to use. SYNCHRONOUS_UPLOAD for direct upload, MULTIPART_UPLOAD for large files
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Ad AccountsLINKEDIN_ADS_SEARCH_AD_ACCOUNTSAcciónTool to search for LinkedIn ad accounts with filtering by status, type, and test mode. Use when you need to find ad accounts based on specific criteria like status, type, or whether they are test accounts. Supports pagination for large result sets.
LINKEDIN_ADS_SEARCH_AD_ACCOUNTSAcciónTool to search for LinkedIn ad accounts with filtering by status, type, and test mode. Use when you need to find ad accounts based on specific criteria like status, type, or whether they are test accounts. Supports pagination for large result sets.
Parámetros de entrada
idinteger[]Filter accounts by ID. Can include multiple IDs.
namestring[]Filter accounts by name. Can include multiple names.
testbooleanFilter by test or non-test accounts. Set to true for test accounts, false for non-test accounts. If omitted, returns both.
typestring[]Filter accounts by type: BUSINESS or ENTERPRISE.
statusstring[]Filter accounts by status. Can include multiple values: ACTIVE, DRAFT, CANCELED, PENDING_DELETION, or REMOVED.
page_sizeintegerNumber of entities to return per page. Maximum is 1000.
referencestring[]Filter accounts by reference URN (e.g., 'urn:li:organization:2414183' or 'urn:li:person:12345').
page_tokenstringToken for pagination to fetch the next set of results. Use the nextPageToken from the previous response.
sort_fieldstringenumEnum for sort field values.
IDsort_orderstringenumEnum for sort order values.
ASCENDINGDESCENDING
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search CampaignsLINKEDIN_ADS_SEARCH_CAMPAIGNSAcciónTool to search and list campaigns in a LinkedIn Ads account with filtering options. Use when you need to retrieve campaigns with specific criteria such as status, type, or test flag.
LINKEDIN_ADS_SEARCH_CAMPAIGNSAcciónTool to search and list campaigns in a LinkedIn Ads account with filtering options. Use when you need to retrieve campaigns with specific criteria such as status, type, or test flag.
Parámetros de entrada
qstringQuery type (typically 'search' for campaign searches)
idsstringComma-separated list of campaign IDs to retrieve
searchstringSearch criteria as JSON string with status, type, or test filters. Example: '(status:(values:List(ACTIVE)))'
pageSizeintegerNumber of entities to return (max: 1000, default: 100)
pageTokenstringPagination token for fetching next page of results
sortOrderstringSort order (ASCENDING or DESCENDING) - sorted by campaign ID
adAccountIdintegerObligatorioAd Account ID to search campaigns in
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search LinkedIn Ads CreativesLINKEDIN_ADS_SEARCH_CREATIVESAcciónTool to search and list LinkedIn Ads creatives with filtering options. Use when you need to retrieve creatives from a LinkedIn Ads account with optional filters by campaign, status, content reference, or lead gen form. Supports cursor-based pagination for large result sets. Returns comprehensive creative details including status, review information, serving hold reasons, and metadata.
LINKEDIN_ADS_SEARCH_CREATIVESAcciónTool to search and list LinkedIn Ads creatives with filtering options. Use when you need to retrieve creatives from a LinkedIn Ads account with optional filters by campaign, status, content reference, or lead gen form. Supports cursor-based pagination for large result sets. Returns comprehensive creative details including status, review information, serving hold reasons, and metadata.
Parámetros de entrada
campaignsstring[]Filter creatives by campaign URN(s). Provide a list of sponsored campaign URNs (e.g., 'urn:li:sponsoredCampaign:360035215'). Multiple campaigns are ORed together.
creativesstring[]Filter by specific creative URN(s). Provide a list of sponsored creative URNs (e.g., 'urn:li:sponsoredCreative:119962155'). Multiple creatives are ORed together.
page_sizeintegerNumber of creatives to return per page (default: 100, max: 100). Use for pagination control.
page_tokenstringPagination cursor token from the previous response's nextPageToken field. Use to fetch the next page of results. Omit for the first page.
sort_orderstringenumSort order for creative results.
ASCENDINGDESCENDINGad_account_idstringObligatorioLinkedIn Ad Account ID (numeric ID without URN prefix, e.g., '520376796'). Required to identify which ad account to search creatives in.
is_test_accountbooleanFilter by test account status. True returns only creatives under test accounts, False returns only non-test accounts, null/omitted returns all regardless of test status.
intended_statusesstring[]Filter creatives by intended status. Multiple statuses are ORed together. Values: ACTIVE (creative available for serving), PAUSED (temporarily not served), DRAFT (incomplete), ARCHIVED (not served, separated from active), CANCELED (hidden from queries), PENDING_DELETION (deletion in progress), REMOVED (deleted but fetchable).
content_referencesstring[]Filter creatives by content reference URN(s). Can be share URN or ugcPost URN (e.g., 'urn:li:share:6778045555198214144', 'urn:li:ugcPost:6778045555198214144'). Multiple references are ORed together.
leadgen_creative_call_to_action_destinationsstring[]Filter by lead generation form URN(s). Provide a list of ad form URNs (e.g., 'urn:li:adForm:123456'). Multiple forms are ORed together.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search EventsLINKEDIN_ADS_SEARCH_EVENTSAcciónTool to search and list LinkedIn events by organizer with filtering options. Use when you need to find events organized by a specific organization or person, with optional filters for lifecycle state, entry criteria, and pagination.
LINKEDIN_ADS_SEARCH_EVENTSAcciónTool to search and list LinkedIn events by organizer with filtering options. Use when you need to find events organized by a specific organization or person, with optional filters for lifecycle state, entry criteria, and pagination.
Parámetros de entrada
qstringenumQuery type - use 'eventsByOrganizer' to search by organizer or 'organizerLeadGenFormEnabledEvents' for lead gen enabled events
eventsByOrganizerorganizerLeadGenFormEnabledEventscountintegerNumber of events to return per page (max 100)
startintegerPagination start index (0-based)
organizerstringObligatorioOrganization or person URN of the event organizer (e.g., 'urn:li:organization:7185861')
sortOrderstringenumEvent sort order.
START_TIME_ASCEND_TIME_DESCentryCriteriastringenumEvent entry criteria.
PUBLICGATEDlifeCycleStatestringenumEvent lifecycle state.
UPCOMINGONGOINGPASTexcludeCancelledbooleanIf true, exclude cancelled events from results
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update lead formLINKEDIN_ADS_UPDATE_LEAD_FORMAcciónTool to update an existing LinkedIn lead form. Use when you need to modify form details like name, headline, description, or state. Note: For published forms (linked to active campaigns), only specific fields can be updated. Pre-published forms allow updating all fields.
LINKEDIN_ADS_UPDATE_LEAD_FORMAcciónTool to update an existing LinkedIn lead form. Use when you need to modify form details like name, headline, description, or state. Note: For published forms (linked to active campaigns), only specific fields can be updated. Pre-published forms allow updating all fields.
Parámetros de entrada
patchobjectObligatorioPatch object containing the $set operation with fields to update. For published forms, only specific fields can be updated (headline, description, legalDisclaimer, landingPageUrl, privacyPageUrl, thankYouMessage, thankYouPageCta, state). Pre-published forms (DRAFT or not linked to active campaigns) can have all fields updated.
form_idintegerObligatorioThe ID of the lead form to update.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update organization access controlLINKEDIN_ADS_UPDATE_ORGANIZATION_ACLAcciónTool to update organization access control for a user on LinkedIn. Use when requesting the DIRECT_SPONSORED_CONTENT_POSTER role for an organization. The PUT API works only when the user is requesting the role for themselves, not on behalf of others.
LINKEDIN_ADS_UPDATE_ORGANIZATION_ACLAcciónTool to update organization access control for a user on LinkedIn. Use when requesting the DIRECT_SPONSORED_CONTENT_POSTER role for an organization. The PUT API works only when the user is requesting the role for themselves, not on behalf of others.
Parámetros de entrada
rolestringObligatorioenumThe role to update. For external API calls, only DIRECT_SPONSORED_CONTENT_POSTER is supported.
ADMINISTRATORDIRECT_SPONSORED_CONTENT_POSTERRECRUITING_POSTERLEAD_CAPTURE_ADMINISTRATORLEAD_GEN_FORMS_MANAGERANALYSTCURATORCONTENT_ADMINISTRATORstatestringObligatorioenumThe role state to set. For external API calls, only REQUESTED is supported.
APPROVEDREJECTEDREQUESTEDREVOKEDorganizationstringObligatorioThe organizational entity URN for which access control information is being updated. Must be in the format 'urn:li:organization:{id}' or 'urn:li:organizationBrand:{id}'.
roleAssigneestringObligatorioThe person URN of the member being assigned the role. Must be in the format 'urn:li:person:{id}'. Note: The PUT API works only when the user is requesting the DIRECT_SPONSORED_CONTENT_POSTER role to an organization for themselves and not on behalf of others.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not