GET_CAMPAIGN_INSIGHTS_LINKEDIN_ADS

Get metrics such as clicks, impressions, reactions, and shares about your Ad campaigns by date.

icon of LinkedIn AdsLinkedIn Ads
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
GET_CAMPAIGN_INSIGHTS_LINKEDIN_ADS(account_name
[campaign]
[metrics]
[date_range]
[aggregation_period]
[breakdown]
)
account_name

Name or ID of your Linkedin Ads account. For example: "Personal Ads account".

[optional] campaign

Name of your campaign. For example: "Mobile campaign".

[optional] metrics

The range with a maximum of 20 metrics from your Ads campaign. For example: ["clicks","impressions"]. By default, it returns the most common metrics about the ad account. For a complete list of possible fields, see the LinkedIn Reporting API documentation.

Selected options:
Action clicks
Ad unit clicks
Approximate unique impressions
Card clicks
Viral clicks
Viral Comments
Viral Shares
Card impressions
Reach
Clicks
Comment likes
Comments
Company page clicks
Conversion value in local currency
Cost in local currency
Cost in usd
CPC
CPM
CTR
Date range
External website conversions
External website post click conversions
External website post view conversions
Follows
Full screen plays
Impressions
Landing page clicks
Lead generation mail contact info shares
Lead generation mail interested clicks
Likes
One click lead form opens
One click leads
Opens
Other engagements
Pivot values
Reactions
Sends
Shares
Text URL clicks
Total engagements
Video completions
Video first quartile completions
Video midpoint completions
Video starts
Video third quartile completions
Video views
[optional] date_range

Date range to get insights for. For example: ">2019", ">2019-11-01" or "[2010-01-01;2019-01-01]". By default, you get insights for the current month.

[optional] aggregation_period

The period of aggregation of the metrics. It can assume DAILY, MONTHLY, YEARLY, or ALL. By default the results will be grouped by ALL.

Selected options:
ALL
DAILY
MONTHLY
YEARLY
[optional] breakdown

The dimension to group results with demographic data, such as MEMBER_SENIORITY or MEMBER_JOB_FUNCTION. For more details, check this document.

Selected options:
Company
Company Size
Country
Industry
Job Function
Job Title
Region
Seniority
Conversion

Examples

GET_CAMPAIGN_INSIGHTS_LINKEDIN_ADS("Adidas") returns metrics about the campaigns of the account provided.