Skip to content

Commit

Permalink
chore: update linkedin ads api version to latest 202502
Browse files Browse the repository at this point in the history
  • Loading branch information
manish339k committed Feb 24, 2025
1 parent aed87ce commit 7d61ef3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/cdk/v2/destinations/linkedin_ads/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { getMappingConfig } = require('../../../../v0/util');
// ref : https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/conversions-api?view=li-lms-2024-02&tabs=http#adding-multiple-conversion-events-in-a-batch
const BATCH_ENDPOINT = 'https://api.linkedin.com/rest/conversionEvents';
const API_HEADER_METHOD = 'BATCH_CREATE';
const API_VERSION = '202402'; // yyyymm format
const API_VERSION = '202502'; // yyyymm format
const API_PROTOCOL_VERSION = '2.0.0';

const CONFIG_CATEGORIES = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const metadata = {
export const headerBlockWithCorrectAccessToken = {
Authorization: 'Bearer default-accessToken',
'Content-Type': 'application/json',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const metadata = {
export const headerBlockWithCorrectAccessToken = {
Authorization: 'Bearer default-accessToken',
'Content-Type': 'application/json',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
};
Expand Down
2 changes: 1 addition & 1 deletion test/integrations/destinations/linkedin_ads/network.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const headerBlockWithCorrectAccessToken = {
Authorization: 'Bearer default-accessToken',
'Content-Type': 'application/json',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const commonTimestamp = new Date('2023-10-14');
const commonHeader = {
Authorization: 'Bearer default-accessToken',
'Content-Type': 'application/json',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const commonStatTags = {
const commonHeader = {
Authorization: 'Bearer default-accessToken',
'Content-Type': 'application/json',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const commonStats = {
const commonHeader = {
Authorization: 'Bearer default-accessToken',
'Content-Type': 'application/json',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
};
Expand Down
2 changes: 1 addition & 1 deletion test/integrations/destinations/linkedin_ads/router/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export const data = [
'Content-Type': 'application/json',
'X-RestLi-Method': 'BATCH_CREATE',
'X-Restli-Protocol-Version': '2.0.0',
'LinkedIn-Version': '202402',
'LinkedIn-Version': '202502',
Authorization: 'Bearer dummyToken',
},
params: {},
Expand Down

0 comments on commit 7d61ef3

Please sign in to comment.