/// <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);
        }
Ejemplo n.º 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
        }
Ejemplo n.º 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
        }
        /// <summary>Snippet for MutateAdGroupBidModifiersAsync</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 MutateAdGroupBidModifiersAsync()
        {
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <AdGroupBidModifierOperation> operations = new AdGroupBidModifierOperation[]
            {
                new AdGroupBidModifierOperation(),
            };
            // Make the request
            MutateAdGroupBidModifiersResponse response = await adGroupBidModifierServiceClient.MutateAdGroupBidModifiersAsync(customerId, operations);
        }
Ejemplo n.º 7
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
        }
Ejemplo n.º 8
0
        /// <summary>Snippet for MutateAdGroupBidModifiersAsync</summary>
        public async Task MutateAdGroupBidModifiersAsync()
        {
            // Snippet: MutateAdGroupBidModifiersAsync(string, IEnumerable<AdGroupBidModifierOperation>, CallSettings)
            // Additional: MutateAdGroupBidModifiersAsync(string, IEnumerable<AdGroupBidModifierOperation>, CancellationToken)
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <AdGroupBidModifierOperation> operations = new AdGroupBidModifierOperation[]
            {
                new AdGroupBidModifierOperation(),
            };
            // Make the request
            MutateAdGroupBidModifiersResponse response = await adGroupBidModifierServiceClient.MutateAdGroupBidModifiersAsync(customerId, operations);

            // End snippet
        }
Ejemplo n.º 9
0
        /// <summary>Snippet for MutateAdGroupBidModifiersAsync</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 MutateAdGroupBidModifiersRequestObjectAsync()
        {
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateAdGroupBidModifiersRequest request = new MutateAdGroupBidModifiersRequest
            {
                CustomerId = "",
                Operations =
                {
                    new AdGroupBidModifierOperation(),
                },
                PartialFailure = false,
                ValidateOnly   = false,
            };
            // Make the request
            MutateAdGroupBidModifiersResponse response = await adGroupBidModifierServiceClient.MutateAdGroupBidModifiersAsync(request);
        }
Ejemplo n.º 10
0
        /// <summary>Snippet for MutateAdGroupBidModifiersAsync</summary>
        public async Task MutateAdGroupBidModifiersRequestObjectAsync()
        {
            // Snippet: MutateAdGroupBidModifiersAsync(MutateAdGroupBidModifiersRequest, CallSettings)
            // Additional: MutateAdGroupBidModifiersAsync(MutateAdGroupBidModifiersRequest, CancellationToken)
            // Create client
            AdGroupBidModifierServiceClient adGroupBidModifierServiceClient = await AdGroupBidModifierServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateAdGroupBidModifiersRequest request = new MutateAdGroupBidModifiersRequest
            {
                CustomerId = "",
                Operations =
                {
                    new AdGroupBidModifierOperation(),
                },
                PartialFailure = false,
                ValidateOnly   = false,
            };
            // Make the request
            MutateAdGroupBidModifiersResponse response = await adGroupBidModifierServiceClient.MutateAdGroupBidModifiersAsync(request);

            // End snippet
        }