/// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new InsertOfflineMobileConversion();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 2
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new CreateTargetingTemplate();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 3
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new TargetAdToRemarketingList();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 4
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new GetPlacements();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 5
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new AssignCreativeToCampaign();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 6
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new GetChangeLogsForAdvertiser();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new DownloadFloodlightTags();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 8
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new GetFloodlightActivityGroups();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 9
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new ConfigureDynamicAssetTargeting();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }
Exemplo n.º 10
0
        /// <summary>
        /// The main method.
        /// </summary>
        /// <param name="args"></param>
        public static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                ShowUsage();
                return;
            }

            foreach (string cmdArgs in args)
            {
                SamplePair matchingPair = sampleMap.Find(delegate(SamplePair pair) {
                    return(string.Compare(pair.Key, cmdArgs, true) == 0);
                });

                if (matchingPair.Key != null)
                {
                    // Initialize the Dfa Reporting service.
                    DfareportingService service = DfaReportingFactory.getInstance();

                    // Run the sample
                    RunASample(service, matchingPair.Value);
                }
                else
                {
                    ShowUsage();
                }
            }
        }
Exemplo n.º 11
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            SampleBase codeExample = new AssignAdvertisersToAdvertiserGroup();

            Console.WriteLine(codeExample.Description);
            codeExample.Run(DfaReportingFactory.getInstance());
        }