Questions tagged [marketingcloudapi]
The marketingcloudapi tag has no usage guidance.
232
questions
-1
votes
3
answers
91
views
Find associated BUs for a user in Marketing cloud
Is there an automated way to find out all the associated BUs for a user? Using SSJS or SOAP API or AMPscript?
0
votes
0
answers
48
views
InsertData ampscript function not working on SMS and cloud Pages
I am trying to use InsertData amp-script function in an SMS. But its not working. My ultimate objective is to update customer data into master data extension when someone subscribes to 'START' ...
0
votes
1
answer
67
views
Accessing Contact data of Sync Data Extensions in Journey Builder
I would like to use the Contact.WebCart data from the Marketing Cloud Connect sync Data Extension in an Update Contact Activity in Journey Builder.
I'm trying this but not having any luck.
{{Contact....
-1
votes
1
answer
61
views
Possible to get the code behind the "Request Tracking immediately" button on the Triggerred Send?
It seems that the IERs do not always appear automatically and we must often manually click on the "Request Tracking immediately" button present on the Triggered Send linked to the send to ...
-1
votes
1
answer
43
views
Parseing CSV data returned from the Journey History Download EndPoint
how do you parse the csv data from the Journey History Download Endpoint?
I'm getting the response, then splitting the rows using responseData.split("\n");
I then want to upsert the data to ...
0
votes
1
answer
42
views
Is it necessary to clean up All Subscribers list from Transactional Messaging API sends?
I have a situation where the new Transactional Messaging API is used for sending high priority emails. However, the system that triggers this does not have the SubscriberKey available that we normally ...
0
votes
0
answers
58
views
SFMC: How to update rows only when the specified key exists for data extension?
There are a bunch of customer records that need to be updated for data extension.
there is and REST API: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/...
0
votes
1
answer
35
views
Cloud pages and Impressions chargin
I was asked by one of my client if is it possible to copy an html landing page (built in Cloud Page) and paste it into one of their website page.
I think there would be no issue in that (as long as ...
0
votes
1
answer
49
views
Salesforce Marketing Cloud SSJS: Unable to fetch the HttpRequest response
I am using the below SSJS code.
var req = new Script.Util.HttpRequest(eventEndPoint);
req.emptyContentHandling = 0;
req.retries = 2;
req.continueOnError = true;
//req....
0
votes
0
answers
35
views
Uploading image from cloud page is working upto 3mb but above 3mb - 5mb is not uploading
Cloud page code
var files = document.getElementById("file").files;
document.getElementById("spinner-border").style.display = "block";
document.getElementById(&...
0
votes
1
answer
39
views
How can I reference a value from a serialised string in AMPscript for Email?
I have a transactional Journey, which is triggered by API and sends a personalised email.
The email AMPscript uses two DEs, which have a common field "sku", so I'm using it as AttributeValue....
0
votes
1
answer
59
views
Number of versions in Journey Builder in SFMC
I am trying to find number of versions that one can create in a single journey in SFMC. I found one thread HERE which says that there is no limit on it but that is too old information. Does any one ...
-1
votes
1
answer
70
views
How to enable "Dashboards Objects" Feed Tracking in metadata?
How can I set Dashboard objects feed tracking to true? Or is it possible to set the dashboard objecy feed tracking using package xml/ metadata
0
votes
1
answer
61
views
SFMC - Update failed for one or more AttributeSets - Rest API to /contacts/v1/contacts endpoint
I'm getting an error message when using an API to the /contacts/v1/contacts endpoint.
Error message is: Update failed for one or more AttributeSets. Note: Updates aren't allowed on attributes that ...
0
votes
1
answer
67
views
How to mass disable marketing cloud users?
We have more than 100 users which we want to disable into the marketing cloud but doing them manually will take longer.
Is there any way possible to disable them in mass?
Thanks in advance.
0
votes
0
answers
63
views
Update a File name in File Transfer activity
Im trying to update Data Extract and File Transfer activities with dynamic file names. I could complete my use case for Data Extract acticity and was able to update file name in Data Extract using ...
-2
votes
1
answer
152
views
Unable to inject contact via REST API call
I am trying to Inject a contact in journey builder as API Entry source from Sales cloud object to Marketing Cloud using Apex REST API callout.
I have generated access token and defined required scope ...
0
votes
1
answer
57
views
SSJS retrieve working but not getting all rows
I am trying to move records from a DE into a custom object using an SSJS core function script (adapted from one I found here).
I have it working, but it leaves some records behind. Get's about 820 out ...
0
votes
1
answer
181
views
move emails from classic content into content builder using SOAP API
I'm trying to move email/email templates from classic content into content builder using SOAP API.
I need to move all emails under specific folder (01_2018), however I'm receiving error
<soap:...
1
vote
1
answer
183
views
Unsubscribed contact delete in marketing cloud - anything to keep in mind?
We have million contacts that are unsubscribed and are billable. We only send emails. No PUSH/SMS.. We want to explore the option of deleting them from marketing cloud and keep a record elsewhere. We ...
0
votes
1
answer
5k
views
Internal server error - 500 in Postman API request while updating Salesforce Marketing cloud mobile contact subscription attribute
As I heard re-optin to mobile contact using import definition doesn't work.
I could see there are 2 options to re-optin:
QueueMO API request
Update Contact
I don't want to send sms while re-optin to ...
0
votes
1
answer
163
views
Marketing Cloud: Permission Denied for API Endpoints / Objects
Within Salesforce Marketing Cloud (ExactTarget), when accessing the BusinessRule object via the SOAP API, I am getting a permission denied error. I possess the unmodified and original roles for: Admin,...
0
votes
0
answers
141
views
Postman cURL to SSJS, Getting Errors
I'm having trouble with converting Postman cURL to SSJS. My goal is to build a cloudpage to make an API call to an external platform to create records, but somehow my SSJS code does not work. Here is ...
0
votes
1
answer
85
views
Tracking A/B Test Marketing cloud in Sales
We have done some A/B testing and we have not been able to generate any kind of object in Sales like the IndividualEmailResult of the normal mailings.
I don't know if there is any way to collect this ...
0
votes
1
answer
229
views
How can i send promotional email via rest or soap api?
I am working to create an environment where our client sends their promotional email. content of the email is dynamic. I am a little confused about which API we need to use to send promotional emails ...
0
votes
1
answer
568
views
Salesforce Marketing Cloud - Object Names
I need to extract data from Salesforce Marketing Cloud. I'm using KingswaySoft SSIS Integration Toolkit to do the ETL, but I don't know the tables that retrieve the columns I need. I've searched on ...
0
votes
1
answer
47
views
GET Request for Users Salesforce.com Status (Integrated / Not)?
As the title says, I'm wondering if anyone knows the URL to query if a user is Integrated with SF in MC or not?
I thought maybe I could find that info with "platform/v1/accounts/{mid}/users" ...
0
votes
1
answer
79
views
LogUnsubEvent makes Subscriber unsubscribed but don't change Status on _Subscribers Data View
I execute this LogUnsubEvent on a CloudPage and it works well.
The Subscriber get unsubscribed correctly but the value of Status don't change and remains Active on the table _Subscribers. Idk if i ...
0
votes
2
answers
634
views
Send API Triggered MobilePush to mobile device using REST API [closed]
I am trying to send a Push notification to a sample android application which I created from Android Studio for testing. I Added my application in FireBase Console and getting my Device Token from ...
0
votes
0
answers
58
views
Problem with updating DE record via SSJS
When trying to update DE record via SSJS nothing gets updated, but I don't know which step is wrong. Any help would be appreciated. Thanks in advance.
Here's the SSJS Code.
<script runat = "...
0
votes
1
answer
93
views
where can i find the massageID and tokenID for api call?
Good afternoon
I'm starting the configuration for an API call that returns email and sms data received by the customer in the marketing cloud
checking documentations I found this call here:
https://...
0
votes
1
answer
137
views
Dynamic Sender Profile errored triggered mails
I'm trying to set up a Dynamic Sender Profile and my triggered emails are erroring.
I was told that I simply needed to put %%FromName%% and %%FromEmail%% in the sender profile and then set those two ...
-3
votes
1
answer
158
views
Changing SFMC Connector from one Sales cloud to another [closed]
Is this possible? How hard would it be to move a client with an exisiting Marketing Cloud to connect it to a different Salesforce org (they are moving to a new org for core CRM, but have marketing ...
1
vote
1
answer
167
views
ContactKey does not appear in Contact Builder -> All Contacts -> Mobile Push - React Native (IOS)
I followed all the steps in the react-native-marketingcloudsdk documentation, including activating the push, but the set contactKey does not appear in the Contact Builder.
SDK log is returning, push ...
1
vote
0
answers
287
views
JSON Deserialization Exception 10004 marketing cloud API
I keep getting the following error for this REST API --> https://mcmqczd118jdz8xqdfsbxdwh96f0.rest.marketingcloudapis.com/hub/v1/dataeventsasync/key:GAT_FUEL_triggered_DE_Test/rowset/
{
"...
1
vote
0
answers
84
views
i have requirement like sending three emails through API journey for the where contact data is not working [closed]
I need to send three email as follows:
user registered on their website we need to send one email with Activation URL
2.if user not activating his account and trying to login he cannot and there is a ...
0
votes
0
answers
77
views
Automatically Withdraw Email Approval in Marketing Cloud
We are managing all our email templates in an external system. Once a piece of content is approved, it is automatically created in SFMC.
What we want to do is automatically withdraw the approval on an ...
0
votes
1
answer
505
views
How to delete a data extension (entire DE not only records) using SSJS? [closed]
I was trying to delete a data extension inside automation but couldn't find way to delete it using SSJS.
This is data on how to delete records in a data extension, but not the data extension itself: ...
0
votes
1
answer
55
views
Create Data Extension that can't be deleted?
Does anyone know if it's possible to create a data extension that cannot be deleted? I know it works with DataFolder using the API, with this property:
<IsEditable>false</IsEditable>
But ...
0
votes
1
answer
511
views
How to know if an User has logged in SFMC using SFMC APIs or SSJS scripts
We are creating a cloud page where only the users who have access to SFMC can access and login to the page. If the user is currently not logged into SFMC then, when the user opens the Cloudpage it ...
0
votes
1
answer
1k
views
How to access user role and permission information?
We need to provide access to the following:
A list of all users, their status roles, permissions, and basic info (user name, email, business unit, etc.)
A list of all permissions
A list of all roles
...
1
vote
1
answer
153
views
Unable to perform REST API call in CloudPages
I have been trying to do a HTTP Post for quite a while and I can't get it to work in CloudPages. The auth token call works, but not the other one. I am trying to create HTML emails in CloudPages. It ...
-1
votes
1
answer
162
views
Can we use RedirectTo() functions to call the contentblock in marketing cloud
We have a requirement - when we click on a button, it should redirect to particular contentblock. I have tried multiple ways like
<a href="%%=ContentBlockByKey(@contentBlockKey)=%%">...
0
votes
1
answer
243
views
'Bad Request' error while sending Soap API to update the query activity
I'm using the Soap API to Update the Query activity. It works fine with a simple query, but when the query contains the special characters(&, (, ),-) mentioned below it gives the 'Bad Request' ...
0
votes
1
answer
226
views
Marketing Cloud normal data extension - how to trigger email when row gets updated from API
I am trying to send an email, when the status field gets updated with API update. I am able to trigger the email while inserting to data extension with the event definition key but while updating I am ...
2
votes
0
answers
287
views
How to manage automation via ampscript API - second part
I would like to close the discussion thread on this related topic Manage automation via ampscript API. If you have additional information to complement it would be great to hear on the answers!
Here ...
1
vote
1
answer
168
views
Retrieving DE data with API. ContinueRequest is returning the same data
I'm making the following SOAP API call to get records from a data extension. The DE holds more than 2500 records, so if the response says more data is available, my script will insert the request ID ...
0
votes
1
answer
330
views
Email thumbnail could not be retrieved under Individual Email results
We have Marketing Cloud connected to Sales Cloud connected with MC Connect. Now these emails are shown as Individual Email Results in Sales Cloud. All works well but the problem is its not showing ...
1
vote
1
answer
587
views
How to get Send Classification ID, Delivery Profile ID and Sender profile ID in SFMC?
I am trying to make an API call from Postman to make a test send.
I am trying to implement the solution given here - https://gortonington.com/email-send-preview-and-test-sends-via-rest-api/. I am ...
0
votes
1
answer
2k
views
How do I retrieve an Event Definition Key having the Journey specifications?
I'm trying to develop a REST service on a CodeResource that, among other things, expects to receive in the JSON payload a field containing the name of the Journey.
Based on the value contained in this ...