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

This code example adds a Smart Shopping campaign with an ad group and ad group ad. More...

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

Public Member Functions

void Run (AdWordsUser user, long merchantId, bool createDefaultPartition)
 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 Smart Shopping campaign with an ad group and ad group ad.

Member Function Documentation

static void Google.Api.Ads.AdWords.Examples.CSharp.v201809.AddSmartShoppingAd.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.AddSmartShoppingAd.Run ( AdWordsUser  user,
long  merchantId,
bool  createDefaultPartition 
)
inline

Runs the code example.

Parameters
userThe Google Ads user.
merchantIdThe Merchant Center ID for the new campaign.
createDefaultPartitionIf true, a default product partition for all products will be created.

References Google.Api.Ads.AdWords.v201809.Budget.budgetId, Google.Api.Ads.AdWords.v201809.Campaign.id, and Google.Api.Ads.AdWords.v201809.AdGroup.id.

Property Documentation

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

Returns a description about the code example.


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