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

This code example illustrates how to create a text ad with ad parameters. To add an ad group, run AddAdGroup.cs. To add a keyword, run run AddKeyword.cs. More...

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

Public Member Functions

void Run (AdWordsUser user, long adGroupId, long criterionId)
 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 text ad with ad parameters. To add an ad group, run AddAdGroup.cs. To add a keyword, run run AddKeyword.cs.

Member Function Documentation

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

Runs the code example.

Parameters
userThe AdWords user.
adGroupIdId of the ad group that contains the criterion.
criterionIdId of the keyword for which the ad parameters are set.

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

Property Documentation

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

Returns a description about the code example.


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