This connector is optimized for AI agents. For the data replication connector, see Linkedin Ads .
This is the full reference documentation for the Linkedin-Ads agent connector.
Supported entities and actions
The Linkedin-Ads connector supports the following entities and actions.
Entity Actions Accounts List , Get , Search Account Users List , Search Campaigns List , Get , Search Campaign Groups List , Get , Search Creatives List , Get , Search Conversions List , Get , Search Ad Campaign Analytics List , Search Ad Creative Analytics List , Search
Accounts
Accounts List
Returns a list of ad accounts the authenticated user has access to
Python SDK
await linkedin_ads . accounts . list ( q = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "accounts", "action": "list", "params": { "q": "<str>" } }'
Parameters
Parameter Name Type Required Description qstringYes pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Records Field Name Type Description idnull | integernamenull | stringcurrencynull | stringstatusnull | stringtypenull | stringreferencenull | stringtestnull | booleanchangeAuditStampsnull | objectnotifiedOnCampaignOptimizationnull | booleannotifiedOnCreativeApprovalnull | booleannotifiedOnCreativeRejectionnull | booleannotifiedOnEndOfCampaignnull | booleannotifiedOnNewFeaturesEnablednull | booleanservingStatusesnull | arrayversionnull | object
Field Name Type Description nextPageTokenstring
Accounts Get
Get a single ad account by ID
Python SDK
await linkedin_ads . accounts . get ( id = 0 )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "accounts", "action": "get", "params": { "id": 0 } }'
Parameters
Parameter Name Type Required Description idintegerYes Ad account ID
Response Schema Records Field Name Type Description idnull | integernamenull | stringcurrencynull | stringstatusnull | stringtypenull | stringreferencenull | stringtestnull | booleanchangeAuditStampsnull | objectnotifiedOnCampaignOptimizationnull | booleannotifiedOnCreativeApprovalnull | booleannotifiedOnCreativeRejectionnull | booleannotifiedOnEndOfCampaignnull | booleannotifiedOnNewFeaturesEnablednull | booleanservingStatusesnull | arrayversionnull | object
Accounts Search
Search and filter accounts records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . accounts . search ( query = { "filter" : { "eq" : { "id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "accounts", "action": "search", "params": { "query": {"filter": {"eq": {"id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique account identifier namestringAccount name currencystringCurrency code used by the account statusstringAccount status typestringAccount type referencestringReference organization URN testbooleanWhether this is a test account notifiedOnCampaignOptimizationbooleanFlag for notifications on campaign optimization notifiedOnCreativeApprovalbooleanFlag for notifications on creative approval notifiedOnCreativeRejectionbooleanFlag for notifications on creative rejection notifiedOnEndOfCampaignbooleanFlag for notifications on end of campaign notifiedOnNewFeaturesEnabledbooleanFlag for notifications on new features servingStatusesarrayList of serving statuses versionobjectVersion information
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique account identifier data[].namestringAccount name data[].currencystringCurrency code used by the account data[].statusstringAccount status data[].typestringAccount type data[].referencestringReference organization URN data[].testbooleanWhether this is a test account data[].notifiedOnCampaignOptimizationbooleanFlag for notifications on campaign optimization data[].notifiedOnCreativeApprovalbooleanFlag for notifications on creative approval data[].notifiedOnCreativeRejectionbooleanFlag for notifications on creative rejection data[].notifiedOnEndOfCampaignbooleanFlag for notifications on end of campaign data[].notifiedOnNewFeaturesEnabledbooleanFlag for notifications on new features data[].servingStatusesarrayList of serving statuses data[].versionobjectVersion information
Account Users
Account Users List
Returns a list of users associated with ad accounts
Python SDK
await linkedin_ads . account_users . list ( q = "<str>" , accounts = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "account_users", "action": "list", "params": { "q": "<str>", "accounts": "<str>" } }'
Parameters
Parameter Name Type Required Description qstringYes accountsstringYes Account URN, e.g. urn:li:sponsoredAccount:123456 countintegerNo Number of items per page startintegerNo Offset for pagination
Response Schema Records Field Name Type Description accountnull | stringusernull | stringrolenull | stringchangeAuditStampsnull | object
Field Name Type Description nextPageTokenstring
Account Users Search
Search and filter account users records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . account_users . search ( query = { "filter" : { "eq" : { "account" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "account_users", "action": "search", "params": { "query": {"filter": {"eq": {"account": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description accountstringAssociated account URN userstringUser URN rolestringUser role in the account
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].accountstringAssociated account URN data[].userstringUser URN data[].rolestringUser role in the account
Campaigns
Campaigns List
Returns a list of campaigns for an ad account
Python SDK
await linkedin_ads . campaigns . list ( account_id = 0 , q = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns", "action": "list", "params": { "account_id": 0, "q": "<str>" } }'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID qstringYes pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Records Field Name Type Description idnull | integernamenull | stringaccountnull | stringcampaignGroupnull | stringstatusnull | stringtypenull | stringcostTypenull | stringformatnull | stringobjectiveTypenull | stringoptimizationTargetTypenull | stringcreativeSelectionnull | stringpacingStrategynull | stringaudienceExpansionEnablednull | booleanoffsiteDeliveryEnablednull | booleanstoryDeliveryEnablednull | booleantestnull | booleanassociatedEntitynull | stringconnectedTelevisionOnlynull | booleanpoliticalIntentnull | stringchangeAuditStampsnull | objectdailyBudgetnull | objecttotalBudgetnull | objectunitCostnull | objectrunSchedulenull | objectlocalenull | objecttargetingCriterianull | objectoffsitePreferencesnull | objectservingStatusesnull | arrayversionnull | object
Field Name Type Description nextPageTokenstring
Campaigns Get
Get a single campaign by ID
Python SDK
await linkedin_ads . campaigns . get ( account_id = 0 , id = 0 )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns", "action": "get", "params": { "account_id": 0, "id": 0 } }'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID idintegerYes Campaign ID
Response Schema Records Field Name Type Description idnull | integernamenull | stringaccountnull | stringcampaignGroupnull | stringstatusnull | stringtypenull | stringcostTypenull | stringformatnull | stringobjectiveTypenull | stringoptimizationTargetTypenull | stringcreativeSelectionnull | stringpacingStrategynull | stringaudienceExpansionEnablednull | booleanoffsiteDeliveryEnablednull | booleanstoryDeliveryEnablednull | booleantestnull | booleanassociatedEntitynull | stringconnectedTelevisionOnlynull | booleanpoliticalIntentnull | stringchangeAuditStampsnull | objectdailyBudgetnull | objecttotalBudgetnull | objectunitCostnull | objectrunSchedulenull | objectlocalenull | objecttargetingCriterianull | objectoffsitePreferencesnull | objectservingStatusesnull | arrayversionnull | object
Campaigns Search
Search and filter campaigns records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . campaigns . search ( query = { "filter" : { "eq" : { "id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaigns", "action": "search", "params": { "query": {"filter": {"eq": {"id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique campaign identifier namestringCampaign name accountstringAssociated account URN campaignGroupstringParent campaign group URN statusstringCampaign status typestringCampaign type costTypestringCost type (CPC CPM etc) formatstringCampaign ad format objectiveTypestringCampaign objective type optimizationTargetTypestringOptimization target type creativeSelectionstringCreative selection mode pacingStrategystringBudget pacing strategy audienceExpansionEnabledbooleanWhether audience expansion is enabled offsiteDeliveryEnabledbooleanWhether offsite delivery is enabled storyDeliveryEnabledbooleanWhether story delivery is enabled testbooleanWhether this is a test campaign associatedEntitystringAssociated entity URN dailyBudgetobjectDaily budget configuration totalBudgetobjectTotal budget configuration unitCostobjectCost per unit (bid amount) runScheduleobjectCampaign run schedule localeobjectCampaign locale settings servingStatusesarrayList of serving statuses versionobjectVersion information
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique campaign identifier data[].namestringCampaign name data[].accountstringAssociated account URN data[].campaignGroupstringParent campaign group URN data[].statusstringCampaign status data[].typestringCampaign type data[].costTypestringCost type (CPC CPM etc) data[].formatstringCampaign ad format data[].objectiveTypestringCampaign objective type data[].optimizationTargetTypestringOptimization target type data[].creativeSelectionstringCreative selection mode data[].pacingStrategystringBudget pacing strategy data[].audienceExpansionEnabledbooleanWhether audience expansion is enabled data[].offsiteDeliveryEnabledbooleanWhether offsite delivery is enabled data[].storyDeliveryEnabledbooleanWhether story delivery is enabled data[].testbooleanWhether this is a test campaign data[].associatedEntitystringAssociated entity URN data[].dailyBudgetobjectDaily budget configuration data[].totalBudgetobjectTotal budget configuration data[].unitCostobjectCost per unit (bid amount) data[].runScheduleobjectCampaign run schedule data[].localeobjectCampaign locale settings data[].servingStatusesarrayList of serving statuses data[].versionobjectVersion information
Campaign Groups
Campaign Groups List
Returns a list of campaign groups for an ad account
Python SDK
await linkedin_ads . campaign_groups . list ( account_id = 0 , q = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaign_groups", "action": "list", "params": { "account_id": 0, "q": "<str>" } }'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID qstringYes pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Records Field Name Type Description idnull | integernamenull | stringaccountnull | stringstatusnull | stringtestnull | booleanbackfillednull | booleanchangeAuditStampsnull | objecttotalBudgetnull | objectrunSchedulenull | objectservingStatusesnull | arrayallowedCampaignTypesnull | array
Field Name Type Description nextPageTokenstring
Campaign Groups Get
Get a single campaign group by ID
Python SDK
await linkedin_ads . campaign_groups . get ( account_id = 0 , id = 0 )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaign_groups", "action": "get", "params": { "account_id": 0, "id": 0 } }'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID idintegerYes Campaign group ID
Response Schema Records Field Name Type Description idnull | integernamenull | stringaccountnull | stringstatusnull | stringtestnull | booleanbackfillednull | booleanchangeAuditStampsnull | objecttotalBudgetnull | objectrunSchedulenull | objectservingStatusesnull | arrayallowedCampaignTypesnull | array
Campaign Groups Search
Search and filter campaign groups records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . campaign_groups . search ( query = { "filter" : { "eq" : { "id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "campaign_groups", "action": "search", "params": { "query": {"filter": {"eq": {"id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique campaign group identifier namestringCampaign group name accountstringAssociated account URN statusstringCampaign group status testbooleanWhether this is a test campaign group backfilledbooleanWhether the campaign group is backfilled totalBudgetobjectTotal budget for the campaign group runScheduleobjectCampaign group run schedule servingStatusesarrayList of serving statuses allowedCampaignTypesarrayTypes of campaigns allowed in this group
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique campaign group identifier data[].namestringCampaign group name data[].accountstringAssociated account URN data[].statusstringCampaign group status data[].testbooleanWhether this is a test campaign group data[].backfilledbooleanWhether the campaign group is backfilled data[].totalBudgetobjectTotal budget for the campaign group data[].runScheduleobjectCampaign group run schedule data[].servingStatusesarrayList of serving statuses data[].allowedCampaignTypesarrayTypes of campaigns allowed in this group
Creatives
Creatives List
Returns a list of creatives for an ad account
Python SDK
await linkedin_ads . creatives . list ( account_id = 0 , q = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creatives", "action": "list", "params": { "account_id": 0, "q": "<str>" } }'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID qstringYes pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Records Field Name Type Description idnull | stringnamenull | stringaccountnull | stringcampaignnull | stringintendedStatusnull | stringisServingnull | booleanisTestnull | booleancreatedAtnull | integercreatedBynull | stringlastModifiedAtnull | integerlastModifiedBynull | stringcontentnull | objectreviewnull | objectservingHoldReasonsnull | arrayleadgenCallToActionnull | object
Field Name Type Description nextPageTokenstring
Creatives Get
Get a single creative by ID
Python SDK
await linkedin_ads . creatives . get ( account_id = 0 , id = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creatives", "action": "get", "params": { "account_id": 0, "id": "<str>" } }'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID idstringYes Creative ID
Response Schema Records Field Name Type Description idnull | stringnamenull | stringaccountnull | stringcampaignnull | stringintendedStatusnull | stringisServingnull | booleanisTestnull | booleancreatedAtnull | integercreatedBynull | stringlastModifiedAtnull | integerlastModifiedBynull | stringcontentnull | objectreviewnull | objectservingHoldReasonsnull | arrayleadgenCallToActionnull | object
Creatives Search
Search and filter creatives records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . creatives . search ( query = { "filter" : { "eq" : { "id" : "<str>" } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "creatives", "action": "search", "params": { "query": {"filter": {"eq": {"id": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idstringUnique creative identifier namestringCreative name accountstringAssociated account URN campaignstringParent campaign URN intendedStatusstringIntended creative status isServingbooleanWhether the creative is currently serving isTestbooleanWhether this is a test creative createdAtintegerCreation timestamp (epoch milliseconds) createdBystringURN of the user who created the creative lastModifiedAtintegerLast modification timestamp (epoch milliseconds) lastModifiedBystringURN of the user who last modified the creative contentobjectCreative content configuration servingHoldReasonsarrayReasons for holding creative from serving
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idstringUnique creative identifier data[].namestringCreative name data[].accountstringAssociated account URN data[].campaignstringParent campaign URN data[].intendedStatusstringIntended creative status data[].isServingbooleanWhether the creative is currently serving data[].isTestbooleanWhether this is a test creative data[].createdAtintegerCreation timestamp (epoch milliseconds) data[].createdBystringURN of the user who created the creative data[].lastModifiedAtintegerLast modification timestamp (epoch milliseconds) data[].lastModifiedBystringURN of the user who last modified the creative data[].contentobjectCreative content configuration data[].servingHoldReasonsarrayReasons for holding creative from serving
Conversions
Conversions List
Returns a list of conversion rules for an ad account
Python SDK
await linkedin_ads . conversions . list ( q = "<str>" , account = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "conversions", "action": "list", "params": { "q": "<str>", "account": "<str>" } }'
Parameters
Parameter Name Type Required Description qstringYes accountstringYes Account URN, e.g. urn:li:sponsoredAccount:123456 countintegerNo Number of items per page startintegerNo Offset for pagination
Response Schema Records Field Name Type Description idnull | integernamenull | stringaccountnull | stringtypenull | stringattributionTypenull | stringconversionMethodnull | stringvalueTypenull | stringenablednull | booleancreatednull | integerlastModifiednull | integerpostClickAttributionWindowSizenull | integerviewThroughAttributionWindowSizenull | integercampaignsnull | arrayassociatedCampaignsnull | arrayimagePixelTagnull | stringlastCallbackAtnull | integerlatestFirstPartyCallbackAtnull | integerurlMatchRuleExpressionnull | arrayurlRulesnull | arrayvaluenull | object
Field Name Type Description totalinteger
Conversions Get
Get a single conversion rule by ID
Python SDK
await linkedin_ads . conversions . get ( id = 0 )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "conversions", "action": "get", "params": { "id": 0 } }'
Parameters
Parameter Name Type Required Description idintegerYes Conversion ID
Response Schema Records Field Name Type Description idnull | integernamenull | stringaccountnull | stringtypenull | stringattributionTypenull | stringconversionMethodnull | stringvalueTypenull | stringenablednull | booleancreatednull | integerlastModifiednull | integerpostClickAttributionWindowSizenull | integerviewThroughAttributionWindowSizenull | integercampaignsnull | arrayassociatedCampaignsnull | arrayimagePixelTagnull | stringlastCallbackAtnull | integerlatestFirstPartyCallbackAtnull | integerurlMatchRuleExpressionnull | arrayurlRulesnull | arrayvaluenull | object
Conversions Search
Search and filter conversions records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . conversions . search ( query = { "filter" : { "eq" : { "id" : 0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "conversions", "action": "search", "params": { "query": {"filter": {"eq": {"id": 0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique conversion identifier namestringConversion name accountstringAssociated account URN typestringConversion type attributionTypestringAttribution type for the conversion enabledbooleanWhether the conversion tracking is enabled createdintegerCreation timestamp (epoch milliseconds) lastModifiedintegerLast modification timestamp (epoch milliseconds) postClickAttributionWindowSizeintegerPost-click attribution window size in days viewThroughAttributionWindowSizeintegerView-through attribution window size in days campaignsarrayRelated campaign URNs associatedCampaignsarrayAssociated campaigns imagePixelTagstringImage pixel tracking tag valueobjectConversion value
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique conversion identifier data[].namestringConversion name data[].accountstringAssociated account URN data[].typestringConversion type data[].attributionTypestringAttribution type for the conversion data[].enabledbooleanWhether the conversion tracking is enabled data[].createdintegerCreation timestamp (epoch milliseconds) data[].lastModifiedintegerLast modification timestamp (epoch milliseconds) data[].postClickAttributionWindowSizeintegerPost-click attribution window size in days data[].viewThroughAttributionWindowSizeintegerView-through attribution window size in days data[].campaignsarrayRelated campaign URNs data[].associatedCampaignsarrayAssociated campaigns data[].imagePixelTagstringImage pixel tracking tag data[].valueobjectConversion value
Ad Campaign Analytics
Ad Campaign Analytics List
Returns ad analytics data pivoted by campaign. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by campaign.
Python SDK
await linkedin_ads . ad_campaign_analytics . list ( q = "<str>" , pivot = "<str>" , time_granularity = "<str>" , date_range = "<str>" , campaigns = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_campaign_analytics", "action": "list", "params": { "q": "<str>", "pivot": "<str>", "timeGranularity": "<str>", "dateRange": "<str>", "campaigns": "<str>" } }'
Parameters
Parameter Name Type Required Description qstringYes pivotstringYes Pivot dimension for analytics grouping timeGranularity"DAILY" | "MONTHLY" | "ALL"Yes Time granularity for analytics data dateRangestringYes Date range in LinkedIn format, e.g. (start:(year:2024,month:1,day:1),end:(year:2024,month:12,day:31)) campaignsstringYes List of campaign URNs, e.g. List(urn%3Ali%3AsponsoredCampaign%3A123) fieldsstringNo Comma-separated list of metric fields to return
Response Schema Records Field Name Type Description dateRangenull | objectpivotValuesnull | arrayimpressionsnull | integerclicksnull | integercostInLocalCurrencynull | stringcostInUsdnull | stringlikesnull | integersharesnull | integercommentsnull | integerreactionsnull | integerfollowsnull | integertotalEngagementsnull | integerlandingPageClicksnull | integercompanyPageClicksnull | integerexternalWebsiteConversionsnull | integerexternalWebsitePostClickConversionsnull | integerexternalWebsitePostViewConversionsnull | integerconversionValueInLocalCurrencynull | stringapproximateMemberReachnull | integercardClicksnull | integercardImpressionsnull | integervideoStartsnull | integervideoViewsnull | integervideoFirstQuartileCompletionsnull | integervideoMidpointCompletionsnull | integervideoThirdQuartileCompletionsnull | integervideoCompletionsnull | integerfullScreenPlaysnull | integeroneClickLeadsnull | integeroneClickLeadFormOpensnull | integerotherEngagementsnull | integeradUnitClicksnull | integeractionClicksnull | integertextUrlClicksnull | integercommentLikesnull | integersendsnull | integeropensnull | integerdownloadClicksnull | integerjobApplicationsnull | integerjobApplyClicksnull | integerregistrationsnull | integertalentLeadsnull | integervalidWorkEmailLeadsnull | integerpostClickJobApplicationsnull | integerpostClickJobApplyClicksnull | integerpostClickRegistrationsnull | integerpostViewJobApplicationsnull | integerpostViewJobApplyClicksnull | integerpostViewRegistrationsnull | integerleadGenerationMailContactInfoSharesnull | integerleadGenerationMailInterestedClicksnull | integerdocumentCompletionsnull | integerdocumentFirstQuartileCompletionsnull | integerdocumentMidpointCompletionsnull | integerdocumentThirdQuartileCompletionsnull | integer
Ad Campaign Analytics Search
Search and filter ad campaign analytics records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . ad_campaign_analytics . search ( query = { "filter" : { "eq" : { "impressions" : 0.0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_campaign_analytics", "action": "search", "params": { "query": {"filter": {"eq": {"impressions": 0.0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description impressionsnumberNumber of times the ad was shown clicksnumberNumber of clicks on the ad costInLocalCurrencynumberTotal cost in the accounts local currency costInUsdnumberTotal cost in USD likesnumberNumber of likes sharesnumberNumber of shares commentsnumberNumber of comments reactionsnumberNumber of reactions followsnumberNumber of follows totalEngagementsnumberTotal number of engagements landingPageClicksnumberNumber of landing page clicks companyPageClicksnumberNumber of company page clicks externalWebsiteConversionsnumberNumber of conversions on external websites externalWebsitePostClickConversionsnumberPost-click conversions on external websites externalWebsitePostViewConversionsnumberPost-view conversions on external websites conversionValueInLocalCurrencynumberConversion value in local currency approximateMemberReachnumberApproximate unique member reach cardClicksnumberNumber of carousel card clicks cardImpressionsnumberNumber of carousel card impressions videoStartsnumberNumber of video starts videoViewsnumberNumber of video views videoFirstQuartileCompletionsnumberNumber of times video played to 25% videoMidpointCompletionsnumberNumber of times video played to 50% videoThirdQuartileCompletionsnumberNumber of times video played to 75% videoCompletionsnumberNumber of times video played to 100% fullScreenPlaysnumberNumber of full screen video plays oneClickLeadsnumberNumber of one-click leads oneClickLeadFormOpensnumberNumber of one-click lead form opens otherEngagementsnumberNumber of other engagements adUnitClicksnumberNumber of ad unit clicks actionClicksnumberNumber of action clicks textUrlClicksnumberNumber of text URL clicks commentLikesnumberNumber of comment likes sendsnumberNumber of sends (InMail) opensnumberNumber of opens (InMail) downloadClicksnumberNumber of download clicks pivotValuesarrayPivot values (URNs) for this analytics record start_datestringStart date of the ad analytics data end_datestringEnd date of the ad analytics data
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].impressionsnumberNumber of times the ad was shown data[].clicksnumberNumber of clicks on the ad data[].costInLocalCurrencynumberTotal cost in the accounts local currency data[].costInUsdnumberTotal cost in USD data[].likesnumberNumber of likes data[].sharesnumberNumber of shares data[].commentsnumberNumber of comments data[].reactionsnumberNumber of reactions data[].followsnumberNumber of follows data[].totalEngagementsnumberTotal number of engagements data[].landingPageClicksnumberNumber of landing page clicks data[].companyPageClicksnumberNumber of company page clicks data[].externalWebsiteConversionsnumberNumber of conversions on external websites data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites data[].conversionValueInLocalCurrencynumberConversion value in local currency data[].approximateMemberReachnumberApproximate unique member reach data[].cardClicksnumberNumber of carousel card clicks data[].cardImpressionsnumberNumber of carousel card impressions data[].videoStartsnumberNumber of video starts data[].videoViewsnumberNumber of video views data[].videoFirstQuartileCompletionsnumberNumber of times video played to 25% data[].videoMidpointCompletionsnumberNumber of times video played to 50% data[].videoThirdQuartileCompletionsnumberNumber of times video played to 75% data[].videoCompletionsnumberNumber of times video played to 100% data[].fullScreenPlaysnumberNumber of full screen video plays data[].oneClickLeadsnumberNumber of one-click leads data[].oneClickLeadFormOpensnumberNumber of one-click lead form opens data[].otherEngagementsnumberNumber of other engagements data[].adUnitClicksnumberNumber of ad unit clicks data[].actionClicksnumberNumber of action clicks data[].textUrlClicksnumberNumber of text URL clicks data[].commentLikesnumberNumber of comment likes data[].sendsnumberNumber of sends (InMail) data[].opensnumberNumber of opens (InMail) data[].downloadClicksnumberNumber of download clicks data[].pivotValuesarrayPivot values (URNs) for this analytics record data[].start_datestringStart date of the ad analytics data data[].end_datestringEnd date of the ad analytics data
Ad Creative Analytics
Ad Creative Analytics List
Returns ad analytics data pivoted by creative. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by creative.
Python SDK
await linkedin_ads . ad_creative_analytics . list ( q = "<str>" , pivot = "<str>" , time_granularity = "<str>" , date_range = "<str>" , creatives = "<str>" )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_creative_analytics", "action": "list", "params": { "q": "<str>", "pivot": "<str>", "timeGranularity": "<str>", "dateRange": "<str>", "creatives": "<str>" } }'
Parameters
Parameter Name Type Required Description qstringYes pivotstringYes Pivot dimension for analytics grouping timeGranularity"DAILY" | "MONTHLY" | "ALL"Yes Time granularity for analytics data dateRangestringYes Date range in LinkedIn format, e.g. (start:(year:2024,month:1,day:1),end:(year:2024,month:12,day:31)) creativesstringYes List of creative URNs, e.g. List(urn%3Ali%3AsponsoredCreative%3A123) fieldsstringNo Comma-separated list of metric fields to return
Response Schema Records Field Name Type Description dateRangenull | objectpivotValuesnull | arrayimpressionsnull | integerclicksnull | integercostInLocalCurrencynull | stringcostInUsdnull | stringlikesnull | integersharesnull | integercommentsnull | integerreactionsnull | integerfollowsnull | integertotalEngagementsnull | integerlandingPageClicksnull | integercompanyPageClicksnull | integerexternalWebsiteConversionsnull | integerexternalWebsitePostClickConversionsnull | integerexternalWebsitePostViewConversionsnull | integerconversionValueInLocalCurrencynull | stringapproximateMemberReachnull | integercardClicksnull | integercardImpressionsnull | integervideoStartsnull | integervideoViewsnull | integervideoFirstQuartileCompletionsnull | integervideoMidpointCompletionsnull | integervideoThirdQuartileCompletionsnull | integervideoCompletionsnull | integerfullScreenPlaysnull | integeroneClickLeadsnull | integeroneClickLeadFormOpensnull | integerotherEngagementsnull | integeradUnitClicksnull | integeractionClicksnull | integertextUrlClicksnull | integercommentLikesnull | integersendsnull | integeropensnull | integerdownloadClicksnull | integerjobApplicationsnull | integerjobApplyClicksnull | integerregistrationsnull | integertalentLeadsnull | integervalidWorkEmailLeadsnull | integerpostClickJobApplicationsnull | integerpostClickJobApplyClicksnull | integerpostClickRegistrationsnull | integerpostViewJobApplicationsnull | integerpostViewJobApplyClicksnull | integerpostViewRegistrationsnull | integerleadGenerationMailContactInfoSharesnull | integerleadGenerationMailInterestedClicksnull | integerdocumentCompletionsnull | integerdocumentFirstQuartileCompletionsnull | integerdocumentMidpointCompletionsnull | integerdocumentThirdQuartileCompletionsnull | integer
Ad Creative Analytics Search
Search and filter ad creative analytics records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
Python SDK
await linkedin_ads . ad_creative_analytics . search ( query = { "filter" : { "eq" : { "impressions" : 0.0 } } } )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {your_auth_token}' \ --data '{ "entity": "ad_creative_analytics", "action": "search", "params": { "query": {"filter": {"eq": {"impressions": 0.0}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description impressionsnumberNumber of times the ad was shown clicksnumberNumber of clicks on the ad costInLocalCurrencynumberTotal cost in the accounts local currency costInUsdnumberTotal cost in USD likesnumberNumber of likes sharesnumberNumber of shares commentsnumberNumber of comments reactionsnumberNumber of reactions followsnumberNumber of follows totalEngagementsnumberTotal number of engagements landingPageClicksnumberNumber of landing page clicks companyPageClicksnumberNumber of company page clicks externalWebsiteConversionsnumberNumber of conversions on external websites externalWebsitePostClickConversionsnumberPost-click conversions on external websites externalWebsitePostViewConversionsnumberPost-view conversions on external websites conversionValueInLocalCurrencynumberConversion value in local currency approximateMemberReachnumberApproximate unique member reach cardClicksnumberNumber of carousel card clicks cardImpressionsnumberNumber of carousel card impressions videoStartsnumberNumber of video starts videoViewsnumberNumber of video views videoFirstQuartileCompletionsnumberNumber of times video played to 25% videoMidpointCompletionsnumberNumber of times video played to 50% videoThirdQuartileCompletionsnumberNumber of times video played to 75% videoCompletionsnumberNumber of times video played to 100% fullScreenPlaysnumberNumber of full screen video plays oneClickLeadsnumberNumber of one-click leads oneClickLeadFormOpensnumberNumber of one-click lead form opens otherEngagementsnumberNumber of other engagements adUnitClicksnumberNumber of ad unit clicks actionClicksnumberNumber of action clicks textUrlClicksnumberNumber of text URL clicks commentLikesnumberNumber of comment likes sendsnumberNumber of sends (InMail) opensnumberNumber of opens (InMail) downloadClicksnumberNumber of download clicks pivotValuesarrayPivot values (URNs) for this analytics record start_datestringStart date of the ad analytics data end_datestringEnd date of the ad analytics data
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].impressionsnumberNumber of times the ad was shown data[].clicksnumberNumber of clicks on the ad data[].costInLocalCurrencynumberTotal cost in the accounts local currency data[].costInUsdnumberTotal cost in USD data[].likesnumberNumber of likes data[].sharesnumberNumber of shares data[].commentsnumberNumber of comments data[].reactionsnumberNumber of reactions data[].followsnumberNumber of follows data[].totalEngagementsnumberTotal number of engagements data[].landingPageClicksnumberNumber of landing page clicks data[].companyPageClicksnumberNumber of company page clicks data[].externalWebsiteConversionsnumberNumber of conversions on external websites data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites data[].conversionValueInLocalCurrencynumberConversion value in local currency data[].approximateMemberReachnumberApproximate unique member reach data[].cardClicksnumberNumber of carousel card clicks data[].cardImpressionsnumberNumber of carousel card impressions data[].videoStartsnumberNumber of video starts data[].videoViewsnumberNumber of video views data[].videoFirstQuartileCompletionsnumberNumber of times video played to 25% data[].videoMidpointCompletionsnumberNumber of times video played to 50% data[].videoThirdQuartileCompletionsnumberNumber of times video played to 75% data[].videoCompletionsnumberNumber of times video played to 100% data[].fullScreenPlaysnumberNumber of full screen video plays data[].oneClickLeadsnumberNumber of one-click leads data[].oneClickLeadFormOpensnumberNumber of one-click lead form opens data[].otherEngagementsnumberNumber of other engagements data[].adUnitClicksnumberNumber of ad unit clicks data[].actionClicksnumberNumber of action clicks data[].textUrlClicksnumberNumber of text URL clicks data[].commentLikesnumberNumber of comment likes data[].sendsnumberNumber of sends (InMail) data[].opensnumberNumber of opens (InMail) data[].downloadClicksnumberNumber of download clicks data[].pivotValuesarrayPivot values (URNs) for this analytics record data[].start_datestringStart date of the ad analytics data data[].end_datestringEnd date of the ad analytics data