/// <summary>Snippet for GetCustomAudience</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomAudienceResourceNames()
 {
     // Create client
     CustomAudienceServiceClient customAudienceServiceClient = CustomAudienceServiceClient.Create();
     // Initialize request argument(s)
     CustomAudienceName resourceName = CustomAudienceName.FromCustomerCustomAudience("[CUSTOMER_ID]", "[CUSTOM_AUDIENCE_ID]");
     // Make the request
     CustomAudience response = customAudienceServiceClient.GetCustomAudience(resourceName);
 }
Пример #2
0
 /// <summary>Snippet for GetCustomAudience</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomAudience()
 {
     // Create client
     CustomAudienceServiceClient customAudienceServiceClient = CustomAudienceServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/customAudiences/[CUSTOM_AUDIENCE_ID]";
     // Make the request
     CustomAudience response = customAudienceServiceClient.GetCustomAudience(resourceName);
 }
Пример #3
0
 /// <summary>Snippet for GetCustomAudience</summary>
 public void GetCustomAudienceRequestObject()
 {
     // Snippet: GetCustomAudience(GetCustomAudienceRequest, CallSettings)
     // Create client
     CustomAudienceServiceClient customAudienceServiceClient = CustomAudienceServiceClient.Create();
     // Initialize request argument(s)
     GetCustomAudienceRequest request = new GetCustomAudienceRequest
     {
         ResourceNameAsCustomAudienceName = CustomAudienceName.FromCustomerCustomAudience("[CUSTOMER_ID]", "[CUSTOM_AUDIENCE_ID]"),
     };
     // Make the request
     CustomAudience response = customAudienceServiceClient.GetCustomAudience(request);
     // End snippet
 }