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 , Create , Get , Update , Delete , Context Store Search Account Users List , Update , Create , Delete , Context Store Search Campaigns List , Create , Get , Update , Delete , Context Store Search Campaign Groups List , Create , Get , Update , Delete , Context Store Search Creatives List , Create , Get , Update , Delete , Context Store Search Conversions List , Create , Get , Update , Context Store Search Conversion Events Create Campaign Conversions Create , Delete Ad Campaign Analytics List , Context Store Search Ad Creative Analytics List , Context Store Search Ad Impression Device Analytics List , Context Store Search Ad Member Company Analytics List , Context Store Search Ad Member Company Size Analytics List , Context Store Search Ad Member Country Analytics List , Context Store Search Ad Member Industry Analytics List , Context Store Search Ad Member Job Function Analytics List , Context Store Search Ad Member Job Title Analytics List , Context Store Search Ad Member Region Analytics List , Context Store Search Ad Member Seniority Analytics List , Context Store Search Lead Forms List , Context Store Search Lead Form Responses List , Context Store Search
Accounts
Accounts List
Returns a list of ad accounts the authenticated user has access to
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "accounts",
"action": "list",
"params": {
"q": "<str>"
}
}'
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 LinkedIn API finder method for querying ad accounts pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Field Name Type Description nextPageTokenstring
Accounts Create
Creates a new ad account. Only type BUSINESS can be created via the API (ENTERPRISE accounts cannot). Requires the rw_ads OAuth scope. The new account ID is returned in the x-restli-id response header.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "accounts",
"action": "create",
"params": {
"name": "<str>",
"type": "<str>",
"currency": "<str>",
"reference": "<str>",
"test": true
}
}'
Python SDK
await linkedin_ads . accounts . create (
name = "<str>" ,
type = "<str>" ,
currency = "<str>" ,
reference = "<str>" ,
test = True
)
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": "create",
"params": {
"name": "<str>",
"type": "<str>",
"currency": "<str>",
"reference": "<str>",
"test": True
}
}'
Parameters
Parameter Name Type Required Description namestringYes Ad account name type"BUSINESS"Yes Account type; only BUSINESS accounts can be created via the API currencystringNo ISO 4217 currency code, e.g. USD (defaults to USD) referencestringNo Optional owning organization URN, e.g. urn:li:organization:123456 testbooleanNo Whether to create a test account
Response Schema Field Name Type Description created_idstring
Accounts Get
Get a single ad account by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "accounts",
"action": "get",
"params": {
"id": 0
}
}'
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 Update
Partially updates an ad account using the Rest.li PARTIAL_UPDATE pattern: the body wraps the fields to change in patch.$set. Requires the rw_ads OAuth scope; most account fields require the ACCOUNT_BILLING_ADMIN role. To soft-delete a non-DRAFT account, set status to PENDING_DELETION here (billing admin only).
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "accounts",
"action": "update",
"params": {
"patch": {
"$set": {}
},
"id": 0
}
}'
Python SDK
await linkedin_ads . accounts . update (
patch = {
"$set" : { }
} ,
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": "update",
"params": {
"patch": {
"$set": {}
},
"id": 0
}
}'
Parameters
Parameter Name Type Required Description patchobjectYes patch.$setobjectYes Map of field names to their new values idintegerYes Ad account ID
Accounts Delete
Hard-deletes an ad account. Only accounts in DRAFT status accept a true DELETE; for non-DRAFT accounts use the update operation to set status to PENDING_DELETION. Both forms require the ACCOUNT_BILLING_ADMIN role and the rw_ads OAuth scope.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "accounts",
"action": "delete",
"params": {
"id": 0
}
}'
Python SDK
await linkedin_ads . accounts . delete (
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": "delete",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Ad account ID
Accounts Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "accounts",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"test": true
}
}
}
}
}'
Python SDK
await linkedin_ads . accounts . context_store_search (
query = { "filter" : { "eq" : { "test" : True } } }
)
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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"test": True}}}
}
}'
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 testbooleanFlag indicating if the account is in a test mode. notifiedOnCreativeRejectionbooleanFlag for notifications on creative rejection. notifiedOnNewFeaturesEnabledbooleanFlag for notifications on new features being enabled. notifiedOnEndOfCampaignbooleanFlag for notifications on the end of campaign. servingStatusesarrayThe serving statuses associated with the account. notifiedOnCampaignOptimizationbooleanFlag for notifications on campaign optimization. typestringThe type or category of the account. versionobjectThe version information related to the account. referencestringA reference identifier for the account. notifiedOnCreativeApprovalbooleanFlag for notifications on creative approval. createdstringThe timestamp indicating when the account was created. lastModifiedstringThe timestamp of the last modification made to the account. namestringThe name of the account. currencystringThe currency used for financial transactions in the account. idintegerThe unique identifier for the account. statusstringThe status of 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[].testbooleanFlag indicating if the account is in a test mode. data[].notifiedOnCreativeRejectionbooleanFlag for notifications on creative rejection. data[].notifiedOnNewFeaturesEnabledbooleanFlag for notifications on new features being enabled. data[].notifiedOnEndOfCampaignbooleanFlag for notifications on the end of campaign. data[].servingStatusesarrayThe serving statuses associated with the account. data[].notifiedOnCampaignOptimizationbooleanFlag for notifications on campaign optimization. data[].typestringThe type or category of the account. data[].versionobjectThe version information related to the account. data[].referencestringA reference identifier for the account. data[].notifiedOnCreativeApprovalbooleanFlag for notifications on creative approval. data[].createdstringThe timestamp indicating when the account was created. data[].lastModifiedstringThe timestamp of the last modification made to the account. data[].namestringThe name of the account. data[].currencystringThe currency used for financial transactions in the account. data[].idintegerThe unique identifier for the account. data[].statusstringThe status of the account.
Account Users
Account Users List
Returns a list of users associated with ad accounts
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "account_users",
"action": "list",
"params": {
"q": "<str>",
"accounts": "<str>"
}
}'
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 LinkedIn API finder method for querying by account URN 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 startintegercountintegertotalinteger
Account Users Update
Partially updates an account user's role using the Rest.li PARTIAL_UPDATE pattern: the body wraps the fields to change in patch.$set (e.g. {"patch": {"$set": {"role": "CAMPAIGN_MANAGER"}}}). Pass the raw account and user URNs as parameters; they are URL-encoded automatically. Requires the rw_ads OAuth scope and the ACCOUNT_BILLING_ADMIN or ACCOUNT_MANAGER role.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "account_users",
"action": "update",
"params": {
"patch": {
"$set": {}
},
"account": "<str>",
"user": "<str>"
}
}'
Python SDK
await linkedin_ads . account_users . update (
patch = {
"$set" : { }
} ,
account = "<str>" ,
user = "<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": "update",
"params": {
"patch": {
"$set": {}
},
"account": "<str>",
"user": "<str>"
}
}'
Parameters
Parameter Name Type Required Description patchobjectYes patch.$setobjectYes Map of field names to their new values accountstringYes Sponsored account URN, e.g. urn:li:sponsoredAccount:123456 userstringYes Person URN, e.g. urn:li:person:abc123
Account Users Create
Grants a user a role on an ad account. Note the non-standard Rest.li compound-key shape: this is a PUT (not POST) keyed by both the account and user URNs. Pass the raw URNs as parameters; they are URL-encoded automatically. Requires the rw_ads OAuth scope and the ACCOUNT_BILLING_ADMIN or ACCOUNT_MANAGER role.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "account_users",
"action": "create",
"params": {
"role": "<str>",
"account": "<str>",
"user": "<str>"
}
}'
Python SDK
await linkedin_ads . account_users . create (
role = "<str>" ,
account = "<str>" ,
user = "<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": "create",
"params": {
"role": "<str>",
"account": "<str>",
"user": "<str>"
}
}'
Parameters
Parameter Name Type Required Description role"ACCOUNT_BILLING_ADMIN" | "ACCOUNT_MANAGER" | "CAMPAIGN_MANAGER" | "CREATIVE_MANAGER" | "VIEWER"Yes Role to grant on the ad account accountstringYes Sponsored account URN, e.g. urn:li:sponsoredAccount:123456 userstringYes Person URN, e.g. urn:li:person:abc123
Account Users Delete
Removes a user's role from an ad account. Pass the raw account and user URNs as parameters; they are URL-encoded automatically. Requires the rw_ads OAuth scope and the ACCOUNT_BILLING_ADMIN or ACCOUNT_MANAGER role.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "account_users",
"action": "delete",
"params": {
"account": "<str>",
"user": "<str>"
}
}'
Python SDK
await linkedin_ads . account_users . delete (
account = "<str>" ,
user = "<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": "delete",
"params": {
"account": "<str>",
"user": "<str>"
}
}'
Parameters
Parameter Name Type Required Description accountstringYes Sponsored account URN, e.g. urn:li:sponsoredAccount:123456 userstringYes Person URN, e.g. urn:li:person:abc123
Account Users Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "account_users",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"account": "<str>"
}
}
}
}
}'
Python SDK
await linkedin_ads . account_users . context_store_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": "context_store_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 accountstringThe account associated with the user createdstringThe date and time when the user account was created lastModifiedstringThe date and time when the user account was last modified rolestringThe role assigned to the user in the account userstringThe user details including name, email, etc.
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[].accountstringThe account associated with the user data[].createdstringThe date and time when the user account was created data[].lastModifiedstringThe date and time when the user account was last modified data[].rolestringThe role assigned to the user in the account data[].userstringThe user details including name, email, etc.
Campaigns
Campaigns List
Returns a list of campaigns for an ad account
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaigns",
"action": "list",
"params": {
"account_id": 0,
"q": "<str>"
}
}'
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 LinkedIn API finder method for querying campaigns pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Field Name Type Description nextPageTokenstring
Campaigns Create
Creates a new campaign in the ad account. Requires the rw_ads OAuth scope and an ad-account role of CAMPAIGN_MANAGER or higher (VIEWER is read-only). The new campaign ID is returned in the x-restli-id response header. Commonly required fields beyond account and name include type, costType, unitCost or dailyBudget, locale, and targetingCriteria; LinkedIn returns a descriptive 400 when a required field is missing.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaigns",
"action": "create",
"params": {
"account": "<str>",
"name": "<str>",
"politicalIntent": "<str>",
"campaignGroup": "<str>",
"type": "<str>",
"objectiveType": "<str>",
"status": "<str>",
"costType": "<str>",
"dailyBudget": {},
"unitCost": {},
"locale": {},
"runSchedule": {},
"targetingCriteria": {},
"audienceExpansionEnabled": true,
"offsiteDeliveryEnabled": true,
"creativeSelection": "<str>",
"account_id": 0
}
}'
Python SDK
await linkedin_ads . campaigns . create (
account = "<str>" ,
name = "<str>" ,
political_intent = "<str>" ,
campaign_group = "<str>" ,
type = "<str>" ,
objective_type = "<str>" ,
status = "<str>" ,
cost_type = "<str>" ,
daily_budget = { } ,
unit_cost = { } ,
locale = { } ,
run_schedule = { } ,
targeting_criteria = { } ,
audience_expansion_enabled = True ,
offsite_delivery_enabled = True ,
creative_selection = "<str>" ,
account_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": "create",
"params": {
"account": "<str>",
"name": "<str>",
"politicalIntent": "<str>",
"campaignGroup": "<str>",
"type": "<str>",
"objectiveType": "<str>",
"status": "<str>",
"costType": "<str>",
"dailyBudget": {},
"unitCost": {},
"locale": {},
"runSchedule": {},
"targetingCriteria": {},
"audienceExpansionEnabled": True,
"offsiteDeliveryEnabled": True,
"creativeSelection": "<str>",
"account_id": 0
}
}'
Parameters
Parameter Name Type Required Description accountstringYes Sponsored account URN; must match the account_id path parameter, e.g. urn:li:sponsoredAccount:123456 namestringYes Campaign name politicalIntent"NOT_POLITICAL" | "POLITICAL"Yes Whether the campaign contains political content; LinkedIn requires this on create campaignGroupstringNo Campaign group URN, e.g. urn:li:sponsoredCampaignGroup:123456 type"TEXT_AD" | "SPONSORED_UPDATES" | "SPONSORED_INMAILS" | "DYNAMIC"No Campaign format objectiveTypestringNo Campaign objective, e.g. BRAND_AWARENESS, WEBSITE_VISIT, LEAD_GENERATION, WEBSITE_CONVERSION, VIDEO_VIEW, ENGAGEMENT, JOB_APPLICANT status"ACTIVE" | "PAUSED" | "DRAFT"No Initial campaign status costTypestringNo Bidding cost type, e.g. CPM, CPC, CPV dailyBudgetobjectNo Daily budget dailyBudget.amountstringNo dailyBudget.currencyCodestringNo unitCostobjectNo Bid amount per unit (per click, per impression, etc.) unitCost.amountstringNo unitCost.currencyCodestringNo localeobjectNo Campaign locale locale.countrystringNo locale.languagestringNo runScheduleobjectYes Scheduled run window (epoch milliseconds) runSchedule.startintegerNo runSchedule.endintegerNo targetingCriteriaobjectNo Audience targeting criteria (include/exclude clauses) audienceExpansionEnabledbooleanNo Whether audience expansion is enabled offsiteDeliveryEnabledbooleanYes Whether ads may be served on the LinkedIn Audience Network creativeSelectionstringNo Creative rotation strategy, e.g. ROUND_ROBIN, OPTIMIZED account_idintegerYes Ad account ID
Response Schema Field Name Type Description created_idstring
Campaigns Get
Get a single campaign by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaigns",
"action": "get",
"params": {
"account_id": 0,
"id": 0
}
}'
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 Update
Partially updates a campaign using the Rest.li PARTIAL_UPDATE pattern: the body wraps the fields to change in patch.$set. Requires the rw_ads OAuth scope and a CAMPAIGN_MANAGER or higher ad-account role. Note that $set on an array field (e.g. targetingCriteria lists) replaces the whole array, so re-send all existing elements. To soft-delete a non-DRAFT campaign, set status to PENDING_DELETION here.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaigns",
"action": "update",
"params": {
"patch": {
"$set": {}
},
"account_id": 0,
"id": 0
}
}'
Python SDK
await linkedin_ads . campaigns . update (
patch = {
"$set" : { }
} ,
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": "update",
"params": {
"patch": {
"$set": {}
},
"account_id": 0,
"id": 0
}
}'
Parameters
Parameter Name Type Required Description patchobjectYes patch.$setobjectYes Map of field names to their new values account_idintegerYes Ad account ID idintegerYes Campaign ID
Campaigns Delete
Hard-deletes a campaign. Only campaigns in DRAFT status accept a true DELETE; for non-DRAFT campaigns LinkedIn requires a soft delete instead - use the update operation to set status to PENDING_DELETION. Requires the rw_ads OAuth scope and a CAMPAIGN_MANAGER or higher ad-account role.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaigns",
"action": "delete",
"params": {
"account_id": 0,
"id": 0
}
}'
Python SDK
await linkedin_ads . campaigns . delete (
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": "delete",
"params": {
"account_id": 0,
"id": 0
}
}'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID idintegerYes Campaign ID
Campaigns Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaigns",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"targetingCriteria": {}
}
}
}
}
}'
Python SDK
await linkedin_ads . campaigns . context_store_search (
query = { "filter" : { "eq" : { "targetingCriteria" : { } } } }
)
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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"targetingCriteria": {}}}}
}
}'
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 targetingCriteriaobjectCriteria for targeting in the campaign. servingStatusesarrayThe serving statuses of the campaign. typestringThe type of campaign. localeobjectThe locale settings for the campaign. versionobjectThe version information for the campaign. associatedEntitystringThe entity associated with the campaign. runScheduleobjectThe schedule for running the campaign. optimizationTargetTypestringThe type of optimization target for the campaign. createdstringThe date and time when the campaign was created. lastModifiedstringThe date and time when the campaign was last modified. campaignGroupstringThe group to which the campaign belongs. dailyBudgetobjectThe daily budget set for the campaign. totalBudgetobjectThe total budget amount for the campaign. unitCostobjectThe unit cost for the campaign. creativeSelectionstringInformation about the creative selection for the campaign. costTypestringThe type of cost associated with the campaign. namestringThe name of the campaign. offsiteDeliveryEnabledbooleanIndicates if offsite delivery is enabled for the campaign. idintegerThe unique identifier of the campaign. audienceExpansionEnabledbooleanIndicates if audience expansion is enabled for this campaign. testbooleanIndicates if the campaign is a test campaign. accountstringThe account associated with the campaign data. statusstringThe status of the campaign. storyDeliveryEnabledbooleanIndicates if story delivery is enabled for the campaign. pacingStrategystringThe pacing strategy for the campaign. formatstringThe format of the campaign. objectiveTypestringThe type of objective for the campaign. offsitePreferencesobjectPreferences related to offsite delivery.
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[].targetingCriteriaobjectCriteria for targeting in the campaign. data[].servingStatusesarrayThe serving statuses of the campaign. data[].typestringThe type of campaign. data[].localeobjectThe locale settings for the campaign. data[].versionobjectThe version information for the campaign. data[].associatedEntitystringThe entity associated with the campaign. data[].runScheduleobjectThe schedule for running the campaign. data[].optimizationTargetTypestringThe type of optimization target for the campaign. data[].createdstringThe date and time when the campaign was created. data[].lastModifiedstringThe date and time when the campaign was last modified. data[].campaignGroupstringThe group to which the campaign belongs. data[].dailyBudgetobjectThe daily budget set for the campaign. data[].totalBudgetobjectThe total budget amount for the campaign. data[].unitCostobjectThe unit cost for the campaign. data[].creativeSelectionstringInformation about the creative selection for the campaign. data[].costTypestringThe type of cost associated with the campaign. data[].namestringThe name of the campaign. data[].offsiteDeliveryEnabledbooleanIndicates if offsite delivery is enabled for the campaign. data[].idintegerThe unique identifier of the campaign. data[].audienceExpansionEnabledbooleanIndicates if audience expansion is enabled for this campaign. data[].testbooleanIndicates if the campaign is a test campaign. data[].accountstringThe account associated with the campaign data. data[].statusstringThe status of the campaign. data[].storyDeliveryEnabledbooleanIndicates if story delivery is enabled for the campaign. data[].pacingStrategystringThe pacing strategy for the campaign. data[].formatstringThe format of the campaign. data[].objectiveTypestringThe type of objective for the campaign. data[].offsitePreferencesobjectPreferences related to offsite delivery.
Campaign Groups
Campaign Groups List
Returns a list of campaign groups for an ad account
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_groups",
"action": "list",
"params": {
"account_id": 0,
"q": "<str>"
}
}'
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 LinkedIn API finder method for querying campaign groups 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 Create
Creates a new campaign group in the ad account. Requires the rw_ads OAuth scope and a CAMPAIGN_MANAGER or higher ad-account role. The new campaign group ID is returned in the x-restli-id response header. runSchedule.start is required when creating with ACTIVE status.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_groups",
"action": "create",
"params": {
"account": "<str>",
"name": "<str>",
"status": "<str>",
"runSchedule": {},
"totalBudget": {},
"objectiveType": "<str>",
"account_id": 0
}
}'
Python SDK
await linkedin_ads . campaign_groups . create (
account = "<str>" ,
name = "<str>" ,
status = "<str>" ,
run_schedule = { } ,
total_budget = { } ,
objective_type = "<str>" ,
account_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": "create",
"params": {
"account": "<str>",
"name": "<str>",
"status": "<str>",
"runSchedule": {},
"totalBudget": {},
"objectiveType": "<str>",
"account_id": 0
}
}'
Parameters
Parameter Name Type Required Description accountstringYes Sponsored account URN; must match the account_id path parameter, e.g. urn:li:sponsoredAccount:123456 namestringYes Campaign group name status"ACTIVE" | "DRAFT"No Initial status runScheduleobjectYes Scheduled run window (epoch milliseconds) runSchedule.startintegerNo runSchedule.endintegerNo totalBudgetobjectNo Total budget across the group's lifetime totalBudget.amountstringNo totalBudget.currencyCodestringNo objectiveTypestringNo Objective shared by campaigns in this group account_idintegerYes Ad account ID
Response Schema Field Name Type Description created_idstring
Campaign Groups Get
Get a single campaign group by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_groups",
"action": "get",
"params": {
"account_id": 0,
"id": 0
}
}'
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 Update
Partially updates a campaign group using the Rest.li PARTIAL_UPDATE pattern: the body wraps the fields to change in patch.$set. Requires the rw_ads OAuth scope and a CAMPAIGN_MANAGER or higher ad-account role. $set on an array field replaces the whole array, so re-send all existing elements. To soft-delete a non-DRAFT campaign group, set status to PENDING_DELETION here.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_groups",
"action": "update",
"params": {
"patch": {
"$set": {}
},
"account_id": 0,
"id": 0
}
}'
Python SDK
await linkedin_ads . campaign_groups . update (
patch = {
"$set" : { }
} ,
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": "update",
"params": {
"patch": {
"$set": {}
},
"account_id": 0,
"id": 0
}
}'
Parameters
Parameter Name Type Required Description patchobjectYes patch.$setobjectYes Map of field names to their new values account_idintegerYes Ad account ID idintegerYes Campaign group ID
Campaign Groups Delete
Hard-deletes a campaign group. Only campaign groups in DRAFT status accept a true DELETE; for non-DRAFT campaign groups LinkedIn requires a soft delete instead - use the update operation to set status to PENDING_DELETION. Requires the rw_ads OAuth scope and a CAMPAIGN_MANAGER or higher ad-account role.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_groups",
"action": "delete",
"params": {
"account_id": 0,
"id": 0
}
}'
Python SDK
await linkedin_ads . campaign_groups . delete (
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": "delete",
"params": {
"account_id": 0,
"id": 0
}
}'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID idintegerYes Campaign group ID
Campaign Groups Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_groups",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"runSchedule": {}
}
}
}
}
}'
Python SDK
await linkedin_ads . campaign_groups . context_store_search (
query = { "filter" : { "eq" : { "runSchedule" : { } } } }
)
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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"runSchedule": {}}}}
}
}'
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 runScheduleobjectSchedule for running the campaign group. createdstringThe date and time when the campaign group was created. lastModifiedstringThe date and time when the campaign group was last modified. namestringName of the campaign group. testbooleanIndicates if the campaign group is a test campaign. totalBudgetobjectTotal budget allocated for the campaign group. servingStatusesarrayList of serving statuses for the campaign group. backfilledbooleanIndicates if the campaign group was backfilled. idintegerUnique identifier for the campaign group. accountstringThe account associated with the campaign group. statusstringCurrent status of the campaign group. allowedCampaignTypesarrayList of campaign types allowed for this campaign 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[].runScheduleobjectSchedule for running the campaign group. data[].createdstringThe date and time when the campaign group was created. data[].lastModifiedstringThe date and time when the campaign group was last modified. data[].namestringName of the campaign group. data[].testbooleanIndicates if the campaign group is a test campaign. data[].totalBudgetobjectTotal budget allocated for the campaign group. data[].servingStatusesarrayList of serving statuses for the campaign group. data[].backfilledbooleanIndicates if the campaign group was backfilled. data[].idintegerUnique identifier for the campaign group. data[].accountstringThe account associated with the campaign group. data[].statusstringCurrent status of the campaign group. data[].allowedCampaignTypesarrayList of campaign types allowed for this campaign group.
Creatives
Creatives List
Returns a list of creatives for an ad account
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "creatives",
"action": "list",
"params": {
"account_id": 0,
"q": "<str>"
}
}'
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 LinkedIn API finder method for querying creatives pageSizeintegerNo Number of items per page pageTokenstringNo Token for the next page of results
Response Schema Field Name Type Description nextPageTokenstring
Creatives Create
Creates a new creative in the ad account. Requires the rw_ads OAuth scope and a CREATIVE_MANAGER or higher ad-account role. The new creative URN is returned in the x-restli-id response header. The creative's content must reference existing assets (e.g. a post URN in content.reference for sponsored content).
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "creatives",
"action": "create",
"params": {
"campaign": "<str>",
"content": {},
"intendedStatus": "<str>",
"name": "<str>",
"account_id": 0
}
}'
Python SDK
await linkedin_ads . creatives . create (
campaign = "<str>" ,
content = { } ,
intended_status = "<str>" ,
name = "<str>" ,
account_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": "creatives",
"action": "create",
"params": {
"campaign": "<str>",
"content": {},
"intendedStatus": "<str>",
"name": "<str>",
"account_id": 0
}
}'
Parameters
Parameter Name Type Required Description campaignstringYes Campaign URN the creative belongs to, e.g. urn:li:sponsoredCampaign:123456 contentobjectNo Creative content. For sponsored content, reference an existing post URN via content.reference; other formats (textAd, spotlight, jobs) use their own sub-objects per the LinkedIn Creatives API documentation. intendedStatus"ACTIVE" | "PAUSED" | "DRAFT"No Desired serving status namestringNo Creative name account_idintegerYes Ad account ID
Response Schema Field Name Type Description created_idstring
Creatives Get
Get a single creative by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "creatives",
"action": "get",
"params": {
"account_id": 0,
"id": "<str>"
}
}'
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 Update
Partially updates a creative using the Rest.li PARTIAL_UPDATE pattern: the body wraps the fields to change in patch.$set. Only a limited set of creative fields is mutable (e.g. intendedStatus, name, leadgenCallToAction). Requires the rw_ads OAuth scope and a CREATIVE_MANAGER or higher ad-account role. To soft-delete a non-draft creative, set intendedStatus to PENDING_DELETION here.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "creatives",
"action": "update",
"params": {
"patch": {
"$set": {}
},
"account_id": 0,
"id": "<str>"
}
}'
Python SDK
await linkedin_ads . creatives . update (
patch = {
"$set" : { }
} ,
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": "update",
"params": {
"patch": {
"$set": {}
},
"account_id": 0,
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description patchobjectYes patch.$setobjectYes Map of field names to their new values account_idintegerYes Ad account ID idstringYes Creative URN, e.g. urn:li:sponsoredCreative:123456
Creatives Delete
Hard-deletes a creative. Only creatives in DRAFT intendedStatus (or linked to a draft campaign, or with failed video uploads) accept a true DELETE; LinkedIn uniquely requires the X-RestLi-Method DELETE header on this call. For other creatives, soft-delete via the update operation by setting intendedStatus to PENDING_DELETION. Requires the rw_ads OAuth scope and a CREATIVE_MANAGER or higher ad-account role.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "creatives",
"action": "delete",
"params": {
"account_id": 0,
"id": "<str>"
}
}'
Python SDK
await linkedin_ads . creatives . delete (
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": "delete",
"params": {
"account_id": 0,
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description account_idintegerYes Ad account ID idstringYes Creative URN, e.g. urn:li:sponsoredCreative:123456
Creatives Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "creatives",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"servingHoldReasons": []
}
}
}
}
}'
Python SDK
await linkedin_ads . creatives . context_store_search (
query = { "filter" : { "eq" : { "servingHoldReasons" : [ ] } } }
)
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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"servingHoldReasons": []}}}
}
}'
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 servingHoldReasonsarrayReasons for holding the creative from serving. lastModifiedAtintegerThe timestamp when the creative was last modified. lastModifiedBystringThe user who last modified the creative. contentobjectThe actual content of the creative. createdAtintegerThe timestamp when the creative was created. isTestbooleanBoolean indicating if the creative is a test creative. createdBystringThe user who created the creative. reviewobjectReview information for the creative. namestringThe name of the creative. isServingbooleanBoolean indicating if the creative is currently serving. campaignstringThe campaign to which the creative belongs. idstringThe unique identifier of the creative. intendedStatusstringThe intended status of the creative. accountstringThe account associated with the creative. leadgenCallToActionobjectCall-to-action information for lead generation purposes.
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[].servingHoldReasonsarrayReasons for holding the creative from serving. data[].lastModifiedAtintegerThe timestamp when the creative was last modified. data[].lastModifiedBystringThe user who last modified the creative. data[].contentobjectThe actual content of the creative. data[].createdAtintegerThe timestamp when the creative was created. data[].isTestbooleanBoolean indicating if the creative is a test creative. data[].createdBystringThe user who created the creative. data[].reviewobjectReview information for the creative. data[].namestringThe name of the creative. data[].isServingbooleanBoolean indicating if the creative is currently serving. data[].campaignstringThe campaign to which the creative belongs. data[].idstringThe unique identifier of the creative. data[].intendedStatusstringThe intended status of the creative. data[].accountstringThe account associated with the creative. data[].leadgenCallToActionobjectCall-to-action information for lead generation purposes.
Conversions
Conversions List
Returns a list of conversion rules for an ad account
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "conversions",
"action": "list",
"params": {
"q": "<str>",
"account": "<str>"
}
}'
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 LinkedIn API finder method for querying conversions by account 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 | stringownershipTypenull | stringconversionMethodnull | stringvalueTypenull | stringenablednull | booleancreatednull | integerlastModifiednull | integerpostClickAttributionWindowSizenull | integerviewThroughAttributionWindowSizenull | integercampaignsnull | arrayassociatedCampaignsnull | arrayimagePixelTagnull | stringlastCallbackAtnull | integerlatestFirstPartyCallbackAtnull | integerurlMatchRuleExpressionnull | arrayurlRulesnull | arrayvaluenull | object
Field Name Type Description totalinteger
Conversions Create
Creates a new conversion tracking rule. Conversions API write access is gated behind a separate LinkedIn partner approval - the rw_conversions OAuth scope alone is not sufficient until access is granted. The new conversion ID is returned in the x-restli-id response header. Set autoAssociationType to ALL_CAMPAIGNS to associate the rule with every campaign in the account automatically.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "conversions",
"action": "create",
"params": {
"account": "<str>",
"name": "<str>",
"type": "<str>",
"attributionType": "<str>",
"postClickAttributionWindowSize": 0,
"viewThroughAttributionWindowSize": 0,
"enabled": true,
"urlMatchRuleExpression": [],
"value": {},
"autoAssociationType": "<str>"
}
}'
Python SDK
await linkedin_ads . conversions . create (
account = "<str>" ,
name = "<str>" ,
type = "<str>" ,
attribution_type = "<str>" ,
post_click_attribution_window_size = 0 ,
view_through_attribution_window_size = 0 ,
enabled = True ,
url_match_rule_expression = [ ] ,
value = { } ,
auto_association_type = "<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": "create",
"params": {
"account": "<str>",
"name": "<str>",
"type": "<str>",
"attributionType": "<str>",
"postClickAttributionWindowSize": 0,
"viewThroughAttributionWindowSize": 0,
"enabled": True,
"urlMatchRuleExpression": [],
"value": {},
"autoAssociationType": "<str>"
}
}'
Parameters
Parameter Name Type Required Description accountstringYes Sponsored account URN, e.g. urn:li:sponsoredAccount:123456 namestringYes Conversion rule name typestringYes Conversion category, e.g. LEAD, PURCHASE, SIGN_UP, DOWNLOAD, ADD_TO_CART, INSTALL, KEY_PAGE_VIEW, OTHER attributionType"LAST_TOUCH_BY_CAMPAIGN" | "LAST_TOUCH_BY_CONVERSION"No How conversions are attributed to campaigns postClickAttributionWindowSizeintegerNo Post-click attribution window in days (1, 7, 30, or 90) viewThroughAttributionWindowSizeintegerNo View-through attribution window in days (1, 7, or 30) enabledbooleanNo Whether the rule is active urlMatchRuleExpressionarray<array<object>>No URL match rules for page-based conversion tracking valueobjectNo Monetary value assigned to each conversion value.amountstringNo value.currencyCodestringNo autoAssociationType"ALL_CAMPAIGNS"No Set to ALL_CAMPAIGNS to auto-associate with all campaigns in the account
Response Schema Field Name Type Description created_idstring
Conversions Get
Get a single conversion rule by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "conversions",
"action": "get",
"params": {
"id": 0
}
}'
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 | stringownershipTypenull | stringconversionMethodnull | stringvalueTypenull | stringenablednull | booleancreatednull | integerlastModifiednull | integerpostClickAttributionWindowSizenull | integerviewThroughAttributionWindowSizenull | integercampaignsnull | arrayassociatedCampaignsnull | arrayimagePixelTagnull | stringlastCallbackAtnull | integerlatestFirstPartyCallbackAtnull | integerurlMatchRuleExpressionnull | arrayurlRulesnull | arrayvaluenull | object
Conversions Update
Partially updates a conversion rule using the Rest.li PARTIAL_UPDATE pattern: the body wraps the fields to change in patch.$set. The account query parameter is required. Conversion rules have no hard delete - to retire one, soft-disable it here with {"patch": {"$set": {"enabled": false}}}. Conversions API write access is gated behind a separate LinkedIn partner approval.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "conversions",
"action": "update",
"params": {
"patch": {
"$set": {}
},
"id": 0,
"account": "<str>"
}
}'
Python SDK
await linkedin_ads . conversions . update (
patch = {
"$set" : { }
} ,
id = 0 ,
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": "update",
"params": {
"patch": {
"$set": {}
},
"id": 0,
"account": "<str>"
}
}'
Parameters
Parameter Name Type Required Description patchobjectYes patch.$setobjectYes Map of field names to their new values idintegerYes Conversion rule ID accountstringYes Sponsored account URN, e.g. urn:li:sponsoredAccount:123456
Conversions Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "conversions",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"attributionType": "<str>"
}
}
}
}
}'
Python SDK
await linkedin_ads . conversions . context_store_search (
query = { "filter" : { "eq" : { "attributionType" : "<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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"attributionType": "<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 attributionTypestringThe type of attribution for the conversion. accountstringThe account associated with the conversion data. campaignsarrayList of campaigns related to the conversion. createdintegerTimestamp of when the conversion was created. enabledbooleanFlag indicating if the conversion tracking is enabled. idintegerUnique identifier for the conversion. imagePixelTagstringPixel tag used for tracking the conversion. namestringName of the conversion. typestringType of conversion. latestFirstPartyCallbackAtintegerTimestamp of the latest first-party callback for the conversion. postClickAttributionWindowSizeintegerWindow size for post-click attribution. viewThroughAttributionWindowSizeintegerWindow size for view-through attribution. lastCallbackAtintegerTimestamp of the last callback for the conversion. lastModifiedintegerTimestamp of the last modification made to the conversion. valueobjectValue associated with the conversion. associatedCampaignsarrayCampaigns associated with the conversion. urlMatchRuleExpressionarrayExpression used for matching URLs for attribution. urlRulesarrayRules for URL matching in the conversion.
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[].attributionTypestringThe type of attribution for the conversion. data[].accountstringThe account associated with the conversion data. data[].campaignsarrayList of campaigns related to the conversion. data[].createdintegerTimestamp of when the conversion was created. data[].enabledbooleanFlag indicating if the conversion tracking is enabled. data[].idintegerUnique identifier for the conversion. data[].imagePixelTagstringPixel tag used for tracking the conversion. data[].namestringName of the conversion. data[].typestringType of conversion. data[].latestFirstPartyCallbackAtintegerTimestamp of the latest first-party callback for the conversion. data[].postClickAttributionWindowSizeintegerWindow size for post-click attribution. data[].viewThroughAttributionWindowSizeintegerWindow size for view-through attribution. data[].lastCallbackAtintegerTimestamp of the last callback for the conversion. data[].lastModifiedintegerTimestamp of the last modification made to the conversion. data[].valueobjectValue associated with the conversion. data[].associatedCampaignsarrayCampaigns associated with the conversion. data[].urlMatchRuleExpressionarrayExpression used for matching URLs for attribution. data[].urlRulesarrayRules for URL matching in the conversion.
Conversion Events
Conversion Events Create
Streams offline conversion events to LinkedIn (Conversions API event ingestion). This is a write-only Rest.li BATCH_CREATE: the body's elements array accepts up to 5,000 events per request. Each event references a conversion rule URN (urn:lla:llaPartnerConversion:{id}) and identifies the converting user by hashed email or other supported ID types. Conversions API access is gated behind a separate LinkedIn partner approval.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "conversion_events",
"action": "create",
"params": {
"elements": []
}
}'
Python SDK
await linkedin_ads . conversion_events . create (
elements = [ ]
)
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": "conversion_events",
"action": "create",
"params": {
"elements": []
}
}'
Parameters
Parameter Name Type Required Description elementsarray<object>Yes Conversion events to ingest elements.conversionstringYes Conversion rule URN, e.g. urn:lla:llaPartnerConversion:123456 elements.conversionHappenedAtintegerYes Epoch milliseconds when the conversion occurred elements.userobjectNo Identifies the converting user (hashed email or other supported ID types) elements.user.userIdsarray<object>No elements.user.userIds.idTypestringNo e.g. SHA256_EMAIL, LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID elements.user.userIds.idValuestringNo elements.user.userInfoobjectNo elements.conversionValueobjectNo Monetary value of this conversion elements.conversionValue.amountstringNo elements.conversionValue.currencyCodestringNo elements.eventIdstringNo Optional unique event ID for deduplication
Campaign Conversions
Campaign Conversions Create
Creates a campaign-to-conversion association using the Rest.li compound-key PUT pattern. Pass the raw campaign URN (urn:li:sponsoredCampaign:{id}) and conversion URN (urn:lla:llaPartnerConversion:{id}); they are URL-encoded automatically. Conversions API access is gated behind a separate LinkedIn partner approval.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_conversions",
"action": "create",
"params": {
"campaign": "<str>",
"conversion": "<str>",
"campaign_urn": "<str>",
"conversion_urn": "<str>"
}
}'
Python SDK
await linkedin_ads . campaign_conversions . create (
campaign = "<str>" ,
conversion = "<str>" ,
campaign_urn = "<str>" ,
conversion_urn = "<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_conversions",
"action": "create",
"params": {
"campaign": "<str>",
"conversion": "<str>",
"campaign_urn": "<str>",
"conversion_urn": "<str>"
}
}'
Parameters
Parameter Name Type Required Description campaignstringNo Campaign URN, e.g. urn:li:sponsoredCampaign:123456 conversionstringNo Conversion rule URN, e.g. urn:lla:llaPartnerConversion:123456 campaign_urnstringYes Campaign URN, e.g. urn:li:sponsoredCampaign:123456 conversion_urnstringYes Conversion rule URN, e.g. urn:lla:llaPartnerConversion:123456
Campaign Conversions Delete
Deletes a campaign-to-conversion association by its compound key. Pass the raw campaign and conversion URNs; they are URL-encoded automatically. Conversions API access is gated behind a separate LinkedIn partner approval.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "campaign_conversions",
"action": "delete",
"params": {
"campaign_urn": "<str>",
"conversion_urn": "<str>"
}
}'
Python SDK
await linkedin_ads . campaign_conversions . delete (
campaign_urn = "<str>" ,
conversion_urn = "<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_conversions",
"action": "delete",
"params": {
"campaign_urn": "<str>",
"conversion_urn": "<str>"
}
}'
Parameters
Parameter Name Type Required Description campaign_urnstringYes Campaign URN, e.g. urn:li:sponsoredCampaign:123456 conversion_urnstringYes Conversion rule URN, e.g. urn:lla:llaPartnerConversion:123456
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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_campaign_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
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 LinkedIn API finder method for querying ad analytics 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 Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_campaign_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_campaign_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_creative_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"creatives": "<str>"
}
}'
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 LinkedIn API finder method for querying ad analytics 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 Context Store 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_creative_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_creative_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCreativestringSponsored creative
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCreativestringSponsored creative
Ad Impression Device Analytics
Ad Impression Device Analytics List
Returns ad analytics data pivoted by impression device type. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by impression device type.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_impression_device_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_impression_device_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_impression_device_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Impression Device Analytics Context Store Search
Search and filter ad impression device 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_impression_device_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_impression_device_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_impression_device_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Company Analytics
Ad Member Company Analytics List
Returns ad analytics data pivoted by member company. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member company.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_company_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_company_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_member_company_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Company Analytics Context Store Search
Search and filter ad member company 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_company_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_company_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_company_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Company Size Analytics
Ad Member Company Size Analytics List
Returns ad analytics data pivoted by member company size. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member company size.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_company_size_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_company_size_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_member_company_size_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Company Size Analytics Context Store Search
Search and filter ad member company size 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_company_size_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_company_size_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_company_size_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Country Analytics
Ad Member Country Analytics List
Returns ad analytics data pivoted by member country. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member country.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_country_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_country_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_member_country_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Country Analytics Context Store Search
Search and filter ad member country 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_country_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_country_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_country_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Industry Analytics
Ad Member Industry Analytics List
Returns ad analytics data pivoted by member industry. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member industry.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_industry_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_industry_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_member_industry_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Industry Analytics Context Store Search
Search and filter ad member industry 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_industry_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_industry_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_industry_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Job Function Analytics
Ad Member Job Function Analytics List
Returns ad analytics data pivoted by member job function. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member job function.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_job_function_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_job_function_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_member_job_function_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Job Function Analytics Context Store Search
Search and filter ad member job function 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_job_function_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_job_function_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_job_function_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Job Title Analytics
Ad Member Job Title Analytics List
Returns ad analytics data pivoted by member job title. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member job title.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_job_title_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_job_title_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_member_job_title_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Job Title Analytics Context Store Search
Search and filter ad member job title 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_job_title_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_job_title_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_job_title_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Region Analytics
Ad Member Region Analytics List
Returns ad analytics data pivoted by member region. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member region.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_region_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_region_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_member_region_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Region Analytics Context Store Search
Search and filter ad member region 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_region_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_region_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_region_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Ad Member Seniority Analytics
Ad Member Seniority Analytics List
Returns ad analytics data pivoted by member seniority. Provides performance metrics including clicks, impressions, spend, and engagement data grouped by member seniority.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_seniority_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Python SDK
await linkedin_ads . ad_member_seniority_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_member_seniority_analytics",
"action": "list",
"params": {
"q": "<str>",
"pivot": "<str>",
"timeGranularity": "<str>",
"dateRange": "<str>",
"campaigns": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying ad analytics 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 Member Seniority Analytics Context Store Search
Search and filter ad member seniority 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "ad_member_seniority_analytics",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"actionClicks": 0.0
}
}
}
}
}'
Python SDK
await linkedin_ads . ad_member_seniority_analytics . context_store_search (
query = { "filter" : { "eq" : { "actionClicks" : 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_member_seniority_analytics",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"actionClicks": 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 actionClicksnumberThe number of clicks on action buttons in the ad. adUnitClicksnumberThe number of clicks on ad unit components. approximateMemberReachnumberAn approximation of unique ad impressions. cardClicksnumberThe number of clicks on interactive card elements. cardImpressionsnumberThe number of times interactive cards were displayed. clicksnumberTotal number of clicks on the ad. commentLikesnumberThe count of likes on comments related to the ad. commentsnumberThe number of comments on the ad. companyPageClicksnumberClicks on the company page associated with the ad. conversionValueInLocalCurrencynumberConversion value in the local currency. costInLocalCurrencynumberCost of ad campaign in the local currency. costInUsdnumberCost of ad campaign in USD. documentCompletionsnumberNumber of completions for document views. documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. documentMidpointCompletionsnumberCompletions for midpoint of document views. documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. downloadClicksnumberClicks on download links in the ad. end_datestringEnd date of the ad analytics data. externalWebsiteConversionsnumberConversions that lead to external websites. externalWebsitePostClickConversionsnumberPost-click conversions on external websites. externalWebsitePostViewConversionsnumberPost-view conversions on external websites. followsnumberNumber of follows generated by the ad. fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. impressionsnumberTotal number of times the ad was displayed. jobApplicationsnumberNumber of job applications initiated through the ad. jobApplyClicksnumberClicks on apply job button in the ad. landingPageClicksnumberClicks on the landing page associated with the ad. leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. likesnumberTotal likes received on the ad. oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. oneClickLeadsnumberLeads generated in one click. opensnumberThe number of times the ad was opened or expanded. otherEngagementsnumberEngagements other than clicks on the ad. pivotValuesarrayValues used for pivoting the analytics. string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. postClickRegistrationsnumberRegistrations completed post-clicking on the ad. postViewJobApplicationsnumberJob applications initiated post-viewing the ad. postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. postViewRegistrationsnumberRegistrations completed post-viewing the ad. reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. registrationsnumberTotal registrations completed through the ad. sendsnumberNumber of messages sent through the ad. sharesnumberTotal shares generated by the ad. start_datestringStart date of the ad analytics data. talentLeadsnumberNumber of leads related to talent acquisition. textUrlClicksnumberClicks on text URLs within the ad. totalEngagementsnumberTotal number of engagements on the ad. validWorkEmailLeadsnumberLeads generated through valid work emails. videoCompletionsnumberNumber of times videos were watched till completion. videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. videoMidpointCompletionsnumberCompletions for midpoint of video views. videoStartsnumberTotal video starts initiated by users. videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. videoViewsnumberTotal views of videos in the ad. viralCardClicksnumberClicks on interactive card components in viral distribution. viralCardImpressionsnumberImpressions of interactive cards in viral distribution. viralClicksnumberTotal clicks in viral distribution of the ad. viralCommentLikesnumberLikes received on comments in viral distribution. viralCommentsnumberNumber of comments in viral distribution of the ad. viralCompanyPageClicksnumberClicks on the company page in viral distribution. viralDocumentCompletionsnumberComplete views of documents in viral distribution. viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. viralFollowsnumberFollows generated in viral distribution of the ad. viralFullScreenPlaysnumberFullscreen video plays in viral distribution. viralImpressionsnumberTotal impressions in viral distribution of the ad. viralJobApplicationsnumberJob applications initiated in viral distribution. viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. viralLandingPageClicksnumberClicks on landing page in viral distribution. viralLikesnumberTotal likes in viral distribution of the ad. viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. viralOneClickLeadsnumberLeads generated in one click in viral distribution. viralOtherEngagementsnumberOther engagements in viral distribution of the ad. viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. viralReactionsnumberTotal reactions in viral distribution of the ad. viralRegistrationsnumberTotal registrations in viral distribution of the ad. viralSharesnumberTotal shares in viral distribution of the ad. viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. viralVideoCompletionsnumberCompletions of videos in viral distribution. viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. viralVideoStartsnumberTotal video starts in viral distribution of the ad. viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. viralVideoViewsnumberTotal views of videos in viral distribution of the ad. pivotstringPivot dimension used for this analytics record sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
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[].actionClicksnumberThe number of clicks on action buttons in the ad. data[].adUnitClicksnumberThe number of clicks on ad unit components. data[].approximateMemberReachnumberAn approximation of unique ad impressions. data[].cardClicksnumberThe number of clicks on interactive card elements. data[].cardImpressionsnumberThe number of times interactive cards were displayed. data[].clicksnumberTotal number of clicks on the ad. data[].commentLikesnumberThe count of likes on comments related to the ad. data[].commentsnumberThe number of comments on the ad. data[].companyPageClicksnumberClicks on the company page associated with the ad. data[].conversionValueInLocalCurrencynumberConversion value in the local currency. data[].costInLocalCurrencynumberCost of ad campaign in the local currency. data[].costInUsdnumberCost of ad campaign in USD. data[].documentCompletionsnumberNumber of completions for document views. data[].documentFirstQuartileCompletionsnumberCompletions for first quartile of document views. data[].documentMidpointCompletionsnumberCompletions for midpoint of document views. data[].documentThirdQuartileCompletionsnumberCompletions for third quartile of document views. data[].downloadClicksnumberClicks on download links in the ad. data[].end_datestringEnd date of the ad analytics data. data[].externalWebsiteConversionsnumberConversions that lead to external websites. data[].externalWebsitePostClickConversionsnumberPost-click conversions on external websites. data[].externalWebsitePostViewConversionsnumberPost-view conversions on external websites. data[].followsnumberNumber of follows generated by the ad. data[].fullScreenPlaysnumberNumber of times videos were played in fullscreen mode. data[].impressionsnumberTotal number of times the ad was displayed. data[].jobApplicationsnumberNumber of job applications initiated through the ad. data[].jobApplyClicksnumberClicks on apply job button in the ad. data[].landingPageClicksnumberClicks on the landing page associated with the ad. data[].leadGenerationMailContactInfoSharesnumberShares of contact information through lead generation. data[].leadGenerationMailInterestedClicksnumberClicks on expressing interest through lead generation mail. data[].likesnumberTotal likes received on the ad. data[].oneClickLeadFormOpensnumberNumber of times lead forms were opened in one click. data[].oneClickLeadsnumberLeads generated in one click. data[].opensnumberThe number of times the ad was opened or expanded. data[].otherEngagementsnumberEngagements other than clicks on the ad. data[].pivotValuesarrayValues used for pivoting the analytics. data[].string_of_pivot_valuesstringComma-separated string of pivot values for this analytics record data[].postClickJobApplicationsnumberJob applications initiated post-clicking on the ad. data[].postClickJobApplyClicksnumberClicks on apply job button post-clicking on the ad. data[].postClickRegistrationsnumberRegistrations completed post-clicking on the ad. data[].postViewJobApplicationsnumberJob applications initiated post-viewing the ad. data[].postViewJobApplyClicksnumberClicks on apply job button post-viewing the ad. data[].postViewRegistrationsnumberRegistrations completed post-viewing the ad. data[].reactionsnumberTotal reactions (e.g., like, love, celebrate) on the ad. data[].registrationsnumberTotal registrations completed through the ad. data[].sendsnumberNumber of messages sent through the ad. data[].sharesnumberTotal shares generated by the ad. data[].start_datestringStart date of the ad analytics data. data[].talentLeadsnumberNumber of leads related to talent acquisition. data[].textUrlClicksnumberClicks on text URLs within the ad. data[].totalEngagementsnumberTotal number of engagements on the ad. data[].validWorkEmailLeadsnumberLeads generated through valid work emails. data[].videoCompletionsnumberNumber of times videos were watched till completion. data[].videoFirstQuartileCompletionsnumberCompletions for first quartile of video views. data[].videoMidpointCompletionsnumberCompletions for midpoint of video views. data[].videoStartsnumberTotal video starts initiated by users. data[].videoThirdQuartileCompletionsnumberCompletions for third quartile of video views. data[].videoViewsnumberTotal views of videos in the ad. data[].viralCardClicksnumberClicks on interactive card components in viral distribution. data[].viralCardImpressionsnumberImpressions of interactive cards in viral distribution. data[].viralClicksnumberTotal clicks in viral distribution of the ad. data[].viralCommentLikesnumberLikes received on comments in viral distribution. data[].viralCommentsnumberNumber of comments in viral distribution of the ad. data[].viralCompanyPageClicksnumberClicks on the company page in viral distribution. data[].viralDocumentCompletionsnumberComplete views of documents in viral distribution. data[].viralDocumentFirstQuartileCompletionsnumberFirst quartile completions of documents in viral distribution. data[].viralDocumentMidpointCompletionsnumberMidpoint completions of documents in viral distribution. data[].viralDocumentThirdQuartileCompletionsnumberThird quartile completions of documents in viral distribution. data[].viralDownloadClicksnumberClicks on downloads in viral distribution of the ad. data[].viralExternalWebsiteConversionsnumberExternal website conversions in viral distribution. data[].viralExternalWebsitePostClickConversionsnumberPost-click conversions on external websites in viral distribution. data[].viralExternalWebsitePostViewConversionsnumberPost-view conversions on external websites in viral distribution. data[].viralFollowsnumberFollows generated in viral distribution of the ad. data[].viralFullScreenPlaysnumberFullscreen video plays in viral distribution. data[].viralImpressionsnumberTotal impressions in viral distribution of the ad. data[].viralJobApplicationsnumberJob applications initiated in viral distribution. data[].viralJobApplyClicksnumberClicks on apply job button in viral distribution of the ad. data[].viralLandingPageClicksnumberClicks on landing page in viral distribution. data[].viralLikesnumberTotal likes in viral distribution of the ad. data[].viralOneClickLeadFormOpensnumberOne-click lead form opens in viral distribution. data[].viralOneClickLeadsnumberLeads generated in one click in viral distribution. data[].viralOtherEngagementsnumberOther engagements in viral distribution of the ad. data[].viralPostClickJobApplicationsnumberJob applications initiated post-clicking in viral distribution. data[].viralPostClickJobApplyClicksnumberClicks on apply job button post-clicking in viral distribution. data[].viralPostClickRegistrationsnumberRegistrations completed post-clicking in viral distribution. data[].viralPostViewJobApplicationsnumberJob applications initiated post-viewing in viral distribution. data[].viralPostViewJobApplyClicksnumberClicks on apply job button post-viewing in viral distribution. data[].viralPostViewRegistrationsnumberRegistrations completed post-viewing in viral distribution. data[].viralReactionsnumberTotal reactions in viral distribution of the ad. data[].viralRegistrationsnumberTotal registrations in viral distribution of the ad. data[].viralSharesnumberTotal shares in viral distribution of the ad. data[].viralTotalEngagementsnumberTotal engagements in viral distribution of the ad. data[].viralVideoCompletionsnumberCompletions of videos in viral distribution. data[].viralVideoFirstQuartileCompletionsnumberFirst quartile completions of videos in viral distribution. data[].viralVideoMidpointCompletionsnumberMidpoint completions of videos in viral distribution. data[].viralVideoStartsnumberTotal video starts in viral distribution of the ad. data[].viralVideoThirdQuartileCompletionsnumberThird quartile completions of videos in viral distribution. data[].viralVideoViewsnumberTotal views of videos in viral distribution of the ad. data[].pivotstringPivot dimension used for this analytics record data[].sponsoredCampaignstringURN of the sponsored campaign this analytics record belongs to
Returns a list of lead generation forms owned by a sponsored ad account
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "lead_forms",
"action": "list",
"params": {
"q": "<str>",
"owner": "<str>"
}
}'
Python SDK
await linkedin_ads . lead_forms . list (
q = "<str>" ,
owner = "<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": "lead_forms",
"action": "list",
"params": {
"q": "<str>",
"owner": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying lead forms by owner ownerstringYes Owner of the lead forms, e.g. (sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A123456) countintegerNo Number of items per page startintegerNo Offset for pagination
Response Schema Records Field Name Type Description idintegernamenull | stringownernull | objectstatenull | stringcontentnull | objectcreatednull | integerlastModifiednull | integercreationLocalenull | objecthiddenFieldsnull | arrayreviewInfonull | objectversionIdnull | integerversionTagnull | string
Field Name Type Description startintegercountintegertotalinteger
Lead Forms Context Store Search
Search and filter lead forms 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "lead_forms",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await linkedin_ads . lead_forms . context_store_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": "lead_forms",
"action": "context_store_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 idintegerNumerical identifier for the form. namestringName of the Lead Form provided by the owner. ownerobjectURN that identifies the owner of the Lead Form. It's a Union of sponsoredAccount and organization. sponsoredAccount is an URN of SponsoredAccountUrn that indicates the account of the advertiser. organization is an URN of OrganizationUrn that indicates the company account of the marketer. statestringInformation about the current state of the Lead Form. contentobjectContent of the Lead Form which will be displayed to the viewer. createdintegerAn epoch time corresponding to the creation of the form. lastModifiedintegerAn epoch time corresponding to the last modified of of the form. creationLocaleobjectLocale of the entity. This field serves as the preferred locale for all fields within the Lead Form with an object type that is capable of localization, such as MultiLocaleString. hiddenFieldsarrayHidden fields used by the owner to track key attributes of the form that generated the lead. The field is empty if the owner chooses to not append any tracking attributes to the Lead Form. reviewInfoobjectLatest information about the content review of the Lead Form. It will not be present if the form has not been reviewed by the review pipeline. versionIdintegerThe version ID of the form. This is a derived field and is generated on the server side. versionTagstringThe number of times the form has been modified.
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[].idintegerNumerical identifier for the form. data[].namestringName of the Lead Form provided by the owner. data[].ownerobjectURN that identifies the owner of the Lead Form. It's a Union of sponsoredAccount and organization. sponsoredAccount is an URN of SponsoredAccountUrn that indicates the account of the advertiser. organization is an URN of OrganizationUrn that indicates the company account of the marketer. data[].statestringInformation about the current state of the Lead Form. data[].contentobjectContent of the Lead Form which will be displayed to the viewer. data[].createdintegerAn epoch time corresponding to the creation of the form. data[].lastModifiedintegerAn epoch time corresponding to the last modified of of the form. data[].creationLocaleobjectLocale of the entity. This field serves as the preferred locale for all fields within the Lead Form with an object type that is capable of localization, such as MultiLocaleString. data[].hiddenFieldsarrayHidden fields used by the owner to track key attributes of the form that generated the lead. The field is empty if the owner chooses to not append any tracking attributes to the Lead Form. data[].reviewInfoobjectLatest information about the content review of the Lead Form. It will not be present if the form has not been reviewed by the review pipeline. data[].versionIdintegerThe version ID of the form. This is a derived field and is generated on the server side. data[].versionTagstringThe number of times the form has been modified.
Returns a list of lead form responses submitted to forms owned by a sponsored ad account
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "lead_form_responses",
"action": "list",
"params": {
"q": "<str>",
"owner": "<str>",
"leadType": "<str>"
}
}'
Python SDK
await linkedin_ads . lead_form_responses . list (
q = "<str>" ,
owner = "<str>" ,
lead_type = "<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": "lead_form_responses",
"action": "list",
"params": {
"q": "<str>",
"owner": "<str>",
"leadType": "<str>"
}
}'
Parameters
Parameter Name Type Required Description qstringYes LinkedIn API finder method for querying lead form responses by owner ownerstringYes Owner of the lead form responses, e.g. (sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A123456) leadTypestringYes Type of leads to return, e.g. (leadType:SPONSORED) countintegerNo Number of items per page startintegerNo Offset for pagination
Response Schema Records Field Name Type Description idnull | stringleadTypenull | stringformnull | objectownernull | objectownerInfonull | objectleadMetadatanull | objectleadMetadataInfonull | objectassociatedEntitynull | objectassociatedEntityInfonull | objectsubmittedAtnull | integerresponseIdnull | objectformResponsenull | objecttestLeadnull | booleansubmitternull | stringversionedLeadGenFormUrnnull | string
Field Name Type Description startintegercountintegertotalinteger
Lead Form Responses Context Store Search
Search and filter lead form responses 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.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "linkedin-ads",
"entity": "lead_form_responses",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": "<str>"
}
}
}
}
}'
Python SDK
await linkedin_ads . lead_form_responses . context_store_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": "lead_form_responses",
"action": "context_store_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 id to identify the Lead Form Response. leadTypestringType of the lead representing the origination of the lead. formobjectURN identifying which form this FormResponse belongs to. ownerobjectOwner of this Lead Form Response. It is a Union of sponsoredAccount and organization. sponsoredAccount is an URN of SponsoredAccountUrn that indicates the ad account of the advertiser. organization is an URN of OrganizationUrn that indicates the company page of the advertiser. ownerInfoobjectRecord containing entity info that owns this Lead Form Response. It's a optional Union of sponsoredAccountInfo and organizationInfo. leadMetadataobjectMetadata of a lead. This field is optional for test leads and other use cases where sponsored lead metadata (e.g. campaign) may not be relevant. If there is no value, the field is not returned. leadMetadataInfoobjectRecord containing a subset of fields resolved on demand from the lead metadata references (e.g. campaign name , campaign type). If there is no value, an empty object is returned. associatedEntityobjectURN identifying which entity the lead is associated with. This field is optional for test leads and other use cases where leads don't have any associatedEntity. If there is no value, the field is not returned. associatedEntityInfoobjectRecord containing useful fields (creative status, ugc reference etc.) resolved on demand from the associated entity object. If there is no value, an empty object is returned. submittedAtintegerAn epoch timestamp that recording when the form response was submitted. responseIdobjectThe unique identifier for the form response generated in the front-end when a submitter submits the response. formResponseobjectAnswers provided by the form submitter. testLeadbooleanWhether this is a test lead created for testing purposes. submitterstringFrom version 202408 onwards, Guest Leads (when a user submits a form without being logged in) submitted to lead forms, submitter field is treated as a null field and omitted from the JSON response. For non-guest leads, the submitter field will still be included in the response and will provide the person's URN. Ex: "submitter": "urn:li:person:MpGcnvaU_p". Yes versionedLeadGenFormUrnstringURN identifying which form this FormResponse belongs to.
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 id to identify the Lead Form Response. data[].leadTypestringType of the lead representing the origination of the lead. data[].formobjectURN identifying which form this FormResponse belongs to. data[].ownerobjectOwner of this Lead Form Response. It is a Union of sponsoredAccount and organization. sponsoredAccount is an URN of SponsoredAccountUrn that indicates the ad account of the advertiser. organization is an URN of OrganizationUrn that indicates the company page of the advertiser. data[].ownerInfoobjectRecord containing entity info that owns this Lead Form Response. It's a optional Union of sponsoredAccountInfo and organizationInfo. data[].leadMetadataobjectMetadata of a lead. This field is optional for test leads and other use cases where sponsored lead metadata (e.g. campaign) may not be relevant. If there is no value, the field is not returned. data[].leadMetadataInfoobjectRecord containing a subset of fields resolved on demand from the lead metadata references (e.g. campaign name , campaign type). If there is no value, an empty object is returned. data[].associatedEntityobjectURN identifying which entity the lead is associated with. This field is optional for test leads and other use cases where leads don't have any associatedEntity. If there is no value, the field is not returned. data[].associatedEntityInfoobjectRecord containing useful fields (creative status, ugc reference etc.) resolved on demand from the associated entity object. If there is no value, an empty object is returned. data[].submittedAtintegerAn epoch timestamp that recording when the form response was submitted. data[].responseIdobjectThe unique identifier for the form response generated in the front-end when a submitter submits the response. data[].formResponseobjectAnswers provided by the form submitter. data[].testLeadbooleanWhether this is a test lead created for testing purposes. data[].submitterstringFrom version 202408 onwards, Guest Leads (when a user submits a form without being logged in) submitted to lead forms, submitter field is treated as a null field and omitted from the JSON response. For non-guest leads, the submitter field will still be included in the response and will provide the person's URN. Ex: "submitter": "urn:li:person:MpGcnvaU_p". Yes data[].versionedLeadGenFormUrnstringURN identifying which form this FormResponse belongs to.