Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class AccountIssue.
Issues with your Merchant Center account that can impact all your products.
For more information, see Account-level issues in Merchant Center.
Generated from protobuf message google.shopping.merchant.accounts.v1.AccountIssue
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the account issue. Format: |
↳ title |
string
The localized title of the issue. |
↳ severity |
int
The overall severity of the issue. |
↳ impacted_destinations |
array<AccountIssue\ImpactedDestination>
The impact this issue has on various destinations. |
↳ detail |
string
Further localized details about the issue. |
↳ documentation_uri |
string
Link to Merchant Center Help Center providing further information about the issue and how to fix it. |
getName
Identifier. The resource name of the account issue.
Format: accounts/{account}/issues/{id}
. For example,
accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy
.
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. The resource name of the account issue.
Format: accounts/{account}/issues/{id}
. For example,
accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTitle
The localized title of the issue.
Returns | |
---|---|
Type | Description |
string |
setTitle
The localized title of the issue.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSeverity
The overall severity of the issue.
Returns | |
---|---|
Type | Description |
int |
setSeverity
The overall severity of the issue.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getImpactedDestinations
The impact this issue has on various destinations.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setImpactedDestinations
The impact this issue has on various destinations.
Parameter | |
---|---|
Name | Description |
var |
array<AccountIssue\ImpactedDestination>
|
Returns | |
---|---|
Type | Description |
$this |
getDetail
Further localized details about the issue.
Returns | |
---|---|
Type | Description |
string |
setDetail
Further localized details about the issue.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDocumentationUri
Link to Merchant Center Help Center providing further information about the issue and how to fix it.
Returns | |
---|---|
Type | Description |
string |
setDocumentationUri
Link to Merchant Center Help Center providing further information about the issue and how to fix it.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |