/// <summary>Snippet for DeleteGoogleAdsLinkAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteGoogleAdsLinkResourceNamesAsync() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync(); // Initialize request argument(s) GoogleAdsLinkName name = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]"); // Make the request await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(name); }
/// <summary>Snippet for DeleteGoogleAdsLinkAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteGoogleAdsLinkRequestObjectAsync() { // Create client AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync(); // Initialize request argument(s) DeleteGoogleAdsLinkRequest request = new DeleteGoogleAdsLinkRequest { GoogleAdsLinkName = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]"), }; // Make the request await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(request); }