Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "linkedin_ads-create-report-by-advertiser-account",
name: "Create Report By Advertiser Account",
description: "Sample query using analytics finder that gets analytics for a particular account for date range starting in a given year. [See the docs here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting#sample-request)",
version: "0.0.6",
version: "0.0.7",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "linkedin_ads-create-report-by-campaign",
name: "Query Analytics Finder Campaign Sample",
description: "Sample query using analytics finder that gets analytics for a particular campaign in a date range starting in a given year. [See the docs here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting#analytics-finder)",
version: "0.0.6",
version: "0.0.7",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@ export default {
key: "linkedin_ads-create-report",
name: "Create A Report",
description: "Queries the Analytics Finder to get analytics for the specified entity i.e company, account, campaign. [See the docs here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting#analytics-finder)",
version: "0.0.6",
version: "0.0.7",
annotations: {
destructiveHint: false,
openWorldHint: true,
readOnlyHint: true,
},
type: "action",
props: {
// eslint-disable-next-line pipedream/props-label, pipedream/props-description
infoAlert: {
type: "alert",
alertType: "info",
content: "Please provide at least one facet to get analytics if needed. Eg. **Accounts**.",
},
...common.props,
adAccountId: {
propDefinition: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "linkedin_ads-send-conversion-event",
name: "Send Conversion Event",
description: "Sends a conversion event to LinkedIn Ads. [See the documentation](https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/conversions-api?view=li-lms-2024-01&tabs=http#streaming-conversion-events)",
version: "0.0.5",
version: "0.0.6",
annotations: {
destructiveHint: false,
openWorldHint: true,
Expand Down
7 changes: 7 additions & 0 deletions components/linkedin_ads/common/constants.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const VERSION_HEADER = "202509";
const RESTLI_PROTOCOL_VERSION = "2.0.0";

export default {
VERSION_HEADER,
RESTLI_PROTOCOL_VERSION,
};
9 changes: 9 additions & 0 deletions components/linkedin_ads/linkedin_ads.app.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import app from "@pipedream/linkedin";
import utils from "./common/utils.mjs";
import constants from "./common/constants.mjs";

export default {
...app,
Expand Down Expand Up @@ -151,6 +152,14 @@ export default {
},
methods: {
...app.methods,
_getHeaders() {
return {
"Authorization": `Bearer ${this.$auth.oauth_access_token}`,
"Content-Type": "application/json",
"Linkedin-Version": constants.VERSION_HEADER,
"X-Restli-Protocol-Version": constants.RESTLI_PROTOCOL_VERSION,
};
},
getSponsoredAccountUrn(id) {
return `urn:li:sponsoredAccount:${id}`;
},
Expand Down
4 changes: 2 additions & 2 deletions components/linkedin_ads/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/linkedin_ads",
"version": "0.3.2",
"version": "0.3.3",
"description": "Pipedream LinkedIn Ads Components",
"main": "linkedin_ads.app.mjs",
"keywords": [
Expand All @@ -14,6 +14,6 @@
},
"dependencies": {
"@pipedream/linkedin": "^0.1.1",
"@pipedream/platform": "^3.0.3"
"@pipedream/platform": "^3.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "linkedin_ads-new-event-registration-form-response",
name: "New Event Registration Form Response",
description: "Emit new event when a fresh response is received on the event registration form. User needs to configure the prop of the specific event. [See the documentation](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/organizations/events?view=li-lms-2024-01&tabs=http)",
version: "0.0.4",
version: "0.0.5",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "linkedin_ads-new-lead-gen-form-created",
name: "New Lead Gen Form Created",
description: "Emit new event when a new lead is captured through a form. [See the documentation](https://learn.microsoft.com/en-us/linkedin/marketing/lead-sync/leadsync?view=li-lms-2023-07&tabs=http#find-lead-form-responses-by-owner)",
version: "0.0.3",
version: "0.0.4",
type: "source",
dedupe: "unique",
props: {
Expand Down
Loading
Loading