/// <summary>Snippet for GetConversionEvent</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetConversionEvent() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create(); // Initialize request argument(s) string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]"; // Make the request ConversionEvent response = analyticsAdminServiceClient.GetConversionEvent(name); }
/// <summary>Snippet for GetConversionEvent</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetConversionEventResourceNames() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create(); // Initialize request argument(s) ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"); // Make the request ConversionEvent response = analyticsAdminServiceClient.GetConversionEvent(name); }
/// <summary>Snippet for GetConversionEvent</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetConversionEventRequestObject() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create(); // Initialize request argument(s) GetConversionEventRequest request = new GetConversionEventRequest { ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"), }; // Make the request ConversionEvent response = analyticsAdminServiceClient.GetConversionEvent(request); }