/// <summary>Snippet for GetBiddingStrategy</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBiddingStrategyResourceNames()
 {
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     BiddingStrategyName resourceName = BiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER]", "[BIDDING_STRATEGY]");
     // Make the request
     BiddingStrategy response = biddingStrategyServiceClient.GetBiddingStrategy(resourceName);
 }
コード例 #2
0
 /// <summary>Snippet for GetBiddingStrategy</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBiddingStrategy()
 {
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/biddingStrategies/[BIDDING_STRATEGY_ID]";
     // Make the request
     BiddingStrategy response = biddingStrategyServiceClient.GetBiddingStrategy(resourceName);
 }
コード例 #3
0
 /// <summary>Snippet for GetBiddingStrategy</summary>
 public void GetBiddingStrategy()
 {
     // Snippet: GetBiddingStrategy(string, CallSettings)
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/biddingStrategies/[BIDDING_STRATEGY]";
     // Make the request
     BiddingStrategy response = biddingStrategyServiceClient.GetBiddingStrategy(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetBiddingStrategy</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBiddingStrategyRequestObject()
 {
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     GetBiddingStrategyRequest request = new GetBiddingStrategyRequest
     {
         ResourceNameAsBiddingStrategyName = BiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]"),
     };
     // Make the request
     BiddingStrategy response = biddingStrategyServiceClient.GetBiddingStrategy(request);
 }
 /// <summary>Snippet for MutateBiddingStrategies</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateBiddingStrategies()
 {
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <BiddingStrategyOperation> operations = new BiddingStrategyOperation[]
     {
         new BiddingStrategyOperation(),
     };
     // Make the request
     MutateBiddingStrategiesResponse response = biddingStrategyServiceClient.MutateBiddingStrategies(customerId, operations);
 }
コード例 #6
0
 /// <summary>Snippet for MutateBiddingStrategies</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateBiddingStrategiesRequestObject()
 {
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     MutateBiddingStrategiesRequest request = new MutateBiddingStrategiesRequest
     {
         CustomerId = "",
         Operations =
         {
             new BiddingStrategyOperation(),
         },
         PartialFailure = false,
         ValidateOnly   = false,
     };
     // Make the request
     MutateBiddingStrategiesResponse response = biddingStrategyServiceClient.MutateBiddingStrategies(request);
 }
 /// <summary>Snippet for MutateBiddingStrategies</summary>
 public void MutateBiddingStrategiesRequestObject()
 {
     // Snippet: MutateBiddingStrategies(MutateBiddingStrategiesRequest, CallSettings)
     // Create client
     BiddingStrategyServiceClient biddingStrategyServiceClient = BiddingStrategyServiceClient.Create();
     // Initialize request argument(s)
     MutateBiddingStrategiesRequest request = new MutateBiddingStrategiesRequest
     {
         CustomerId = "",
         Operations =
         {
             new BiddingStrategyOperation(),
         },
         PartialFailure      = false,
         ValidateOnly        = false,
         ResponseContentType = ResponseContentTypeEnum.Types.ResponseContentType.Unspecified,
     };
     // Make the request
     MutateBiddingStrategiesResponse response = biddingStrategyServiceClient.MutateBiddingStrategies(request);
     // End snippet
 }