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

This code example updates an ad unit's sizes by adding a banner ad size. More...

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

Public Member Functions

void Run (AdManagerUser user, long adUnitId)
 Run the sample code. 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 updates an ad unit's sizes by adding a banner ad size.

Member Function Documentation

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

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

void Google.Api.Ads.AdManager.Examples.CSharp.v202402.UpdateAdUnits.Run ( AdManagerUser  user,
long  adUnitId 
)
inline

Run the sample code.

References Google.Api.Ads.AdManager.v202402.AdUnit.adUnitSizes.

Property Documentation

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

Returns a description about the code example.


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