Beispiel #1
0
        static void Main(string[] args)
        {
            PropellerAdsApi api       = new PropellerAdsApi("mediamonkeys", "52JEL72Cs:1^6WN");
            List <Campaign> campaigns = api.GetCampaignsList();
            CampaignStats   stat      = api.GetCurrentStats(campaigns[0]);



            Console.WriteLine("Hello World!");
            Console.ReadKey();
        }
Beispiel #2
0
        private static void Main(string[] args)
        {
            Console.WriteLine("Starting application");
            Data = new ProgramData();
            if (Data.HasError)
            {
                Console.ReadKey();
                return;
            }

            Socket        = new ClientSocket();
            WorkerManager = new WorkerManager();
            Browser       = new MainBrowser();
            API           = new PropellerAdsApi(Data["username"], Data["password"]);
            Context       = new ClientContext();

            Console.WriteLine("Application has started...");
            Console.ReadKey();
        }