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

This code example deactivates all active ad units. To determine which ad units exist, run GetAllAdUnits.cs or GetInventoryTree.cs. More...

Inheritance diagram for Google.Api.Ads.AdManager.Examples.CSharp.v202402.DeActivateAdUnits:
Google.Api.Ads.AdManager.Examples.CSharp.SampleBase

Public Member Functions

void Run (AdManagerUser user)
 Run the code example. More...
 

Static Public Member Functions

static void Main ()
 Main method, to run this code example as a standalone application. More...
 

Properties

override string Description [get]
 Returns a description about the code example. More...
 
- Properties inherited from Google.Api.Ads.AdManager.Examples.CSharp.SampleBase
abstract string Description [get]
 Returns a description about the code example. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Google.Api.Ads.AdManager.Examples.CSharp.SampleBase
string GetTimeStamp ()
 Gets the current time stamp. More...
 
- Static Protected Member Functions inherited from Google.Api.Ads.AdManager.Examples.CSharp.SampleBase
static string _T (string prompt)
 Retrieves a user provided sample value. More...
 

Detailed Description

This code example deactivates all active ad units. To determine which ad units exist, run GetAllAdUnits.cs or GetInventoryTree.cs.

Member Function Documentation

static void Google.Api.Ads.AdManager.Examples.CSharp.v202402.DeActivateAdUnits.Main ( )
inlinestatic

Main method, to run this code example as a standalone application.

void Google.Api.Ads.AdManager.Examples.CSharp.v202402.DeActivateAdUnits.Run ( AdManagerUser  user)
inline

Property Documentation

override string Google.Api.Ads.AdManager.Examples.CSharp.v202402.DeActivateAdUnits.Description
get

Returns a description about the code example.


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