Resource: 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.
JSON representation |
---|
{ "name": string, "documentationUri": string, "state": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the program. Format: |
documentation |
Output only. The URL of a Merchant Center help page describing the program. |
state |
Output only. The participation state of the account in the program. |
active |
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 |
unmet |
Output only. The requirements that the account has not yet satisfied that are affecting participation in the program. |
State
Possible program participation states for the account.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
NOT_ELIGIBLE |
The account is not eligible to participate in the program. |
ELIGIBLE |
The account is eligible to participate in the program. |
ENABLED |
The program is enabled for the account. |
Requirement
Defines a requirement specified for participation in the program.
JSON representation |
---|
{ "title": string, "documentationUri": string, "affectedRegionCodes": [ string ] } |
Fields | |
---|---|
title |
Output only. Name of the requirement. |
documentation |
Output only. The URL of a help page describing the requirement. |
affected |
Output only. The regions that are currently affected by this requirement not being met. Region codes are defined by CLDR. This is either a country where the program applies specifically to that country or |
Methods |
|
---|---|
|
Disable participation in the specified program for the account. |
|
Enable participation in the specified program for the account. |
|
Retrieves the specified program for the account. |
|
Retrieves all programs for the account. |