Ads API .NET library
|
This code example creates new placements for various ad unit sizes. To determine which placements exist, run GetAllPlacements.cs. More...
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... | |
This code example creates new placements for various ad unit sizes. To determine which placements exist, run GetAllPlacements.cs.
|
inlinestatic |
Main method, to run this code example as a standalone application.
|
inline |
Run the code example.
References Google.Api.Ads.AdManager.v202402.AdUnit.adUnitSizes, Google.Api.Ads.AdManager.v202402.Size.height, Google.Api.Ads.AdManager.v202402.AdUnit.id, Google.Api.Ads.AdManager.v202402.AdUnit.parentId, Google.Api.Ads.AdManager.v202402.AdUnitPage.results, Google.Api.Ads.AdManager.Util.v202402.StatementBuilder.SUGGESTED_PAGE_LIMIT, Google.Api.Ads.AdManager.v202402.Placement.targetedAdUnitIds, and Google.Api.Ads.AdManager.v202402.Size.width.
|
get |
Returns a description about the code example.