Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default Class Reference

Code-behind class for Default.aspx. More...

Inheritance diagram for Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default:

Protected Member Functions

void OnAuthorizeButtonClick (object sender, EventArgs e)
 Handles the Click event of the btnAuthorize control. More...
 
void OnDownloadReportButtonClick (object sender, EventArgs eventArgs)
 Handles the Click event of the btnDownloadReport control. More...
 
void OnGetCampaignsButtonClick (object sender, EventArgs eventArgs)
 Handles the Click event of the btnGetCampaigns control. More...
 
void OnLogoutButtonClick (object sender, EventArgs e)
 Handles the Click event of the btnLogout control. More...
 
void CampaignGrid_RowDataBound (object sender, GridViewRowEventArgs e)
 Handles the RowDataBound event of the CampaignGrid control. More...
 

Protected Attributes

global::System.Web.UI.HtmlControls.HtmlForm form1
 form1 control. More...
 
global::System.Web.UI.WebControls.Button btnAuthorize
 btnAuthorize control. More...
 
global::System.Web.UI.WebControls.Button btnLogout
 btnLogout control. More...
 
global::System.Web.UI.WebControls.Label lblCustomerId
 lblCustomerId control. More...
 
global::System.Web.UI.WebControls.TextBox txtCustomerId
 txtCustomerId control. More...
 
global::System.Web.UI.WebControls.Button btnGetCampaigns
 btnGetCampaigns control. More...
 
global::System.Web.UI.WebControls.Button btnDownloadReport
 btnDownloadReport control. More...
 
global::System.Web.UI.WebControls.GridView CampaignGrid
 CampaignGrid control. More...
 

Detailed Description

Code-behind class for Default.aspx.

Member Function Documentation

void Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.CampaignGrid_RowDataBound ( object  sender,
GridViewRowEventArgs  e 
)
inlineprotected

Handles the RowDataBound event of the CampaignGrid control.

Parameters
senderThe source of the event.
eThe System.Web.UI.WebControls.GridViewRowEventArgs instance containing the event data.
void Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnAuthorizeButtonClick ( object  sender,
EventArgs  e 
)
inlineprotected

Handles the Click event of the btnAuthorize control.

Parameters
senderThe source of the event.
eThe System.EventArgs instance containing the event data.

References Google.Api.Ads.Common.Lib.AppConfigBase.OAuth2RefreshToken.

void Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnDownloadReportButtonClick ( object  sender,
EventArgs  eventArgs 
)
inlineprotected

Handles the Click event of the btnDownloadReport control.

Parameters
senderThe source of the event.
eventArgsThe System.EventArgs instance containing the event data.

References Google.Api.Ads.AdWords.Lib.AdWordsAppConfig.IncludeZeroImpressions.

void Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnGetCampaignsButtonClick ( object  sender,
EventArgs  eventArgs 
)
inlineprotected

Handles the Click event of the btnGetCampaigns control.

Parameters
senderThe source of the event.
eventArgsThe System.EventArgs instance containing the event data.

References Google.Api.Ads.Common.Lib.AppConfigBase.OAuth2Mode, and Google.Api.Ads.Common.Lib.AppConfigBase.OAuth2RefreshToken.

void Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.OnLogoutButtonClick ( object  sender,
EventArgs  e 
)
inlineprotected

Handles the Click event of the btnLogout control.

Parameters
senderThe source of the event.
eThe System.EventArgs instance containing the event data.

Member Data Documentation

global.System.Web.UI.WebControls.Button Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.btnAuthorize
protected

btnAuthorize control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.WebControls.Button Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.btnDownloadReport
protected

btnDownloadReport control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.WebControls.Button Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.btnGetCampaigns
protected

btnGetCampaigns control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.WebControls.Button Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.btnLogout
protected

btnLogout control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.WebControls.GridView Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.CampaignGrid
protected

CampaignGrid control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.HtmlControls.HtmlForm Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.form1
protected

form1 control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.WebControls.Label Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.lblCustomerId
protected

lblCustomerId control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.

global.System.Web.UI.WebControls.TextBox Google.Api.Ads.AdWords.Examples.CSharp.OAuth.Default.txtCustomerId
protected

txtCustomerId control.

Auto-generated field. To modify move field declaration from designer file to code-behind file.


The documentation for this class was generated from the following files: