def check_extra_fields(args_hash, known_fields)
      extra_fields = args_hash.keys - known_fields - IGNORED_HASH_KEYS
      unless extra_fields.empty?
        raise AdsCommon::Errors::UnexpectedParametersError.new(extra_fields)
      end
    end
def check_extra_fields(args_hash, known_fields)
      extra_fields = args_hash.keys - known_fields - IGNORED_HASH_KEYS
      unless extra_fields.empty?
        raise AdsCommon::Errors::UnexpectedParametersError.new(extra_fields)
      end
    end
Checks if no extra fields provided outside of known ones.