C# Class Google.Api.Ads.AdWords.Examples.CSharp.v201402.AddProductPartitionTree

This code example creates a ProductPartition tree. Tags: AdGroupCriterionService.mutate
Inheritance: ExampleBase
Exibir arquivo Open project: Zocdoc/googleads-adwords-dotnet-lib Class Usage Examples

Public Methods

Method Description
Main ( string args ) : void

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

Run ( Google.Api.Ads.AdWords.Lib.AdWordsUser user, long adGroupId ) : void

Runs the code example.

Private Methods

Method Description
DisplayTree ( ProductPartition node, Dictionary children, int level, StringWriter writer ) : void

Displays the product partition tree.

Method Details

Main() public static method

Main method, to run this code example as a standalone application.
public static Main ( string args ) : void
args string The command line arguments.
return void

Run() public method

Runs the code example.
public Run ( Google.Api.Ads.AdWords.Lib.AdWordsUser user, long adGroupId ) : void
user Google.Api.Ads.AdWords.Lib.AdWordsUser The AdWords user.
adGroupId long The ad group to which product partition is /// added.
return void