Reference documentation and code samples for the Google Ads Data Manager V1 Client class IngestAdEventsRequest.
Request to upload ad events.
Generated from protobuf message google.ads.datamanager.v1.IngestAdEventsRequest
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ad_events |
array<AdEvent>
Required. Required (at least 1). A list of ad events. |
↳ encryption_info |
EncryptionInfo
Optional. Information about encryption keys which are used to encrypt the data. |
↳ validate_only |
bool
Optional. If true, the request is validated, but not executed. |
getAdEvents
Required. Required (at least 1). A list of ad events.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<AdEvent> |
|
setAdEvents
Required. Required (at least 1). A list of ad events.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AdEvent>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEncryptionInfo
Optional. Information about encryption keys which are used to encrypt the data.
| Returns | |
|---|---|
| Type | Description |
EncryptionInfo|null |
|
hasEncryptionInfo
clearEncryptionInfo
setEncryptionInfo
Optional. Information about encryption keys which are used to encrypt the data.
| Parameter | |
|---|---|
| Name | Description |
var |
EncryptionInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidateOnly
Optional. If true, the request is validated, but not executed.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setValidateOnly
Optional. If true, the request is validated, but not executed.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|