/// <summary> /// Main method, to run this code example as a standalone application. /// </summary> public static void Main() { CreateProposals codeExample = new CreateProposals(); Console.WriteLine(codeExample.Description); codeExample.Run(new AdManagerUser()); }
/// <summary> /// Main method, to run this code example as a standalone application. /// </summary> public static void Main() { CreateProposals codeExample = new CreateProposals(); Console.WriteLine(codeExample.Description); long primarySalespersonId = long.Parse(_T("INSERT_PRIMARY_SALESPERSON_ID_HERE")); long primaryTraffickerId = long.Parse(_T("INSERT_PRIMARY_TRAFFICKER_ID_HERE")); // Set the ID of the programmatic buyer. This can be obtained through the // Programmatic_Buyer PQL table. long programmaticBuyerId = long.Parse(_T("INSERT_PROGRAMMATIC_BUYER_ID_HERE")); long advertiserId = long.Parse(_T("INSERT_ADVERTISER_ID_HERE")); codeExample.Run(new AdManagerUser(), primarySalespersonId, primaryTraffickerId, programmaticBuyerId, advertiserId); }