Skip to content

Commit

Permalink
chore: add endpoint labelsx2
Browse files Browse the repository at this point in the history
  • Loading branch information
yashasvibajpai committed Dec 21, 2023
1 parent 595ab2f commit 85b29a8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const getConversionActionId = async (method, headers, params) => {
{
destType: 'google_adwords_enhanced_conversions',
feature: 'proxy',
endpointPath: `/googleAds:searchStream`,
},
);
if (!isHttpStatusSuccess(gaecConversionActionIdResponse.status)) {
Expand Down Expand Up @@ -96,6 +97,7 @@ const ProxyRequest = async (request) => {
const { httpResponse: response } = await handleHttpRequest('constructor', requestBody, {
destType: 'google_adwords_enhanced_conversions',
feature: 'proxy',
endpointPath: `/googleAds:uploadOfflineUserData`,
});
return response;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const createJob = async (endpoint, customerId, listId, headers, method) => {
const response = await httpSend(jobCreatingRequest, {
destType: 'google_adwords_remarketing_lists',
feature: 'proxy',
endpointPath: '/customers/create',
});
return response;
};
Expand All @@ -57,6 +58,7 @@ const addUserToJob = async (endpoint, headers, method, jobId, body) => {
const response = await httpSend(secondRequest, {
destType: 'google_adwords_remarketing_lists',
feature: 'proxy',
endpointPath: '/addOperations',
});
return response;
};
Expand All @@ -78,6 +80,7 @@ const runTheJob = async (endpoint, headers, method, jobId) => {
const response = await httpSend(thirdRequest, {
destType: 'google_adwords_remarketing_lists',
feature: 'proxy',
endpointPath: '/run',
});
return response;
};
Expand Down
1 change: 1 addition & 0 deletions src/v0/destinations/marketo/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ const sendPostRequest = async (url, data, options) => {
const clientResponse = await httpPOST(url, data, options, {
destType: 'marketo',
feature: 'transformation',
endpointPath: `/v1/leads`,
});
const processedResponse = processAxiosResponse(clientResponse);
return processedResponse;
Expand Down
1 change: 1 addition & 0 deletions src/v0/destinations/monday/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ const getBoardDetails = async (url, boardID, apiToken) => {
headers: {
'Content-Type': JSON_MIME_TYPE,
Authorization: `${apiToken}`,
endpointPath: '/v2',
},
},
{
Expand Down

0 comments on commit 85b29a8

Please sign in to comment.