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

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

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

Protected Member Functions

void OnAuthorizeButtonClick (object sender, EventArgs e)
 Handles the Click event of the btnAuthorize control. More...
 
void OnGetUsersButtonClick (object sender, EventArgs eventArgs)
 Handles the Click event of the btnGetUsers control. More...
 
void OnDownloadReportButtonClick (object sender, EventArgs eventArgs)
 Handles the Click event of the btnDownloadReport control. More...
 
void OnLogoutButtonClick (object sender, EventArgs e)
 Handles the Click event of the btnLogout control. More...
 
void UserGrid_RowDataBound (object sender, GridViewRowEventArgs e)
 Handles the RowDataBound event of the UserGrid 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.Button btnGetUsers
 btnGetUsers control. More...
 
global::System.Web.UI.WebControls.GridView UserGrid
 UserGrid control. More...
 

Detailed Description

Code-behind class for Default.aspx.

Member Function Documentation

void Google.Api.Ads.AdManager.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.AdManager.Lib.AdManagerAppConfig.AuthorizationMethod, and Google.Api.Ads.Common.Lib.AppConfigBase.OAuth2RefreshToken.

void Google.Api.Ads.AdManager.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.AdManager.v202405.ReportJob.id.

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

Handles the Click event of the btnGetUsers control.

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

References Google.Api.Ads.AdManager.v202405.UserPage.results, and Google.Api.Ads.AdManager.Util.v202405.StatementBuilder.SUGGESTED_PAGE_LIMIT.

void Google.Api.Ads.AdManager.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.
void Google.Api.Ads.AdManager.Examples.CSharp.OAuth.Default.UserGrid_RowDataBound ( object  sender,
GridViewRowEventArgs  e 
)
inlineprotected

Handles the RowDataBound event of the UserGrid control.

Parameters
senderThe source of the event.
eThe System.Web.UI.WebControls.GridViewRowEventArgs instance containing the event data.

Member Data Documentation

global.System.Web.UI.WebControls.Button Google.Api.Ads.AdManager.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.AdManager.Examples.CSharp.OAuth.Default.btnGetUsers
protected

btnGetUsers 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.AdManager.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.HtmlControls.HtmlForm Google.Api.Ads.AdManager.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.GridView Google.Api.Ads.AdManager.Examples.CSharp.OAuth.Default.UserGrid
protected

UserGrid 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: