Add Me!Close Menu Navigation
Add Me!Open Categories Menu

Currently Browsing

Tutorials

4 March
Posted in Php, Tutorials

Create A Query Activity In ExactTarget Via SOAP API In ExactTarget

try { $wsdl = ‘https://on.exacttarget.com/etframework.wsdl’; $client = new ExactTargetSoapClient($wsdl, array(‘trace’=>1)); $client->username = ‘username’; $client->password = ‘password’; //Define the query definition $query = new ExactTarget_QueryDefinition(); $query->Name = “Test Query”; $query->CustomerKey = “TestQuery”; $query->Description = “Test Query Description”; $query->TargetUpdateType = “Overwrite”; $query->TargetType = “DE”; $query->QueryText = “SELECT * FROM table”; //Set the [...]

3 March
Posted in Development, Php

Microgroove API Wrapper For PHP

API wrappers are nectar of the gods for programmers. Here is yet another one this time for the Microgroove API. Go get you some code! Feel free to advance the code. Remember, it is all open source right?

3 March
Posted in Php, Tutorials

Retrieve Folder ID Via SOAP API In ExactTarget Using PHP

try{   $wsdl = ‘https://on.exacttarget.com/etframework.wsdl’; //Create the Soap Client $client = new ExactTargetSoapClient($wsdl, array(‘trace’=>1)); //Set the username and password $client->username = ‘username’; $client->password = ‘password’; //First find the parent folder $filter = new ExactTarget_SimpleFilterPart(); $filter->Property = “Name”; $filter->SimpleOperator = ExactTarget_SimpleOperators::equals; $filter->Value = array(‘Data Extensions’); //Other possibilities include Emails, or any [...]

2 March
Posted in Php, Tutorials

Create Content Area Via SOAP API In ExactTarget Using PHP

try { $wsdl = ‘https://on.exacttarget.com/etframework.wsdl’; $client = new ExactTargetSoapClient($wsdl, array(‘trace’=>1)); $client->username = ‘username’; $client->password = ‘password’; $content_area = new ExactTarget_ContentArea(); $content_area->Name = ‘My Example Content Area’; $content_area->Content = ‘Hello World’; $content_area = new SoapVar($content_area, SOAP_ENC_OBJECT, ‘ContentArea’, “http://exacttarget.com/wsdl/partnerAPI”); //Setup and execute the request $request = new ExactTarget_CreateRequest(); $request->Objects = $content_area; $request->Options [...]

1 March
Posted in Php, Tutorials

Execute Complex Filter Via SOAP API In ExactTarget Using PHP

$wsdl = ‘https://webservice.exacttarget.com/etframework.wsdl’; /* Create the Soap Client */ $client = new ExactTargetSoapClient($wsdl, array(‘trace’=>1)); /* Set username and password here */ $client->username = ‘username’; $client->password = ‘password’; $rr = new ExactTarget_RetrieveRequest(); $rr->ObjectType = “DataExtensionObject[ExampleDE]“; // ExampleDE is the name of the data extension $rr->Properties = array(); $rr->Properties[] = “SubscriberKey”;//Field you [...]

28 February
Posted in Php, Tutorials

Create Folder Via SOAP API In ExactTarget Using PHP

try{ $wsdl = ‘https://on.exacttarget.com/etframework.wsdl’; //Create the Soap Client $client = new ExactTargetSoapClient($wsdl, array(‘trace’=>1)); //Set the username and password $client->username = ‘username’; $client->password = ‘password’; $folder = new ExactTarget_Folder(); $folder->Name = ‘My New Folder’; $folder->CustomerKey = ‘My New Folder’; $folder->Description = ‘An Example of a folder created through the API’; $folder->IsActive [...]

18 February
Posted in Php, Tutorials

Retrieve Account MIDs Via SOAP API In ExactTarget

This code snippet demonstrates how to retrieve all the MIDs for a given ExactTarget account. Likewise, a filter can be added to only search for a given account.

4 February
Posted in Mathematics

I Know You Hate Math: Understanding A/B Testing

With the advent of ExactTarget releasing an A/B testing suite and Google Analytics providing the same functionality for websites I thought it would be beneficial to go behind the scenes of what A/B testing really is. Like many real world processes, A/B testing grounds itself in the world of mathematics and more specifically statistics. Don’t get scared away already though, there is hope for all. Many applications simplify the testing process to the point that a marketer, designer, or developer simply selects which is performing better. But what do we mean by performing better? And, why would I want to understand it?

25 January
Posted in Php

Retrieve Tracking Summary In ExactTarget Via SOAP API Using PHP

Sometimes it is nice to create custom views/reports of data that are not given within the ExactTarget environment. The following script retrieves tracking summary data for a given business unit. You can then use the data however you like, whether it is for data warehousing, custom graphs, or custom reports.

21 January
Posted in Javascript, Tutorials

Clustering Markers in Google Maps

One issue I recently encountered while developing an application using the Google Maps API was that when the number of markers gets considerably large (approx. 5,000) that the map slows down significantly. This is due to the map being a client-side application, therefore, it is relying on the browser to render the map. Now, imagine or take my example of attempting to map nearly 1 million markers. See the issue? You might as well start plotting them with pins using the map on your wall.