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

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

            return(outData.Body.Rval);
        }
        /// <summary>
        /// Applies the list of mutate operations.
        /// @param operations the operations to apply
        /// @return the modified CriterionList entities
        /// @throws ApiException
        /// </summary>
        public async Task <SharedSetReturnValue> MutateAsync(IEnumerable <SharedSetOperation> operations)
        {
            var binding = new SharedSetServiceSoapBinding("https://adwords.google.com/api/adwords/cm/v201609/SharedSetService", _config.AccessToken, _config.Timeout, _config.EnableGzipCompression, _netUtil, _logger);
            var inData  = new SoapData <SharedSetServiceRequestHeader, SharedSetServiceMutate>();

            inData.Header = new SharedSetServiceRequestHeader();
            AssignHeaderValues(inData.Header);
            inData.Body            = new SharedSetServiceMutate();
            inData.Body.Operations = new List <SharedSetOperation>(operations);
            var outData = await binding.MutateAsync(inData).ConfigureAwait(false);

            return(outData.Body.Rval);
        }