/// <summary>
        /// Returns a list of {@link AdGroupBidModifier}s that match the query.
        ///
        /// @param query The SQL-like AWQL query string.
        /// @throws ApiException when there are one or more errors with the request.
        /// </summary>
        public async Task <AdGroupBidModifierPage> QueryAsync(string query)
        {
            var binding = new AdGroupBidModifierServiceSoapBinding("https://adwords.google.com/api/adwords/cm/v201609/AdGroupBidModifierService", _config.AccessToken, _config.Timeout, _config.EnableGzipCompression, _netUtil, _logger);
            var inData  = new SoapData <AdGroupBidModifierServiceRequestHeader, AdGroupBidModifierServiceQuery>();

            inData.Header = new AdGroupBidModifierServiceRequestHeader();
            AssignHeaderValues(inData.Header);
            inData.Body       = new AdGroupBidModifierServiceQuery();
            inData.Body.Query = query;
            var outData = await binding.QueryAsync(inData).ConfigureAwait(false);

            return(outData.Body.Rval);
        }
        /// <summary>
        /// Adds, removes or updates ad group bid modifier overrides.
        ///
        /// @param operations The operations to apply.
        /// @return The added ad group bid modifier overrides.
        /// @throws ApiException when there is at least one error with the request.
        /// </summary>
        public async Task <AdGroupBidModifierReturnValue> MutateAsync(IEnumerable <AdGroupBidModifierOperation> operations)
        {
            var binding = new AdGroupBidModifierServiceSoapBinding("https://adwords.google.com/api/adwords/cm/v201609/AdGroupBidModifierService", _config.AccessToken, _config.Timeout, _config.EnableGzipCompression, _netUtil, _logger);
            var inData  = new SoapData <AdGroupBidModifierServiceRequestHeader, AdGroupBidModifierServiceMutate>();

            inData.Header = new AdGroupBidModifierServiceRequestHeader();
            AssignHeaderValues(inData.Header);
            inData.Body            = new AdGroupBidModifierServiceMutate();
            inData.Body.Operations = new List <AdGroupBidModifierOperation>(operations);
            var outData = await binding.MutateAsync(inData).ConfigureAwait(false);

            return(outData.Body.Rval);
        }