/// <summary>Snippet for GetAdGroupBidModifier</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAdGroupBidModifierResourceNames()
 {
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     AdGroupBidModifierName resourceName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]");
     // Make the request
     AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(resourceName);
 }
        /// <summary>Snippet for GetAdGroupBidModifierAsync</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 GetAdGroupBidModifierRequestObjectAsync()
        {
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAdGroupBidModifierRequest request = new GetAdGroupBidModifierRequest
            {
                ResourceNameAsAdGroupBidModifierName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]"),
            };
            // Make the request
            AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(request);
        }
コード例 #3
0
 /// <summary>Snippet for GetAdGroupBidModifier</summary>
 public void GetAdGroupBidModifierRequestObject()
 {
     // Snippet: GetAdGroupBidModifier(GetAdGroupBidModifierRequest, CallSettings)
     // Create client
     AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = AdGroupBidModifierServiceClient.Create();
     // Initialize request argument(s)
     GetAdGroupBidModifierRequest request = new GetAdGroupBidModifierRequest
     {
         ResourceNameAsAdGroupBidModifierName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]"),
     };
     // Make the request
     AdGroupBidModifier response = adGroupBidModifierServiceClient.GetAdGroupBidModifier(request);
     // End snippet
 }
コード例 #4
0
        /// <summary>Snippet for GetAdGroupBidModifierAsync</summary>
        public async Task GetAdGroupBidModifierResourceNamesAsync()
        {
            // Snippet: GetAdGroupBidModifierAsync(AdGroupBidModifierName, CallSettings)
            // Additional: GetAdGroupBidModifierAsync(AdGroupBidModifierName, CancellationToken)
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            AdGroupBidModifierName resourceName = AdGroupBidModifierName.FromCustomerAdGroupBidModifier("[CUSTOMER]", "[AD_GROUP_BID_MODIFIER]");
            // Make the request
            AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(resourceName);

            // End snippet
        }