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

This code example illustrates how to create a trial and wait for it to complete. See the Campaign Drafts and Experiments guide for more information: https://developers.google.com/adwords/api/docs/guides/campaign-drafts-experiments More...

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

Public Member Functions

void Run (AdWordsUser user, long draftId, long baseCampaignId)
 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 illustrates how to create a trial and wait for it to complete. See the Campaign Drafts and Experiments guide for more information: https://developers.google.com/adwords/api/docs/guides/campaign-drafts-experiments

Member Function Documentation

static void Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddTrial.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.AddTrial.Run ( AdWordsUser  user,
long  draftId,
long  baseCampaignId 
)
inline

Runs the code example.

Parameters
userThe AdWords user.
baseCampaignIdId of the campaign to use as base of the trial.
draftIdId of the draft.

References Google.Api.Ads.Common.Lib.AdsUser.GetService().

Property Documentation

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

Returns a description about the code example.


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