/// <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 GetAdGroupBidModifierAsync()
        {
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/adGroupBidModifiers/[AD_GROUP_ID]~[CRITERION_ID]";
            // Make the request
            AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(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 GetAdGroupBidModifierResourceNamesAsync()
        {
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            AdGroupBidModifierName resourceName = AdGroupBidModifierName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]");
            // Make the request
            AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(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);
        }
Пример #4
0
        /// <summary>Snippet for GetAdGroupBidModifierAsync</summary>
        public async Task GetAdGroupBidModifierAsync()
        {
            // Snippet: GetAdGroupBidModifierAsync(string, CallSettings)
            // Additional: GetAdGroupBidModifierAsync(string, CancellationToken)
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/adGroupBidModifiers/[AD_GROUP_ID]~[CRITERION_ID]";
            // Make the request
            AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(resourceName);

            // End snippet
        }
Пример #5
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.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]");
            // Make the request
            AdGroupBidModifier response = await adGroupBidModifierServiceClient.GetAdGroupBidModifierAsync(resourceName);

            // End snippet
        }
Пример #6
0
        /// <summary>Snippet for GetAdGroupBidModifierAsync</summary>
        public async Task GetAdGroupBidModifierRequestObjectAsync()
        {
            // Snippet: GetAdGroupBidModifierAsync(GetAdGroupBidModifierRequest, CallSettings)
            // Additional: GetAdGroupBidModifierAsync(GetAdGroupBidModifierRequest, CancellationToken)
            // 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);

            // End snippet
        }