/// <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) { AddPlacesLocationExtension codeExample = new AddPlacesLocationExtension(); Console.WriteLine(codeExample.Description); try { string placesEmailAddress = "INSERT_PLACES_EMAIL_ADDRESS_HERE"; // To obtain an access token for your Places account, run the // OAuthTokenGenerator utility and capture the Credential's // access token. string placesAccessToken = "INSERT_PLACES_ACCESS_TOKEN_HERE"; codeExample.Run(new AdWordsUser(), placesEmailAddress, placesAccessToken); } catch (Exception ex) { Console.WriteLine("An exception occurred while running this code example. {0}", ExampleUtilities.FormatException(ex)); } }