Reference documentation and code samples for the Google Shopping Merchant Promotions V1beta Client class ItemLevelIssue.
The issue associated with the promotion.
Generated from protobuf message google.shopping.merchant.promotions.v1beta.PromotionStatus.ItemLevelIssue
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1beta \ PromotionStatusMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ code |
string
Output only. The error code of the issue. |
↳ severity |
int
Output only. How this issue affects serving of the promotion. |
↳ resolution |
string
Output only. Whether the issue can be resolved by the merchant. |
↳ attribute |
string
Output only. The attribute's name, if the issue is caused by a single attribute. |
↳ reporting_context |
int
Output only. The destination the issue applies to. |
↳ description |
string
Output only. A short issue description in English. |
↳ detail |
string
Output only. A detailed issue description in English. |
↳ documentation |
string
Output only. The URL of a web page to help with resolving this issue. |
↳ applicable_countries |
array
Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer. |
getCode
Output only. The error code of the issue.
Returns | |
---|---|
Type | Description |
string |
setCode
Output only. The error code of the issue.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSeverity
Output only. How this issue affects serving of the promotion.
Returns | |
---|---|
Type | Description |
int |
setSeverity
Output only. How this issue affects serving of the promotion.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getResolution
Output only. Whether the issue can be resolved by the merchant.
Returns | |
---|---|
Type | Description |
string |
setResolution
Output only. Whether the issue can be resolved by the merchant.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAttribute
Output only. The attribute's name, if the issue is caused by a single attribute.
Returns | |
---|---|
Type | Description |
string |
setAttribute
Output only. The attribute's name, if the issue is caused by a single attribute.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReportingContext
Output only. The destination the issue applies to.
Returns | |
---|---|
Type | Description |
int |
setReportingContext
Output only. The destination the issue applies to.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Output only. A short issue description in English.
Returns | |
---|---|
Type | Description |
string |
setDescription
Output only. A short issue description in English.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDetail
Output only. A detailed issue description in English.
Returns | |
---|---|
Type | Description |
string |
setDetail
Output only. A detailed issue description in English.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDocumentation
Output only. The URL of a web page to help with resolving this issue.
Returns | |
---|---|
Type | Description |
string |
setDocumentation
Output only. The URL of a web page to help with resolving this issue.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getApplicableCountries
Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setApplicableCountries
Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |