Ads API .NET library
|
Code-behind class for Default.aspx. More...
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... | |
Code-behind class for Default.aspx.
|
inlineprotected |
Handles the Click event of the btnAuthorize control.
sender | The source of the event. |
e | The System.EventArgs instance containing the event data. |
References Google.Api.Ads.AdManager.Lib.AdManagerAppConfig.AuthorizationMethod, and Google.Api.Ads.Common.Lib.AppConfigBase.OAuth2RefreshToken.
|
inlineprotected |
Handles the Click event of the btnDownloadReport control.
sender | The source of the event. |
eventArgs | The System.EventArgs instance containing the event data. |
References Google.Api.Ads.AdManager.v202408.ReportJob.id.
|
inlineprotected |
Handles the Click event of the btnGetUsers control.
sender | The source of the event. |
eventArgs | The System.EventArgs instance containing the event data. |
References Google.Api.Ads.AdManager.v202408.UserPage.results, and Google.Api.Ads.AdManager.Util.v202408.StatementBuilder.SUGGESTED_PAGE_LIMIT.
|
inlineprotected |
Handles the Click event of the btnLogout control.
sender | The source of the event. |
e | The System.EventArgs instance containing the event data. |
|
inlineprotected |
Handles the RowDataBound event of the UserGrid control.
sender | The source of the event. |
e | The System.Web.UI.WebControls.GridViewRowEventArgs instance containing the event data. |
|
protected |
btnAuthorize control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
|
protected |
btnGetUsers control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
|
protected |
btnLogout control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
|
protected |
form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
|
protected |
UserGrid control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.