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

This code example shows how to delete site links from an existing campaign. To add site links to an existing campaign, run AddSiteLinks.cs. To get existing campaigns, run GetCampaigns.cs. Tags: CampaignAdExtensionService.mutate
Inheritance: ExampleBase
Datei anzeigen 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 campaignId ) : 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 campaignId ) : void
user Google.Api.Ads.AdWords.Lib.AdWordsUser The AdWords user.
campaignId long Id of the campaign from which sitelinks are /// deleted.
return void