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

This code example pauses a given ad. To list all ads, run GetTextAds.cs. Tags: AdGroupAdService.mutate
Inheritance: ExampleBase
Afficher le fichier Open project: Zocdoc/googleads-adwords-dotnet-lib Class Usage Examples

Méthodes publiques

Méthode 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 adId ) : void

Runs the code example.

Method Details

Main() public static méthode

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

Run() public méthode

Runs the code example.
public Run ( Google.Api.Ads.AdWords.Lib.AdWordsUser user, long adGroupId, long adId ) : void
user Google.Api.Ads.AdWords.Lib.AdWordsUser The AdWords user.
adGroupId long Id of the ad group that contains the ad. ///
adId long Id of the ad to be paused.
Résultat void