Skip to content

Commit bfecd93

Browse files
authored
Merging pull request #18825
1 parent 4cbbb62 commit bfecd93

File tree

10 files changed

+53
-167
lines changed

10 files changed

+53
-167
lines changed

components/linkedin_ads/actions/create-report-by-advertiser-account/create-report-by-advertiser-account.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "linkedin_ads-create-report-by-advertiser-account",
77
name: "Create Report By Advertiser Account",
88
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)",
9-
version: "0.0.6",
9+
version: "0.0.7",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,

components/linkedin_ads/actions/create-report-by-campaign/create-report-by-campaign.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "linkedin_ads-create-report-by-campaign",
77
name: "Query Analytics Finder Campaign Sample",
88
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)",
9-
version: "0.0.6",
9+
version: "0.0.7",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,

components/linkedin_ads/actions/create-report/create-report.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ export default {
66
key: "linkedin_ads-create-report",
77
name: "Create A Report",
88
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)",
9-
version: "0.0.6",
9+
version: "0.0.7",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,
1313
readOnlyHint: true,
1414
},
1515
type: "action",
1616
props: {
17+
// eslint-disable-next-line pipedream/props-label, pipedream/props-description
18+
infoAlert: {
19+
type: "alert",
20+
alertType: "info",
21+
content: "Please provide at least one facet to get analytics if needed. Eg. **Accounts**.",
22+
},
1723
...common.props,
1824
adAccountId: {
1925
propDefinition: [

components/linkedin_ads/actions/send-conversion-event/send-conversion-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "linkedin_ads-send-conversion-event",
66
name: "Send Conversion Event",
77
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)",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const VERSION_HEADER = "202509";
2+
const RESTLI_PROTOCOL_VERSION = "2.0.0";
3+
4+
export default {
5+
VERSION_HEADER,
6+
RESTLI_PROTOCOL_VERSION,
7+
};

components/linkedin_ads/linkedin_ads.app.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import app from "@pipedream/linkedin";
22
import utils from "./common/utils.mjs";
3+
import constants from "./common/constants.mjs";
34

45
export default {
56
...app,
@@ -151,6 +152,14 @@ export default {
151152
},
152153
methods: {
153154
...app.methods,
155+
_getHeaders() {
156+
return {
157+
"Authorization": `Bearer ${this.$auth.oauth_access_token}`,
158+
"Content-Type": "application/json",
159+
"Linkedin-Version": constants.VERSION_HEADER,
160+
"X-Restli-Protocol-Version": constants.RESTLI_PROTOCOL_VERSION,
161+
};
162+
},
154163
getSponsoredAccountUrn(id) {
155164
return `urn:li:sponsoredAccount:${id}`;
156165
},

components/linkedin_ads/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/linkedin_ads",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Pipedream LinkedIn Ads Components",
55
"main": "linkedin_ads.app.mjs",
66
"keywords": [
@@ -14,6 +14,6 @@
1414
},
1515
"dependencies": {
1616
"@pipedream/linkedin": "^0.1.1",
17-
"@pipedream/platform": "^3.0.3"
17+
"@pipedream/platform": "^3.1.0"
1818
}
1919
}

components/linkedin_ads/sources/new-event-registration-form-response/new-event-registration-form-response.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "linkedin_ads-new-event-registration-form-response",
66
name: "New Event Registration Form Response",
77
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)",
8-
version: "0.0.4",
8+
version: "0.0.5",
99
type: "source",
1010
dedupe: "unique",
1111
props: {

components/linkedin_ads/sources/new-lead-gen-form-created/new-lead-gen-form-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "linkedin_ads-new-lead-gen-form-created",
77
name: "New Lead Gen Form Created",
88
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)",
9-
version: "0.0.3",
9+
version: "0.0.4",
1010
type: "source",
1111
dedupe: "unique",
1212
props: {

0 commit comments

Comments
 (0)