Reference documentation and code samples for the Google Analytics Admin V1beta Client class CreateConversionEventRequest.
Request message for CreateConversionEvent RPC
Generated from protobuf message google.analytics.admin.v1beta.CreateConversionEventRequest
Namespace
Google \ Analytics \ Admin \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ conversion_event | 
        
          ConversionEvent
          Required. The conversion event to create.  | 
      
↳ parent | 
        
          string
          Required. The resource name of the parent property where this conversion event will be created. Format: properties/123  | 
      
getConversionEvent
Required. The conversion event to create.
| Returns | |
|---|---|
| Type | Description | 
ConversionEvent|null | 
        |
hasConversionEvent
clearConversionEvent
setConversionEvent
Required. The conversion event to create.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          ConversionEvent
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getParent
Required. The resource name of the parent property where this conversion event will be created. Format: properties/123
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setParent
Required. The resource name of the parent property where this conversion event will be created. Format: properties/123
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
static::build
| Parameters | |
|---|---|
| Name | Description | 
parent | 
        
          string
          Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.  | 
      
conversionEvent | 
        
          ConversionEvent
          Required. The conversion event to create.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CreateConversionEventRequest | 
        |