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

This code example adds a label to multiple campaigns. More...

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

Public Member Functions

void Run (AdWordsUser user, long campaignId1, long campaignId2, long labelId)
 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 a label to multiple campaigns.

Member Function Documentation

static void Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddCampaignLabels.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.AddCampaignLabels.Run ( AdWordsUser  user,
long  campaignId1,
long  campaignId2,
long  labelId 
)
inline

Runs the code example.

Parameters
userThe AdWords user.
campaignId1Id of the campaign to which labels are added.
campaignId2Id of the campaign to which labels are added.
labelIdID of the label to apply.

References Google.Api.Ads.Common.Lib.AdsUser.GetService(), and Google.Api.Ads.AdWords.v201809.CampaignLabelReturnValue.value.

Property Documentation

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

Returns a description about the code example.


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