Class InsertPromotionRequest
Request message for the InsertPromotion method.
Implements
Namespace: Google.Shopping.Merchant.Promotions.V1
Assembly: Google.Shopping.Merchant.Promotions.V1.dll
Syntax
public sealed class InsertPromotionRequest : IMessage<InsertPromotionRequest>, IEquatable<InsertPromotionRequest>, IDeepCloneable<InsertPromotionRequest>, IBufferMessage, IMessage
Constructors
InsertPromotionRequest()
Declaration
public InsertPromotionRequest()
InsertPromotionRequest(InsertPromotionRequest)
Declaration
public InsertPromotionRequest(InsertPromotionRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| InsertPromotionRequest | other |
Properties
DataSource
Required. The data source of the
promotion
Format:
accounts/{account}/dataSources/{datasource}.
Declaration
public string DataSource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The account where the promotion will be inserted. Format: accounts/{account}
Declaration
public string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Promotion
Required. The promotion to insert.
Declaration
public Promotion Promotion { get; set; }
Property Value
| Type | Description |
|---|---|
| Promotion |