Reference documentation and code samples for the Google Ads Ad Manager V1 Client class LineItemStats.
Contains trafficking statistics for LineItem.
Generated from protobuf message google.ads.admanager.v1.LineItemStats
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ impressions_delivered |
int|string
Output only. The number of impressions delivered. |
↳ clicks_delivered |
int|string
Output only. The number of clicks delivered |
↳ video_completions_delivered |
int|string
Output only. The number of video completions delivered. |
↳ video_starts_delivered |
int|string
Output only. The number of video starts delivered. |
↳ viewable_impressions_delivered |
int|string
Output only. The number of viewable impressions delivered. |
↳ delivery_data |
int[]|string[]
Output only. Clicks or impressions delivered for each of the last 7 days. Values are in chronological order (oldest to newest). |
getImpressionsDelivered
Output only. The number of impressions delivered.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasImpressionsDelivered
clearImpressionsDelivered
setImpressionsDelivered
Output only. The number of impressions delivered.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClicksDelivered
Output only. The number of clicks delivered
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasClicksDelivered
clearClicksDelivered
setClicksDelivered
Output only. The number of clicks delivered
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVideoCompletionsDelivered
Output only. The number of video completions delivered.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasVideoCompletionsDelivered
clearVideoCompletionsDelivered
setVideoCompletionsDelivered
Output only. The number of video completions delivered.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVideoStartsDelivered
Output only. The number of video starts delivered.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasVideoStartsDelivered
clearVideoStartsDelivered
setVideoStartsDelivered
Output only. The number of video starts delivered.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getViewableImpressionsDelivered
Output only. The number of viewable impressions delivered.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasViewableImpressionsDelivered
clearViewableImpressionsDelivered
setViewableImpressionsDelivered
Output only. The number of viewable impressions delivered.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeliveryData
Output only. Clicks or impressions delivered for each of the last 7 days.
Values are in chronological order (oldest to newest).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<int>|Google\Protobuf\RepeatedField<string> |
|
setDeliveryData
Output only. Clicks or impressions delivered for each of the last 7 days.
Values are in chronological order (oldest to newest).
| Parameter | |
|---|---|
| Name | Description |
var |
int[]|string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|