7
votes
Accepted
Has anyone successfully used the FuelSDK with Python 3?
Good timing, the version 1.0.0 was released 4 days back and seems to have resolved some of the issues you pointed out. You need to be using Suds-jurko 0.6
I can confirm most of the basic FuelSDK ...
6
votes
Accepted
deleted Data Extension still causing "duplicate key value" error for creating DE with same name
Previously, when deleting a data extension, the Marketing Cloud would slightly modify the name and make the data extension "inactive" on the database. What it did not do, is modify the ...
6
votes
API call to list_subscribers timing out
I ran into this same issue. Try setting a larger timeout. This option isn't anywhere in the FuelSDK documentation. I had to dig into FuelSDK and SUDS source. SUDS default timeout is 90 seconds.
...
5
votes
Accepted
What Python library is recommended for pulling large amounts of data?
We pull all of ours via the API, the initial backfill took a long time, but the daily updates I've got down to about an hour.
I use the FuelSDK, and it commits to the db with each batch of 2500.
...
4
votes
Accepted
Automate Content Builder Asset Creation
You have a typo in your endpoint. Try changing your endpoint from
https://www.extracttargetapis.com/asset/v1/content/assets
to
https://www.exacttargetapis.com/asset/v1/content/assets
4
votes
Error when performing test email sends
The cause of this error is that your email HTML is invalid. You can go into the User Interface inside of SFMC and edit and test email validation there.
The issues are as follows:
Error 1: (I ...
3
votes
Accepted
The Triggered Send is not completely configured or in a new status
For Triggered Send emails, I would recommend against creating a new TriggeredSend for each email that is sent. A TriggeredSend should be created once to represent the campaign or specific type of ...
3
votes
Accepted
ExactTarget::Marketing Cloud::Error "Must specify valid information for parsing in the string" while fetching data using FuelSDK-C#?
I too had the same problem as the OP.
I investigated Ajit's recommendation to set the SearchFilter and Props and discovered that only the Props need to be specified. Also if you try to specify all ...
3
votes
Create Sendable Data Extension using FuelSDK (C#)
I know this question is old; but I ran into the same issue and thought it might prove helpful for others.
Your setting the SendableDataExtensionField to what is likely a raw FuelSDK....
3
votes
Fuel SDK : Retriving Click Activity (Links and click rates)
I don't believe you can retrieve the aggregate click activity via API. (Updated per Mac's answer)
What we've done in the past is to create a set of Query Activities that aggregate this data in a Data ...
3
votes
Accepted
How do I pull rows with non-null values in a field in FuelSDK?
I am unfamiliar with the Python Fuel SDK, so my first suggestion could be completely dumb due to my ignorance.
Can you use the simpleoperator "isNotNull" equivalent in python (if it exists)?
This ...
3
votes
Accepted
ETClient (401) Unauthorized with SDK C#
please add the following line and try again:
parameters.Add("authEndPoint", "https://auth.exacttargetapis.com/v1/requestToken?legacy=1");
3
votes
Accepted
Advice at debugging 500 response from FuelSDK.ET_Subscriber()
The 500 response error (Internal Server Error) could be a multitude of things. Oftentimes, the 500 errors are just bad calls in or not in a format it expects.
Make sure you're using the correct ...
3
votes
Accepted
Deleting records from Data Extensions that have no primary key without cloning Data Extension
Question 1 and 2: Yes, you can delete records that match a certain filter using ssjs in a DE irrespective of primary key or being sendable. You need to consider the limitations of 2500 rows and ...
2
votes
Accepted
How do I fetch data for app users offline / nightly?
My current solution is painful and complex, but I have nothing better. Not sure why this isn't well-trod ground, but... here goes.
Build a database table to user store token data.
Use my fork of ...
2
votes
Add multiple rows via API to an ExactTarget Data Extension?
To add rows, CreateRequest can be used.
<CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Objects xsi:type="DataExtensionObject">
<...
2
votes
Accepted
Python script unable to validate App Keys with Fuel SDK
In v0.9.4, lines 22 and 23:
client_id = None
client_secret = None
Putting my credentials in there is the only change I made and it works just fine for me. You're entering them "as_strings", yeah?
...
2
votes
Marketing Cloud email attachment via Salesforce
It's certainly possible to send attachments through SFMC utilizing the AttachFile() AMPScript function.
As @Macca suggested, where the attachments reside is a key consideration.
Also, It's a per ...
2
votes
Count of DataExtension Rows from API
Unfortunately, no. Best work-around I've seen is to create a Query Activity that counts the rows of the Data Extension on some interval. Then you can simply retrieve the resulting data via API (...
2
votes
Accepted
How to get counts of sends/opens/clicks events from the FuelSDK?
As far as I know, this particular aggregation of data doesn't exist in the platform.
My suggestion would be to create a set of Query Activities to build this view of the activity. Then you can ...
2
votes
Accepted
Fuel SDK : Retriving Click Activity (Links and click rates)
The object you are looking for is: LinkSend
You can filter this object by the SendID property (same thing as Job ID) to receive a list of all of the links for a send with a count of total clicks and ...
2
votes
How to send authenticated REST request with Python
Please read exacttarget api reference
You couldn't access resources without authorization. First you should request for an Access Token:
import json, requests
client_Id = "...
2
votes
Is there a way to get the full path of an email via FuelSDK/REST API?
@adam-spriggs was correct above, but I just wanted to post this here in case anyone else is trying to do this.
You can traverse up the folder hierarchy using the Retrieve Folder method in the FuelSDK....
2
votes
How to create encrypted data extensions using FuelSDK C#?
You can look at the sample FuelSDK C# application available on Github. It does not do encryption by itself but it's easy to change the source code to do encryption/ decryption in C#. Something along ...
2
votes
Accepted
Is it possible to send email using Fuel SDK for Java?
There's an example of doing a User-Initiated Send on this page: Creating a Send Object
Here's a snip from the Java section:
public void testSendEmailToList() throws RemoteException {
Soap stub ...
2
votes
I could not perform an Automation immediately by PHP via SOAP
I modified PHP sample code after confirm this page named starting-an-automation
PHP Code
require('../ET_Client.php');
const OBJ_TYPE = "Automation";
const ACTION_TYPE = "start";
const ...
2
votes
Accepted
SFMC/Exact Target Fuel SOAP API - is there a way to create email send definition to custom folder instead of user initiated folder?
Yes. There is a way, providing your custom folder is in the User Intiated Sends folder.
One of the properties you can provide when issuing a CreateRequest on the EmailSendDefinition object is the "...
2
votes
Accepted
how to replicate a guided send through the SFMC api
The Guided Send is created and sent through the SOAP API using the EmailSendDefinition with Create or Perform SoapActions/Methods. A good place to see examples of both creating and performing ...
2
votes
Accepted
Is it possible to create a complex filter with php FUEL SDK?
Please check the below sample code which uses ComplexFilterPart using LogicalOperator:
https://github.com/salesforce-marketingcloud/FuelSDK-PHP/blob/master/objsamples/sample-folder.php
Please make ...
2
votes
Accepted
Download Marketing Cloud's Report data
It's possible to use Automation Studio's Report Activity to automatically have a report exported to the FTP as CSV. Once it's on the FTP, you could use an Import Activity to import it into a Data ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fuel-sdk × 342marketing-cloud × 279
soap-api × 45
python × 41
api × 38
java × 37
php × 36
c# × 33
dataextensions × 30
rest-api × 28
email × 24
node.js × 15
fuel × 14
soap × 9
triggered-send × 9
ruby × 9
integration × 6
automationstudio × 6
content-builder × 6
filters × 5
subscriber × 5
marketingcloudapi × 5
list × 4
oauth2 × 4
ruby-on-rails × 4