Exemple #1
0
 /// <summary>Snippet for GetCampaignAudienceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignAudienceViewResourceNames()
 {
     // Create client
     CampaignAudienceViewServiceClient campaignAudienceViewServiceClient = CampaignAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     CampaignAudienceViewName resourceName = CampaignAudienceViewName.FromCustomerCampaignAudienceView("[CUSTOMER]", "[CAMPAIGN_AUDIENCE_VIEW]");
     // Make the request
     CampaignAudienceView response = campaignAudienceViewServiceClient.GetCampaignAudienceView(resourceName);
 }
 /// <summary>Snippet for GetCampaignAudienceView</summary>
 public void GetCampaignAudienceViewResourceNames()
 {
     // Snippet: GetCampaignAudienceView(CampaignAudienceViewName, CallSettings)
     // Create client
     CampaignAudienceViewServiceClient campaignAudienceViewServiceClient = CampaignAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     CampaignAudienceViewName resourceName = CampaignAudienceViewName.FromCustomerCampaignCriterion("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[CRITERION_ID]");
     // Make the request
     CampaignAudienceView response = campaignAudienceViewServiceClient.GetCampaignAudienceView(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetCampaignAudienceView</summary>
 public void GetCampaignAudienceView()
 {
     // Snippet: GetCampaignAudienceView(string, CallSettings)
     // Create client
     CampaignAudienceViewServiceClient campaignAudienceViewServiceClient = CampaignAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/campaignAudienceViews/[CAMPAIGN_ID]~[CRITERION_ID]";
     // Make the request
     CampaignAudienceView response = campaignAudienceViewServiceClient.GetCampaignAudienceView(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetCampaignAudienceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignAudienceViewRequestObject()
 {
     // Create client
     CampaignAudienceViewServiceClient campaignAudienceViewServiceClient = CampaignAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     GetCampaignAudienceViewRequest request = new GetCampaignAudienceViewRequest
     {
         ResourceNameAsCampaignAudienceViewName = CampaignAudienceViewName.FromCustomerCampaignCriterion("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[CRITERION_ID]"),
     };
     // Make the request
     CampaignAudienceView response = campaignAudienceViewServiceClient.GetCampaignAudienceView(request);
 }
Exemple #5
0
 /// <summary>Snippet for GetCampaignAudienceView</summary>
 public void GetCampaignAudienceViewRequestObject()
 {
     // Snippet: GetCampaignAudienceView(GetCampaignAudienceViewRequest, CallSettings)
     // Create client
     CampaignAudienceViewServiceClient campaignAudienceViewServiceClient = CampaignAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     GetCampaignAudienceViewRequest request = new GetCampaignAudienceViewRequest
     {
         ResourceNameAsCampaignAudienceViewName = CampaignAudienceViewName.FromCustomerCampaignAudienceView("[CUSTOMER]", "[CAMPAIGN_AUDIENCE_VIEW]"),
     };
     // Make the request
     CampaignAudienceView response = campaignAudienceViewServiceClient.GetCampaignAudienceView(request);
     // End snippet
 }