Reference documentation and code samples for the Google Shopping Merchant Conversions V1 Client class ListConversionSourcesRequest.
Request message for the ListConversionSources method.
Generated from protobuf message google.shopping.merchant.conversions.v1.ListConversionSourcesRequest
Namespace
Google \ Shopping \ Merchant \ Conversions \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The merchant account who owns the collection of conversion sources. Format: |
↳ page_size |
int
Optional. The maximum number of conversion sources to return in a page. If no |
↳ page_token |
string
Optional. Page token. |
↳ show_deleted |
bool
Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned. |
getParent
Required. The merchant account who owns the collection of conversion
sources. Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The merchant account who owns the collection of conversion
sources. Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Optional. The maximum number of conversion sources to return in a page.
If no page_size is specified, 100 is used as the default value. The
maximum value is 200. Values above 200 will be coerced to 200.
Regardless of pagination, at most 200 conversion sources are returned
in total.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Optional. The maximum number of conversion sources to return in a page.
If no page_size is specified, 100 is used as the default value. The
maximum value is 200. Values above 200 will be coerced to 200.
Regardless of pagination, at most 200 conversion sources are returned
in total.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Optional. Page token.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Optional. Page token.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getShowDeleted
Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setShowDeleted
Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The merchant account who owns the collection of conversion
sources. Format: |
| Returns | |
|---|---|
| Type | Description |
ListConversionSourcesRequest |
|