/// <summary>
        /// Returns the list of FeedItems that match the query.
        ///
        /// @param query The SQL-like AWQL query string
        /// @returns A list of FeedItems
        /// @throws ApiException when the query is invalid or there are errors processing the request.
        /// </summary>
        public async Task <FeedItemPage> QueryAsync(string query)
        {
            var binding = new FeedItemServiceSoapBinding("https://adwords.google.com/api/adwords/cm/v201609/FeedItemService", _config.AccessToken, _config.Timeout, _config.EnableGzipCompression, _netUtil, _logger);
            var inData  = new SoapData <FeedItemServiceRequestHeader, FeedItemServiceQuery>();

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

            return(outData.Body.Rval);
        }
        /// <summary>
        /// Add, remove, and set FeedItems.
        ///
        /// @param operations The operations to apply.
        /// @return The resulting FeedItems.
        /// @throws ApiException Indicates a problem with the request.
        /// </summary>
        public async Task <FeedItemReturnValue> MutateAsync(IEnumerable <FeedItemOperation> operations)
        {
            var binding = new FeedItemServiceSoapBinding("https://adwords.google.com/api/adwords/cm/v201609/FeedItemService", _config.AccessToken, _config.Timeout, _config.EnableGzipCompression, _netUtil, _logger);
            var inData  = new SoapData <FeedItemServiceRequestHeader, FeedItemServiceMutate>();

            inData.Header = new FeedItemServiceRequestHeader();
            AssignHeaderValues(inData.Header);
            inData.Body            = new FeedItemServiceMutate();
            inData.Body.Operations = new List <FeedItemOperation>(operations);
            var outData = await binding.MutateAsync(inData).ConfigureAwait(false);

            return(outData.Body.Rval);
        }