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 ...
Gaurav Kheterpal's user avatar
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 ...
Jeremy's user avatar
  • 1,265
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. ...
Arian Maleki's user avatar
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. ...
Joe LeKostaj's user avatar
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
AsinusAsinumFricat's user avatar
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 ...
Gortonington's user avatar
  • 30.2k
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 ...
Mac 's user avatar
  • 2,442
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 ...
Dave's user avatar
  • 56
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....
user1794938's user avatar
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 ...
Adam Spriggs's user avatar
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 ...
Gortonington's user avatar
  • 30.2k
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");
Sharif Ahmed's user avatar
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 ...
Jackson Chen's user avatar
  • 4,657
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 ...
Swati Mishra's user avatar
  • 1,616
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 ...
Scott Stafford's user avatar
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"> <...
Mugunthan's user avatar
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? ...
David Field's user avatar
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 ...
Adam Spriggs's user avatar
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 (...
Adam Spriggs's user avatar
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 ...
Adam Spriggs's user avatar
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 ...
Mac 's user avatar
  • 2,442
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 = "...
Ilya Lepesh's user avatar
  • 4,105
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....
Joe LeKostaj's user avatar
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 ...
Gaurav Kheterpal's user avatar
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 ...
Adam Spriggs's user avatar
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 ...
Akinobu Yamamoto's user avatar
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 "...
Macca's user avatar
  • 8,091
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 ...
Macca's user avatar
  • 8,091
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 ...
Sharif Ahmed's user avatar
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 ...
Christopher Carswell's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible