/// <summary>Snippet for ListPlannableProducts</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void ListPlannableProducts()
 {
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     string plannableLocationId = "";
     // Make the request
     ListPlannableProductsResponse response = reachPlanServiceClient.ListPlannableProducts(plannableLocationId);
 }
コード例 #2
0
 /// <summary>Snippet for ListPlannableLocations</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void ListPlannableLocationsRequestObject()
 {
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     ListPlannableLocationsRequest request = new ListPlannableLocationsRequest {
     };
     // Make the request
     ListPlannableLocationsResponse response = reachPlanServiceClient.ListPlannableLocations(request);
 }
 /// <summary>Snippet for GenerateProductMixIdeas</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GenerateProductMixIdeas()
 {
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     string customerId          = "";
     string plannableLocationId = "";
     string currencyCode        = "";
     long   budgetMicros        = 0L;
     // Make the request
     GenerateProductMixIdeasResponse response = reachPlanServiceClient.GenerateProductMixIdeas(customerId, plannableLocationId, currencyCode, budgetMicros);
 }
コード例 #4
0
 /// <summary>Snippet for ListPlannableProducts</summary>
 public void ListPlannableProductsRequestObject()
 {
     // Snippet: ListPlannableProducts(ListPlannableProductsRequest, CallSettings)
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     ListPlannableProductsRequest request = new ListPlannableProductsRequest
     {
         PlannableLocationId = "",
     };
     // Make the request
     ListPlannableProductsResponse response = reachPlanServiceClient.ListPlannableProducts(request);
     // End snippet
 }
 /// <summary>Snippet for GenerateReachForecast</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GenerateReachForecast()
 {
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     string                       customerId       = "";
     CampaignDuration             campaignDuration = new CampaignDuration();
     IEnumerable <PlannedProduct> plannedProducts  = new PlannedProduct[]
     {
         new PlannedProduct(),
     };
     // Make the request
     GenerateReachForecastResponse response = reachPlanServiceClient.GenerateReachForecast(customerId, campaignDuration, plannedProducts);
 }
コード例 #6
0
 /// <summary>Snippet for GenerateProductMixIdeas</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GenerateProductMixIdeasRequestObject()
 {
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     GenerateProductMixIdeasRequest request = new GenerateProductMixIdeasRequest
     {
         CustomerId          = "",
         Preferences         = new Preferences(),
         PlannableLocationId = "",
         CurrencyCode        = "",
         BudgetMicros        = 0L,
     };
     // Make the request
     GenerateProductMixIdeasResponse response = reachPlanServiceClient.GenerateProductMixIdeas(request);
 }
コード例 #7
0
 /// <summary>Snippet for GenerateReachForecast</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GenerateReachForecastRequestObject()
 {
     // Create client
     ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.Create();
     // Initialize request argument(s)
     GenerateReachForecastRequest request = new GenerateReachForecastRequest
     {
         CustomerId       = "",
         CampaignDuration = new CampaignDuration(),
         Targeting        = new Targeting(),
         PlannedProducts  =
         {
             new PlannedProduct(),
         },
         CookieFrequencyCapSetting = new FrequencyCap(),
         CurrencyCode          = "",
         CookieFrequencyCap    = 0,
         MinEffectiveFrequency = 0,
     };
     // Make the request
     GenerateReachForecastResponse response = reachPlanServiceClient.GenerateReachForecast(request);
 }