Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddSitelinksUsingFeeds Class Reference

This code example adds sitelinks to a campaign using feed services. To create a campaign, run AddCampaign.cs. To add sitelinks using the simpler ExtensionSetting services, see AddSitelinks.cs. More...

Inheritance diagram for Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddSitelinksUsingFeeds:
Google.Api.Ads.AdWords.Examples.CSharp.ExampleBase

Public Member Functions

void Run (AdWordsUser user, long campaignId, string feedName, long?adGroupId)
 Runs the code example. More...
 

Static Public Member Functions

static void Main (string[] args)
 Main method, to run this code example as a standalone application. More...
 

Properties

override string Description [get]
 Returns a description about the code example. More...
 
- Properties inherited from Google.Api.Ads.AdWords.Examples.CSharp.ExampleBase
abstract string Description [get]
 Returns a description about the code example. More...
 

Detailed Description

This code example adds sitelinks to a campaign using feed services. To create a campaign, run AddCampaign.cs. To add sitelinks using the simpler ExtensionSetting services, see AddSitelinks.cs.

Member Function Documentation

static void Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddSitelinksUsingFeeds.Main ( string[]  args)
inlinestatic

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

Parameters
argsThe command line arguments.
void Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddSitelinksUsingFeeds.Run ( AdWordsUser  user,
long  campaignId,
string  feedName,
long?  adGroupId 
)
inline

Runs the code example.

Parameters
userThe AdWords user.
campaignIdId of the campaign with which sitelinks are associated.
adGroupIdId of the adgroup to restrict targeting to.
feedNameName of the feed to be created.

Property Documentation

override string Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddSitelinksUsingFeeds.Description
get

Returns a description about the code example.


The documentation for this class was generated from the following file: