Ejemplo n.º 1
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        public static void Main()
        {
            GetSystemDefinedCreativeTemplates codeExample = new GetSystemDefinedCreativeTemplates();

            Console.WriteLine(codeExample.Description);

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

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