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

            Console.WriteLine(codeExample.Description);
            codeExample.Run(new AdManagerUser());
        }
예제 #2
0
        /// <summary>
        /// Main method, to run this code example as a standalone application.
        /// </summary>
        public static void Main()
        {
            CreateProposalLineItems codeExample = new CreateProposalLineItems();

            Console.WriteLine(codeExample.Description);

            // Set the ID of the proposal that the proposal line item will belong to.
            long proposalId = long.Parse(_T("INSERT_PROPOSAL_ID_HERE"));

            codeExample.Run(new AdManagerUser(), proposalId);
        }