class PropertiesConversionEvents extends Resource (View source)

The "conversionEvents" collection of methods.

Typical usage is:

 $analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...);
 $conversionEvents = $analyticsadminService->properties_conversionEvents;

Methods

create(string $parent, GoogleAnalyticsAdminV1betaConversionEvent $postBody, array $optParams = [])

Deprecated: Use CreateKeyEvent instead. Creates a conversion event with the specified attributes. (conversionEvents.create)

delete(string $name, array $optParams = [])

Deprecated: Use DeleteKeyEvent instead. Deletes a conversion event in a property. (conversionEvents.delete)

get(string $name, array $optParams = [])

Deprecated: Use GetKeyEvent instead. Retrieve a single conversion event.

listPropertiesConversionEvents(string $parent, array $optParams = [])

Deprecated: Use ListKeyEvents instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found. (conversionEvents.listPropertiesConversionEvents)

patch(string $name, GoogleAnalyticsAdminV1betaConversionEvent $postBody, array $optParams = [])

Deprecated: Use UpdateKeyEvent instead. Updates a conversion event with the specified attributes. (conversionEvents.patch)

Details

GoogleAnalyticsAdminV1betaConversionEvent create(string $parent, GoogleAnalyticsAdminV1betaConversionEvent $postBody, array $optParams = [])

Deprecated: Use CreateKeyEvent instead. Creates a conversion event with the specified attributes. (conversionEvents.create)

Parameters

string $parent

Required. The resource name of the parent property where this conversion event will be created. Format: properties/123

GoogleAnalyticsAdminV1betaConversionEvent $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaConversionEvent

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Deprecated: Use DeleteKeyEvent instead. Deletes a conversion event in a property. (conversionEvents.delete)

Parameters

string $name

Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456"

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleAnalyticsAdminV1betaConversionEvent get(string $name, array $optParams = [])

Deprecated: Use GetKeyEvent instead. Retrieve a single conversion event.

(conversionEvents.get)

Parameters

string $name

Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456"

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaConversionEvent

Exceptions

Exception

GoogleAnalyticsAdminV1betaListConversionEventsResponse listPropertiesConversionEvents(string $parent, array $optParams = [])

Deprecated: Use ListKeyEvents instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found. (conversionEvents.listPropertiesConversionEvents)

Parameters

string $parent

Required. The resource name of the parent property. Example: 'properties/123'

array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaListConversionEventsResponse

Exceptions

Exception

GoogleAnalyticsAdminV1betaConversionEvent patch(string $name, GoogleAnalyticsAdminV1betaConversionEvent $postBody, array $optParams = [])

Deprecated: Use UpdateKeyEvent instead. Updates a conversion event with the specified attributes. (conversionEvents.patch)

Parameters

string $name

Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}

GoogleAnalyticsAdminV1betaConversionEvent $postBody
array $optParams

Optional parameters.

Return Value

GoogleAnalyticsAdminV1betaConversionEvent

Exceptions

Exception