Giter Site home page Giter Site logo

Comments (3)

MichaelAllenClark avatar MichaelAllenClark commented on July 22, 2024

You are correct that the SDK does not wrap the Program object. It would be rather simple to add but the use cases for it are rather limited. It is not possible to create/modify Programs but it is possible to start one that were already created in the UI. The object in SOAP that represents a Program is actually called Campaign. Even without support built-in it is possible to make the request to start one, similar to how QueryActivities were used in:
#8

Assuming c is an instance of the Client object, the code to start a Program would be:
c.soap_perform 'Campaign', {'ObjectID' => 'Q1'}, 'start'

Program support will be added in a future version, but the syntax above will continue to work even after it is added.

from fuelsdk-ruby.

amonat avatar amonat commented on July 22, 2024

@MichaelAllenClark, thanks for the information. For the moment it looks like I won't have to start a Program - err, I mean Campaign in SOAP land ;) - but if I need to I'll keep that in mind.

By the way, when I first started using this gem a few weeks ago, the Dot9Refactor branch seemed to be the most up to date, and then in #8 @barberj said 7 days ago that his repo was the most up to date. It looks like all the changes have been pulled into master on ExactTarget/FuelSDK-Ruby, and also the gem appears to be up to date at http://rubygems.org/gems/fuelsdk. So I think I can stop using my own fork of Dot9Refactor soon, once I do something about FuelSDK not supporting version 1.8.x of the JSON gem (I'll probably send a pull request for that shortly).

from fuelsdk-ruby.

MichaelAllenClark avatar MichaelAllenClark commented on July 22, 2024

The changes he made along with more are now currently in the master branch of the ExactTarget version. Please do send a pull request if you are able to fix the issue with JSON gem support.

Thanks!

from fuelsdk-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.