C# Class Google.Api.Ads.AdWords.Examples.CSharp.v201306.SetAdParameters

This code example illustrates how to create a text ad with ad parameters. To add an ad group, run AddAdGroup.cs. To add a keyword, run run AddKeyword.cs. Tags: AdGroupAdService.mutate, AdParamService.mutate
Inheritance: ExampleBase
显示文件 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, long criterionId ) : void

Runs the code example.

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, long criterionId ) : void
user Google.Api.Ads.AdWords.Lib.AdWordsUser The AdWords user.
adGroupId long Id of the ad group that contains the criterion. ///
criterionId long Id of the keyword for which the ad /// parameters are set.
return void