Beispiel #1
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()
        {
            GetFirstPartyAudienceSegments codeExample = new GetFirstPartyAudienceSegments();

            Console.WriteLine(codeExample.Description);

            codeExample.Run(new DfpUser());
        }
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        public static void Main()
        {
            GetFirstPartyAudienceSegments codeExample = new GetFirstPartyAudienceSegments();

            Console.WriteLine(codeExample.Description);
            try {
                codeExample.Run(new DfpUser());
            } catch (Exception e) {
                Console.WriteLine("Failed to get audience segments. Exception says \"{0}\"",
                                  e.Message);
            }
        }