Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Homepage.
The Homepage
message represents a business's store homepage within the
system.
A business's homepage is the primary domain where customers interact with their store. The homepage can be claimed and verified as a proof of ownership and allows the business to unlock features that require a verified website. For more information, see Understanding online store URL verification.
Generated from protobuf message google.shopping.merchant.accounts.v1.Homepage
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 store's homepage. Format: |
↳ uri |
string
Required. The URI (typically a URL) of the store's homepage. |
↳ claimed |
bool
Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793. |
getName
Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. The resource name of the store's homepage.
Format: accounts/{account}/homepage
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUri
Required. The URI (typically a URL) of the store's homepage.
Returns | |
---|---|
Type | Description |
string |
hasUri
clearUri
setUri
Required. The URI (typically a URL) of the store's homepage.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getClaimed
Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.
Returns | |
---|---|
Type | Description |
bool |
setClaimed
Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |