# Google Shopping Merchant Products V1 Client - Class StructuredTitle (1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.1 Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class StructuredTitle.

Structured title, for algorithmically (AI)-generated titles.

Generated from protobuf message `google.shopping.merchant.products.v1.StructuredTitle`

## Namespace

Google \\ Shopping \\ Merchant \\ Products \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ digital_source_type` | `int` The digital source type. Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype). |
| `↳ content` | `string` The title text Maximum length is 150 characters |

### getDigitalSourceType

The digital source type.

Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasDigitalSourceType

### clearDigitalSourceType

### setDigitalSourceType

The digital source type.

Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getContent

The title text
Maximum length is 150 characters

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasContent

### clearContent

### setContent

The title text
Maximum length is 150 characters

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |