Class Program
Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the Free product listings program, which enables products from a merchant's store to be shown across Google for free.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class Program : IDirectResponseSchema
Properties
ActiveRegionCodes
Output only. The regions in which the account is actively participating in the program. Active regions are
defined as those where all program requirements affecting the regions have been met. Region codes are
defined by CLDR. This is either a country where the program applies
specifically to that country or 001
when the program applies globally.
Declaration
[JsonProperty("activeRegionCodes")]
public virtual IList<string> ActiveRegionCodes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
DocumentationUri
Output only. The URL of a Merchant Center help page describing the program.
Declaration
[JsonProperty("documentationUri")]
public virtual string DocumentationUri { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. The resource name of the program. Format: accounts/{account}/programs/{program}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The participation state of the account in the program.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
UnmetRequirements
Output only. The requirements that the account has not yet satisfied that are affecting participation in the program.
Declaration
[JsonProperty("unmetRequirements")]
public virtual IList<Requirement> UnmetRequirements { get; set; }
Property Value
Type | Description |
---|---|
IList<Requirement> |