Google.Api.Ads.AdWords.Examples.CSharp.OAuth.OAuthLogin.DoAuth2Configuration(AdWordsAppConfig)

Here are the examples of the csharp api class Google.Api.Ads.AdWords.Examples.CSharp.OAuth.OAuthLogin.DoAuth2Configuration(AdWordsAppConfig) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: googleads-dotnet-lib
Source File: OAuthLogin.aspx.cs
protected void Page_Load(object sender, EventArgs e) {
      // Create an AdWordsAppConfig object with the default settings in
      // App.config.
      AdWordsAppConfig config = new AdWordsAppConfig();
      if (config.OAuth2Mode == OAuth2Flow.APPLICATION &&
          string.IsNullOrEmpty(config.OAuth2RefreshToken)) {
        DoAuth2Configuration(config);
      }
    }