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

This code example illustrates how to override a location extension. To create an ad, run AddTextAds.cs. To create a location extension, run AddLocationExtension.cs. Tags: GeoLocationService.get, AdExtensionOverrideService.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 adId, long locationExtensionId ) : 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 adId, long locationExtensionId ) : void
user Google.Api.Ads.AdWords.Lib.AdWordsUser The AdWords user.
adId long Id of the ad for which the location extension is /// overridden.
locationExtensionId long Id of the location extension to be /// overridden.
return void